diff --git a/pokerth.pro b/pokerth.pro index 8a47d5b6..18ab00e3 100644 --- a/pokerth.pro +++ b/pokerth.pro @@ -6,7 +6,7 @@ official_server { SUBDIRS += pokerth_dbofficial.pro } client: { - # SUBDIRS += pokerth_game.pro + SUBDIRS += pokerth_game.pro } !mac:!gui_800x480:!client:!qml-client { SUBDIRS += pokerth_server.pro chatcleaner.pro diff --git a/src/gui/qt/createinternetgamedialog.ui b/src/gui/qt/createinternetgamedialog.ui index 43e21d7c..a503c7bf 100644 --- a/src/gui/qt/createinternetgamedialog.ui +++ b/src/gui/qt/createinternetgamedialog.ui @@ -316,19 +316,19 @@ - $ + - 1000 + 10 1000000 - 50 + 5 - 2000 + 20 diff --git a/src/net/common/serveracceptwebhelper.cpp b/src/net/common/serveracceptwebhelper.cpp index f61d4d77..c422d8f7 100644 --- a/src/net/common/serveracceptwebhelper.cpp +++ b/src/net/common/serveracceptwebhelper.cpp @@ -29,6 +29,7 @@ * as that of the covered work. * *****************************************************************************/ +#include #include #include #include @@ -58,10 +59,10 @@ ServerAcceptWebHelper::Listen(unsigned serverPort, bool /*ipv6*/, const std::str m_webSocketServer->init_asio(m_ioService.get()); - m_webSocketServer->set_validate_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::validate), this, _1)); - m_webSocketServer->set_open_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_open), this, _1)); - m_webSocketServer->set_close_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_close), this, _1)); - m_webSocketServer->set_message_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_message), this, _1, _2)); + m_webSocketServer->set_validate_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::validate), this, boost::placeholders::_1)); + m_webSocketServer->set_open_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_open), this, boost::placeholders::_1)); + m_webSocketServer->set_close_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_close), this, boost::placeholders::_1)); + m_webSocketServer->set_message_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_message), this, boost::placeholders::_1,boost::placeholders:: _2)); m_webSocketServer->listen(serverPort); m_webSocketServer->start_accept(); diff --git a/src/net/common/servergame.cpp b/src/net/common/servergame.cpp index 314297b6..3fb867c8 100644 --- a/src/net/common/servergame.cpp +++ b/src/net/common/servergame.cpp @@ -66,7 +66,7 @@ static bool LessThanPlayerHandStartMoney(const boost::shared_ptr lobbyThread, u_int32_t id, const string &name, const string &pwd, const GameData &gameData, - unsigned adminPlayerId, unsigned creatorPlayerDBId, GuiInterface &gui, ConfigFile &playerConfig) + unsigned adminPlayerId, unsigned creatorPlayerDBId, GuiInterface &gui, ConfigFile &playerConfig) : m_adminPlayerId(adminPlayerId), m_lobbyThread(lobbyThread), m_gui(gui), m_gameData(gameData), m_curState(NULL), m_id(id), m_name(name), m_password(pwd), m_creatorPlayerDBId(creatorPlayerDBId), m_playerConfig(playerConfig), diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index f50fb6c3..e620c782 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -92,7 +92,7 @@ using namespace boost::chrono; #define GAME_MAX_NUM_JOINS_PER_PLAYER 6 -//#define TESTS_LATE_REG // (albmed) To develop set this define, to compile comment until reentry is implemented +#define TESTS_LATE_REG // (albmed) To develop set this define, to compile comment until reentry is implemented // Helper functions @@ -157,7 +157,7 @@ static void SendNewRoundCards(ServerGame &server, Game &curGame, int state) } break; default: { - // + break; } } } @@ -250,7 +250,7 @@ GetRandomFreeSeat(PlayerList playerList) { for (int i = 0; i < v.size(); i++) { if (v[i] == 0) { seat = i; - beak; + break; } } diff --git a/src/third_party/protobuf/chatcleaner.pb.cc b/src/third_party/protobuf/chatcleaner.pb.cc index c44e279f..061c468d 100644 --- a/src/third_party/protobuf/chatcleaner.pb.cc +++ b/src/third_party/protobuf/chatcleaner.pb.cc @@ -11,104 +11,88 @@ #include // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_chatcleaner_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerChatReplyMessage_chatcleaner_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_chatcleaner_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerChatRequestMessage_chatcleaner_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_chatcleaner_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerInitAckMessage_chatcleaner_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_chatcleaner_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerInitMessage_chatcleaner_2eproto; -class CleanerInitMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _CleanerInitMessage_default_instance_; -class CleanerInitAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _CleanerInitAckMessage_default_instance_; -class CleanerChatRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _CleanerChatRequestMessage_default_instance_; -class CleanerChatReplyMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _CleanerChatReplyMessage_default_instance_; -class ChatCleanerMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ChatCleanerMessage_default_instance_; -static void InitDefaultsscc_info_ChatCleanerMessage_chatcleaner_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - { - void* ptr = &::_ChatCleanerMessage_default_instance_; - new (ptr) ::ChatCleanerMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ChatCleanerMessage::InitAsDefaultInstance(); -} +PROTOBUF_PRAGMA_INIT_SEG +constexpr CleanerInitMessage::CleanerInitMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : clientsecret_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , requestedversion_(0u){} +struct CleanerInitMessageDefaultTypeInternal { + constexpr CleanerInitMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~CleanerInitMessageDefaultTypeInternal() {} + union { + CleanerInitMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CleanerInitMessageDefaultTypeInternal _CleanerInitMessage_default_instance_; +constexpr CleanerInitAckMessage::CleanerInitAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : serversecret_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , serverversion_(0u){} +struct CleanerInitAckMessageDefaultTypeInternal { + constexpr CleanerInitAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~CleanerInitAckMessageDefaultTypeInternal() {} + union { + CleanerInitAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CleanerInitAckMessageDefaultTypeInternal _CleanerInitAckMessage_default_instance_; +constexpr CleanerChatRequestMessage::CleanerChatRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playername_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , chatmessage_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , requestid_(0u) + , cleanerchattype_(0) -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_ChatCleanerMessage_chatcleaner_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_ChatCleanerMessage_chatcleaner_2eproto}, { - &scc_info_CleanerInitMessage_chatcleaner_2eproto.base, - &scc_info_CleanerInitAckMessage_chatcleaner_2eproto.base, - &scc_info_CleanerChatRequestMessage_chatcleaner_2eproto.base, - &scc_info_CleanerChatReplyMessage_chatcleaner_2eproto.base,}}; - -static void InitDefaultsscc_info_CleanerChatReplyMessage_chatcleaner_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_CleanerChatReplyMessage_default_instance_; - new (ptr) ::CleanerChatReplyMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::CleanerChatReplyMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerChatReplyMessage_chatcleaner_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_CleanerChatReplyMessage_chatcleaner_2eproto}, {}}; - -static void InitDefaultsscc_info_CleanerChatRequestMessage_chatcleaner_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_CleanerChatRequestMessage_default_instance_; - new (ptr) ::CleanerChatRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::CleanerChatRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerChatRequestMessage_chatcleaner_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_CleanerChatRequestMessage_chatcleaner_2eproto}, {}}; - -static void InitDefaultsscc_info_CleanerInitAckMessage_chatcleaner_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_CleanerInitAckMessage_default_instance_; - new (ptr) ::CleanerInitAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::CleanerInitAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerInitAckMessage_chatcleaner_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_CleanerInitAckMessage_chatcleaner_2eproto}, {}}; - -static void InitDefaultsscc_info_CleanerInitMessage_chatcleaner_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_CleanerInitMessage_default_instance_; - new (ptr) ::CleanerInitMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::CleanerInitMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CleanerInitMessage_chatcleaner_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_CleanerInitMessage_chatcleaner_2eproto}, {}}; + , gameid_(0u) + , playerid_(0u){} +struct CleanerChatRequestMessageDefaultTypeInternal { + constexpr CleanerChatRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~CleanerChatRequestMessageDefaultTypeInternal() {} + union { + CleanerChatRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CleanerChatRequestMessageDefaultTypeInternal _CleanerChatRequestMessage_default_instance_; +constexpr CleanerChatReplyMessage::CleanerChatReplyMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : cleanertext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , requestid_(0u) + , cleanerchattype_(0) + , gameid_(0u) + , playerid_(0u) + , cleaneractiontype_(0) +{} +struct CleanerChatReplyMessageDefaultTypeInternal { + constexpr CleanerChatReplyMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~CleanerChatReplyMessageDefaultTypeInternal() {} + union { + CleanerChatReplyMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT CleanerChatReplyMessageDefaultTypeInternal _CleanerChatReplyMessage_default_instance_; +constexpr ChatCleanerMessage::ChatCleanerMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : cleanerinitmessage_(nullptr) + , cleanerinitackmessage_(nullptr) + , cleanerchatrequestmessage_(nullptr) + , cleanerchatreplymessage_(nullptr) + , messagetype_(1) +{} +struct ChatCleanerMessageDefaultTypeInternal { + constexpr ChatCleanerMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ChatCleanerMessageDefaultTypeInternal() {} + union { + ChatCleanerMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChatCleanerMessageDefaultTypeInternal _ChatCleanerMessage_default_instance_; bool CleanerChatReplyMessage_CleanerActionType_IsValid(int value) { switch (value) { case 0: @@ -163,7 +147,7 @@ const std::string& CleanerChatReplyMessage_CleanerActionType_Name( CleanerChatReplyMessage_CleanerActionType_strings[idx].get(); } bool CleanerChatReplyMessage_CleanerActionType_Parse( - const std::string& name, CleanerChatReplyMessage_CleanerActionType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CleanerChatReplyMessage_CleanerActionType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( CleanerChatReplyMessage_CleanerActionType_entries, 5, name, &int_value); @@ -172,7 +156,7 @@ bool CleanerChatReplyMessage_CleanerActionType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::cleanerActionNone; constexpr CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::cleanerActionWarning; constexpr CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::cleanerActionKick; @@ -181,7 +165,7 @@ constexpr CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::cle constexpr CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::CleanerActionType_MIN; constexpr CleanerChatReplyMessage_CleanerActionType CleanerChatReplyMessage::CleanerActionType_MAX; constexpr int CleanerChatReplyMessage::CleanerActionType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool ChatCleanerMessage_ChatCleanerMessageType_IsValid(int value) { switch (value) { case 1: @@ -232,7 +216,7 @@ const std::string& ChatCleanerMessage_ChatCleanerMessageType_Name( ChatCleanerMessage_ChatCleanerMessageType_strings[idx].get(); } bool ChatCleanerMessage_ChatCleanerMessageType_Parse( - const std::string& name, ChatCleanerMessage_ChatCleanerMessageType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChatCleanerMessage_ChatCleanerMessageType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( ChatCleanerMessage_ChatCleanerMessageType_entries, 4, name, &int_value); @@ -241,7 +225,7 @@ bool ChatCleanerMessage_ChatCleanerMessageType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::Type_CleanerInitMessage; constexpr ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::Type_CleanerInitAckMessage; constexpr ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::Type_CleanerChatRequestMessage; @@ -249,7 +233,7 @@ constexpr ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::Type_Cle constexpr ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::ChatCleanerMessageType_MIN; constexpr ChatCleanerMessage_ChatCleanerMessageType ChatCleanerMessage::ChatCleanerMessageType_MAX; constexpr int ChatCleanerMessage::ChatCleanerMessageType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool CleanerChatType_IsValid(int value) { switch (value) { case 0: @@ -292,7 +276,7 @@ const std::string& CleanerChatType_Name( CleanerChatType_strings[idx].get(); } bool CleanerChatType_Parse( - const std::string& name, CleanerChatType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CleanerChatType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( CleanerChatType_entries, 2, name, &int_value); @@ -304,8 +288,6 @@ bool CleanerChatType_Parse( // =================================================================== -void CleanerInitMessage::InitAsDefaultInstance() { -} class CleanerInitMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -320,10 +302,13 @@ class CleanerInitMessage::_Internal { } }; -CleanerInitMessage::CleanerInitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +CleanerInitMessage::CleanerInitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:CleanerInitMessage) } CleanerInitMessage::CleanerInitMessage(const CleanerInitMessage& from) @@ -331,27 +316,34 @@ CleanerInitMessage::CleanerInitMessage(const CleanerInitMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); clientsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + clientsecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_clientsecret()) { - clientsecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_clientsecret(), - GetArena()); + clientsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_clientsecret(), + GetArenaForAllocation()); } requestedversion_ = from.requestedversion_; // @@protoc_insertion_point(copy_constructor:CleanerInitMessage) } -void CleanerInitMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CleanerInitMessage_chatcleaner_2eproto.base); - clientsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - requestedversion_ = 0u; +inline void CleanerInitMessage::SharedCtor() { +clientsecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + clientsecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +requestedversion_ = 0u; } CleanerInitMessage::~CleanerInitMessage() { + // @@protoc_insertion_point(destructor:CleanerInitMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void CleanerInitMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void CleanerInitMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); clientsecret_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -364,15 +356,10 @@ void CleanerInitMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void CleanerInitMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const CleanerInitMessage& CleanerInitMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CleanerInitMessage_chatcleaner_2eproto.base); - return *internal_default_instance(); -} - void CleanerInitMessage::Clear() { // @@protoc_insertion_point(message_clear_start:CleanerInitMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -388,55 +375,56 @@ void CleanerInitMessage::Clear() { const char* CleanerInitMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestedVersion = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestedversion(&has_bits); requestedversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required string clientSecret = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_clientsecret(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* CleanerInitMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* CleanerInitMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:CleanerInitMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -473,9 +461,7 @@ size_t CleanerInitMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_requestedversion()) { // required uint32 requestedVersion = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestedversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestedversion()); } return total_size; @@ -491,14 +477,12 @@ size_t CleanerInitMessage::ByteSizeLong() const { this->_internal_clientsecret()); // required uint32 requestedVersion = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestedversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestedversion()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -519,8 +503,7 @@ void CleanerInitMessage::CheckTypeAndMergeFrom( void CleanerInitMessage::MergeFrom(const CleanerInitMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:CleanerInitMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -533,6 +516,7 @@ void CleanerInitMessage::MergeFrom(const CleanerInitMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void CleanerInitMessage::CopyFrom(const CleanerInitMessage& from) { @@ -549,9 +533,15 @@ bool CleanerInitMessage::IsInitialized() const { void CleanerInitMessage::InternalSwap(CleanerInitMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - clientsecret_.Swap(&other->clientsecret_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &clientsecret_, lhs_arena, + &other->clientsecret_, rhs_arena + ); swap(requestedversion_, other->requestedversion_); } @@ -562,8 +552,6 @@ std::string CleanerInitMessage::GetTypeName() const { // =================================================================== -void CleanerInitAckMessage::InitAsDefaultInstance() { -} class CleanerInitAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -578,10 +566,13 @@ class CleanerInitAckMessage::_Internal { } }; -CleanerInitAckMessage::CleanerInitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +CleanerInitAckMessage::CleanerInitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:CleanerInitAckMessage) } CleanerInitAckMessage::CleanerInitAckMessage(const CleanerInitAckMessage& from) @@ -589,27 +580,34 @@ CleanerInitAckMessage::CleanerInitAckMessage(const CleanerInitAckMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); serversecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + serversecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_serversecret()) { - serversecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_serversecret(), - GetArena()); + serversecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_serversecret(), + GetArenaForAllocation()); } serverversion_ = from.serverversion_; // @@protoc_insertion_point(copy_constructor:CleanerInitAckMessage) } -void CleanerInitAckMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CleanerInitAckMessage_chatcleaner_2eproto.base); - serversecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - serverversion_ = 0u; +inline void CleanerInitAckMessage::SharedCtor() { +serversecret_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + serversecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +serverversion_ = 0u; } CleanerInitAckMessage::~CleanerInitAckMessage() { + // @@protoc_insertion_point(destructor:CleanerInitAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void CleanerInitAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void CleanerInitAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); serversecret_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -622,15 +620,10 @@ void CleanerInitAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void CleanerInitAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const CleanerInitAckMessage& CleanerInitAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CleanerInitAckMessage_chatcleaner_2eproto.base); - return *internal_default_instance(); -} - void CleanerInitAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:CleanerInitAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -646,55 +639,56 @@ void CleanerInitAckMessage::Clear() { const char* CleanerInitAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 serverVersion = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_serverversion(&has_bits); serverversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required string serverSecret = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_serversecret(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* CleanerInitAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* CleanerInitAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:CleanerInitAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -731,9 +725,7 @@ size_t CleanerInitAckMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_serverversion()) { // required uint32 serverVersion = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_serverversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_serverversion()); } return total_size; @@ -749,14 +741,12 @@ size_t CleanerInitAckMessage::ByteSizeLong() const { this->_internal_serversecret()); // required uint32 serverVersion = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_serverversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_serverversion()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -777,8 +767,7 @@ void CleanerInitAckMessage::CheckTypeAndMergeFrom( void CleanerInitAckMessage::MergeFrom(const CleanerInitAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:CleanerInitAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -791,6 +780,7 @@ void CleanerInitAckMessage::MergeFrom(const CleanerInitAckMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void CleanerInitAckMessage::CopyFrom(const CleanerInitAckMessage& from) { @@ -807,9 +797,15 @@ bool CleanerInitAckMessage::IsInitialized() const { void CleanerInitAckMessage::InternalSwap(CleanerInitAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - serversecret_.Swap(&other->serversecret_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &serversecret_, lhs_arena, + &other->serversecret_, rhs_arena + ); swap(serverversion_, other->serverversion_); } @@ -820,8 +816,6 @@ std::string CleanerInitAckMessage::GetTypeName() const { // =================================================================== -void CleanerChatRequestMessage::InitAsDefaultInstance() { -} class CleanerChatRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -848,10 +842,13 @@ class CleanerChatRequestMessage::_Internal { } }; -CleanerChatRequestMessage::CleanerChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +CleanerChatRequestMessage::CleanerChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:CleanerChatRequestMessage) } CleanerChatRequestMessage::CleanerChatRequestMessage(const CleanerChatRequestMessage& from) @@ -859,14 +856,20 @@ CleanerChatRequestMessage::CleanerChatRequestMessage(const CleanerChatRequestMes _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); playername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_playername()) { - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_playername(), - GetArena()); + playername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_playername(), + GetArenaForAllocation()); } chatmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chatmessage_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_chatmessage()) { - chatmessage_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_chatmessage(), - GetArena()); + chatmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_chatmessage(), + GetArenaForAllocation()); } ::memcpy(&requestid_, &from.requestid_, static_cast(reinterpret_cast(&playerid_) - @@ -874,22 +877,30 @@ CleanerChatRequestMessage::CleanerChatRequestMessage(const CleanerChatRequestMes // @@protoc_insertion_point(copy_constructor:CleanerChatRequestMessage) } -void CleanerChatRequestMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CleanerChatRequestMessage_chatcleaner_2eproto.base); - playername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - chatmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&requestid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&requestid_)) + sizeof(playerid_)); +inline void CleanerChatRequestMessage::SharedCtor() { +playername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +chatmessage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chatmessage_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&requestid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&requestid_)) + sizeof(playerid_)); } CleanerChatRequestMessage::~CleanerChatRequestMessage() { + // @@protoc_insertion_point(destructor:CleanerChatRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void CleanerChatRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void CleanerChatRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); playername_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); chatmessage_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -903,15 +914,10 @@ void CleanerChatRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void CleanerChatRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const CleanerChatRequestMessage& CleanerChatRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CleanerChatRequestMessage_chatcleaner_2eproto.base); - return *internal_default_instance(); -} - void CleanerChatRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:CleanerChatRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -936,91 +942,96 @@ void CleanerChatRequestMessage::Clear() { const char* CleanerChatRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestid(&has_bits); requestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .CleanerChatType cleanerChatType = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::CleanerChatType_IsValid(val))) { _internal_set_cleanerchattype(static_cast<::CleanerChatType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 gameId = 3 [default = 0]; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required string playerName = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { auto str = _internal_mutable_playername(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required string chatMessage = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { auto str = _internal_mutable_chatmessage(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* CleanerChatRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* CleanerChatRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:CleanerChatRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -1089,9 +1100,7 @@ size_t CleanerChatRequestMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_requestid()) { // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } if (_internal_has_cleanerchattype()) { @@ -1102,9 +1111,7 @@ size_t CleanerChatRequestMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_playerid()) { // required uint32 playerId = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } return total_size; @@ -1125,32 +1132,26 @@ size_t CleanerChatRequestMessage::ByteSizeLong() const { this->_internal_chatmessage()); // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); // required .CleanerChatType cleanerChatType = 2; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_cleanerchattype()); // required uint32 playerId = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // optional uint32 gameId = 3 [default = 0]; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -1170,8 +1171,7 @@ void CleanerChatRequestMessage::CheckTypeAndMergeFrom( void CleanerChatRequestMessage::MergeFrom(const CleanerChatRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:CleanerChatRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -1196,6 +1196,7 @@ void CleanerChatRequestMessage::MergeFrom(const CleanerChatRequestMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void CleanerChatRequestMessage::CopyFrom(const CleanerChatRequestMessage& from) { @@ -1212,10 +1213,20 @@ bool CleanerChatRequestMessage::IsInitialized() const { void CleanerChatRequestMessage::InternalSwap(CleanerChatRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - playername_.Swap(&other->playername_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - chatmessage_.Swap(&other->chatmessage_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &playername_, lhs_arena, + &other->playername_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &chatmessage_, lhs_arena, + &other->chatmessage_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(CleanerChatRequestMessage, playerid_) + sizeof(CleanerChatRequestMessage::playerid_) @@ -1231,8 +1242,6 @@ std::string CleanerChatRequestMessage::GetTypeName() const { // =================================================================== -void CleanerChatReplyMessage::InitAsDefaultInstance() { -} class CleanerChatReplyMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -1259,10 +1268,13 @@ class CleanerChatReplyMessage::_Internal { } }; -CleanerChatReplyMessage::CleanerChatReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +CleanerChatReplyMessage::CleanerChatReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:CleanerChatReplyMessage) } CleanerChatReplyMessage::CleanerChatReplyMessage(const CleanerChatReplyMessage& from) @@ -1270,9 +1282,12 @@ CleanerChatReplyMessage::CleanerChatReplyMessage(const CleanerChatReplyMessage& _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); cleanertext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + cleanertext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_cleanertext()) { - cleanertext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_cleanertext(), - GetArena()); + cleanertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_cleanertext(), + GetArenaForAllocation()); } ::memcpy(&requestid_, &from.requestid_, static_cast(reinterpret_cast(&cleaneractiontype_) - @@ -1280,21 +1295,26 @@ CleanerChatReplyMessage::CleanerChatReplyMessage(const CleanerChatReplyMessage& // @@protoc_insertion_point(copy_constructor:CleanerChatReplyMessage) } -void CleanerChatReplyMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_CleanerChatReplyMessage_chatcleaner_2eproto.base); - cleanertext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&requestid_, 0, static_cast( - reinterpret_cast(&cleaneractiontype_) - - reinterpret_cast(&requestid_)) + sizeof(cleaneractiontype_)); +inline void CleanerChatReplyMessage::SharedCtor() { +cleanertext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + cleanertext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&requestid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&cleaneractiontype_) - + reinterpret_cast(&requestid_)) + sizeof(cleaneractiontype_)); } CleanerChatReplyMessage::~CleanerChatReplyMessage() { + // @@protoc_insertion_point(destructor:CleanerChatReplyMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void CleanerChatReplyMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void CleanerChatReplyMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); cleanertext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -1307,15 +1327,10 @@ void CleanerChatReplyMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void CleanerChatReplyMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const CleanerChatReplyMessage& CleanerChatReplyMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CleanerChatReplyMessage_chatcleaner_2eproto.base); - return *internal_default_instance(); -} - void CleanerChatReplyMessage::Clear() { // @@protoc_insertion_point(message_clear_start:CleanerChatReplyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1335,95 +1350,100 @@ void CleanerChatReplyMessage::Clear() { const char* CleanerChatReplyMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestid(&has_bits); requestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .CleanerChatType cleanerChatType = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::CleanerChatType_IsValid(val))) { _internal_set_cleanerchattype(static_cast<::CleanerChatType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 gameId = 3 [default = 0]; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .CleanerChatReplyMessage.CleanerActionType cleanerActionType = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::CleanerChatReplyMessage_CleanerActionType_IsValid(val))) { _internal_set_cleaneractiontype(static_cast<::CleanerChatReplyMessage_CleanerActionType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional string cleanerText = 6 [default = ""]; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { auto str = _internal_mutable_cleanertext(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* CleanerChatReplyMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* CleanerChatReplyMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:CleanerChatReplyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -1479,9 +1499,7 @@ size_t CleanerChatReplyMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_requestid()) { // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } if (_internal_has_cleanerchattype()) { @@ -1492,9 +1510,7 @@ size_t CleanerChatReplyMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_playerid()) { // required uint32 playerId = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_cleaneractiontype()) { @@ -1511,18 +1527,14 @@ size_t CleanerChatReplyMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000036) ^ 0x00000036) == 0) { // All required fields are present. // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); // required .CleanerChatType cleanerChatType = 2; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_cleanerchattype()); // required uint32 playerId = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .CleanerChatReplyMessage.CleanerActionType cleanerActionType = 5; total_size += 1 + @@ -1531,7 +1543,7 @@ size_t CleanerChatReplyMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1545,9 +1557,7 @@ size_t CleanerChatReplyMessage::ByteSizeLong() const { // optional uint32 gameId = 3 [default = 0]; if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -1567,8 +1577,7 @@ void CleanerChatReplyMessage::CheckTypeAndMergeFrom( void CleanerChatReplyMessage::MergeFrom(const CleanerChatReplyMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:CleanerChatReplyMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -1593,6 +1602,7 @@ void CleanerChatReplyMessage::MergeFrom(const CleanerChatReplyMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void CleanerChatReplyMessage::CopyFrom(const CleanerChatReplyMessage& from) { @@ -1609,9 +1619,15 @@ bool CleanerChatReplyMessage::IsInitialized() const { void CleanerChatReplyMessage::InternalSwap(CleanerChatReplyMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - cleanertext_.Swap(&other->cleanertext_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &cleanertext_, lhs_arena, + &other->cleanertext_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(CleanerChatReplyMessage, cleaneractiontype_) + sizeof(CleanerChatReplyMessage::cleaneractiontype_) @@ -1627,16 +1643,6 @@ std::string CleanerChatReplyMessage::GetTypeName() const { // =================================================================== -void ChatCleanerMessage::InitAsDefaultInstance() { - ::_ChatCleanerMessage_default_instance_._instance.get_mutable()->cleanerinitmessage_ = const_cast< ::CleanerInitMessage*>( - ::CleanerInitMessage::internal_default_instance()); - ::_ChatCleanerMessage_default_instance_._instance.get_mutable()->cleanerinitackmessage_ = const_cast< ::CleanerInitAckMessage*>( - ::CleanerInitAckMessage::internal_default_instance()); - ::_ChatCleanerMessage_default_instance_._instance.get_mutable()->cleanerchatrequestmessage_ = const_cast< ::CleanerChatRequestMessage*>( - ::CleanerChatRequestMessage::internal_default_instance()); - ::_ChatCleanerMessage_default_instance_._instance.get_mutable()->cleanerchatreplymessage_ = const_cast< ::CleanerChatReplyMessage*>( - ::CleanerChatReplyMessage::internal_default_instance()); -} class ChatCleanerMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -1680,10 +1686,13 @@ const ::CleanerChatReplyMessage& ChatCleanerMessage::_Internal::cleanerchatreplymessage(const ChatCleanerMessage* msg) { return *msg->cleanerchatreplymessage_; } -ChatCleanerMessage::ChatCleanerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ChatCleanerMessage::ChatCleanerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ChatCleanerMessage) } ChatCleanerMessage::ChatCleanerMessage(const ChatCleanerMessage& from) @@ -1714,21 +1723,23 @@ ChatCleanerMessage::ChatCleanerMessage(const ChatCleanerMessage& from) // @@protoc_insertion_point(copy_constructor:ChatCleanerMessage) } -void ChatCleanerMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ChatCleanerMessage_chatcleaner_2eproto.base); - ::memset(&cleanerinitmessage_, 0, static_cast( - reinterpret_cast(&cleanerchatreplymessage_) - - reinterpret_cast(&cleanerinitmessage_)) + sizeof(cleanerchatreplymessage_)); - messagetype_ = 1; +inline void ChatCleanerMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&cleanerinitmessage_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&cleanerchatreplymessage_) - + reinterpret_cast(&cleanerinitmessage_)) + sizeof(cleanerchatreplymessage_)); +messagetype_ = 1; } ChatCleanerMessage::~ChatCleanerMessage() { + // @@protoc_insertion_point(destructor:ChatCleanerMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ChatCleanerMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ChatCleanerMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete cleanerinitmessage_; if (this != internal_default_instance()) delete cleanerinitackmessage_; if (this != internal_default_instance()) delete cleanerchatrequestmessage_; @@ -1744,15 +1755,10 @@ void ChatCleanerMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ChatCleanerMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ChatCleanerMessage& ChatCleanerMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ChatCleanerMessage_chatcleaner_2eproto.base); - return *internal_default_instance(); -} - void ChatCleanerMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ChatCleanerMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1783,79 +1789,83 @@ void ChatCleanerMessage::Clear() { const char* ChatCleanerMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .ChatCleanerMessage.ChatCleanerMessageType messageType = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::ChatCleanerMessage_ChatCleanerMessageType_IsValid(val))) { _internal_set_messagetype(static_cast<::ChatCleanerMessage_ChatCleanerMessageType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .CleanerInitMessage cleanerInitMessage = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_cleanerinitmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .CleanerInitAckMessage cleanerInitAckMessage = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { ptr = ctx->ParseMessage(_internal_mutable_cleanerinitackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .CleanerChatRequestMessage cleanerChatRequestMessage = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr = ctx->ParseMessage(_internal_mutable_cleanerchatrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .CleanerChatReplyMessage cleanerChatReplyMessage = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { ptr = ctx->ParseMessage(_internal_mutable_cleanerchatreplymessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ChatCleanerMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ChatCleanerMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ChatCleanerMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -1915,7 +1925,7 @@ size_t ChatCleanerMessage::ByteSizeLong() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_messagetype()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -1967,8 +1977,7 @@ void ChatCleanerMessage::CheckTypeAndMergeFrom( void ChatCleanerMessage::MergeFrom(const ChatCleanerMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ChatCleanerMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -1990,6 +1999,7 @@ void ChatCleanerMessage::MergeFrom(const ChatCleanerMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ChatCleanerMessage::CopyFrom(const ChatCleanerMessage& from) { @@ -2018,7 +2028,7 @@ bool ChatCleanerMessage::IsInitialized() const { void ChatCleanerMessage::InternalSwap(ChatCleanerMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(ChatCleanerMessage, cleanerchatreplymessage_) diff --git a/src/third_party/protobuf/chatcleaner.pb.h b/src/third_party/protobuf/chatcleaner.pb.h index 2b59682c..437e9bb8 100644 --- a/src/third_party/protobuf/chatcleaner.pb.h +++ b/src/third_party/protobuf/chatcleaner.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3012000 +#if PROTOBUF_VERSION < 3019000 #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 3012004 < PROTOBUF_MIN_PROTOC_VERSION +#if 3019001 < 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. @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include // IWYU pragma: export @@ -44,28 +43,28 @@ PROTOBUF_NAMESPACE_CLOSE struct TableStruct_chatcleaner_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] + static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; + static const uint32_t offsets[]; }; class ChatCleanerMessage; -class ChatCleanerMessageDefaultTypeInternal; +struct ChatCleanerMessageDefaultTypeInternal; extern ChatCleanerMessageDefaultTypeInternal _ChatCleanerMessage_default_instance_; class CleanerChatReplyMessage; -class CleanerChatReplyMessageDefaultTypeInternal; +struct CleanerChatReplyMessageDefaultTypeInternal; extern CleanerChatReplyMessageDefaultTypeInternal _CleanerChatReplyMessage_default_instance_; class CleanerChatRequestMessage; -class CleanerChatRequestMessageDefaultTypeInternal; +struct CleanerChatRequestMessageDefaultTypeInternal; extern CleanerChatRequestMessageDefaultTypeInternal _CleanerChatRequestMessage_default_instance_; class CleanerInitAckMessage; -class CleanerInitAckMessageDefaultTypeInternal; +struct CleanerInitAckMessageDefaultTypeInternal; extern CleanerInitAckMessageDefaultTypeInternal _CleanerInitAckMessage_default_instance_; class CleanerInitMessage; -class CleanerInitMessageDefaultTypeInternal; +struct CleanerInitMessageDefaultTypeInternal; extern CleanerInitMessageDefaultTypeInternal _CleanerInitMessage_default_instance_; PROTOBUF_NAMESPACE_OPEN template<> ::ChatCleanerMessage* Arena::CreateMaybeMessage<::ChatCleanerMessage>(Arena*); @@ -96,7 +95,7 @@ inline const std::string& CleanerChatReplyMessage_CleanerActionType_Name(T enum_ return CleanerChatReplyMessage_CleanerActionType_Name(static_cast(enum_t_value)); } bool CleanerChatReplyMessage_CleanerActionType_Parse( - const std::string& name, CleanerChatReplyMessage_CleanerActionType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CleanerChatReplyMessage_CleanerActionType* value); enum ChatCleanerMessage_ChatCleanerMessageType : int { ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerInitMessage = 1, ChatCleanerMessage_ChatCleanerMessageType_Type_CleanerInitAckMessage = 2, @@ -117,7 +116,7 @@ inline const std::string& ChatCleanerMessage_ChatCleanerMessageType_Name(T enum_ return ChatCleanerMessage_ChatCleanerMessageType_Name(static_cast(enum_t_value)); } bool ChatCleanerMessage_ChatCleanerMessageType_Parse( - const std::string& name, ChatCleanerMessage_ChatCleanerMessageType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChatCleanerMessage_ChatCleanerMessageType* value); enum CleanerChatType : int { cleanerChatTypeLobby = 0, cleanerChatTypeGame = 1 @@ -136,14 +135,15 @@ inline const std::string& CleanerChatType_Name(T enum_t_value) { return CleanerChatType_Name(static_cast(enum_t_value)); } bool CleanerChatType_Parse( - const std::string& name, CleanerChatType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CleanerChatType* value); // =================================================================== -class CleanerInitMessage PROTOBUF_FINAL : +class CleanerInitMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:CleanerInitMessage) */ { public: - inline CleanerInitMessage() : CleanerInitMessage(nullptr) {}; - virtual ~CleanerInitMessage(); + inline CleanerInitMessage() : CleanerInitMessage(nullptr) {} + ~CleanerInitMessage() override; + explicit constexpr CleanerInitMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CleanerInitMessage(const CleanerInitMessage& from); CleanerInitMessage(CleanerInitMessage&& from) noexcept @@ -156,8 +156,13 @@ class CleanerInitMessage PROTOBUF_FINAL : return *this; } inline CleanerInitMessage& operator=(CleanerInitMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -171,9 +176,9 @@ class CleanerInitMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const CleanerInitMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const CleanerInitMessage& default_instance() { + return *internal_default_instance(); + } static inline const CleanerInitMessage* internal_default_instance() { return reinterpret_cast( &_CleanerInitMessage_default_instance_); @@ -186,7 +191,12 @@ class CleanerInitMessage PROTOBUF_FINAL : } inline void Swap(CleanerInitMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -194,21 +204,16 @@ class CleanerInitMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(CleanerInitMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline CleanerInitMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - CleanerInitMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + CleanerInitMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const CleanerInitMessage& from); void MergeFrom(const CleanerInitMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -216,22 +221,24 @@ class CleanerInitMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(CleanerInitMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CleanerInitMessage"; } protected: - explicit CleanerInitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit CleanerInitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -254,25 +261,14 @@ class CleanerInitMessage PROTOBUF_FINAL : public: void clear_clientsecret(); const std::string& clientsecret() const; - void set_clientsecret(const std::string& value); - void set_clientsecret(std::string&& value); - void set_clientsecret(const char* value); - void set_clientsecret(const char* value, size_t size); + template + void set_clientsecret(ArgT0&& arg0, ArgT... args); std::string* mutable_clientsecret(); - std::string* release_clientsecret(); + PROTOBUF_NODISCARD std::string* release_clientsecret(); void set_allocated_clientsecret(std::string* clientsecret); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_clientsecret(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_clientsecret( - std::string* clientsecret); private: const std::string& _internal_clientsecret() const; - void _internal_set_clientsecret(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_clientsecret(const std::string& value); std::string* _internal_mutable_clientsecret(); public: @@ -282,11 +278,11 @@ class CleanerInitMessage PROTOBUF_FINAL : bool _internal_has_requestedversion() const; public: void clear_requestedversion(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestedversion() const; - void set_requestedversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestedversion() const; + void set_requestedversion(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestedversion() const; - void _internal_set_requestedversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestedversion() const; + void _internal_set_requestedversion(uint32_t value); public: // @@protoc_insertion_point(class_scope:CleanerInitMessage) @@ -302,16 +298,17 @@ class CleanerInitMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr clientsecret_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestedversion_; + uint32_t requestedversion_; friend struct ::TableStruct_chatcleaner_2eproto; }; // ------------------------------------------------------------------- -class CleanerInitAckMessage PROTOBUF_FINAL : +class CleanerInitAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:CleanerInitAckMessage) */ { public: - inline CleanerInitAckMessage() : CleanerInitAckMessage(nullptr) {}; - virtual ~CleanerInitAckMessage(); + inline CleanerInitAckMessage() : CleanerInitAckMessage(nullptr) {} + ~CleanerInitAckMessage() override; + explicit constexpr CleanerInitAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CleanerInitAckMessage(const CleanerInitAckMessage& from); CleanerInitAckMessage(CleanerInitAckMessage&& from) noexcept @@ -324,8 +321,13 @@ class CleanerInitAckMessage PROTOBUF_FINAL : return *this; } inline CleanerInitAckMessage& operator=(CleanerInitAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -339,9 +341,9 @@ class CleanerInitAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const CleanerInitAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const CleanerInitAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const CleanerInitAckMessage* internal_default_instance() { return reinterpret_cast( &_CleanerInitAckMessage_default_instance_); @@ -354,7 +356,12 @@ class CleanerInitAckMessage PROTOBUF_FINAL : } inline void Swap(CleanerInitAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -362,21 +369,16 @@ class CleanerInitAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(CleanerInitAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline CleanerInitAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - CleanerInitAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + CleanerInitAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const CleanerInitAckMessage& from); void MergeFrom(const CleanerInitAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -384,22 +386,24 @@ class CleanerInitAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(CleanerInitAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CleanerInitAckMessage"; } protected: - explicit CleanerInitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit CleanerInitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -422,25 +426,14 @@ class CleanerInitAckMessage PROTOBUF_FINAL : public: void clear_serversecret(); const std::string& serversecret() const; - void set_serversecret(const std::string& value); - void set_serversecret(std::string&& value); - void set_serversecret(const char* value); - void set_serversecret(const char* value, size_t size); + template + void set_serversecret(ArgT0&& arg0, ArgT... args); std::string* mutable_serversecret(); - std::string* release_serversecret(); + PROTOBUF_NODISCARD std::string* release_serversecret(); void set_allocated_serversecret(std::string* serversecret); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_serversecret(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_serversecret( - std::string* serversecret); private: const std::string& _internal_serversecret() const; - void _internal_set_serversecret(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_serversecret(const std::string& value); std::string* _internal_mutable_serversecret(); public: @@ -450,11 +443,11 @@ class CleanerInitAckMessage PROTOBUF_FINAL : bool _internal_has_serverversion() const; public: void clear_serverversion(); - ::PROTOBUF_NAMESPACE_ID::uint32 serverversion() const; - void set_serverversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t serverversion() const; + void set_serverversion(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_serverversion() const; - void _internal_set_serverversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_serverversion() const; + void _internal_set_serverversion(uint32_t value); public: // @@protoc_insertion_point(class_scope:CleanerInitAckMessage) @@ -470,16 +463,17 @@ class CleanerInitAckMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serversecret_; - ::PROTOBUF_NAMESPACE_ID::uint32 serverversion_; + uint32_t serverversion_; friend struct ::TableStruct_chatcleaner_2eproto; }; // ------------------------------------------------------------------- -class CleanerChatRequestMessage PROTOBUF_FINAL : +class CleanerChatRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:CleanerChatRequestMessage) */ { public: - inline CleanerChatRequestMessage() : CleanerChatRequestMessage(nullptr) {}; - virtual ~CleanerChatRequestMessage(); + inline CleanerChatRequestMessage() : CleanerChatRequestMessage(nullptr) {} + ~CleanerChatRequestMessage() override; + explicit constexpr CleanerChatRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CleanerChatRequestMessage(const CleanerChatRequestMessage& from); CleanerChatRequestMessage(CleanerChatRequestMessage&& from) noexcept @@ -492,8 +486,13 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : return *this; } inline CleanerChatRequestMessage& operator=(CleanerChatRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -507,9 +506,9 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const CleanerChatRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const CleanerChatRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const CleanerChatRequestMessage* internal_default_instance() { return reinterpret_cast( &_CleanerChatRequestMessage_default_instance_); @@ -522,7 +521,12 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : } inline void Swap(CleanerChatRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -530,21 +534,16 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(CleanerChatRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline CleanerChatRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - CleanerChatRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + CleanerChatRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const CleanerChatRequestMessage& from); void MergeFrom(const CleanerChatRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -552,22 +551,24 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(CleanerChatRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CleanerChatRequestMessage"; } protected: - explicit CleanerChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit CleanerChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -594,25 +595,14 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : public: void clear_playername(); const std::string& playername() const; - void set_playername(const std::string& value); - void set_playername(std::string&& value); - void set_playername(const char* value); - void set_playername(const char* value, size_t size); + template + void set_playername(ArgT0&& arg0, ArgT... args); std::string* mutable_playername(); - std::string* release_playername(); + PROTOBUF_NODISCARD std::string* release_playername(); void set_allocated_playername(std::string* playername); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_playername(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_playername( - std::string* playername); private: const std::string& _internal_playername() const; - void _internal_set_playername(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_playername(const std::string& value); std::string* _internal_mutable_playername(); public: @@ -623,25 +613,14 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : public: void clear_chatmessage(); const std::string& chatmessage() const; - void set_chatmessage(const std::string& value); - void set_chatmessage(std::string&& value); - void set_chatmessage(const char* value); - void set_chatmessage(const char* value, size_t size); + template + void set_chatmessage(ArgT0&& arg0, ArgT... args); std::string* mutable_chatmessage(); - std::string* release_chatmessage(); + PROTOBUF_NODISCARD std::string* release_chatmessage(); void set_allocated_chatmessage(std::string* chatmessage); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_chatmessage(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_chatmessage( - std::string* chatmessage); private: const std::string& _internal_chatmessage() const; - void _internal_set_chatmessage(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_chatmessage(const std::string& value); std::string* _internal_mutable_chatmessage(); public: @@ -651,11 +630,11 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : bool _internal_has_requestid() const; public: void clear_requestid(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestid() const; - void set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestid() const; + void set_requestid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestid() const; - void _internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestid() const; + void _internal_set_requestid(uint32_t value); public: // required .CleanerChatType cleanerChatType = 2; @@ -677,11 +656,11 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 4; @@ -690,11 +669,11 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:CleanerChatRequestMessage) @@ -711,19 +690,20 @@ class CleanerChatRequestMessage PROTOBUF_FINAL : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr playername_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chatmessage_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestid_; + uint32_t requestid_; int cleanerchattype_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_chatcleaner_2eproto; }; // ------------------------------------------------------------------- -class CleanerChatReplyMessage PROTOBUF_FINAL : +class CleanerChatReplyMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:CleanerChatReplyMessage) */ { public: - inline CleanerChatReplyMessage() : CleanerChatReplyMessage(nullptr) {}; - virtual ~CleanerChatReplyMessage(); + inline CleanerChatReplyMessage() : CleanerChatReplyMessage(nullptr) {} + ~CleanerChatReplyMessage() override; + explicit constexpr CleanerChatReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); CleanerChatReplyMessage(const CleanerChatReplyMessage& from); CleanerChatReplyMessage(CleanerChatReplyMessage&& from) noexcept @@ -736,8 +716,13 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : return *this; } inline CleanerChatReplyMessage& operator=(CleanerChatReplyMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -751,9 +736,9 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const CleanerChatReplyMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const CleanerChatReplyMessage& default_instance() { + return *internal_default_instance(); + } static inline const CleanerChatReplyMessage* internal_default_instance() { return reinterpret_cast( &_CleanerChatReplyMessage_default_instance_); @@ -766,7 +751,12 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : } inline void Swap(CleanerChatReplyMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -774,21 +764,16 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(CleanerChatReplyMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline CleanerChatReplyMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - CleanerChatReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + CleanerChatReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const CleanerChatReplyMessage& from); void MergeFrom(const CleanerChatReplyMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -796,22 +781,24 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(CleanerChatReplyMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "CleanerChatReplyMessage"; } protected: - explicit CleanerChatReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit CleanerChatReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -848,7 +835,7 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : "Incorrect type passed to function CleanerActionType_Name."); return CleanerChatReplyMessage_CleanerActionType_Name(enum_t_value); } - static inline bool CleanerActionType_Parse(const std::string& name, + static inline bool CleanerActionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CleanerActionType* value) { return CleanerChatReplyMessage_CleanerActionType_Parse(name, value); } @@ -870,25 +857,14 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : public: void clear_cleanertext(); const std::string& cleanertext() const; - void set_cleanertext(const std::string& value); - void set_cleanertext(std::string&& value); - void set_cleanertext(const char* value); - void set_cleanertext(const char* value, size_t size); + template + void set_cleanertext(ArgT0&& arg0, ArgT... args); std::string* mutable_cleanertext(); - std::string* release_cleanertext(); + PROTOBUF_NODISCARD std::string* release_cleanertext(); void set_allocated_cleanertext(std::string* cleanertext); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_cleanertext(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_cleanertext( - std::string* cleanertext); private: const std::string& _internal_cleanertext() const; - void _internal_set_cleanertext(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cleanertext(const std::string& value); std::string* _internal_mutable_cleanertext(); public: @@ -898,11 +874,11 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : bool _internal_has_requestid() const; public: void clear_requestid(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestid() const; - void set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestid() const; + void set_requestid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestid() const; - void _internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestid() const; + void _internal_set_requestid(uint32_t value); public: // required .CleanerChatType cleanerChatType = 2; @@ -924,11 +900,11 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 4; @@ -937,11 +913,11 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .CleanerChatReplyMessage.CleanerActionType cleanerActionType = 5; @@ -970,20 +946,21 @@ class CleanerChatReplyMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cleanertext_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestid_; + uint32_t requestid_; int cleanerchattype_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int cleaneractiontype_; friend struct ::TableStruct_chatcleaner_2eproto; }; // ------------------------------------------------------------------- -class ChatCleanerMessage PROTOBUF_FINAL : +class ChatCleanerMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ChatCleanerMessage) */ { public: - inline ChatCleanerMessage() : ChatCleanerMessage(nullptr) {}; - virtual ~ChatCleanerMessage(); + inline ChatCleanerMessage() : ChatCleanerMessage(nullptr) {} + ~ChatCleanerMessage() override; + explicit constexpr ChatCleanerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ChatCleanerMessage(const ChatCleanerMessage& from); ChatCleanerMessage(ChatCleanerMessage&& from) noexcept @@ -996,8 +973,13 @@ class ChatCleanerMessage PROTOBUF_FINAL : return *this; } inline ChatCleanerMessage& operator=(ChatCleanerMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -1011,9 +993,9 @@ class ChatCleanerMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ChatCleanerMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ChatCleanerMessage& default_instance() { + return *internal_default_instance(); + } static inline const ChatCleanerMessage* internal_default_instance() { return reinterpret_cast( &_ChatCleanerMessage_default_instance_); @@ -1026,7 +1008,12 @@ class ChatCleanerMessage PROTOBUF_FINAL : } inline void Swap(ChatCleanerMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1034,21 +1021,16 @@ class ChatCleanerMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ChatCleanerMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ChatCleanerMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ChatCleanerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ChatCleanerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ChatCleanerMessage& from); void MergeFrom(const ChatCleanerMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -1056,22 +1038,24 @@ class ChatCleanerMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ChatCleanerMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ChatCleanerMessage"; } protected: - explicit ChatCleanerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ChatCleanerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -1106,7 +1090,7 @@ class ChatCleanerMessage PROTOBUF_FINAL : "Incorrect type passed to function ChatCleanerMessageType_Name."); return ChatCleanerMessage_ChatCleanerMessageType_Name(enum_t_value); } - static inline bool ChatCleanerMessageType_Parse(const std::string& name, + static inline bool ChatCleanerMessageType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChatCleanerMessageType* value) { return ChatCleanerMessage_ChatCleanerMessageType_Parse(name, value); } @@ -1127,7 +1111,7 @@ class ChatCleanerMessage PROTOBUF_FINAL : public: void clear_cleanerinitmessage(); const ::CleanerInitMessage& cleanerinitmessage() const; - ::CleanerInitMessage* release_cleanerinitmessage(); + PROTOBUF_NODISCARD ::CleanerInitMessage* release_cleanerinitmessage(); ::CleanerInitMessage* mutable_cleanerinitmessage(); void set_allocated_cleanerinitmessage(::CleanerInitMessage* cleanerinitmessage); private: @@ -1145,7 +1129,7 @@ class ChatCleanerMessage PROTOBUF_FINAL : public: void clear_cleanerinitackmessage(); const ::CleanerInitAckMessage& cleanerinitackmessage() const; - ::CleanerInitAckMessage* release_cleanerinitackmessage(); + PROTOBUF_NODISCARD ::CleanerInitAckMessage* release_cleanerinitackmessage(); ::CleanerInitAckMessage* mutable_cleanerinitackmessage(); void set_allocated_cleanerinitackmessage(::CleanerInitAckMessage* cleanerinitackmessage); private: @@ -1163,7 +1147,7 @@ class ChatCleanerMessage PROTOBUF_FINAL : public: void clear_cleanerchatrequestmessage(); const ::CleanerChatRequestMessage& cleanerchatrequestmessage() const; - ::CleanerChatRequestMessage* release_cleanerchatrequestmessage(); + PROTOBUF_NODISCARD ::CleanerChatRequestMessage* release_cleanerchatrequestmessage(); ::CleanerChatRequestMessage* mutable_cleanerchatrequestmessage(); void set_allocated_cleanerchatrequestmessage(::CleanerChatRequestMessage* cleanerchatrequestmessage); private: @@ -1181,7 +1165,7 @@ class ChatCleanerMessage PROTOBUF_FINAL : public: void clear_cleanerchatreplymessage(); const ::CleanerChatReplyMessage& cleanerchatreplymessage() const; - ::CleanerChatReplyMessage* release_cleanerchatreplymessage(); + PROTOBUF_NODISCARD ::CleanerChatReplyMessage* release_cleanerchatreplymessage(); ::CleanerChatReplyMessage* mutable_cleanerchatreplymessage(); void set_allocated_cleanerchatreplymessage(::CleanerChatReplyMessage* cleanerchatreplymessage); private: @@ -1244,18 +1228,18 @@ inline void CleanerInitMessage::clear_requestedversion() { requestedversion_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerInitMessage::_internal_requestedversion() const { +inline uint32_t CleanerInitMessage::_internal_requestedversion() const { return requestedversion_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerInitMessage::requestedversion() const { +inline uint32_t CleanerInitMessage::requestedversion() const { // @@protoc_insertion_point(field_get:CleanerInitMessage.requestedVersion) return _internal_requestedversion(); } -inline void CleanerInitMessage::_internal_set_requestedversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerInitMessage::_internal_set_requestedversion(uint32_t value) { _has_bits_[0] |= 0x00000002u; requestedversion_ = value; } -inline void CleanerInitMessage::set_requestedversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerInitMessage::set_requestedversion(uint32_t value) { _internal_set_requestedversion(value); // @@protoc_insertion_point(field_set:CleanerInitMessage.requestedVersion) } @@ -1269,51 +1253,35 @@ inline bool CleanerInitMessage::has_clientsecret() const { return _internal_has_clientsecret(); } inline void CleanerInitMessage::clear_clientsecret() { - clientsecret_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clientsecret_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& CleanerInitMessage::clientsecret() const { // @@protoc_insertion_point(field_get:CleanerInitMessage.clientSecret) return _internal_clientsecret(); } -inline void CleanerInitMessage::set_clientsecret(const std::string& value) { - _internal_set_clientsecret(value); +template +inline PROTOBUF_ALWAYS_INLINE +void CleanerInitMessage::set_clientsecret(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + clientsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:CleanerInitMessage.clientSecret) } inline std::string* CleanerInitMessage::mutable_clientsecret() { + std::string* _s = _internal_mutable_clientsecret(); // @@protoc_insertion_point(field_mutable:CleanerInitMessage.clientSecret) - return _internal_mutable_clientsecret(); + return _s; } inline const std::string& CleanerInitMessage::_internal_clientsecret() const { return clientsecret_.Get(); } inline void CleanerInitMessage::_internal_set_clientsecret(const std::string& value) { _has_bits_[0] |= 0x00000001u; - clientsecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void CleanerInitMessage::set_clientsecret(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - clientsecret_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:CleanerInitMessage.clientSecret) -} -inline void CleanerInitMessage::set_clientsecret(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - clientsecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:CleanerInitMessage.clientSecret) -} -inline void CleanerInitMessage::set_clientsecret(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - clientsecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:CleanerInitMessage.clientSecret) + clientsecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CleanerInitMessage::_internal_mutable_clientsecret() { _has_bits_[0] |= 0x00000001u; - return clientsecret_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return clientsecret_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CleanerInitMessage::release_clientsecret() { // @@protoc_insertion_point(field_release:CleanerInitMessage.clientSecret) @@ -1321,7 +1289,13 @@ inline std::string* CleanerInitMessage::release_clientsecret() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return clientsecret_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = clientsecret_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (clientsecret_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + clientsecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void CleanerInitMessage::set_allocated_clientsecret(std::string* clientsecret) { if (clientsecret != nullptr) { @@ -1330,27 +1304,13 @@ inline void CleanerInitMessage::set_allocated_clientsecret(std::string* clientse _has_bits_[0] &= ~0x00000001u; } clientsecret_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), clientsecret, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:CleanerInitMessage.clientSecret) -} -inline std::string* CleanerInitMessage::unsafe_arena_release_clientsecret() { - // @@protoc_insertion_point(field_unsafe_arena_release:CleanerInitMessage.clientSecret) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return clientsecret_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void CleanerInitMessage::unsafe_arena_set_allocated_clientsecret( - std::string* clientsecret) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (clientsecret != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (clientsecret_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + clientsecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - clientsecret_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - clientsecret, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CleanerInitMessage.clientSecret) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CleanerInitMessage.clientSecret) } // ------------------------------------------------------------------- @@ -1369,18 +1329,18 @@ inline void CleanerInitAckMessage::clear_serverversion() { serverversion_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerInitAckMessage::_internal_serverversion() const { +inline uint32_t CleanerInitAckMessage::_internal_serverversion() const { return serverversion_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerInitAckMessage::serverversion() const { +inline uint32_t CleanerInitAckMessage::serverversion() const { // @@protoc_insertion_point(field_get:CleanerInitAckMessage.serverVersion) return _internal_serverversion(); } -inline void CleanerInitAckMessage::_internal_set_serverversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerInitAckMessage::_internal_set_serverversion(uint32_t value) { _has_bits_[0] |= 0x00000002u; serverversion_ = value; } -inline void CleanerInitAckMessage::set_serverversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerInitAckMessage::set_serverversion(uint32_t value) { _internal_set_serverversion(value); // @@protoc_insertion_point(field_set:CleanerInitAckMessage.serverVersion) } @@ -1394,51 +1354,35 @@ inline bool CleanerInitAckMessage::has_serversecret() const { return _internal_has_serversecret(); } inline void CleanerInitAckMessage::clear_serversecret() { - serversecret_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + serversecret_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& CleanerInitAckMessage::serversecret() const { // @@protoc_insertion_point(field_get:CleanerInitAckMessage.serverSecret) return _internal_serversecret(); } -inline void CleanerInitAckMessage::set_serversecret(const std::string& value) { - _internal_set_serversecret(value); +template +inline PROTOBUF_ALWAYS_INLINE +void CleanerInitAckMessage::set_serversecret(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + serversecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:CleanerInitAckMessage.serverSecret) } inline std::string* CleanerInitAckMessage::mutable_serversecret() { + std::string* _s = _internal_mutable_serversecret(); // @@protoc_insertion_point(field_mutable:CleanerInitAckMessage.serverSecret) - return _internal_mutable_serversecret(); + return _s; } inline const std::string& CleanerInitAckMessage::_internal_serversecret() const { return serversecret_.Get(); } inline void CleanerInitAckMessage::_internal_set_serversecret(const std::string& value) { _has_bits_[0] |= 0x00000001u; - serversecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void CleanerInitAckMessage::set_serversecret(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - serversecret_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:CleanerInitAckMessage.serverSecret) -} -inline void CleanerInitAckMessage::set_serversecret(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - serversecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:CleanerInitAckMessage.serverSecret) -} -inline void CleanerInitAckMessage::set_serversecret(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - serversecret_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:CleanerInitAckMessage.serverSecret) + serversecret_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CleanerInitAckMessage::_internal_mutable_serversecret() { _has_bits_[0] |= 0x00000001u; - return serversecret_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return serversecret_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CleanerInitAckMessage::release_serversecret() { // @@protoc_insertion_point(field_release:CleanerInitAckMessage.serverSecret) @@ -1446,7 +1390,13 @@ inline std::string* CleanerInitAckMessage::release_serversecret() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return serversecret_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = serversecret_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (serversecret_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + serversecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void CleanerInitAckMessage::set_allocated_serversecret(std::string* serversecret) { if (serversecret != nullptr) { @@ -1455,27 +1405,13 @@ inline void CleanerInitAckMessage::set_allocated_serversecret(std::string* serve _has_bits_[0] &= ~0x00000001u; } serversecret_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serversecret, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:CleanerInitAckMessage.serverSecret) -} -inline std::string* CleanerInitAckMessage::unsafe_arena_release_serversecret() { - // @@protoc_insertion_point(field_unsafe_arena_release:CleanerInitAckMessage.serverSecret) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return serversecret_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void CleanerInitAckMessage::unsafe_arena_set_allocated_serversecret( - std::string* serversecret) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (serversecret != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (serversecret_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + serversecret_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - serversecret_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - serversecret, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CleanerInitAckMessage.serverSecret) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CleanerInitAckMessage.serverSecret) } // ------------------------------------------------------------------- @@ -1494,18 +1430,18 @@ inline void CleanerChatRequestMessage::clear_requestid() { requestid_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatRequestMessage::_internal_requestid() const { +inline uint32_t CleanerChatRequestMessage::_internal_requestid() const { return requestid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatRequestMessage::requestid() const { +inline uint32_t CleanerChatRequestMessage::requestid() const { // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.requestId) return _internal_requestid(); } -inline void CleanerChatRequestMessage::_internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatRequestMessage::_internal_set_requestid(uint32_t value) { _has_bits_[0] |= 0x00000004u; requestid_ = value; } -inline void CleanerChatRequestMessage::set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatRequestMessage::set_requestid(uint32_t value) { _internal_set_requestid(value); // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.requestId) } @@ -1551,18 +1487,18 @@ inline void CleanerChatRequestMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatRequestMessage::_internal_gameid() const { +inline uint32_t CleanerChatRequestMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatRequestMessage::gameid() const { +inline uint32_t CleanerChatRequestMessage::gameid() const { // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.gameId) return _internal_gameid(); } -inline void CleanerChatRequestMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatRequestMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000010u; gameid_ = value; } -inline void CleanerChatRequestMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatRequestMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.gameId) } @@ -1579,18 +1515,18 @@ inline void CleanerChatRequestMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000020u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatRequestMessage::_internal_playerid() const { +inline uint32_t CleanerChatRequestMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatRequestMessage::playerid() const { +inline uint32_t CleanerChatRequestMessage::playerid() const { // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.playerId) return _internal_playerid(); } -inline void CleanerChatRequestMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatRequestMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000020u; playerid_ = value; } -inline void CleanerChatRequestMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatRequestMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.playerId) } @@ -1604,51 +1540,35 @@ inline bool CleanerChatRequestMessage::has_playername() const { return _internal_has_playername(); } inline void CleanerChatRequestMessage::clear_playername() { - playername_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + playername_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& CleanerChatRequestMessage::playername() const { // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.playerName) return _internal_playername(); } -inline void CleanerChatRequestMessage::set_playername(const std::string& value) { - _internal_set_playername(value); +template +inline PROTOBUF_ALWAYS_INLINE +void CleanerChatRequestMessage::set_playername(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + playername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.playerName) } inline std::string* CleanerChatRequestMessage::mutable_playername() { + std::string* _s = _internal_mutable_playername(); // @@protoc_insertion_point(field_mutable:CleanerChatRequestMessage.playerName) - return _internal_mutable_playername(); + return _s; } inline const std::string& CleanerChatRequestMessage::_internal_playername() const { return playername_.Get(); } inline void CleanerChatRequestMessage::_internal_set_playername(const std::string& value) { _has_bits_[0] |= 0x00000001u; - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void CleanerChatRequestMessage::set_playername(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - playername_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:CleanerChatRequestMessage.playerName) -} -inline void CleanerChatRequestMessage::set_playername(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:CleanerChatRequestMessage.playerName) -} -inline void CleanerChatRequestMessage::set_playername(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:CleanerChatRequestMessage.playerName) + playername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CleanerChatRequestMessage::_internal_mutable_playername() { _has_bits_[0] |= 0x00000001u; - return playername_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return playername_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CleanerChatRequestMessage::release_playername() { // @@protoc_insertion_point(field_release:CleanerChatRequestMessage.playerName) @@ -1656,7 +1576,13 @@ inline std::string* CleanerChatRequestMessage::release_playername() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return playername_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = playername_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (playername_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void CleanerChatRequestMessage::set_allocated_playername(std::string* playername) { if (playername != nullptr) { @@ -1665,27 +1591,13 @@ inline void CleanerChatRequestMessage::set_allocated_playername(std::string* pla _has_bits_[0] &= ~0x00000001u; } playername_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), playername, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.playerName) -} -inline std::string* CleanerChatRequestMessage::unsafe_arena_release_playername() { - // @@protoc_insertion_point(field_unsafe_arena_release:CleanerChatRequestMessage.playerName) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return playername_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void CleanerChatRequestMessage::unsafe_arena_set_allocated_playername( - std::string* playername) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (playername != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (playername_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - playername_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - playername, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CleanerChatRequestMessage.playerName) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.playerName) } // required string chatMessage = 6; @@ -1697,51 +1609,35 @@ inline bool CleanerChatRequestMessage::has_chatmessage() const { return _internal_has_chatmessage(); } inline void CleanerChatRequestMessage::clear_chatmessage() { - chatmessage_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + chatmessage_.ClearToEmpty(); _has_bits_[0] &= ~0x00000002u; } inline const std::string& CleanerChatRequestMessage::chatmessage() const { // @@protoc_insertion_point(field_get:CleanerChatRequestMessage.chatMessage) return _internal_chatmessage(); } -inline void CleanerChatRequestMessage::set_chatmessage(const std::string& value) { - _internal_set_chatmessage(value); +template +inline PROTOBUF_ALWAYS_INLINE +void CleanerChatRequestMessage::set_chatmessage(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000002u; + chatmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:CleanerChatRequestMessage.chatMessage) } inline std::string* CleanerChatRequestMessage::mutable_chatmessage() { + std::string* _s = _internal_mutable_chatmessage(); // @@protoc_insertion_point(field_mutable:CleanerChatRequestMessage.chatMessage) - return _internal_mutable_chatmessage(); + return _s; } inline const std::string& CleanerChatRequestMessage::_internal_chatmessage() const { return chatmessage_.Get(); } inline void CleanerChatRequestMessage::_internal_set_chatmessage(const std::string& value) { _has_bits_[0] |= 0x00000002u; - chatmessage_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void CleanerChatRequestMessage::set_chatmessage(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - chatmessage_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:CleanerChatRequestMessage.chatMessage) -} -inline void CleanerChatRequestMessage::set_chatmessage(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - chatmessage_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:CleanerChatRequestMessage.chatMessage) -} -inline void CleanerChatRequestMessage::set_chatmessage(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - chatmessage_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:CleanerChatRequestMessage.chatMessage) + chatmessage_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CleanerChatRequestMessage::_internal_mutable_chatmessage() { _has_bits_[0] |= 0x00000002u; - return chatmessage_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return chatmessage_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CleanerChatRequestMessage::release_chatmessage() { // @@protoc_insertion_point(field_release:CleanerChatRequestMessage.chatMessage) @@ -1749,7 +1645,13 @@ inline std::string* CleanerChatRequestMessage::release_chatmessage() { return nullptr; } _has_bits_[0] &= ~0x00000002u; - return chatmessage_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = chatmessage_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chatmessage_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chatmessage_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void CleanerChatRequestMessage::set_allocated_chatmessage(std::string* chatmessage) { if (chatmessage != nullptr) { @@ -1758,27 +1660,13 @@ inline void CleanerChatRequestMessage::set_allocated_chatmessage(std::string* ch _has_bits_[0] &= ~0x00000002u; } chatmessage_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), chatmessage, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.chatMessage) -} -inline std::string* CleanerChatRequestMessage::unsafe_arena_release_chatmessage() { - // @@protoc_insertion_point(field_unsafe_arena_release:CleanerChatRequestMessage.chatMessage) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return chatmessage_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void CleanerChatRequestMessage::unsafe_arena_set_allocated_chatmessage( - std::string* chatmessage) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (chatmessage != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chatmessage_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chatmessage_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - chatmessage_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - chatmessage, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CleanerChatRequestMessage.chatMessage) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CleanerChatRequestMessage.chatMessage) } // ------------------------------------------------------------------- @@ -1797,18 +1685,18 @@ inline void CleanerChatReplyMessage::clear_requestid() { requestid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatReplyMessage::_internal_requestid() const { +inline uint32_t CleanerChatReplyMessage::_internal_requestid() const { return requestid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatReplyMessage::requestid() const { +inline uint32_t CleanerChatReplyMessage::requestid() const { // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.requestId) return _internal_requestid(); } -inline void CleanerChatReplyMessage::_internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatReplyMessage::_internal_set_requestid(uint32_t value) { _has_bits_[0] |= 0x00000002u; requestid_ = value; } -inline void CleanerChatReplyMessage::set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatReplyMessage::set_requestid(uint32_t value) { _internal_set_requestid(value); // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.requestId) } @@ -1854,18 +1742,18 @@ inline void CleanerChatReplyMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatReplyMessage::_internal_gameid() const { +inline uint32_t CleanerChatReplyMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatReplyMessage::gameid() const { +inline uint32_t CleanerChatReplyMessage::gameid() const { // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.gameId) return _internal_gameid(); } -inline void CleanerChatReplyMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatReplyMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000008u; gameid_ = value; } -inline void CleanerChatReplyMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatReplyMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.gameId) } @@ -1882,18 +1770,18 @@ inline void CleanerChatReplyMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatReplyMessage::_internal_playerid() const { +inline uint32_t CleanerChatReplyMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 CleanerChatReplyMessage::playerid() const { +inline uint32_t CleanerChatReplyMessage::playerid() const { // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.playerId) return _internal_playerid(); } -inline void CleanerChatReplyMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatReplyMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000010u; playerid_ = value; } -inline void CleanerChatReplyMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void CleanerChatReplyMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.playerId) } @@ -1936,51 +1824,35 @@ inline bool CleanerChatReplyMessage::has_cleanertext() const { return _internal_has_cleanertext(); } inline void CleanerChatReplyMessage::clear_cleanertext() { - cleanertext_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + cleanertext_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& CleanerChatReplyMessage::cleanertext() const { // @@protoc_insertion_point(field_get:CleanerChatReplyMessage.cleanerText) return _internal_cleanertext(); } -inline void CleanerChatReplyMessage::set_cleanertext(const std::string& value) { - _internal_set_cleanertext(value); +template +inline PROTOBUF_ALWAYS_INLINE +void CleanerChatReplyMessage::set_cleanertext(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + cleanertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:CleanerChatReplyMessage.cleanerText) } inline std::string* CleanerChatReplyMessage::mutable_cleanertext() { + std::string* _s = _internal_mutable_cleanertext(); // @@protoc_insertion_point(field_mutable:CleanerChatReplyMessage.cleanerText) - return _internal_mutable_cleanertext(); + return _s; } inline const std::string& CleanerChatReplyMessage::_internal_cleanertext() const { return cleanertext_.Get(); } inline void CleanerChatReplyMessage::_internal_set_cleanertext(const std::string& value) { _has_bits_[0] |= 0x00000001u; - cleanertext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void CleanerChatReplyMessage::set_cleanertext(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - cleanertext_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:CleanerChatReplyMessage.cleanerText) -} -inline void CleanerChatReplyMessage::set_cleanertext(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - cleanertext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:CleanerChatReplyMessage.cleanerText) -} -inline void CleanerChatReplyMessage::set_cleanertext(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - cleanertext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:CleanerChatReplyMessage.cleanerText) + cleanertext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* CleanerChatReplyMessage::_internal_mutable_cleanertext() { _has_bits_[0] |= 0x00000001u; - return cleanertext_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return cleanertext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* CleanerChatReplyMessage::release_cleanertext() { // @@protoc_insertion_point(field_release:CleanerChatReplyMessage.cleanerText) @@ -1988,7 +1860,13 @@ inline std::string* CleanerChatReplyMessage::release_cleanertext() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return cleanertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = cleanertext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (cleanertext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + cleanertext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void CleanerChatReplyMessage::set_allocated_cleanertext(std::string* cleanertext) { if (cleanertext != nullptr) { @@ -1997,27 +1875,13 @@ inline void CleanerChatReplyMessage::set_allocated_cleanertext(std::string* clea _has_bits_[0] &= ~0x00000001u; } cleanertext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), cleanertext, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:CleanerChatReplyMessage.cleanerText) -} -inline std::string* CleanerChatReplyMessage::unsafe_arena_release_cleanertext() { - // @@protoc_insertion_point(field_unsafe_arena_release:CleanerChatReplyMessage.cleanerText) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return cleanertext_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void CleanerChatReplyMessage::unsafe_arena_set_allocated_cleanertext( - std::string* cleanertext) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (cleanertext != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (cleanertext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + cleanertext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - cleanertext_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - cleanertext, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:CleanerChatReplyMessage.cleanerText) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:CleanerChatReplyMessage.cleanerText) } // ------------------------------------------------------------------- @@ -2068,8 +1932,8 @@ inline void ChatCleanerMessage::clear_cleanerinitmessage() { } inline const ::CleanerInitMessage& ChatCleanerMessage::_internal_cleanerinitmessage() const { const ::CleanerInitMessage* p = cleanerinitmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_CleanerInitMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_CleanerInitMessage_default_instance_); } inline const ::CleanerInitMessage& ChatCleanerMessage::cleanerinitmessage() const { // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerInitMessage) @@ -2077,7 +1941,7 @@ inline const ::CleanerInitMessage& ChatCleanerMessage::cleanerinitmessage() cons } inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerinitmessage( ::CleanerInitMessage* cleanerinitmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cleanerinitmessage_); } cleanerinitmessage_ = cleanerinitmessage; @@ -2089,10 +1953,18 @@ inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerinitmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ChatCleanerMessage.cleanerInitMessage) } inline ::CleanerInitMessage* ChatCleanerMessage::release_cleanerinitmessage() { - auto temp = unsafe_arena_release_cleanerinitmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000001u; + ::CleanerInitMessage* temp = cleanerinitmessage_; + cleanerinitmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::CleanerInitMessage* ChatCleanerMessage::unsafe_arena_release_cleanerinitmessage() { @@ -2105,23 +1977,24 @@ inline ::CleanerInitMessage* ChatCleanerMessage::unsafe_arena_release_cleanerini inline ::CleanerInitMessage* ChatCleanerMessage::_internal_mutable_cleanerinitmessage() { _has_bits_[0] |= 0x00000001u; if (cleanerinitmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::CleanerInitMessage>(GetArena()); + auto* p = CreateMaybeMessage<::CleanerInitMessage>(GetArenaForAllocation()); cleanerinitmessage_ = p; } return cleanerinitmessage_; } inline ::CleanerInitMessage* ChatCleanerMessage::mutable_cleanerinitmessage() { + ::CleanerInitMessage* _msg = _internal_mutable_cleanerinitmessage(); // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerInitMessage) - return _internal_mutable_cleanerinitmessage(); + return _msg; } inline void ChatCleanerMessage::set_allocated_cleanerinitmessage(::CleanerInitMessage* cleanerinitmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete cleanerinitmessage_; } if (cleanerinitmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(cleanerinitmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CleanerInitMessage>::GetOwningArena(cleanerinitmessage); if (message_arena != submessage_arena) { cleanerinitmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, cleanerinitmessage, submessage_arena); @@ -2149,8 +2022,8 @@ inline void ChatCleanerMessage::clear_cleanerinitackmessage() { } inline const ::CleanerInitAckMessage& ChatCleanerMessage::_internal_cleanerinitackmessage() const { const ::CleanerInitAckMessage* p = cleanerinitackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_CleanerInitAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_CleanerInitAckMessage_default_instance_); } inline const ::CleanerInitAckMessage& ChatCleanerMessage::cleanerinitackmessage() const { // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerInitAckMessage) @@ -2158,7 +2031,7 @@ inline const ::CleanerInitAckMessage& ChatCleanerMessage::cleanerinitackmessage( } inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerinitackmessage( ::CleanerInitAckMessage* cleanerinitackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cleanerinitackmessage_); } cleanerinitackmessage_ = cleanerinitackmessage; @@ -2170,10 +2043,18 @@ inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerinitackmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ChatCleanerMessage.cleanerInitAckMessage) } inline ::CleanerInitAckMessage* ChatCleanerMessage::release_cleanerinitackmessage() { - auto temp = unsafe_arena_release_cleanerinitackmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000002u; + ::CleanerInitAckMessage* temp = cleanerinitackmessage_; + cleanerinitackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::CleanerInitAckMessage* ChatCleanerMessage::unsafe_arena_release_cleanerinitackmessage() { @@ -2186,23 +2067,24 @@ inline ::CleanerInitAckMessage* ChatCleanerMessage::unsafe_arena_release_cleaner inline ::CleanerInitAckMessage* ChatCleanerMessage::_internal_mutable_cleanerinitackmessage() { _has_bits_[0] |= 0x00000002u; if (cleanerinitackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::CleanerInitAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::CleanerInitAckMessage>(GetArenaForAllocation()); cleanerinitackmessage_ = p; } return cleanerinitackmessage_; } inline ::CleanerInitAckMessage* ChatCleanerMessage::mutable_cleanerinitackmessage() { + ::CleanerInitAckMessage* _msg = _internal_mutable_cleanerinitackmessage(); // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerInitAckMessage) - return _internal_mutable_cleanerinitackmessage(); + return _msg; } inline void ChatCleanerMessage::set_allocated_cleanerinitackmessage(::CleanerInitAckMessage* cleanerinitackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete cleanerinitackmessage_; } if (cleanerinitackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(cleanerinitackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CleanerInitAckMessage>::GetOwningArena(cleanerinitackmessage); if (message_arena != submessage_arena) { cleanerinitackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, cleanerinitackmessage, submessage_arena); @@ -2230,8 +2112,8 @@ inline void ChatCleanerMessage::clear_cleanerchatrequestmessage() { } inline const ::CleanerChatRequestMessage& ChatCleanerMessage::_internal_cleanerchatrequestmessage() const { const ::CleanerChatRequestMessage* p = cleanerchatrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_CleanerChatRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_CleanerChatRequestMessage_default_instance_); } inline const ::CleanerChatRequestMessage& ChatCleanerMessage::cleanerchatrequestmessage() const { // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerChatRequestMessage) @@ -2239,7 +2121,7 @@ inline const ::CleanerChatRequestMessage& ChatCleanerMessage::cleanerchatrequest } inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerchatrequestmessage( ::CleanerChatRequestMessage* cleanerchatrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cleanerchatrequestmessage_); } cleanerchatrequestmessage_ = cleanerchatrequestmessage; @@ -2251,10 +2133,18 @@ inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerchatrequestmes // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ChatCleanerMessage.cleanerChatRequestMessage) } inline ::CleanerChatRequestMessage* ChatCleanerMessage::release_cleanerchatrequestmessage() { - auto temp = unsafe_arena_release_cleanerchatrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000004u; + ::CleanerChatRequestMessage* temp = cleanerchatrequestmessage_; + cleanerchatrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::CleanerChatRequestMessage* ChatCleanerMessage::unsafe_arena_release_cleanerchatrequestmessage() { @@ -2267,23 +2157,24 @@ inline ::CleanerChatRequestMessage* ChatCleanerMessage::unsafe_arena_release_cle inline ::CleanerChatRequestMessage* ChatCleanerMessage::_internal_mutable_cleanerchatrequestmessage() { _has_bits_[0] |= 0x00000004u; if (cleanerchatrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::CleanerChatRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::CleanerChatRequestMessage>(GetArenaForAllocation()); cleanerchatrequestmessage_ = p; } return cleanerchatrequestmessage_; } inline ::CleanerChatRequestMessage* ChatCleanerMessage::mutable_cleanerchatrequestmessage() { + ::CleanerChatRequestMessage* _msg = _internal_mutable_cleanerchatrequestmessage(); // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerChatRequestMessage) - return _internal_mutable_cleanerchatrequestmessage(); + return _msg; } inline void ChatCleanerMessage::set_allocated_cleanerchatrequestmessage(::CleanerChatRequestMessage* cleanerchatrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete cleanerchatrequestmessage_; } if (cleanerchatrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(cleanerchatrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CleanerChatRequestMessage>::GetOwningArena(cleanerchatrequestmessage); if (message_arena != submessage_arena) { cleanerchatrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, cleanerchatrequestmessage, submessage_arena); @@ -2311,8 +2202,8 @@ inline void ChatCleanerMessage::clear_cleanerchatreplymessage() { } inline const ::CleanerChatReplyMessage& ChatCleanerMessage::_internal_cleanerchatreplymessage() const { const ::CleanerChatReplyMessage* p = cleanerchatreplymessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_CleanerChatReplyMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_CleanerChatReplyMessage_default_instance_); } inline const ::CleanerChatReplyMessage& ChatCleanerMessage::cleanerchatreplymessage() const { // @@protoc_insertion_point(field_get:ChatCleanerMessage.cleanerChatReplyMessage) @@ -2320,7 +2211,7 @@ inline const ::CleanerChatReplyMessage& ChatCleanerMessage::cleanerchatreplymess } inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerchatreplymessage( ::CleanerChatReplyMessage* cleanerchatreplymessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cleanerchatreplymessage_); } cleanerchatreplymessage_ = cleanerchatreplymessage; @@ -2332,10 +2223,18 @@ inline void ChatCleanerMessage::unsafe_arena_set_allocated_cleanerchatreplymessa // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ChatCleanerMessage.cleanerChatReplyMessage) } inline ::CleanerChatReplyMessage* ChatCleanerMessage::release_cleanerchatreplymessage() { - auto temp = unsafe_arena_release_cleanerchatreplymessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000008u; + ::CleanerChatReplyMessage* temp = cleanerchatreplymessage_; + cleanerchatreplymessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::CleanerChatReplyMessage* ChatCleanerMessage::unsafe_arena_release_cleanerchatreplymessage() { @@ -2348,23 +2247,24 @@ inline ::CleanerChatReplyMessage* ChatCleanerMessage::unsafe_arena_release_clean inline ::CleanerChatReplyMessage* ChatCleanerMessage::_internal_mutable_cleanerchatreplymessage() { _has_bits_[0] |= 0x00000008u; if (cleanerchatreplymessage_ == nullptr) { - auto* p = CreateMaybeMessage<::CleanerChatReplyMessage>(GetArena()); + auto* p = CreateMaybeMessage<::CleanerChatReplyMessage>(GetArenaForAllocation()); cleanerchatreplymessage_ = p; } return cleanerchatreplymessage_; } inline ::CleanerChatReplyMessage* ChatCleanerMessage::mutable_cleanerchatreplymessage() { + ::CleanerChatReplyMessage* _msg = _internal_mutable_cleanerchatreplymessage(); // @@protoc_insertion_point(field_mutable:ChatCleanerMessage.cleanerChatReplyMessage) - return _internal_mutable_cleanerchatreplymessage(); + return _msg; } inline void ChatCleanerMessage::set_allocated_cleanerchatreplymessage(::CleanerChatReplyMessage* cleanerchatreplymessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete cleanerchatreplymessage_; } if (cleanerchatreplymessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(cleanerchatreplymessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::CleanerChatReplyMessage>::GetOwningArena(cleanerchatreplymessage); if (message_arena != submessage_arena) { cleanerchatreplymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, cleanerchatreplymessage, submessage_arena); diff --git a/src/third_party/protobuf/pokerth.pb.cc b/src/third_party/protobuf/pokerth.pb.cc index 741a58ea..72f841af 100644 --- a/src/third_party/protobuf/pokerth.pb.cc +++ b/src/third_party/protobuf/pokerth.pb.cc @@ -11,1828 +11,1419 @@ #include // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminBanPlayerAckMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminBanPlayerMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminRemoveGameAckMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminRemoveGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AfterHandShowCardsMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AllInShowCardsMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AllInShowCardsMessage_PlayerAllIn_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AnnounceMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AnnounceMessage_Version_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AskKickDeniedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AskKickPlayerMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AuthClientResponseMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AuthServerChallengeMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AuthServerVerificationMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarDataMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarEndMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarHeaderMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ChatMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ChatRejectMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ChatRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DealFlopCardsMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DealRiverCardMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DealTurnCardMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DialogMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EndKickPetitionMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EndOfGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EndOfHandHideCardsMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EndOfHandShowCardsMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ErrorMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameAdminChangedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListAdminChangedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GameListNewMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListPlayerJoinedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListPlayerLeftMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListSpectatorJoinedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListSpectatorLeftMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListUpdateMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GamePlayerJoinedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GamePlayerLeftMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameSpectatorJoinedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameSpectatorLeftMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameStartInitialMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GameStartRejoinMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameStartRejoinMessage_RejoinPlayerData_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_HandStartMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HandStartMessage_PlainCards_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_InitAckMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_InitMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_InviteNotifyMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_InvitePlayerToGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_JoinExistingGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_JoinGameAckMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_JoinGameFailedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_JoinNewGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KickPetitionUpdateMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KickPlayerRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_LeaveGameRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MyActionRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_NetGameInfo_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerIdChangedMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PlayerInfoReplyMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PlayerInfoReplyMessage_PlayerInfoData_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerInfoRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerListMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerResult_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayersActionDoneMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayersTurnMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RejectGameInvitationMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RejectInvNotifyMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RejoinExistingGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RemovedFromGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportAvatarAckMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportAvatarMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportGameAckMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportGameMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ResetTimeoutMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ShowMyCardsRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StartEventAckMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StartEventMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StartKickPetitionMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_StatisticsMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StatisticsMessage_StatisticsData_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SubscriptionRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_TimeoutWarningMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_UnknownAvatarMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VoteKickReplyMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VoteKickRequestMessage_pokerth_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_pokerth_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_YourActionRejectedMessage_pokerth_2eproto; -class NetGameInfoDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _NetGameInfo_default_instance_; -class PlayerResultDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayerResult_default_instance_; -class AnnounceMessage_VersionDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AnnounceMessage_Version_default_instance_; -class AnnounceMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AnnounceMessage_default_instance_; -class InitMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _InitMessage_default_instance_; -class AuthServerChallengeMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AuthServerChallengeMessage_default_instance_; -class AuthClientResponseMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AuthClientResponseMessage_default_instance_; -class AuthServerVerificationMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AuthServerVerificationMessage_default_instance_; -class InitAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _InitAckMessage_default_instance_; -class AvatarRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AvatarRequestMessage_default_instance_; -class AvatarHeaderMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AvatarHeaderMessage_default_instance_; -class AvatarDataMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AvatarDataMessage_default_instance_; -class AvatarEndMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AvatarEndMessage_default_instance_; -class UnknownAvatarMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _UnknownAvatarMessage_default_instance_; -class PlayerListMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayerListMessage_default_instance_; -class GameListNewMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameListNewMessage_default_instance_; -class GameListUpdateMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameListUpdateMessage_default_instance_; -class GameListPlayerJoinedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameListPlayerJoinedMessage_default_instance_; -class GameListPlayerLeftMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameListPlayerLeftMessage_default_instance_; -class GameListSpectatorJoinedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameListSpectatorJoinedMessage_default_instance_; -class GameListSpectatorLeftMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameListSpectatorLeftMessage_default_instance_; -class GameListAdminChangedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameListAdminChangedMessage_default_instance_; -class PlayerInfoRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayerInfoRequestMessage_default_instance_; -class PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayerInfoReplyMessage_PlayerInfoData_AvatarData_default_instance_; -class PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayerInfoReplyMessage_PlayerInfoData_default_instance_; -class PlayerInfoReplyMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayerInfoReplyMessage_default_instance_; -class SubscriptionRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _SubscriptionRequestMessage_default_instance_; -class JoinExistingGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _JoinExistingGameMessage_default_instance_; -class JoinNewGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _JoinNewGameMessage_default_instance_; -class RejoinExistingGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _RejoinExistingGameMessage_default_instance_; -class JoinGameAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _JoinGameAckMessage_default_instance_; -class JoinGameFailedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _JoinGameFailedMessage_default_instance_; -class GamePlayerJoinedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GamePlayerJoinedMessage_default_instance_; -class GamePlayerLeftMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GamePlayerLeftMessage_default_instance_; -class GameSpectatorJoinedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameSpectatorJoinedMessage_default_instance_; -class GameSpectatorLeftMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameSpectatorLeftMessage_default_instance_; -class GameAdminChangedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameAdminChangedMessage_default_instance_; -class RemovedFromGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _RemovedFromGameMessage_default_instance_; -class KickPlayerRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _KickPlayerRequestMessage_default_instance_; -class LeaveGameRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _LeaveGameRequestMessage_default_instance_; -class InvitePlayerToGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _InvitePlayerToGameMessage_default_instance_; -class InviteNotifyMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _InviteNotifyMessage_default_instance_; -class RejectGameInvitationMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _RejectGameInvitationMessage_default_instance_; -class RejectInvNotifyMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _RejectInvNotifyMessage_default_instance_; -class StartEventMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StartEventMessage_default_instance_; -class StartEventAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StartEventAckMessage_default_instance_; -class GameStartInitialMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameStartInitialMessage_default_instance_; -class GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameStartRejoinMessage_RejoinPlayerData_default_instance_; -class GameStartRejoinMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _GameStartRejoinMessage_default_instance_; -class HandStartMessage_PlainCardsDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _HandStartMessage_PlainCards_default_instance_; -class HandStartMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _HandStartMessage_default_instance_; -class PlayersTurnMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayersTurnMessage_default_instance_; -class MyActionRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _MyActionRequestMessage_default_instance_; -class YourActionRejectedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _YourActionRejectedMessage_default_instance_; -class PlayersActionDoneMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayersActionDoneMessage_default_instance_; -class DealFlopCardsMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _DealFlopCardsMessage_default_instance_; -class DealTurnCardMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _DealTurnCardMessage_default_instance_; -class DealRiverCardMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _DealRiverCardMessage_default_instance_; -class AllInShowCardsMessage_PlayerAllInDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AllInShowCardsMessage_PlayerAllIn_default_instance_; -class AllInShowCardsMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AllInShowCardsMessage_default_instance_; -class EndOfHandShowCardsMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _EndOfHandShowCardsMessage_default_instance_; -class EndOfHandHideCardsMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _EndOfHandHideCardsMessage_default_instance_; -class ShowMyCardsRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ShowMyCardsRequestMessage_default_instance_; -class AfterHandShowCardsMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AfterHandShowCardsMessage_default_instance_; -class EndOfGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _EndOfGameMessage_default_instance_; -class PlayerIdChangedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PlayerIdChangedMessage_default_instance_; -class AskKickPlayerMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AskKickPlayerMessage_default_instance_; -class AskKickDeniedMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AskKickDeniedMessage_default_instance_; -class StartKickPetitionMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StartKickPetitionMessage_default_instance_; -class VoteKickRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _VoteKickRequestMessage_default_instance_; -class VoteKickReplyMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _VoteKickReplyMessage_default_instance_; -class KickPetitionUpdateMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _KickPetitionUpdateMessage_default_instance_; -class EndKickPetitionMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _EndKickPetitionMessage_default_instance_; -class StatisticsMessage_StatisticsDataDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StatisticsMessage_StatisticsData_default_instance_; -class StatisticsMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _StatisticsMessage_default_instance_; -class ChatRequestMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ChatRequestMessage_default_instance_; -class ChatMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ChatMessage_default_instance_; -class ChatRejectMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ChatRejectMessage_default_instance_; -class DialogMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _DialogMessage_default_instance_; -class TimeoutWarningMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _TimeoutWarningMessage_default_instance_; -class ResetTimeoutMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ResetTimeoutMessage_default_instance_; -class ReportAvatarMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ReportAvatarMessage_default_instance_; -class ReportAvatarAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ReportAvatarAckMessage_default_instance_; -class ReportGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ReportGameMessage_default_instance_; -class ReportGameAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ReportGameAckMessage_default_instance_; -class ErrorMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _ErrorMessage_default_instance_; -class AdminRemoveGameMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AdminRemoveGameMessage_default_instance_; -class AdminRemoveGameAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AdminRemoveGameAckMessage_default_instance_; -class AdminBanPlayerMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AdminBanPlayerMessage_default_instance_; -class AdminBanPlayerAckMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _AdminBanPlayerAckMessage_default_instance_; -class PokerTHMessageDefaultTypeInternal { - public: - ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; -} _PokerTHMessage_default_instance_; -static void InitDefaultsscc_info_AdminBanPlayerAckMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AdminBanPlayerAckMessage_default_instance_; - new (ptr) ::AdminBanPlayerAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AdminBanPlayerAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminBanPlayerAckMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AdminBanPlayerAckMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AdminBanPlayerMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AdminBanPlayerMessage_default_instance_; - new (ptr) ::AdminBanPlayerMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AdminBanPlayerMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminBanPlayerMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AdminBanPlayerMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AdminRemoveGameAckMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AdminRemoveGameAckMessage_default_instance_; - new (ptr) ::AdminRemoveGameAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AdminRemoveGameAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminRemoveGameAckMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AdminRemoveGameAckMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AdminRemoveGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AdminRemoveGameMessage_default_instance_; - new (ptr) ::AdminRemoveGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AdminRemoveGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AdminRemoveGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AdminRemoveGameMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AfterHandShowCardsMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AfterHandShowCardsMessage_default_instance_; - new (ptr) ::AfterHandShowCardsMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AfterHandShowCardsMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AfterHandShowCardsMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_AfterHandShowCardsMessage_pokerth_2eproto}, { - &scc_info_PlayerResult_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_AllInShowCardsMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AllInShowCardsMessage_default_instance_; - new (ptr) ::AllInShowCardsMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AllInShowCardsMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AllInShowCardsMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_AllInShowCardsMessage_pokerth_2eproto}, { - &scc_info_AllInShowCardsMessage_PlayerAllIn_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_AllInShowCardsMessage_PlayerAllIn_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AllInShowCardsMessage_PlayerAllIn_default_instance_; - new (ptr) ::AllInShowCardsMessage_PlayerAllIn(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AllInShowCardsMessage_PlayerAllIn::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AllInShowCardsMessage_PlayerAllIn_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AllInShowCardsMessage_PlayerAllIn_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AnnounceMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AnnounceMessage_default_instance_; - new (ptr) ::AnnounceMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AnnounceMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_AnnounceMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_AnnounceMessage_pokerth_2eproto}, { - &scc_info_AnnounceMessage_Version_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_AnnounceMessage_Version_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AnnounceMessage_Version_default_instance_; - new (ptr) ::AnnounceMessage_Version(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AnnounceMessage_Version::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AnnounceMessage_Version_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AnnounceMessage_Version_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AskKickDeniedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AskKickDeniedMessage_default_instance_; - new (ptr) ::AskKickDeniedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AskKickDeniedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AskKickDeniedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AskKickDeniedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AskKickPlayerMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AskKickPlayerMessage_default_instance_; - new (ptr) ::AskKickPlayerMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AskKickPlayerMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AskKickPlayerMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AskKickPlayerMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AuthClientResponseMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AuthClientResponseMessage_default_instance_; - new (ptr) ::AuthClientResponseMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AuthClientResponseMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AuthClientResponseMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AuthClientResponseMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AuthServerChallengeMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AuthServerChallengeMessage_default_instance_; - new (ptr) ::AuthServerChallengeMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AuthServerChallengeMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AuthServerChallengeMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AuthServerChallengeMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AuthServerVerificationMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AuthServerVerificationMessage_default_instance_; - new (ptr) ::AuthServerVerificationMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AuthServerVerificationMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AuthServerVerificationMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AuthServerVerificationMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AvatarDataMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AvatarDataMessage_default_instance_; - new (ptr) ::AvatarDataMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AvatarDataMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarDataMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AvatarDataMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AvatarEndMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AvatarEndMessage_default_instance_; - new (ptr) ::AvatarEndMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AvatarEndMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarEndMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AvatarEndMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AvatarHeaderMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AvatarHeaderMessage_default_instance_; - new (ptr) ::AvatarHeaderMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AvatarHeaderMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarHeaderMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AvatarHeaderMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_AvatarRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_AvatarRequestMessage_default_instance_; - new (ptr) ::AvatarRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::AvatarRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_AvatarRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_AvatarRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ChatMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ChatMessage_default_instance_; - new (ptr) ::ChatMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ChatMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ChatMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ChatMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ChatRejectMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ChatRejectMessage_default_instance_; - new (ptr) ::ChatRejectMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ChatRejectMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ChatRejectMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ChatRejectMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ChatRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ChatRequestMessage_default_instance_; - new (ptr) ::ChatRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ChatRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ChatRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ChatRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_DealFlopCardsMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_DealFlopCardsMessage_default_instance_; - new (ptr) ::DealFlopCardsMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::DealFlopCardsMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DealFlopCardsMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DealFlopCardsMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_DealRiverCardMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_DealRiverCardMessage_default_instance_; - new (ptr) ::DealRiverCardMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::DealRiverCardMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DealRiverCardMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DealRiverCardMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_DealTurnCardMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_DealTurnCardMessage_default_instance_; - new (ptr) ::DealTurnCardMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::DealTurnCardMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DealTurnCardMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DealTurnCardMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_DialogMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_DialogMessage_default_instance_; - new (ptr) ::DialogMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::DialogMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_DialogMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_DialogMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_EndKickPetitionMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_EndKickPetitionMessage_default_instance_; - new (ptr) ::EndKickPetitionMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::EndKickPetitionMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EndKickPetitionMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EndKickPetitionMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_EndOfGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_EndOfGameMessage_default_instance_; - new (ptr) ::EndOfGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::EndOfGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EndOfGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EndOfGameMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_EndOfHandHideCardsMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_EndOfHandHideCardsMessage_default_instance_; - new (ptr) ::EndOfHandHideCardsMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::EndOfHandHideCardsMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_EndOfHandHideCardsMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_EndOfHandHideCardsMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_EndOfHandShowCardsMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_EndOfHandShowCardsMessage_default_instance_; - new (ptr) ::EndOfHandShowCardsMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::EndOfHandShowCardsMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_EndOfHandShowCardsMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_EndOfHandShowCardsMessage_pokerth_2eproto}, { - &scc_info_PlayerResult_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_ErrorMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ErrorMessage_default_instance_; - new (ptr) ::ErrorMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ErrorMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ErrorMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ErrorMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameAdminChangedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameAdminChangedMessage_default_instance_; - new (ptr) ::GameAdminChangedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameAdminChangedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameAdminChangedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameAdminChangedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameListAdminChangedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameListAdminChangedMessage_default_instance_; - new (ptr) ::GameListAdminChangedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameListAdminChangedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListAdminChangedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameListAdminChangedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameListNewMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameListNewMessage_default_instance_; - new (ptr) ::GameListNewMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameListNewMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GameListNewMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GameListNewMessage_pokerth_2eproto}, { - &scc_info_NetGameInfo_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_GameListPlayerJoinedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameListPlayerJoinedMessage_default_instance_; - new (ptr) ::GameListPlayerJoinedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameListPlayerJoinedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListPlayerJoinedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameListPlayerJoinedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameListPlayerLeftMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameListPlayerLeftMessage_default_instance_; - new (ptr) ::GameListPlayerLeftMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameListPlayerLeftMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListPlayerLeftMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameListPlayerLeftMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameListSpectatorJoinedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameListSpectatorJoinedMessage_default_instance_; - new (ptr) ::GameListSpectatorJoinedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameListSpectatorJoinedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListSpectatorJoinedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameListSpectatorJoinedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameListSpectatorLeftMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameListSpectatorLeftMessage_default_instance_; - new (ptr) ::GameListSpectatorLeftMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameListSpectatorLeftMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListSpectatorLeftMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameListSpectatorLeftMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameListUpdateMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameListUpdateMessage_default_instance_; - new (ptr) ::GameListUpdateMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameListUpdateMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameListUpdateMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameListUpdateMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GamePlayerJoinedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GamePlayerJoinedMessage_default_instance_; - new (ptr) ::GamePlayerJoinedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GamePlayerJoinedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GamePlayerJoinedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GamePlayerJoinedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GamePlayerLeftMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GamePlayerLeftMessage_default_instance_; - new (ptr) ::GamePlayerLeftMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GamePlayerLeftMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GamePlayerLeftMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GamePlayerLeftMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameSpectatorJoinedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameSpectatorJoinedMessage_default_instance_; - new (ptr) ::GameSpectatorJoinedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameSpectatorJoinedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameSpectatorJoinedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameSpectatorJoinedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameSpectatorLeftMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameSpectatorLeftMessage_default_instance_; - new (ptr) ::GameSpectatorLeftMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameSpectatorLeftMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameSpectatorLeftMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameSpectatorLeftMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameStartInitialMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameStartInitialMessage_default_instance_; - new (ptr) ::GameStartInitialMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameStartInitialMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameStartInitialMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameStartInitialMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_GameStartRejoinMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameStartRejoinMessage_default_instance_; - new (ptr) ::GameStartRejoinMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameStartRejoinMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GameStartRejoinMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_GameStartRejoinMessage_pokerth_2eproto}, { - &scc_info_GameStartRejoinMessage_RejoinPlayerData_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_GameStartRejoinMessage_RejoinPlayerData_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_GameStartRejoinMessage_RejoinPlayerData_default_instance_; - new (ptr) ::GameStartRejoinMessage_RejoinPlayerData(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::GameStartRejoinMessage_RejoinPlayerData::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GameStartRejoinMessage_RejoinPlayerData_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_GameStartRejoinMessage_RejoinPlayerData_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_HandStartMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_HandStartMessage_default_instance_; - new (ptr) ::HandStartMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::HandStartMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_HandStartMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_HandStartMessage_pokerth_2eproto}, { - &scc_info_HandStartMessage_PlainCards_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_HandStartMessage_PlainCards_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_HandStartMessage_PlainCards_default_instance_; - new (ptr) ::HandStartMessage_PlainCards(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::HandStartMessage_PlainCards::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_HandStartMessage_PlainCards_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_HandStartMessage_PlainCards_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_InitAckMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_InitAckMessage_default_instance_; - new (ptr) ::InitAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::InitAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_InitAckMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_InitAckMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_InitMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_InitMessage_default_instance_; - new (ptr) ::InitMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::InitMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_InitMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_InitMessage_pokerth_2eproto}, { - &scc_info_AnnounceMessage_Version_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_InviteNotifyMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_InviteNotifyMessage_default_instance_; - new (ptr) ::InviteNotifyMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::InviteNotifyMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_InviteNotifyMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_InviteNotifyMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_InvitePlayerToGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_InvitePlayerToGameMessage_default_instance_; - new (ptr) ::InvitePlayerToGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::InvitePlayerToGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_InvitePlayerToGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_InvitePlayerToGameMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_JoinExistingGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_JoinExistingGameMessage_default_instance_; - new (ptr) ::JoinExistingGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::JoinExistingGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_JoinExistingGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_JoinExistingGameMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_JoinGameAckMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_JoinGameAckMessage_default_instance_; - new (ptr) ::JoinGameAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::JoinGameAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_JoinGameAckMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_JoinGameAckMessage_pokerth_2eproto}, { - &scc_info_NetGameInfo_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_JoinGameFailedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_JoinGameFailedMessage_default_instance_; - new (ptr) ::JoinGameFailedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::JoinGameFailedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_JoinGameFailedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_JoinGameFailedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_JoinNewGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_JoinNewGameMessage_default_instance_; - new (ptr) ::JoinNewGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::JoinNewGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_JoinNewGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_JoinNewGameMessage_pokerth_2eproto}, { - &scc_info_NetGameInfo_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_KickPetitionUpdateMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_KickPetitionUpdateMessage_default_instance_; - new (ptr) ::KickPetitionUpdateMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::KickPetitionUpdateMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KickPetitionUpdateMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_KickPetitionUpdateMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_KickPlayerRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_KickPlayerRequestMessage_default_instance_; - new (ptr) ::KickPlayerRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::KickPlayerRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KickPlayerRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_KickPlayerRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_LeaveGameRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_LeaveGameRequestMessage_default_instance_; - new (ptr) ::LeaveGameRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::LeaveGameRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_LeaveGameRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_LeaveGameRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_MyActionRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_MyActionRequestMessage_default_instance_; - new (ptr) ::MyActionRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::MyActionRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MyActionRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_MyActionRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_NetGameInfo_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_NetGameInfo_default_instance_; - new (ptr) ::NetGameInfo(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::NetGameInfo::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_NetGameInfo_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_NetGameInfo_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PlayerIdChangedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayerIdChangedMessage_default_instance_; - new (ptr) ::PlayerIdChangedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayerIdChangedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerIdChangedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PlayerIdChangedMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PlayerInfoReplyMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayerInfoReplyMessage_default_instance_; - new (ptr) ::PlayerInfoReplyMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayerInfoReplyMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PlayerInfoReplyMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_PlayerInfoReplyMessage_pokerth_2eproto}, { - &scc_info_PlayerInfoReplyMessage_PlayerInfoData_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_PlayerInfoReplyMessage_PlayerInfoData_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayerInfoReplyMessage_PlayerInfoData_default_instance_; - new (ptr) ::PlayerInfoReplyMessage_PlayerInfoData(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayerInfoReplyMessage_PlayerInfoData::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_PlayerInfoReplyMessage_PlayerInfoData_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_PlayerInfoReplyMessage_PlayerInfoData_pokerth_2eproto}, { - &scc_info_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_default_instance_; - new (ptr) ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PlayerInfoRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayerInfoRequestMessage_default_instance_; - new (ptr) ::PlayerInfoRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayerInfoRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerInfoRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PlayerInfoRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PlayerListMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayerListMessage_default_instance_; - new (ptr) ::PlayerListMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayerListMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerListMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PlayerListMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PlayerResult_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayerResult_default_instance_; - new (ptr) ::PlayerResult(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayerResult::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayerResult_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PlayerResult_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PlayersActionDoneMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayersActionDoneMessage_default_instance_; - new (ptr) ::PlayersActionDoneMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayersActionDoneMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayersActionDoneMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PlayersActionDoneMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PlayersTurnMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PlayersTurnMessage_default_instance_; - new (ptr) ::PlayersTurnMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PlayersTurnMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PlayersTurnMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_PlayersTurnMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_PokerTHMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_PokerTHMessage_default_instance_; - new (ptr) ::PokerTHMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::PokerTHMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<81> scc_info_PokerTHMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 81, 0, InitDefaultsscc_info_PokerTHMessage_pokerth_2eproto}, { - &scc_info_AnnounceMessage_pokerth_2eproto.base, - &scc_info_InitMessage_pokerth_2eproto.base, - &scc_info_AuthServerChallengeMessage_pokerth_2eproto.base, - &scc_info_AuthClientResponseMessage_pokerth_2eproto.base, - &scc_info_AuthServerVerificationMessage_pokerth_2eproto.base, - &scc_info_InitAckMessage_pokerth_2eproto.base, - &scc_info_AvatarRequestMessage_pokerth_2eproto.base, - &scc_info_AvatarHeaderMessage_pokerth_2eproto.base, - &scc_info_AvatarDataMessage_pokerth_2eproto.base, - &scc_info_AvatarEndMessage_pokerth_2eproto.base, - &scc_info_UnknownAvatarMessage_pokerth_2eproto.base, - &scc_info_PlayerListMessage_pokerth_2eproto.base, - &scc_info_GameListNewMessage_pokerth_2eproto.base, - &scc_info_GameListUpdateMessage_pokerth_2eproto.base, - &scc_info_GameListPlayerJoinedMessage_pokerth_2eproto.base, - &scc_info_GameListPlayerLeftMessage_pokerth_2eproto.base, - &scc_info_GameListAdminChangedMessage_pokerth_2eproto.base, - &scc_info_PlayerInfoRequestMessage_pokerth_2eproto.base, - &scc_info_PlayerInfoReplyMessage_pokerth_2eproto.base, - &scc_info_SubscriptionRequestMessage_pokerth_2eproto.base, - &scc_info_JoinExistingGameMessage_pokerth_2eproto.base, - &scc_info_JoinNewGameMessage_pokerth_2eproto.base, - &scc_info_RejoinExistingGameMessage_pokerth_2eproto.base, - &scc_info_JoinGameAckMessage_pokerth_2eproto.base, - &scc_info_JoinGameFailedMessage_pokerth_2eproto.base, - &scc_info_GamePlayerJoinedMessage_pokerth_2eproto.base, - &scc_info_GamePlayerLeftMessage_pokerth_2eproto.base, - &scc_info_GameAdminChangedMessage_pokerth_2eproto.base, - &scc_info_RemovedFromGameMessage_pokerth_2eproto.base, - &scc_info_KickPlayerRequestMessage_pokerth_2eproto.base, - &scc_info_LeaveGameRequestMessage_pokerth_2eproto.base, - &scc_info_InvitePlayerToGameMessage_pokerth_2eproto.base, - &scc_info_InviteNotifyMessage_pokerth_2eproto.base, - &scc_info_RejectGameInvitationMessage_pokerth_2eproto.base, - &scc_info_RejectInvNotifyMessage_pokerth_2eproto.base, - &scc_info_StartEventMessage_pokerth_2eproto.base, - &scc_info_StartEventAckMessage_pokerth_2eproto.base, - &scc_info_GameStartInitialMessage_pokerth_2eproto.base, - &scc_info_GameStartRejoinMessage_pokerth_2eproto.base, - &scc_info_HandStartMessage_pokerth_2eproto.base, - &scc_info_PlayersTurnMessage_pokerth_2eproto.base, - &scc_info_MyActionRequestMessage_pokerth_2eproto.base, - &scc_info_YourActionRejectedMessage_pokerth_2eproto.base, - &scc_info_PlayersActionDoneMessage_pokerth_2eproto.base, - &scc_info_DealFlopCardsMessage_pokerth_2eproto.base, - &scc_info_DealTurnCardMessage_pokerth_2eproto.base, - &scc_info_DealRiverCardMessage_pokerth_2eproto.base, - &scc_info_AllInShowCardsMessage_pokerth_2eproto.base, - &scc_info_EndOfHandShowCardsMessage_pokerth_2eproto.base, - &scc_info_EndOfHandHideCardsMessage_pokerth_2eproto.base, - &scc_info_ShowMyCardsRequestMessage_pokerth_2eproto.base, - &scc_info_AfterHandShowCardsMessage_pokerth_2eproto.base, - &scc_info_EndOfGameMessage_pokerth_2eproto.base, - &scc_info_PlayerIdChangedMessage_pokerth_2eproto.base, - &scc_info_AskKickPlayerMessage_pokerth_2eproto.base, - &scc_info_AskKickDeniedMessage_pokerth_2eproto.base, - &scc_info_StartKickPetitionMessage_pokerth_2eproto.base, - &scc_info_VoteKickRequestMessage_pokerth_2eproto.base, - &scc_info_VoteKickReplyMessage_pokerth_2eproto.base, - &scc_info_KickPetitionUpdateMessage_pokerth_2eproto.base, - &scc_info_EndKickPetitionMessage_pokerth_2eproto.base, - &scc_info_StatisticsMessage_pokerth_2eproto.base, - &scc_info_ChatRequestMessage_pokerth_2eproto.base, - &scc_info_ChatMessage_pokerth_2eproto.base, - &scc_info_ChatRejectMessage_pokerth_2eproto.base, - &scc_info_DialogMessage_pokerth_2eproto.base, - &scc_info_TimeoutWarningMessage_pokerth_2eproto.base, - &scc_info_ResetTimeoutMessage_pokerth_2eproto.base, - &scc_info_ReportAvatarMessage_pokerth_2eproto.base, - &scc_info_ReportAvatarAckMessage_pokerth_2eproto.base, - &scc_info_ReportGameMessage_pokerth_2eproto.base, - &scc_info_ReportGameAckMessage_pokerth_2eproto.base, - &scc_info_ErrorMessage_pokerth_2eproto.base, - &scc_info_AdminRemoveGameMessage_pokerth_2eproto.base, - &scc_info_AdminRemoveGameAckMessage_pokerth_2eproto.base, - &scc_info_AdminBanPlayerMessage_pokerth_2eproto.base, - &scc_info_AdminBanPlayerAckMessage_pokerth_2eproto.base, - &scc_info_GameListSpectatorJoinedMessage_pokerth_2eproto.base, - &scc_info_GameListSpectatorLeftMessage_pokerth_2eproto.base, - &scc_info_GameSpectatorJoinedMessage_pokerth_2eproto.base, - &scc_info_GameSpectatorLeftMessage_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_RejectGameInvitationMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_RejectGameInvitationMessage_default_instance_; - new (ptr) ::RejectGameInvitationMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::RejectGameInvitationMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RejectGameInvitationMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_RejectGameInvitationMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_RejectInvNotifyMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_RejectInvNotifyMessage_default_instance_; - new (ptr) ::RejectInvNotifyMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::RejectInvNotifyMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RejectInvNotifyMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_RejectInvNotifyMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_RejoinExistingGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_RejoinExistingGameMessage_default_instance_; - new (ptr) ::RejoinExistingGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::RejoinExistingGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RejoinExistingGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_RejoinExistingGameMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_RemovedFromGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_RemovedFromGameMessage_default_instance_; - new (ptr) ::RemovedFromGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::RemovedFromGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_RemovedFromGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_RemovedFromGameMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ReportAvatarAckMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ReportAvatarAckMessage_default_instance_; - new (ptr) ::ReportAvatarAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ReportAvatarAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportAvatarAckMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ReportAvatarAckMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ReportAvatarMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ReportAvatarMessage_default_instance_; - new (ptr) ::ReportAvatarMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ReportAvatarMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportAvatarMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ReportAvatarMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ReportGameAckMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ReportGameAckMessage_default_instance_; - new (ptr) ::ReportGameAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ReportGameAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportGameAckMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ReportGameAckMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ReportGameMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ReportGameMessage_default_instance_; - new (ptr) ::ReportGameMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ReportGameMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ReportGameMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ReportGameMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ResetTimeoutMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ResetTimeoutMessage_default_instance_; - new (ptr) ::ResetTimeoutMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ResetTimeoutMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ResetTimeoutMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ResetTimeoutMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_ShowMyCardsRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_ShowMyCardsRequestMessage_default_instance_; - new (ptr) ::ShowMyCardsRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::ShowMyCardsRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ShowMyCardsRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_ShowMyCardsRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_StartEventAckMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_StartEventAckMessage_default_instance_; - new (ptr) ::StartEventAckMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::StartEventAckMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StartEventAckMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StartEventAckMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_StartEventMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_StartEventMessage_default_instance_; - new (ptr) ::StartEventMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::StartEventMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StartEventMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StartEventMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_StartKickPetitionMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_StartKickPetitionMessage_default_instance_; - new (ptr) ::StartKickPetitionMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::StartKickPetitionMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StartKickPetitionMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StartKickPetitionMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_StatisticsMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_StatisticsMessage_default_instance_; - new (ptr) ::StatisticsMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::StatisticsMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_StatisticsMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_StatisticsMessage_pokerth_2eproto}, { - &scc_info_StatisticsMessage_StatisticsData_pokerth_2eproto.base,}}; - -static void InitDefaultsscc_info_StatisticsMessage_StatisticsData_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_StatisticsMessage_StatisticsData_default_instance_; - new (ptr) ::StatisticsMessage_StatisticsData(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::StatisticsMessage_StatisticsData::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_StatisticsMessage_StatisticsData_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_StatisticsMessage_StatisticsData_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_SubscriptionRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_SubscriptionRequestMessage_default_instance_; - new (ptr) ::SubscriptionRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::SubscriptionRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SubscriptionRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_SubscriptionRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_TimeoutWarningMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_TimeoutWarningMessage_default_instance_; - new (ptr) ::TimeoutWarningMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::TimeoutWarningMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_TimeoutWarningMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_TimeoutWarningMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_UnknownAvatarMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_UnknownAvatarMessage_default_instance_; - new (ptr) ::UnknownAvatarMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::UnknownAvatarMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_UnknownAvatarMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_UnknownAvatarMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_VoteKickReplyMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_VoteKickReplyMessage_default_instance_; - new (ptr) ::VoteKickReplyMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::VoteKickReplyMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VoteKickReplyMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VoteKickReplyMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_VoteKickRequestMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_VoteKickRequestMessage_default_instance_; - new (ptr) ::VoteKickRequestMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::VoteKickRequestMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VoteKickRequestMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VoteKickRequestMessage_pokerth_2eproto}, {}}; - -static void InitDefaultsscc_info_YourActionRejectedMessage_pokerth_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::_YourActionRejectedMessage_default_instance_; - new (ptr) ::YourActionRejectedMessage(); - ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); - } - ::YourActionRejectedMessage::InitAsDefaultInstance(); -} - -::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_YourActionRejectedMessage_pokerth_2eproto = - {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_YourActionRejectedMessage_pokerth_2eproto}, {}}; +PROTOBUF_PRAGMA_INIT_SEG +constexpr NetGameInfo::NetGameInfo( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : manualblinds_() + , _manualblinds_cached_byte_size_(0) + , gamename_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , maxnumplayers_(0u) + , raiseeveryhands_(0u) + , raiseeveryminutes_(0u) + , endraisesmallblindvalue_(0u) + , proposedguispeed_(0u) + , delaybetweenhands_(0u) + , playeractiontimeout_(0u) + , firstsmallblind_(0u) + , startmoney_(0u) + , allowlatereg_(false) + , allowreentries_(false) + , numreentries_(0u) + , maxtimelatereg_(0u) + , netgametype_(1) + + , raiseintervalmode_(1) + + , endraisemode_(1) + + , allowspectators_(true){} +struct NetGameInfoDefaultTypeInternal { + constexpr NetGameInfoDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~NetGameInfoDefaultTypeInternal() {} + union { + NetGameInfo _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT NetGameInfoDefaultTypeInternal _NetGameInfo_default_instance_; +constexpr PlayerResult::PlayerResult( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : besthandposition_() + , _besthandposition_cached_byte_size_(0) + , playerid_(0u) + , resultcard1_(0u) + , resultcard2_(0u) + , moneywon_(0u) + , playermoney_(0u) + , cardsvalue_(0u){} +struct PlayerResultDefaultTypeInternal { + constexpr PlayerResultDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayerResultDefaultTypeInternal() {} + union { + PlayerResult _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayerResultDefaultTypeInternal _PlayerResult_default_instance_; +constexpr AnnounceMessage_Version::AnnounceMessage_Version( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : majorversion_(0u) + , minorversion_(0u){} +struct AnnounceMessage_VersionDefaultTypeInternal { + constexpr AnnounceMessage_VersionDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AnnounceMessage_VersionDefaultTypeInternal() {} + union { + AnnounceMessage_Version _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AnnounceMessage_VersionDefaultTypeInternal _AnnounceMessage_Version_default_instance_; +constexpr AnnounceMessage::AnnounceMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : protocolversion_(nullptr) + , latestgameversion_(nullptr) + , latestbetarevision_(0u) + , servertype_(0) + + , numplayersonserver_(0u){} +struct AnnounceMessageDefaultTypeInternal { + constexpr AnnounceMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AnnounceMessageDefaultTypeInternal() {} + union { + AnnounceMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AnnounceMessageDefaultTypeInternal _AnnounceMessage_default_instance_; +constexpr InitMessage::InitMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : mylastsessionid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , authserverpassword_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , nickname_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , clientuserdata_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , avatarhash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , requestedversion_(nullptr) + , buildid_(0u) + , login_(0) +{} +struct InitMessageDefaultTypeInternal { + constexpr InitMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~InitMessageDefaultTypeInternal() {} + union { + InitMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT InitMessageDefaultTypeInternal _InitMessage_default_instance_; +constexpr AuthServerChallengeMessage::AuthServerChallengeMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : serverchallenge_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct AuthServerChallengeMessageDefaultTypeInternal { + constexpr AuthServerChallengeMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AuthServerChallengeMessageDefaultTypeInternal() {} + union { + AuthServerChallengeMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AuthServerChallengeMessageDefaultTypeInternal _AuthServerChallengeMessage_default_instance_; +constexpr AuthClientResponseMessage::AuthClientResponseMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : clientresponse_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct AuthClientResponseMessageDefaultTypeInternal { + constexpr AuthClientResponseMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AuthClientResponseMessageDefaultTypeInternal() {} + union { + AuthClientResponseMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AuthClientResponseMessageDefaultTypeInternal _AuthClientResponseMessage_default_instance_; +constexpr AuthServerVerificationMessage::AuthServerVerificationMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : serververification_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct AuthServerVerificationMessageDefaultTypeInternal { + constexpr AuthServerVerificationMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AuthServerVerificationMessageDefaultTypeInternal() {} + union { + AuthServerVerificationMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AuthServerVerificationMessageDefaultTypeInternal _AuthServerVerificationMessage_default_instance_; +constexpr InitAckMessage::InitAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : yoursessionid_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , youravatarhash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , yourplayerid_(0u) + , rejoingameid_(0u){} +struct InitAckMessageDefaultTypeInternal { + constexpr InitAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~InitAckMessageDefaultTypeInternal() {} + union { + InitAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT InitAckMessageDefaultTypeInternal _InitAckMessage_default_instance_; +constexpr AvatarRequestMessage::AvatarRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : avatarhash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , requestid_(0u){} +struct AvatarRequestMessageDefaultTypeInternal { + constexpr AvatarRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AvatarRequestMessageDefaultTypeInternal() {} + union { + AvatarRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AvatarRequestMessageDefaultTypeInternal _AvatarRequestMessage_default_instance_; +constexpr AvatarHeaderMessage::AvatarHeaderMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : requestid_(0u) + , avatarsize_(0u) + , avatartype_(1) +{} +struct AvatarHeaderMessageDefaultTypeInternal { + constexpr AvatarHeaderMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AvatarHeaderMessageDefaultTypeInternal() {} + union { + AvatarHeaderMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AvatarHeaderMessageDefaultTypeInternal _AvatarHeaderMessage_default_instance_; +constexpr AvatarDataMessage::AvatarDataMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : avatarblock_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , requestid_(0u){} +struct AvatarDataMessageDefaultTypeInternal { + constexpr AvatarDataMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AvatarDataMessageDefaultTypeInternal() {} + union { + AvatarDataMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AvatarDataMessageDefaultTypeInternal _AvatarDataMessage_default_instance_; +constexpr AvatarEndMessage::AvatarEndMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : requestid_(0u){} +struct AvatarEndMessageDefaultTypeInternal { + constexpr AvatarEndMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AvatarEndMessageDefaultTypeInternal() {} + union { + AvatarEndMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AvatarEndMessageDefaultTypeInternal _AvatarEndMessage_default_instance_; +constexpr UnknownAvatarMessage::UnknownAvatarMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : requestid_(0u){} +struct UnknownAvatarMessageDefaultTypeInternal { + constexpr UnknownAvatarMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~UnknownAvatarMessageDefaultTypeInternal() {} + union { + UnknownAvatarMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UnknownAvatarMessageDefaultTypeInternal _UnknownAvatarMessage_default_instance_; +constexpr PlayerListMessage::PlayerListMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerid_(0u) + , playerlistnotification_(0) +{} +struct PlayerListMessageDefaultTypeInternal { + constexpr PlayerListMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayerListMessageDefaultTypeInternal() {} + union { + PlayerListMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayerListMessageDefaultTypeInternal _PlayerListMessage_default_instance_; +constexpr GameListNewMessage::GameListNewMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerids_() + , _playerids_cached_byte_size_(0) + , spectatorids_() + , _spectatorids_cached_byte_size_(0) + , gameinfo_(nullptr) + , gameid_(0u) + , isprivate_(false) + , adminplayerid_(0u) + , gamemode_(1) +{} +struct GameListNewMessageDefaultTypeInternal { + constexpr GameListNewMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameListNewMessageDefaultTypeInternal() {} + union { + GameListNewMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameListNewMessageDefaultTypeInternal _GameListNewMessage_default_instance_; +constexpr GameListUpdateMessage::GameListUpdateMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , gamemode_(1) +{} +struct GameListUpdateMessageDefaultTypeInternal { + constexpr GameListUpdateMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameListUpdateMessageDefaultTypeInternal() {} + union { + GameListUpdateMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameListUpdateMessageDefaultTypeInternal _GameListUpdateMessage_default_instance_; +constexpr GameListPlayerJoinedMessage::GameListPlayerJoinedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct GameListPlayerJoinedMessageDefaultTypeInternal { + constexpr GameListPlayerJoinedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameListPlayerJoinedMessageDefaultTypeInternal() {} + union { + GameListPlayerJoinedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameListPlayerJoinedMessageDefaultTypeInternal _GameListPlayerJoinedMessage_default_instance_; +constexpr GameListPlayerLeftMessage::GameListPlayerLeftMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct GameListPlayerLeftMessageDefaultTypeInternal { + constexpr GameListPlayerLeftMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameListPlayerLeftMessageDefaultTypeInternal() {} + union { + GameListPlayerLeftMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameListPlayerLeftMessageDefaultTypeInternal _GameListPlayerLeftMessage_default_instance_; +constexpr GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct GameListSpectatorJoinedMessageDefaultTypeInternal { + constexpr GameListSpectatorJoinedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameListSpectatorJoinedMessageDefaultTypeInternal() {} + union { + GameListSpectatorJoinedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameListSpectatorJoinedMessageDefaultTypeInternal _GameListSpectatorJoinedMessage_default_instance_; +constexpr GameListSpectatorLeftMessage::GameListSpectatorLeftMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct GameListSpectatorLeftMessageDefaultTypeInternal { + constexpr GameListSpectatorLeftMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameListSpectatorLeftMessageDefaultTypeInternal() {} + union { + GameListSpectatorLeftMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameListSpectatorLeftMessageDefaultTypeInternal _GameListSpectatorLeftMessage_default_instance_; +constexpr GameListAdminChangedMessage::GameListAdminChangedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , newadminplayerid_(0u){} +struct GameListAdminChangedMessageDefaultTypeInternal { + constexpr GameListAdminChangedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameListAdminChangedMessageDefaultTypeInternal() {} + union { + GameListAdminChangedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameListAdminChangedMessageDefaultTypeInternal _GameListAdminChangedMessage_default_instance_; +constexpr PlayerInfoRequestMessage::PlayerInfoRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerid_() + , _playerid_cached_byte_size_(0){} +struct PlayerInfoRequestMessageDefaultTypeInternal { + constexpr PlayerInfoRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayerInfoRequestMessageDefaultTypeInternal() {} + union { + PlayerInfoRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayerInfoRequestMessageDefaultTypeInternal _PlayerInfoRequestMessage_default_instance_; +constexpr PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerInfoData_AvatarData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : avatarhash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , avatartype_(1) +{} +struct PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal { + constexpr PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal() {} + union { + PlayerInfoReplyMessage_PlayerInfoData_AvatarData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal _PlayerInfoReplyMessage_PlayerInfoData_AvatarData_default_instance_; +constexpr PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playername_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , countrycode_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , avatardata_(nullptr) + , ishuman_(false) + , playerrights_(1) +{} +struct PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal { + constexpr PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal() {} + union { + PlayerInfoReplyMessage_PlayerInfoData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal _PlayerInfoReplyMessage_PlayerInfoData_default_instance_; +constexpr PlayerInfoReplyMessage::PlayerInfoReplyMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerinfodata_(nullptr) + , playerid_(0u){} +struct PlayerInfoReplyMessageDefaultTypeInternal { + constexpr PlayerInfoReplyMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayerInfoReplyMessageDefaultTypeInternal() {} + union { + PlayerInfoReplyMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayerInfoReplyMessageDefaultTypeInternal _PlayerInfoReplyMessage_default_instance_; +constexpr SubscriptionRequestMessage::SubscriptionRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : subscriptionaction_(1) +{} +struct SubscriptionRequestMessageDefaultTypeInternal { + constexpr SubscriptionRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~SubscriptionRequestMessageDefaultTypeInternal() {} + union { + SubscriptionRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT SubscriptionRequestMessageDefaultTypeInternal _SubscriptionRequestMessage_default_instance_; +constexpr JoinExistingGameMessage::JoinExistingGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : password_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , gameid_(0u) + , autoleave_(false) + , spectateonly_(false){} +struct JoinExistingGameMessageDefaultTypeInternal { + constexpr JoinExistingGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~JoinExistingGameMessageDefaultTypeInternal() {} + union { + JoinExistingGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT JoinExistingGameMessageDefaultTypeInternal _JoinExistingGameMessage_default_instance_; +constexpr JoinNewGameMessage::JoinNewGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : password_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , gameinfo_(nullptr) + , autoleave_(false){} +struct JoinNewGameMessageDefaultTypeInternal { + constexpr JoinNewGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~JoinNewGameMessageDefaultTypeInternal() {} + union { + JoinNewGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT JoinNewGameMessageDefaultTypeInternal _JoinNewGameMessage_default_instance_; +constexpr RejoinExistingGameMessage::RejoinExistingGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , autoleave_(false){} +struct RejoinExistingGameMessageDefaultTypeInternal { + constexpr RejoinExistingGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~RejoinExistingGameMessageDefaultTypeInternal() {} + union { + RejoinExistingGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RejoinExistingGameMessageDefaultTypeInternal _RejoinExistingGameMessage_default_instance_; +constexpr JoinGameAckMessage::JoinGameAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameinfo_(nullptr) + , gameid_(0u) + , areyougameadmin_(false) + , spectateonly_(false){} +struct JoinGameAckMessageDefaultTypeInternal { + constexpr JoinGameAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~JoinGameAckMessageDefaultTypeInternal() {} + union { + JoinGameAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT JoinGameAckMessageDefaultTypeInternal _JoinGameAckMessage_default_instance_; +constexpr JoinGameFailedMessage::JoinGameFailedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , joingamefailurereason_(1) +{} +struct JoinGameFailedMessageDefaultTypeInternal { + constexpr JoinGameFailedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~JoinGameFailedMessageDefaultTypeInternal() {} + union { + JoinGameFailedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT JoinGameFailedMessageDefaultTypeInternal _JoinGameFailedMessage_default_instance_; +constexpr GamePlayerJoinedMessage::GamePlayerJoinedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , isgameadmin_(false){} +struct GamePlayerJoinedMessageDefaultTypeInternal { + constexpr GamePlayerJoinedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GamePlayerJoinedMessageDefaultTypeInternal() {} + union { + GamePlayerJoinedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GamePlayerJoinedMessageDefaultTypeInternal _GamePlayerJoinedMessage_default_instance_; +constexpr GamePlayerLeftMessage::GamePlayerLeftMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , gameplayerleftreason_(0) +{} +struct GamePlayerLeftMessageDefaultTypeInternal { + constexpr GamePlayerLeftMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GamePlayerLeftMessageDefaultTypeInternal() {} + union { + GamePlayerLeftMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GamePlayerLeftMessageDefaultTypeInternal _GamePlayerLeftMessage_default_instance_; +constexpr GameSpectatorJoinedMessage::GameSpectatorJoinedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct GameSpectatorJoinedMessageDefaultTypeInternal { + constexpr GameSpectatorJoinedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameSpectatorJoinedMessageDefaultTypeInternal() {} + union { + GameSpectatorJoinedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameSpectatorJoinedMessageDefaultTypeInternal _GameSpectatorJoinedMessage_default_instance_; +constexpr GameSpectatorLeftMessage::GameSpectatorLeftMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , gamespectatorleftreason_(0) +{} +struct GameSpectatorLeftMessageDefaultTypeInternal { + constexpr GameSpectatorLeftMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameSpectatorLeftMessageDefaultTypeInternal() {} + union { + GameSpectatorLeftMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameSpectatorLeftMessageDefaultTypeInternal _GameSpectatorLeftMessage_default_instance_; +constexpr GameAdminChangedMessage::GameAdminChangedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , newadminplayerid_(0u){} +struct GameAdminChangedMessageDefaultTypeInternal { + constexpr GameAdminChangedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameAdminChangedMessageDefaultTypeInternal() {} + union { + GameAdminChangedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameAdminChangedMessageDefaultTypeInternal _GameAdminChangedMessage_default_instance_; +constexpr RemovedFromGameMessage::RemovedFromGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , removedfromgamereason_(0) +{} +struct RemovedFromGameMessageDefaultTypeInternal { + constexpr RemovedFromGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~RemovedFromGameMessageDefaultTypeInternal() {} + union { + RemovedFromGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RemovedFromGameMessageDefaultTypeInternal _RemovedFromGameMessage_default_instance_; +constexpr KickPlayerRequestMessage::KickPlayerRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct KickPlayerRequestMessageDefaultTypeInternal { + constexpr KickPlayerRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~KickPlayerRequestMessageDefaultTypeInternal() {} + union { + KickPlayerRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT KickPlayerRequestMessageDefaultTypeInternal _KickPlayerRequestMessage_default_instance_; +constexpr LeaveGameRequestMessage::LeaveGameRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u){} +struct LeaveGameRequestMessageDefaultTypeInternal { + constexpr LeaveGameRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~LeaveGameRequestMessageDefaultTypeInternal() {} + union { + LeaveGameRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT LeaveGameRequestMessageDefaultTypeInternal _LeaveGameRequestMessage_default_instance_; +constexpr InvitePlayerToGameMessage::InvitePlayerToGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct InvitePlayerToGameMessageDefaultTypeInternal { + constexpr InvitePlayerToGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~InvitePlayerToGameMessageDefaultTypeInternal() {} + union { + InvitePlayerToGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT InvitePlayerToGameMessageDefaultTypeInternal _InvitePlayerToGameMessage_default_instance_; +constexpr InviteNotifyMessage::InviteNotifyMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playeridwho_(0u) + , playeridbywhom_(0u){} +struct InviteNotifyMessageDefaultTypeInternal { + constexpr InviteNotifyMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~InviteNotifyMessageDefaultTypeInternal() {} + union { + InviteNotifyMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT InviteNotifyMessageDefaultTypeInternal _InviteNotifyMessage_default_instance_; +constexpr RejectGameInvitationMessage::RejectGameInvitationMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , myrejectreason_(0) +{} +struct RejectGameInvitationMessageDefaultTypeInternal { + constexpr RejectGameInvitationMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~RejectGameInvitationMessageDefaultTypeInternal() {} + union { + RejectGameInvitationMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RejectGameInvitationMessageDefaultTypeInternal _RejectGameInvitationMessage_default_instance_; +constexpr RejectInvNotifyMessage::RejectInvNotifyMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , playerrejectreason_(0) +{} +struct RejectInvNotifyMessageDefaultTypeInternal { + constexpr RejectInvNotifyMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~RejectInvNotifyMessageDefaultTypeInternal() {} + union { + RejectInvNotifyMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT RejectInvNotifyMessageDefaultTypeInternal _RejectInvNotifyMessage_default_instance_; +constexpr StartEventMessage::StartEventMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , starteventtype_(0) + + , fillwithcomputerplayers_(false){} +struct StartEventMessageDefaultTypeInternal { + constexpr StartEventMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StartEventMessageDefaultTypeInternal() {} + union { + StartEventMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StartEventMessageDefaultTypeInternal _StartEventMessage_default_instance_; +constexpr StartEventAckMessage::StartEventAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u){} +struct StartEventAckMessageDefaultTypeInternal { + constexpr StartEventAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StartEventAckMessageDefaultTypeInternal() {} + union { + StartEventAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StartEventAckMessageDefaultTypeInternal _StartEventAckMessage_default_instance_; +constexpr GameStartInitialMessage::GameStartInitialMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerseats_() + , _playerseats_cached_byte_size_(0) + , gameid_(0u) + , startdealerplayerid_(0u){} +struct GameStartInitialMessageDefaultTypeInternal { + constexpr GameStartInitialMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameStartInitialMessageDefaultTypeInternal() {} + union { + GameStartInitialMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameStartInitialMessageDefaultTypeInternal _GameStartInitialMessage_default_instance_; +constexpr GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerid_(0u) + , playermoney_(0u){} +struct GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal { + constexpr GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal() {} + union { + GameStartRejoinMessage_RejoinPlayerData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal _GameStartRejoinMessage_RejoinPlayerData_default_instance_; +constexpr GameStartRejoinMessage::GameStartRejoinMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : rejoinplayerdata_() + , gameid_(0u) + , startdealerplayerid_(0u) + , handnum_(0u){} +struct GameStartRejoinMessageDefaultTypeInternal { + constexpr GameStartRejoinMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameStartRejoinMessageDefaultTypeInternal() {} + union { + GameStartRejoinMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameStartRejoinMessageDefaultTypeInternal _GameStartRejoinMessage_default_instance_; +constexpr GameStartReentryMessage_ReentryPlayerData::GameStartReentryMessage_ReentryPlayerData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerid_(0u) + , playermoney_(0u){} +struct GameStartReentryMessage_ReentryPlayerDataDefaultTypeInternal { + constexpr GameStartReentryMessage_ReentryPlayerDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameStartReentryMessage_ReentryPlayerDataDefaultTypeInternal() {} + union { + GameStartReentryMessage_ReentryPlayerData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameStartReentryMessage_ReentryPlayerDataDefaultTypeInternal _GameStartReentryMessage_ReentryPlayerData_default_instance_; +constexpr GameStartReentryMessage::GameStartReentryMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : reentryplayerdata_() + , gameid_(0u) + , startdealerplayerid_(0u) + , handnum_(0u){} +struct GameStartReentryMessageDefaultTypeInternal { + constexpr GameStartReentryMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~GameStartReentryMessageDefaultTypeInternal() {} + union { + GameStartReentryMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GameStartReentryMessageDefaultTypeInternal _GameStartReentryMessage_default_instance_; +constexpr HandStartMessage_PlainCards::HandStartMessage_PlainCards( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : plaincard1_(0u) + , plaincard2_(0u){} +struct HandStartMessage_PlainCardsDefaultTypeInternal { + constexpr HandStartMessage_PlainCardsDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~HandStartMessage_PlainCardsDefaultTypeInternal() {} + union { + HandStartMessage_PlainCards _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HandStartMessage_PlainCardsDefaultTypeInternal _HandStartMessage_PlainCards_default_instance_; +constexpr HandStartMessage::HandStartMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : seatstates_() + , encryptedcards_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , plaincards_(nullptr) + , gameid_(0u) + , smallblind_(0u) + , dealerplayerid_(0u){} +struct HandStartMessageDefaultTypeInternal { + constexpr HandStartMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~HandStartMessageDefaultTypeInternal() {} + union { + HandStartMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT HandStartMessageDefaultTypeInternal _HandStartMessage_default_instance_; +constexpr PlayersTurnMessage::PlayersTurnMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , gamestate_(0) +{} +struct PlayersTurnMessageDefaultTypeInternal { + constexpr PlayersTurnMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayersTurnMessageDefaultTypeInternal() {} + union { + PlayersTurnMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayersTurnMessageDefaultTypeInternal _PlayersTurnMessage_default_instance_; +constexpr MyActionRequestMessage::MyActionRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , handnum_(0u) + , gamestate_(0) + + , myaction_(0) + + , myrelativebet_(0u){} +struct MyActionRequestMessageDefaultTypeInternal { + constexpr MyActionRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~MyActionRequestMessageDefaultTypeInternal() {} + union { + MyActionRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT MyActionRequestMessageDefaultTypeInternal _MyActionRequestMessage_default_instance_; +constexpr YourActionRejectedMessage::YourActionRejectedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , gamestate_(0) + + , youraction_(0) + + , yourrelativebet_(0u) + , rejectionreason_(1) +{} +struct YourActionRejectedMessageDefaultTypeInternal { + constexpr YourActionRejectedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~YourActionRejectedMessageDefaultTypeInternal() {} + union { + YourActionRejectedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT YourActionRejectedMessageDefaultTypeInternal _YourActionRejectedMessage_default_instance_; +constexpr PlayersActionDoneMessage::PlayersActionDoneMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , gamestate_(0) + + , playeraction_(0) + + , totalplayerbet_(0u) + , playermoney_(0u) + , highestset_(0u) + , minimumraise_(0u){} +struct PlayersActionDoneMessageDefaultTypeInternal { + constexpr PlayersActionDoneMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayersActionDoneMessageDefaultTypeInternal() {} + union { + PlayersActionDoneMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayersActionDoneMessageDefaultTypeInternal _PlayersActionDoneMessage_default_instance_; +constexpr DealFlopCardsMessage::DealFlopCardsMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , flopcard1_(0u) + , flopcard2_(0u) + , flopcard3_(0u){} +struct DealFlopCardsMessageDefaultTypeInternal { + constexpr DealFlopCardsMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DealFlopCardsMessageDefaultTypeInternal() {} + union { + DealFlopCardsMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DealFlopCardsMessageDefaultTypeInternal _DealFlopCardsMessage_default_instance_; +constexpr DealTurnCardMessage::DealTurnCardMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , turncard_(0u){} +struct DealTurnCardMessageDefaultTypeInternal { + constexpr DealTurnCardMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DealTurnCardMessageDefaultTypeInternal() {} + union { + DealTurnCardMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DealTurnCardMessageDefaultTypeInternal _DealTurnCardMessage_default_instance_; +constexpr DealRiverCardMessage::DealRiverCardMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , rivercard_(0u){} +struct DealRiverCardMessageDefaultTypeInternal { + constexpr DealRiverCardMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DealRiverCardMessageDefaultTypeInternal() {} + union { + DealRiverCardMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DealRiverCardMessageDefaultTypeInternal _DealRiverCardMessage_default_instance_; +constexpr AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerid_(0u) + , allincard1_(0u) + , allincard2_(0u){} +struct AllInShowCardsMessage_PlayerAllInDefaultTypeInternal { + constexpr AllInShowCardsMessage_PlayerAllInDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AllInShowCardsMessage_PlayerAllInDefaultTypeInternal() {} + union { + AllInShowCardsMessage_PlayerAllIn _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AllInShowCardsMessage_PlayerAllInDefaultTypeInternal _AllInShowCardsMessage_PlayerAllIn_default_instance_; +constexpr AllInShowCardsMessage::AllInShowCardsMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playersallin_() + , gameid_(0u){} +struct AllInShowCardsMessageDefaultTypeInternal { + constexpr AllInShowCardsMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AllInShowCardsMessageDefaultTypeInternal() {} + union { + AllInShowCardsMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AllInShowCardsMessageDefaultTypeInternal _AllInShowCardsMessage_default_instance_; +constexpr EndOfHandShowCardsMessage::EndOfHandShowCardsMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerresults_() + , gameid_(0u){} +struct EndOfHandShowCardsMessageDefaultTypeInternal { + constexpr EndOfHandShowCardsMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~EndOfHandShowCardsMessageDefaultTypeInternal() {} + union { + EndOfHandShowCardsMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EndOfHandShowCardsMessageDefaultTypeInternal _EndOfHandShowCardsMessage_default_instance_; +constexpr EndOfHandHideCardsMessage::EndOfHandHideCardsMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , moneywon_(0u) + , playermoney_(0u){} +struct EndOfHandHideCardsMessageDefaultTypeInternal { + constexpr EndOfHandHideCardsMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~EndOfHandHideCardsMessageDefaultTypeInternal() {} + union { + EndOfHandHideCardsMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EndOfHandHideCardsMessageDefaultTypeInternal _EndOfHandHideCardsMessage_default_instance_; +constexpr ShowMyCardsRequestMessage::ShowMyCardsRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct ShowMyCardsRequestMessageDefaultTypeInternal { + constexpr ShowMyCardsRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ShowMyCardsRequestMessageDefaultTypeInternal() {} + union { + ShowMyCardsRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ShowMyCardsRequestMessageDefaultTypeInternal _ShowMyCardsRequestMessage_default_instance_; +constexpr AfterHandShowCardsMessage::AfterHandShowCardsMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : playerresult_(nullptr){} +struct AfterHandShowCardsMessageDefaultTypeInternal { + constexpr AfterHandShowCardsMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AfterHandShowCardsMessageDefaultTypeInternal() {} + union { + AfterHandShowCardsMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AfterHandShowCardsMessageDefaultTypeInternal _AfterHandShowCardsMessage_default_instance_; +constexpr EndOfGameMessage::EndOfGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , winnerplayerid_(0u){} +struct EndOfGameMessageDefaultTypeInternal { + constexpr EndOfGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~EndOfGameMessageDefaultTypeInternal() {} + union { + EndOfGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EndOfGameMessageDefaultTypeInternal _EndOfGameMessage_default_instance_; +constexpr PlayerIdChangedMessage::PlayerIdChangedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : oldplayerid_(0u) + , newplayerid_(0u){} +struct PlayerIdChangedMessageDefaultTypeInternal { + constexpr PlayerIdChangedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PlayerIdChangedMessageDefaultTypeInternal() {} + union { + PlayerIdChangedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PlayerIdChangedMessageDefaultTypeInternal _PlayerIdChangedMessage_default_instance_; +constexpr AskKickPlayerMessage::AskKickPlayerMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u){} +struct AskKickPlayerMessageDefaultTypeInternal { + constexpr AskKickPlayerMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AskKickPlayerMessageDefaultTypeInternal() {} + union { + AskKickPlayerMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AskKickPlayerMessageDefaultTypeInternal _AskKickPlayerMessage_default_instance_; +constexpr AskKickDeniedMessage::AskKickDeniedMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , playerid_(0u) + , kickdeniedreason_(0) +{} +struct AskKickDeniedMessageDefaultTypeInternal { + constexpr AskKickDeniedMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AskKickDeniedMessageDefaultTypeInternal() {} + union { + AskKickDeniedMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AskKickDeniedMessageDefaultTypeInternal _AskKickDeniedMessage_default_instance_; +constexpr StartKickPetitionMessage::StartKickPetitionMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , petitionid_(0u) + , proposingplayerid_(0u) + , kickplayerid_(0u) + , kicktimeoutsec_(0u) + , numvotesneededtokick_(0u){} +struct StartKickPetitionMessageDefaultTypeInternal { + constexpr StartKickPetitionMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StartKickPetitionMessageDefaultTypeInternal() {} + union { + StartKickPetitionMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StartKickPetitionMessageDefaultTypeInternal _StartKickPetitionMessage_default_instance_; +constexpr VoteKickRequestMessage::VoteKickRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , petitionid_(0u) + , votekick_(false){} +struct VoteKickRequestMessageDefaultTypeInternal { + constexpr VoteKickRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~VoteKickRequestMessageDefaultTypeInternal() {} + union { + VoteKickRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VoteKickRequestMessageDefaultTypeInternal _VoteKickRequestMessage_default_instance_; +constexpr VoteKickReplyMessage::VoteKickReplyMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , petitionid_(0u) + , votekickreplytype_(0) +{} +struct VoteKickReplyMessageDefaultTypeInternal { + constexpr VoteKickReplyMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~VoteKickReplyMessageDefaultTypeInternal() {} + union { + VoteKickReplyMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT VoteKickReplyMessageDefaultTypeInternal _VoteKickReplyMessage_default_instance_; +constexpr KickPetitionUpdateMessage::KickPetitionUpdateMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , petitionid_(0u) + , numvotesagainstkicking_(0u) + , numvotesinfavourofkicking_(0u) + , numvotesneededtokick_(0u){} +struct KickPetitionUpdateMessageDefaultTypeInternal { + constexpr KickPetitionUpdateMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~KickPetitionUpdateMessageDefaultTypeInternal() {} + union { + KickPetitionUpdateMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT KickPetitionUpdateMessageDefaultTypeInternal _KickPetitionUpdateMessage_default_instance_; +constexpr EndKickPetitionMessage::EndKickPetitionMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : gameid_(0u) + , petitionid_(0u) + , numvotesagainstkicking_(0u) + , numvotesinfavourofkicking_(0u) + , resultplayerkicked_(0u) + , petitionendreason_(0) +{} +struct EndKickPetitionMessageDefaultTypeInternal { + constexpr EndKickPetitionMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~EndKickPetitionMessageDefaultTypeInternal() {} + union { + EndKickPetitionMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT EndKickPetitionMessageDefaultTypeInternal _EndKickPetitionMessage_default_instance_; +constexpr StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : statisticsvalue_(0u) + , statisticstype_(1) +{} +struct StatisticsMessage_StatisticsDataDefaultTypeInternal { + constexpr StatisticsMessage_StatisticsDataDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StatisticsMessage_StatisticsDataDefaultTypeInternal() {} + union { + StatisticsMessage_StatisticsData _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatisticsMessage_StatisticsDataDefaultTypeInternal _StatisticsMessage_StatisticsData_default_instance_; +constexpr StatisticsMessage::StatisticsMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : statisticsdata_(){} +struct StatisticsMessageDefaultTypeInternal { + constexpr StatisticsMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~StatisticsMessageDefaultTypeInternal() {} + union { + StatisticsMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StatisticsMessageDefaultTypeInternal _StatisticsMessage_default_instance_; +constexpr ChatRequestMessage::ChatRequestMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : chattext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , targetgameid_(0u) + , targetplayerid_(0u){} +struct ChatRequestMessageDefaultTypeInternal { + constexpr ChatRequestMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ChatRequestMessageDefaultTypeInternal() {} + union { + ChatRequestMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChatRequestMessageDefaultTypeInternal _ChatRequestMessage_default_instance_; +constexpr ChatMessage::ChatMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : chattext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , gameid_(0u) + , playerid_(0u) + , chattype_(0) +{} +struct ChatMessageDefaultTypeInternal { + constexpr ChatMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ChatMessageDefaultTypeInternal() {} + union { + ChatMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChatMessageDefaultTypeInternal _ChatMessage_default_instance_; +constexpr ChatRejectMessage::ChatRejectMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : chattext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct ChatRejectMessageDefaultTypeInternal { + constexpr ChatRejectMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ChatRejectMessageDefaultTypeInternal() {} + union { + ChatRejectMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ChatRejectMessageDefaultTypeInternal _ChatRejectMessage_default_instance_; +constexpr DialogMessage::DialogMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : notificationtext_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){} +struct DialogMessageDefaultTypeInternal { + constexpr DialogMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~DialogMessageDefaultTypeInternal() {} + union { + DialogMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DialogMessageDefaultTypeInternal _DialogMessage_default_instance_; +constexpr TimeoutWarningMessage::TimeoutWarningMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : timeoutreason_(0) + + , remainingseconds_(0u){} +struct TimeoutWarningMessageDefaultTypeInternal { + constexpr TimeoutWarningMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~TimeoutWarningMessageDefaultTypeInternal() {} + union { + TimeoutWarningMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT TimeoutWarningMessageDefaultTypeInternal _TimeoutWarningMessage_default_instance_; +constexpr ResetTimeoutMessage::ResetTimeoutMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){} +struct ResetTimeoutMessageDefaultTypeInternal { + constexpr ResetTimeoutMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ResetTimeoutMessageDefaultTypeInternal() {} + union { + ResetTimeoutMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ResetTimeoutMessageDefaultTypeInternal _ResetTimeoutMessage_default_instance_; +constexpr ReportAvatarMessage::ReportAvatarMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : reportedavatarhash_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string) + , reportedplayerid_(0u){} +struct ReportAvatarMessageDefaultTypeInternal { + constexpr ReportAvatarMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ReportAvatarMessageDefaultTypeInternal() {} + union { + ReportAvatarMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReportAvatarMessageDefaultTypeInternal _ReportAvatarMessage_default_instance_; +constexpr ReportAvatarAckMessage::ReportAvatarAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : reportedplayerid_(0u) + , reportavatarresult_(0) +{} +struct ReportAvatarAckMessageDefaultTypeInternal { + constexpr ReportAvatarAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ReportAvatarAckMessageDefaultTypeInternal() {} + union { + ReportAvatarAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReportAvatarAckMessageDefaultTypeInternal _ReportAvatarAckMessage_default_instance_; +constexpr ReportGameMessage::ReportGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : reportedgameid_(0u){} +struct ReportGameMessageDefaultTypeInternal { + constexpr ReportGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ReportGameMessageDefaultTypeInternal() {} + union { + ReportGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReportGameMessageDefaultTypeInternal _ReportGameMessage_default_instance_; +constexpr ReportGameAckMessage::ReportGameAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : reportedgameid_(0u) + , reportgameresult_(0) +{} +struct ReportGameAckMessageDefaultTypeInternal { + constexpr ReportGameAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ReportGameAckMessageDefaultTypeInternal() {} + union { + ReportGameAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ReportGameAckMessageDefaultTypeInternal _ReportGameAckMessage_default_instance_; +constexpr ErrorMessage::ErrorMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : errorreason_(0) +{} +struct ErrorMessageDefaultTypeInternal { + constexpr ErrorMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~ErrorMessageDefaultTypeInternal() {} + union { + ErrorMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ErrorMessageDefaultTypeInternal _ErrorMessage_default_instance_; +constexpr AdminRemoveGameMessage::AdminRemoveGameMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : removegameid_(0u){} +struct AdminRemoveGameMessageDefaultTypeInternal { + constexpr AdminRemoveGameMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AdminRemoveGameMessageDefaultTypeInternal() {} + union { + AdminRemoveGameMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AdminRemoveGameMessageDefaultTypeInternal _AdminRemoveGameMessage_default_instance_; +constexpr AdminRemoveGameAckMessage::AdminRemoveGameAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : removegameid_(0u) + , removegameresult_(0) +{} +struct AdminRemoveGameAckMessageDefaultTypeInternal { + constexpr AdminRemoveGameAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AdminRemoveGameAckMessageDefaultTypeInternal() {} + union { + AdminRemoveGameAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AdminRemoveGameAckMessageDefaultTypeInternal _AdminRemoveGameAckMessage_default_instance_; +constexpr AdminBanPlayerMessage::AdminBanPlayerMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : banplayerid_(0u){} +struct AdminBanPlayerMessageDefaultTypeInternal { + constexpr AdminBanPlayerMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AdminBanPlayerMessageDefaultTypeInternal() {} + union { + AdminBanPlayerMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AdminBanPlayerMessageDefaultTypeInternal _AdminBanPlayerMessage_default_instance_; +constexpr AdminBanPlayerAckMessage::AdminBanPlayerAckMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : banplayerid_(0u) + , banplayerresult_(0) +{} +struct AdminBanPlayerAckMessageDefaultTypeInternal { + constexpr AdminBanPlayerAckMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~AdminBanPlayerAckMessageDefaultTypeInternal() {} + union { + AdminBanPlayerAckMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT AdminBanPlayerAckMessageDefaultTypeInternal _AdminBanPlayerAckMessage_default_instance_; +constexpr PokerTHMessage::PokerTHMessage( + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) + : announcemessage_(nullptr) + , initmessage_(nullptr) + , authserverchallengemessage_(nullptr) + , authclientresponsemessage_(nullptr) + , authserververificationmessage_(nullptr) + , initackmessage_(nullptr) + , avatarrequestmessage_(nullptr) + , avatarheadermessage_(nullptr) + , avatardatamessage_(nullptr) + , avatarendmessage_(nullptr) + , unknownavatarmessage_(nullptr) + , playerlistmessage_(nullptr) + , gamelistnewmessage_(nullptr) + , gamelistupdatemessage_(nullptr) + , gamelistplayerjoinedmessage_(nullptr) + , gamelistplayerleftmessage_(nullptr) + , gamelistadminchangedmessage_(nullptr) + , playerinforequestmessage_(nullptr) + , playerinforeplymessage_(nullptr) + , subscriptionrequestmessage_(nullptr) + , joinexistinggamemessage_(nullptr) + , joinnewgamemessage_(nullptr) + , rejoinexistinggamemessage_(nullptr) + , joingameackmessage_(nullptr) + , joingamefailedmessage_(nullptr) + , gameplayerjoinedmessage_(nullptr) + , gameplayerleftmessage_(nullptr) + , gameadminchangedmessage_(nullptr) + , removedfromgamemessage_(nullptr) + , kickplayerrequestmessage_(nullptr) + , leavegamerequestmessage_(nullptr) + , inviteplayertogamemessage_(nullptr) + , invitenotifymessage_(nullptr) + , rejectgameinvitationmessage_(nullptr) + , rejectinvnotifymessage_(nullptr) + , starteventmessage_(nullptr) + , starteventackmessage_(nullptr) + , gamestartinitialmessage_(nullptr) + , gamestartrejoinmessage_(nullptr) + , handstartmessage_(nullptr) + , playersturnmessage_(nullptr) + , myactionrequestmessage_(nullptr) + , youractionrejectedmessage_(nullptr) + , playersactiondonemessage_(nullptr) + , dealflopcardsmessage_(nullptr) + , dealturncardmessage_(nullptr) + , dealrivercardmessage_(nullptr) + , allinshowcardsmessage_(nullptr) + , endofhandshowcardsmessage_(nullptr) + , endofhandhidecardsmessage_(nullptr) + , showmycardsrequestmessage_(nullptr) + , afterhandshowcardsmessage_(nullptr) + , endofgamemessage_(nullptr) + , playeridchangedmessage_(nullptr) + , askkickplayermessage_(nullptr) + , askkickdeniedmessage_(nullptr) + , startkickpetitionmessage_(nullptr) + , votekickrequestmessage_(nullptr) + , votekickreplymessage_(nullptr) + , kickpetitionupdatemessage_(nullptr) + , endkickpetitionmessage_(nullptr) + , statisticsmessage_(nullptr) + , chatrequestmessage_(nullptr) + , chatmessage_(nullptr) + , chatrejectmessage_(nullptr) + , dialogmessage_(nullptr) + , timeoutwarningmessage_(nullptr) + , resettimeoutmessage_(nullptr) + , reportavatarmessage_(nullptr) + , reportavatarackmessage_(nullptr) + , reportgamemessage_(nullptr) + , reportgameackmessage_(nullptr) + , errormessage_(nullptr) + , adminremovegamemessage_(nullptr) + , adminremovegameackmessage_(nullptr) + , adminbanplayermessage_(nullptr) + , adminbanplayerackmessage_(nullptr) + , gamelistspectatorjoinedmessage_(nullptr) + , gamelistspectatorleftmessage_(nullptr) + , gamespectatorjoinedmessage_(nullptr) + , gamespectatorleftmessage_(nullptr) + , gamestartreentrymessage_(nullptr) + , messagetype_(1) +{} +struct PokerTHMessageDefaultTypeInternal { + constexpr PokerTHMessageDefaultTypeInternal() + : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {} + ~PokerTHMessageDefaultTypeInternal() {} + union { + PokerTHMessage _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PokerTHMessageDefaultTypeInternal _PokerTHMessage_default_instance_; bool NetGameInfo_NetGameType_IsValid(int value) { switch (value) { case 1: @@ -1883,7 +1474,7 @@ const std::string& NetGameInfo_NetGameType_Name( NetGameInfo_NetGameType_strings[idx].get(); } bool NetGameInfo_NetGameType_Parse( - const std::string& name, NetGameInfo_NetGameType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameInfo_NetGameType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetGameInfo_NetGameType_entries, 4, name, &int_value); @@ -1892,7 +1483,7 @@ bool NetGameInfo_NetGameType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr NetGameInfo_NetGameType NetGameInfo::normalGame; constexpr NetGameInfo_NetGameType NetGameInfo::registeredOnlyGame; constexpr NetGameInfo_NetGameType NetGameInfo::inviteOnlyGame; @@ -1900,7 +1491,7 @@ constexpr NetGameInfo_NetGameType NetGameInfo::rankingGame; constexpr NetGameInfo_NetGameType NetGameInfo::NetGameType_MIN; constexpr NetGameInfo_NetGameType NetGameInfo::NetGameType_MAX; constexpr int NetGameInfo::NetGameType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool NetGameInfo_RaiseIntervalMode_IsValid(int value) { switch (value) { case 1: @@ -1943,7 +1534,7 @@ const std::string& NetGameInfo_RaiseIntervalMode_Name( NetGameInfo_RaiseIntervalMode_strings[idx].get(); } bool NetGameInfo_RaiseIntervalMode_Parse( - const std::string& name, NetGameInfo_RaiseIntervalMode* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameInfo_RaiseIntervalMode* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetGameInfo_RaiseIntervalMode_entries, 2, name, &int_value); @@ -1952,13 +1543,13 @@ bool NetGameInfo_RaiseIntervalMode_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr NetGameInfo_RaiseIntervalMode NetGameInfo::raiseOnHandNum; constexpr NetGameInfo_RaiseIntervalMode NetGameInfo::raiseOnMinutes; constexpr NetGameInfo_RaiseIntervalMode NetGameInfo::RaiseIntervalMode_MIN; constexpr NetGameInfo_RaiseIntervalMode NetGameInfo::RaiseIntervalMode_MAX; constexpr int NetGameInfo::RaiseIntervalMode_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool NetGameInfo_EndRaiseMode_IsValid(int value) { switch (value) { case 1: @@ -2005,7 +1596,7 @@ const std::string& NetGameInfo_EndRaiseMode_Name( NetGameInfo_EndRaiseMode_strings[idx].get(); } bool NetGameInfo_EndRaiseMode_Parse( - const std::string& name, NetGameInfo_EndRaiseMode* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameInfo_EndRaiseMode* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetGameInfo_EndRaiseMode_entries, 3, name, &int_value); @@ -2014,14 +1605,14 @@ bool NetGameInfo_EndRaiseMode_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr NetGameInfo_EndRaiseMode NetGameInfo::doubleBlinds; constexpr NetGameInfo_EndRaiseMode NetGameInfo::raiseByEndValue; constexpr NetGameInfo_EndRaiseMode NetGameInfo::keepLastBlind; constexpr NetGameInfo_EndRaiseMode NetGameInfo::EndRaiseMode_MIN; constexpr NetGameInfo_EndRaiseMode NetGameInfo::EndRaiseMode_MAX; constexpr int NetGameInfo::EndRaiseMode_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool AnnounceMessage_ServerType_IsValid(int value) { switch (value) { case 0: @@ -2068,7 +1659,7 @@ const std::string& AnnounceMessage_ServerType_Name( AnnounceMessage_ServerType_strings[idx].get(); } bool AnnounceMessage_ServerType_Parse( - const std::string& name, AnnounceMessage_ServerType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AnnounceMessage_ServerType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( AnnounceMessage_ServerType_entries, 3, name, &int_value); @@ -2077,14 +1668,14 @@ bool AnnounceMessage_ServerType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr AnnounceMessage_ServerType AnnounceMessage::serverTypeLAN; constexpr AnnounceMessage_ServerType AnnounceMessage::serverTypeInternetNoAuth; constexpr AnnounceMessage_ServerType AnnounceMessage::serverTypeInternetAuth; constexpr AnnounceMessage_ServerType AnnounceMessage::ServerType_MIN; constexpr AnnounceMessage_ServerType AnnounceMessage::ServerType_MAX; constexpr int AnnounceMessage::ServerType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool InitMessage_LoginType_IsValid(int value) { switch (value) { case 0: @@ -2131,7 +1722,7 @@ const std::string& InitMessage_LoginType_Name( InitMessage_LoginType_strings[idx].get(); } bool InitMessage_LoginType_Parse( - const std::string& name, InitMessage_LoginType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InitMessage_LoginType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( InitMessage_LoginType_entries, 3, name, &int_value); @@ -2140,14 +1731,14 @@ bool InitMessage_LoginType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr InitMessage_LoginType InitMessage::guestLogin; constexpr InitMessage_LoginType InitMessage::authenticatedLogin; constexpr InitMessage_LoginType InitMessage::unauthenticatedLogin; constexpr InitMessage_LoginType InitMessage::LoginType_MIN; constexpr InitMessage_LoginType InitMessage::LoginType_MAX; constexpr int InitMessage::LoginType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool PlayerListMessage_PlayerListNotification_IsValid(int value) { switch (value) { case 0: @@ -2190,7 +1781,7 @@ const std::string& PlayerListMessage_PlayerListNotification_Name( PlayerListMessage_PlayerListNotification_strings[idx].get(); } bool PlayerListMessage_PlayerListNotification_Parse( - const std::string& name, PlayerListMessage_PlayerListNotification* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayerListMessage_PlayerListNotification* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( PlayerListMessage_PlayerListNotification_entries, 2, name, &int_value); @@ -2199,13 +1790,13 @@ bool PlayerListMessage_PlayerListNotification_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr PlayerListMessage_PlayerListNotification PlayerListMessage::playerListNew; constexpr PlayerListMessage_PlayerListNotification PlayerListMessage::playerListLeft; constexpr PlayerListMessage_PlayerListNotification PlayerListMessage::PlayerListNotification_MIN; constexpr PlayerListMessage_PlayerListNotification PlayerListMessage::PlayerListNotification_MAX; constexpr int PlayerListMessage::PlayerListNotification_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool SubscriptionRequestMessage_SubscriptionAction_IsValid(int value) { switch (value) { case 1: @@ -2248,7 +1839,7 @@ const std::string& SubscriptionRequestMessage_SubscriptionAction_Name( SubscriptionRequestMessage_SubscriptionAction_strings[idx].get(); } bool SubscriptionRequestMessage_SubscriptionAction_Parse( - const std::string& name, SubscriptionRequestMessage_SubscriptionAction* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SubscriptionRequestMessage_SubscriptionAction* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( SubscriptionRequestMessage_SubscriptionAction_entries, 2, name, &int_value); @@ -2257,13 +1848,13 @@ bool SubscriptionRequestMessage_SubscriptionAction_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::unsubscribeGameList; constexpr SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::resubscribeGameList; constexpr SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::SubscriptionAction_MIN; constexpr SubscriptionRequestMessage_SubscriptionAction SubscriptionRequestMessage::SubscriptionAction_MAX; constexpr int SubscriptionRequestMessage::SubscriptionAction_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool JoinGameFailedMessage_JoinGameFailureReason_IsValid(int value) { switch (value) { case 1: @@ -2346,7 +1937,7 @@ const std::string& JoinGameFailedMessage_JoinGameFailureReason_Name( JoinGameFailedMessage_JoinGameFailureReason_strings[idx].get(); } bool JoinGameFailedMessage_JoinGameFailureReason_Parse( - const std::string& name, JoinGameFailedMessage_JoinGameFailureReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, JoinGameFailedMessage_JoinGameFailureReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( JoinGameFailedMessage_JoinGameFailureReason_entries, 12, name, &int_value); @@ -2355,7 +1946,7 @@ bool JoinGameFailedMessage_JoinGameFailureReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::invalidGame; constexpr JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameIsFull; constexpr JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::gameIsRunning; @@ -2371,7 +1962,7 @@ constexpr JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::noS constexpr JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::JoinGameFailureReason_MIN; constexpr JoinGameFailedMessage_JoinGameFailureReason JoinGameFailedMessage::JoinGameFailureReason_MAX; constexpr int JoinGameFailedMessage::JoinGameFailureReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(int value) { switch (value) { case 0: @@ -2418,7 +2009,7 @@ const std::string& GamePlayerLeftMessage_GamePlayerLeftReason_Name( GamePlayerLeftMessage_GamePlayerLeftReason_strings[idx].get(); } bool GamePlayerLeftMessage_GamePlayerLeftReason_Parse( - const std::string& name, GamePlayerLeftMessage_GamePlayerLeftReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GamePlayerLeftMessage_GamePlayerLeftReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( GamePlayerLeftMessage_GamePlayerLeftReason_entries, 3, name, &int_value); @@ -2427,14 +2018,14 @@ bool GamePlayerLeftMessage_GamePlayerLeftReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::leftOnRequest; constexpr GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::leftKicked; constexpr GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::leftError; constexpr GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::GamePlayerLeftReason_MIN; constexpr GamePlayerLeftMessage_GamePlayerLeftReason GamePlayerLeftMessage::GamePlayerLeftReason_MAX; constexpr int GamePlayerLeftMessage::GamePlayerLeftReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool RemovedFromGameMessage_RemovedFromGameReason_IsValid(int value) { switch (value) { case 0: @@ -2497,7 +2088,7 @@ const std::string& RemovedFromGameMessage_RemovedFromGameReason_Name( RemovedFromGameMessage_RemovedFromGameReason_strings[idx].get(); } bool RemovedFromGameMessage_RemovedFromGameReason_Parse( - const std::string& name, RemovedFromGameMessage_RemovedFromGameReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RemovedFromGameMessage_RemovedFromGameReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( RemovedFromGameMessage_RemovedFromGameReason_entries, 7, name, &int_value); @@ -2506,7 +2097,7 @@ bool RemovedFromGameMessage_RemovedFromGameReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::removedOnRequest; constexpr RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::kickedFromGame; constexpr RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::gameIsFull; @@ -2517,7 +2108,7 @@ constexpr RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::g constexpr RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::RemovedFromGameReason_MIN; constexpr RemovedFromGameMessage_RemovedFromGameReason RemovedFromGameMessage::RemovedFromGameReason_MAX; constexpr int RemovedFromGameMessage::RemovedFromGameReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool RejectGameInvitationMessage_RejectGameInvReason_IsValid(int value) { switch (value) { case 0: @@ -2560,7 +2151,7 @@ const std::string& RejectGameInvitationMessage_RejectGameInvReason_Name( RejectGameInvitationMessage_RejectGameInvReason_strings[idx].get(); } bool RejectGameInvitationMessage_RejectGameInvReason_Parse( - const std::string& name, RejectGameInvitationMessage_RejectGameInvReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RejectGameInvitationMessage_RejectGameInvReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( RejectGameInvitationMessage_RejectGameInvReason_entries, 2, name, &int_value); @@ -2569,37 +2160,41 @@ bool RejectGameInvitationMessage_RejectGameInvReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::rejectReasonNo; constexpr RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::rejectReasonBusy; constexpr RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::RejectGameInvReason_MIN; constexpr RejectGameInvitationMessage_RejectGameInvReason RejectGameInvitationMessage::RejectGameInvReason_MAX; constexpr int RejectGameInvitationMessage::RejectGameInvReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool StartEventMessage_StartEventType_IsValid(int value) { switch (value) { case 0: case 1: + case 2: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed StartEventMessage_StartEventType_strings[2] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed StartEventMessage_StartEventType_strings[3] = {}; static const char StartEventMessage_StartEventType_names[] = + "reentryEvent" "rejoinEvent" "startEvent"; static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry StartEventMessage_StartEventType_entries[] = { - { {StartEventMessage_StartEventType_names + 0, 11}, 1 }, - { {StartEventMessage_StartEventType_names + 11, 10}, 0 }, + { {StartEventMessage_StartEventType_names + 0, 12}, 2 }, + { {StartEventMessage_StartEventType_names + 12, 11}, 1 }, + { {StartEventMessage_StartEventType_names + 23, 10}, 0 }, }; static const int StartEventMessage_StartEventType_entries_by_number[] = { - 1, // 0 -> startEvent - 0, // 1 -> rejoinEvent + 2, // 0 -> startEvent + 1, // 1 -> rejoinEvent + 0, // 2 -> reentryEvent }; const std::string& StartEventMessage_StartEventType_Name( @@ -2608,32 +2203,33 @@ const std::string& StartEventMessage_StartEventType_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( StartEventMessage_StartEventType_entries, StartEventMessage_StartEventType_entries_by_number, - 2, StartEventMessage_StartEventType_strings); + 3, StartEventMessage_StartEventType_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( StartEventMessage_StartEventType_entries, StartEventMessage_StartEventType_entries_by_number, - 2, value); + 3, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : StartEventMessage_StartEventType_strings[idx].get(); } bool StartEventMessage_StartEventType_Parse( - const std::string& name, StartEventMessage_StartEventType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StartEventMessage_StartEventType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - StartEventMessage_StartEventType_entries, 2, name, &int_value); + StartEventMessage_StartEventType_entries, 3, name, &int_value); if (success) { *value = static_cast(int_value); } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr StartEventMessage_StartEventType StartEventMessage::startEvent; constexpr StartEventMessage_StartEventType StartEventMessage::rejoinEvent; +constexpr StartEventMessage_StartEventType StartEventMessage::reentryEvent; constexpr StartEventMessage_StartEventType StartEventMessage::StartEventType_MIN; constexpr StartEventMessage_StartEventType StartEventMessage::StartEventType_MAX; constexpr int StartEventMessage::StartEventType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool YourActionRejectedMessage_RejectionReason_IsValid(int value) { switch (value) { case 1: @@ -2680,7 +2276,7 @@ const std::string& YourActionRejectedMessage_RejectionReason_Name( YourActionRejectedMessage_RejectionReason_strings[idx].get(); } bool YourActionRejectedMessage_RejectionReason_Parse( - const std::string& name, YourActionRejectedMessage_RejectionReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, YourActionRejectedMessage_RejectionReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( YourActionRejectedMessage_RejectionReason_entries, 3, name, &int_value); @@ -2689,14 +2285,14 @@ bool YourActionRejectedMessage_RejectionReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::rejectedInvalidGameState; constexpr YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::rejectedNotYourTurn; constexpr YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::rejectedActionNotAllowed; constexpr YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::RejectionReason_MIN; constexpr YourActionRejectedMessage_RejectionReason YourActionRejectedMessage::RejectionReason_MAX; constexpr int YourActionRejectedMessage::RejectionReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool AskKickDeniedMessage_KickDeniedReason_IsValid(int value) { switch (value) { case 0: @@ -2751,7 +2347,7 @@ const std::string& AskKickDeniedMessage_KickDeniedReason_Name( AskKickDeniedMessage_KickDeniedReason_strings[idx].get(); } bool AskKickDeniedMessage_KickDeniedReason_Parse( - const std::string& name, AskKickDeniedMessage_KickDeniedReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AskKickDeniedMessage_KickDeniedReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( AskKickDeniedMessage_KickDeniedReason_entries, 5, name, &int_value); @@ -2760,7 +2356,7 @@ bool AskKickDeniedMessage_KickDeniedReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedInvalidGameState; constexpr AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedNotPossible; constexpr AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDeniedTryAgainLater; @@ -2769,7 +2365,7 @@ constexpr AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::kickDenied constexpr AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::KickDeniedReason_MIN; constexpr AskKickDeniedMessage_KickDeniedReason AskKickDeniedMessage::KickDeniedReason_MAX; constexpr int AskKickDeniedMessage::KickDeniedReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool VoteKickReplyMessage_VoteKickReplyType_IsValid(int value) { switch (value) { case 0: @@ -2816,7 +2412,7 @@ const std::string& VoteKickReplyMessage_VoteKickReplyType_Name( VoteKickReplyMessage_VoteKickReplyType_strings[idx].get(); } bool VoteKickReplyMessage_VoteKickReplyType_Parse( - const std::string& name, VoteKickReplyMessage_VoteKickReplyType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VoteKickReplyMessage_VoteKickReplyType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( VoteKickReplyMessage_VoteKickReplyType_entries, 3, name, &int_value); @@ -2825,14 +2421,14 @@ bool VoteKickReplyMessage_VoteKickReplyType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::voteKickAck; constexpr VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::voteKickDeniedInvalid; constexpr VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::voteKickDeniedAlreadyVoted; constexpr VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::VoteKickReplyType_MIN; constexpr VoteKickReplyMessage_VoteKickReplyType VoteKickReplyMessage::VoteKickReplyType_MAX; constexpr int VoteKickReplyMessage::VoteKickReplyType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool EndKickPetitionMessage_PetitionEndReason_IsValid(int value) { switch (value) { case 0: @@ -2883,7 +2479,7 @@ const std::string& EndKickPetitionMessage_PetitionEndReason_Name( EndKickPetitionMessage_PetitionEndReason_strings[idx].get(); } bool EndKickPetitionMessage_PetitionEndReason_Parse( - const std::string& name, EndKickPetitionMessage_PetitionEndReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EndKickPetitionMessage_PetitionEndReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( EndKickPetitionMessage_PetitionEndReason_entries, 4, name, &int_value); @@ -2892,7 +2488,7 @@ bool EndKickPetitionMessage_PetitionEndReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionEndEnoughVotes; constexpr EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionEndTooFewPlayers; constexpr EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petitionEndPlayerLeft; @@ -2900,7 +2496,7 @@ constexpr EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::petit constexpr EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::PetitionEndReason_MIN; constexpr EndKickPetitionMessage_PetitionEndReason EndKickPetitionMessage::PetitionEndReason_MAX; constexpr int EndKickPetitionMessage::PetitionEndReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool StatisticsMessage_StatisticsData_StatisticsType_IsValid(int value) { switch (value) { case 1: @@ -2939,7 +2535,7 @@ const std::string& StatisticsMessage_StatisticsData_StatisticsType_Name( StatisticsMessage_StatisticsData_StatisticsType_strings[idx].get(); } bool StatisticsMessage_StatisticsData_StatisticsType_Parse( - const std::string& name, StatisticsMessage_StatisticsData_StatisticsType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StatisticsMessage_StatisticsData_StatisticsType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( StatisticsMessage_StatisticsData_StatisticsType_entries, 1, name, &int_value); @@ -2948,12 +2544,12 @@ bool StatisticsMessage_StatisticsData_StatisticsType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_StatisticsData::statNumberOfPlayers; constexpr StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_StatisticsData::StatisticsType_MIN; constexpr StatisticsMessage_StatisticsData_StatisticsType StatisticsMessage_StatisticsData::StatisticsType_MAX; constexpr int StatisticsMessage_StatisticsData::StatisticsType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool ChatMessage_ChatType_IsValid(int value) { switch (value) { case 0: @@ -3008,7 +2604,7 @@ const std::string& ChatMessage_ChatType_Name( ChatMessage_ChatType_strings[idx].get(); } bool ChatMessage_ChatType_Parse( - const std::string& name, ChatMessage_ChatType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChatMessage_ChatType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( ChatMessage_ChatType_entries, 5, name, &int_value); @@ -3017,7 +2613,7 @@ bool ChatMessage_ChatType_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ChatMessage_ChatType ChatMessage::chatTypeLobby; constexpr ChatMessage_ChatType ChatMessage::chatTypeGame; constexpr ChatMessage_ChatType ChatMessage::chatTypeBot; @@ -3026,7 +2622,7 @@ constexpr ChatMessage_ChatType ChatMessage::chatTypePrivate; constexpr ChatMessage_ChatType ChatMessage::ChatType_MIN; constexpr ChatMessage_ChatType ChatMessage::ChatType_MAX; constexpr int ChatMessage::ChatType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool TimeoutWarningMessage_TimeoutReason_IsValid(int value) { switch (value) { case 0: @@ -3073,7 +2669,7 @@ const std::string& TimeoutWarningMessage_TimeoutReason_Name( TimeoutWarningMessage_TimeoutReason_strings[idx].get(); } bool TimeoutWarningMessage_TimeoutReason_Parse( - const std::string& name, TimeoutWarningMessage_TimeoutReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TimeoutWarningMessage_TimeoutReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( TimeoutWarningMessage_TimeoutReason_entries, 3, name, &int_value); @@ -3082,14 +2678,14 @@ bool TimeoutWarningMessage_TimeoutReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutNoDataReceived; constexpr TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutInactiveGame; constexpr TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::timeoutKickAfterAutofold; constexpr TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::TimeoutReason_MIN; constexpr TimeoutWarningMessage_TimeoutReason TimeoutWarningMessage::TimeoutReason_MAX; constexpr int TimeoutWarningMessage::TimeoutReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool ReportAvatarAckMessage_ReportAvatarResult_IsValid(int value) { switch (value) { case 0: @@ -3136,7 +2732,7 @@ const std::string& ReportAvatarAckMessage_ReportAvatarResult_Name( ReportAvatarAckMessage_ReportAvatarResult_strings[idx].get(); } bool ReportAvatarAckMessage_ReportAvatarResult_Parse( - const std::string& name, ReportAvatarAckMessage_ReportAvatarResult* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportAvatarAckMessage_ReportAvatarResult* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( ReportAvatarAckMessage_ReportAvatarResult_entries, 3, name, &int_value); @@ -3145,14 +2741,14 @@ bool ReportAvatarAckMessage_ReportAvatarResult_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::avatarReportAccepted; constexpr ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::avatarReportDuplicate; constexpr ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::avatarReportInvalid; constexpr ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::ReportAvatarResult_MIN; constexpr ReportAvatarAckMessage_ReportAvatarResult ReportAvatarAckMessage::ReportAvatarResult_MAX; constexpr int ReportAvatarAckMessage::ReportAvatarResult_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool ReportGameAckMessage_ReportGameResult_IsValid(int value) { switch (value) { case 0: @@ -3199,7 +2795,7 @@ const std::string& ReportGameAckMessage_ReportGameResult_Name( ReportGameAckMessage_ReportGameResult_strings[idx].get(); } bool ReportGameAckMessage_ReportGameResult_Parse( - const std::string& name, ReportGameAckMessage_ReportGameResult* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportGameAckMessage_ReportGameResult* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( ReportGameAckMessage_ReportGameResult_entries, 3, name, &int_value); @@ -3208,14 +2804,14 @@ bool ReportGameAckMessage_ReportGameResult_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ReportGameAckMessage_ReportGameResult ReportGameAckMessage::gameReportAccepted; constexpr ReportGameAckMessage_ReportGameResult ReportGameAckMessage::gameReportDuplicate; constexpr ReportGameAckMessage_ReportGameResult ReportGameAckMessage::gameReportInvalid; constexpr ReportGameAckMessage_ReportGameResult ReportGameAckMessage::ReportGameResult_MIN; constexpr ReportGameAckMessage_ReportGameResult ReportGameAckMessage::ReportGameResult_MAX; constexpr int ReportGameAckMessage::ReportGameResult_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool ErrorMessage_ErrorReason_IsValid(int value) { switch (value) { case 0: @@ -3310,7 +2906,7 @@ const std::string& ErrorMessage_ErrorReason_Name( ErrorMessage_ErrorReason_strings[idx].get(); } bool ErrorMessage_ErrorReason_Parse( - const std::string& name, ErrorMessage_ErrorReason* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ErrorMessage_ErrorReason* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( ErrorMessage_ErrorReason_entries, 15, name, &int_value); @@ -3319,7 +2915,7 @@ bool ErrorMessage_ErrorReason_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr ErrorMessage_ErrorReason ErrorMessage::custReserved; constexpr ErrorMessage_ErrorReason ErrorMessage::initVersionNotSupported; constexpr ErrorMessage_ErrorReason ErrorMessage::initServerFull; @@ -3338,7 +2934,7 @@ constexpr ErrorMessage_ErrorReason ErrorMessage::sessionTimeout; constexpr ErrorMessage_ErrorReason ErrorMessage::ErrorReason_MIN; constexpr ErrorMessage_ErrorReason ErrorMessage::ErrorReason_MAX; constexpr int ErrorMessage::ErrorReason_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(int value) { switch (value) { case 0: @@ -3381,7 +2977,7 @@ const std::string& AdminRemoveGameAckMessage_AdminRemoveGameResult_Name( AdminRemoveGameAckMessage_AdminRemoveGameResult_strings[idx].get(); } bool AdminRemoveGameAckMessage_AdminRemoveGameResult_Parse( - const std::string& name, AdminRemoveGameAckMessage_AdminRemoveGameResult* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AdminRemoveGameAckMessage_AdminRemoveGameResult* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( AdminRemoveGameAckMessage_AdminRemoveGameResult_entries, 2, name, &int_value); @@ -3390,13 +2986,13 @@ bool AdminRemoveGameAckMessage_AdminRemoveGameResult_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::gameRemoveAccepted; constexpr AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::gameRemoveInvalid; constexpr AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::AdminRemoveGameResult_MIN; constexpr AdminRemoveGameAckMessage_AdminRemoveGameResult AdminRemoveGameAckMessage::AdminRemoveGameResult_MAX; constexpr int AdminRemoveGameAckMessage::AdminRemoveGameResult_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(int value) { switch (value) { case 0: @@ -3451,7 +3047,7 @@ const std::string& AdminBanPlayerAckMessage_AdminBanPlayerResult_Name( AdminBanPlayerAckMessage_AdminBanPlayerResult_strings[idx].get(); } bool AdminBanPlayerAckMessage_AdminBanPlayerResult_Parse( - const std::string& name, AdminBanPlayerAckMessage_AdminBanPlayerResult* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AdminBanPlayerAckMessage_AdminBanPlayerResult* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( AdminBanPlayerAckMessage_AdminBanPlayerResult_entries, 5, name, &int_value); @@ -3460,7 +3056,7 @@ bool AdminBanPlayerAckMessage_AdminBanPlayerResult_Parse( } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerAccepted; constexpr AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerPending; constexpr AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::banPlayerNoDB; @@ -3469,7 +3065,7 @@ constexpr AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage constexpr AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::AdminBanPlayerResult_MIN; constexpr AdminBanPlayerAckMessage_AdminBanPlayerResult AdminBanPlayerAckMessage::AdminBanPlayerResult_MAX; constexpr int AdminBanPlayerAckMessage::AdminBanPlayerResult_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool PokerTHMessage_PokerTHMessageType_IsValid(int value) { switch (value) { case 1: @@ -3553,13 +3149,14 @@ bool PokerTHMessage_PokerTHMessageType_IsValid(int value) { case 79: case 80: case 81: + case 82: return true; default: return false; } } -static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed PokerTHMessage_PokerTHMessageType_strings[81] = {}; +static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed PokerTHMessage_PokerTHMessageType_strings[82] = {}; static const char PokerTHMessage_PokerTHMessageType_names[] = "Type_AdminBanPlayerAckMessage" @@ -3603,6 +3200,7 @@ static const char PokerTHMessage_PokerTHMessageType_names[] = "Type_GameSpectatorJoinedMessage" "Type_GameSpectatorLeftMessage" "Type_GameStartInitialMessage" + "Type_GameStartReentryMessage" "Type_GameStartRejoinMessage" "Type_HandStartMessage" "Type_InitAckMessage" @@ -3686,121 +3284,122 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry PokerTHMessage_PokerTH { {PokerTHMessage_PokerTHMessageType_names + 996, 31}, 80 }, { {PokerTHMessage_PokerTHMessageType_names + 1027, 29}, 81 }, { {PokerTHMessage_PokerTHMessageType_names + 1056, 28}, 38 }, - { {PokerTHMessage_PokerTHMessageType_names + 1084, 27}, 39 }, - { {PokerTHMessage_PokerTHMessageType_names + 1111, 21}, 40 }, - { {PokerTHMessage_PokerTHMessageType_names + 1132, 19}, 6 }, - { {PokerTHMessage_PokerTHMessageType_names + 1151, 16}, 2 }, - { {PokerTHMessage_PokerTHMessageType_names + 1167, 24}, 33 }, - { {PokerTHMessage_PokerTHMessageType_names + 1191, 30}, 32 }, - { {PokerTHMessage_PokerTHMessageType_names + 1221, 28}, 21 }, - { {PokerTHMessage_PokerTHMessageType_names + 1249, 23}, 24 }, - { {PokerTHMessage_PokerTHMessageType_names + 1272, 26}, 25 }, - { {PokerTHMessage_PokerTHMessageType_names + 1298, 23}, 22 }, - { {PokerTHMessage_PokerTHMessageType_names + 1321, 30}, 60 }, - { {PokerTHMessage_PokerTHMessageType_names + 1351, 29}, 30 }, - { {PokerTHMessage_PokerTHMessageType_names + 1380, 28}, 31 }, - { {PokerTHMessage_PokerTHMessageType_names + 1408, 27}, 42 }, - { {PokerTHMessage_PokerTHMessageType_names + 1435, 27}, 54 }, - { {PokerTHMessage_PokerTHMessageType_names + 1462, 27}, 19 }, - { {PokerTHMessage_PokerTHMessageType_names + 1489, 29}, 18 }, - { {PokerTHMessage_PokerTHMessageType_names + 1518, 22}, 12 }, - { {PokerTHMessage_PokerTHMessageType_names + 1540, 29}, 44 }, - { {PokerTHMessage_PokerTHMessageType_names + 1569, 23}, 41 }, - { {PokerTHMessage_PokerTHMessageType_names + 1592, 32}, 34 }, - { {PokerTHMessage_PokerTHMessageType_names + 1624, 27}, 35 }, - { {PokerTHMessage_PokerTHMessageType_names + 1651, 30}, 23 }, - { {PokerTHMessage_PokerTHMessageType_names + 1681, 27}, 29 }, - { {PokerTHMessage_PokerTHMessageType_names + 1708, 27}, 70 }, - { {PokerTHMessage_PokerTHMessageType_names + 1735, 24}, 69 }, - { {PokerTHMessage_PokerTHMessageType_names + 1759, 25}, 72 }, - { {PokerTHMessage_PokerTHMessageType_names + 1784, 22}, 71 }, - { {PokerTHMessage_PokerTHMessageType_names + 1806, 24}, 68 }, - { {PokerTHMessage_PokerTHMessageType_names + 1830, 30}, 51 }, - { {PokerTHMessage_PokerTHMessageType_names + 1860, 25}, 37 }, - { {PokerTHMessage_PokerTHMessageType_names + 1885, 22}, 36 }, - { {PokerTHMessage_PokerTHMessageType_names + 1907, 29}, 57 }, - { {PokerTHMessage_PokerTHMessageType_names + 1936, 22}, 62 }, - { {PokerTHMessage_PokerTHMessageType_names + 1958, 31}, 20 }, - { {PokerTHMessage_PokerTHMessageType_names + 1989, 26}, 67 }, - { {PokerTHMessage_PokerTHMessageType_names + 2015, 25}, 11 }, - { {PokerTHMessage_PokerTHMessageType_names + 2040, 25}, 59 }, - { {PokerTHMessage_PokerTHMessageType_names + 2065, 27}, 58 }, - { {PokerTHMessage_PokerTHMessageType_names + 2092, 30}, 43 }, + { {PokerTHMessage_PokerTHMessageType_names + 1084, 28}, 82 }, + { {PokerTHMessage_PokerTHMessageType_names + 1112, 27}, 39 }, + { {PokerTHMessage_PokerTHMessageType_names + 1139, 21}, 40 }, + { {PokerTHMessage_PokerTHMessageType_names + 1160, 19}, 6 }, + { {PokerTHMessage_PokerTHMessageType_names + 1179, 16}, 2 }, + { {PokerTHMessage_PokerTHMessageType_names + 1195, 24}, 33 }, + { {PokerTHMessage_PokerTHMessageType_names + 1219, 30}, 32 }, + { {PokerTHMessage_PokerTHMessageType_names + 1249, 28}, 21 }, + { {PokerTHMessage_PokerTHMessageType_names + 1277, 23}, 24 }, + { {PokerTHMessage_PokerTHMessageType_names + 1300, 26}, 25 }, + { {PokerTHMessage_PokerTHMessageType_names + 1326, 23}, 22 }, + { {PokerTHMessage_PokerTHMessageType_names + 1349, 30}, 60 }, + { {PokerTHMessage_PokerTHMessageType_names + 1379, 29}, 30 }, + { {PokerTHMessage_PokerTHMessageType_names + 1408, 28}, 31 }, + { {PokerTHMessage_PokerTHMessageType_names + 1436, 27}, 42 }, + { {PokerTHMessage_PokerTHMessageType_names + 1463, 27}, 54 }, + { {PokerTHMessage_PokerTHMessageType_names + 1490, 27}, 19 }, + { {PokerTHMessage_PokerTHMessageType_names + 1517, 29}, 18 }, + { {PokerTHMessage_PokerTHMessageType_names + 1546, 22}, 12 }, + { {PokerTHMessage_PokerTHMessageType_names + 1568, 29}, 44 }, + { {PokerTHMessage_PokerTHMessageType_names + 1597, 23}, 41 }, + { {PokerTHMessage_PokerTHMessageType_names + 1620, 32}, 34 }, + { {PokerTHMessage_PokerTHMessageType_names + 1652, 27}, 35 }, + { {PokerTHMessage_PokerTHMessageType_names + 1679, 30}, 23 }, + { {PokerTHMessage_PokerTHMessageType_names + 1709, 27}, 29 }, + { {PokerTHMessage_PokerTHMessageType_names + 1736, 27}, 70 }, + { {PokerTHMessage_PokerTHMessageType_names + 1763, 24}, 69 }, + { {PokerTHMessage_PokerTHMessageType_names + 1787, 25}, 72 }, + { {PokerTHMessage_PokerTHMessageType_names + 1812, 22}, 71 }, + { {PokerTHMessage_PokerTHMessageType_names + 1834, 24}, 68 }, + { {PokerTHMessage_PokerTHMessageType_names + 1858, 30}, 51 }, + { {PokerTHMessage_PokerTHMessageType_names + 1888, 25}, 37 }, + { {PokerTHMessage_PokerTHMessageType_names + 1913, 22}, 36 }, + { {PokerTHMessage_PokerTHMessageType_names + 1935, 29}, 57 }, + { {PokerTHMessage_PokerTHMessageType_names + 1964, 22}, 62 }, + { {PokerTHMessage_PokerTHMessageType_names + 1986, 31}, 20 }, + { {PokerTHMessage_PokerTHMessageType_names + 2017, 26}, 67 }, + { {PokerTHMessage_PokerTHMessageType_names + 2043, 25}, 11 }, + { {PokerTHMessage_PokerTHMessageType_names + 2068, 25}, 59 }, + { {PokerTHMessage_PokerTHMessageType_names + 2093, 27}, 58 }, + { {PokerTHMessage_PokerTHMessageType_names + 2120, 30}, 43 }, }; static const int PokerTHMessage_PokerTHMessageType_entries_by_number[] = { 6, // 1 -> Type_AnnounceMessage - 44, // 2 -> Type_InitMessage + 45, // 2 -> Type_InitMessage 10, // 3 -> Type_AuthServerChallengeMessage 9, // 4 -> Type_AuthClientResponseMessage 11, // 5 -> Type_AuthServerVerificationMessage - 43, // 6 -> Type_InitAckMessage + 44, // 6 -> Type_InitAckMessage 15, // 7 -> Type_AvatarRequestMessage 14, // 8 -> Type_AvatarHeaderMessage 12, // 9 -> Type_AvatarDataMessage 13, // 10 -> Type_AvatarEndMessage - 77, // 11 -> Type_UnknownAvatarMessage - 58, // 12 -> Type_PlayerListMessage + 78, // 11 -> Type_UnknownAvatarMessage + 59, // 12 -> Type_PlayerListMessage 30, // 13 -> Type_GameListNewMessage 35, // 14 -> Type_GameListUpdateMessage 31, // 15 -> Type_GameListPlayerJoinedMessage 32, // 16 -> Type_GameListPlayerLeftMessage 29, // 17 -> Type_GameListAdminChangedMessage - 57, // 18 -> Type_PlayerInfoRequestMessage - 56, // 19 -> Type_PlayerInfoReplyMessage - 75, // 20 -> Type_SubscriptionRequestMessage - 47, // 21 -> Type_JoinExistingGameMessage - 50, // 22 -> Type_JoinNewGameMessage - 63, // 23 -> Type_RejoinExistingGameMessage - 48, // 24 -> Type_JoinGameAckMessage - 49, // 25 -> Type_JoinGameFailedMessage + 58, // 18 -> Type_PlayerInfoRequestMessage + 57, // 19 -> Type_PlayerInfoReplyMessage + 76, // 20 -> Type_SubscriptionRequestMessage + 48, // 21 -> Type_JoinExistingGameMessage + 51, // 22 -> Type_JoinNewGameMessage + 64, // 23 -> Type_RejoinExistingGameMessage + 49, // 24 -> Type_JoinGameAckMessage + 50, // 25 -> Type_JoinGameFailedMessage 36, // 26 -> Type_GamePlayerJoinedMessage 37, // 27 -> Type_GamePlayerLeftMessage 28, // 28 -> Type_GameAdminChangedMessage - 64, // 29 -> Type_RemovedFromGameMessage - 52, // 30 -> Type_KickPlayerRequestMessage - 53, // 31 -> Type_LeaveGameRequestMessage - 46, // 32 -> Type_InvitePlayerToGameMessage - 45, // 33 -> Type_InviteNotifyMessage - 61, // 34 -> Type_RejectGameInvitationMessage - 62, // 35 -> Type_RejectInvNotifyMessage - 72, // 36 -> Type_StartEventMessage - 71, // 37 -> Type_StartEventAckMessage + 65, // 29 -> Type_RemovedFromGameMessage + 53, // 30 -> Type_KickPlayerRequestMessage + 54, // 31 -> Type_LeaveGameRequestMessage + 47, // 32 -> Type_InvitePlayerToGameMessage + 46, // 33 -> Type_InviteNotifyMessage + 62, // 34 -> Type_RejectGameInvitationMessage + 63, // 35 -> Type_RejectInvNotifyMessage + 73, // 36 -> Type_StartEventMessage + 72, // 37 -> Type_StartEventAckMessage 40, // 38 -> Type_GameStartInitialMessage - 41, // 39 -> Type_GameStartRejoinMessage - 42, // 40 -> Type_HandStartMessage - 60, // 41 -> Type_PlayersTurnMessage - 54, // 42 -> Type_MyActionRequestMessage - 80, // 43 -> Type_YourActionRejectedMessage - 59, // 44 -> Type_PlayersActionDoneMessage + 42, // 39 -> Type_GameStartRejoinMessage + 43, // 40 -> Type_HandStartMessage + 61, // 41 -> Type_PlayersTurnMessage + 55, // 42 -> Type_MyActionRequestMessage + 81, // 43 -> Type_YourActionRejectedMessage + 60, // 44 -> Type_PlayersActionDoneMessage 19, // 45 -> Type_DealFlopCardsMessage 21, // 46 -> Type_DealTurnCardMessage 20, // 47 -> Type_DealRiverCardMessage 5, // 48 -> Type_AllInShowCardsMessage 26, // 49 -> Type_EndOfHandShowCardsMessage 25, // 50 -> Type_EndOfHandHideCardsMessage - 70, // 51 -> Type_ShowMyCardsRequestMessage + 71, // 51 -> Type_ShowMyCardsRequestMessage 4, // 52 -> Type_AfterHandShowCardsMessage 24, // 53 -> Type_EndOfGameMessage - 55, // 54 -> Type_PlayerIdChangedMessage + 56, // 54 -> Type_PlayerIdChangedMessage 8, // 55 -> Type_AskKickPlayerMessage 7, // 56 -> Type_AskKickDeniedMessage - 73, // 57 -> Type_StartKickPetitionMessage - 79, // 58 -> Type_VoteKickRequestMessage - 78, // 59 -> Type_VoteKickReplyMessage - 51, // 60 -> Type_KickPetitionUpdateMessage + 74, // 57 -> Type_StartKickPetitionMessage + 80, // 58 -> Type_VoteKickRequestMessage + 79, // 59 -> Type_VoteKickReplyMessage + 52, // 60 -> Type_KickPetitionUpdateMessage 23, // 61 -> Type_EndKickPetitionMessage - 74, // 62 -> Type_StatisticsMessage + 75, // 62 -> Type_StatisticsMessage 18, // 63 -> Type_ChatRequestMessage 16, // 64 -> Type_ChatMessage 17, // 65 -> Type_ChatRejectMessage 22, // 66 -> Type_DialogMessage - 76, // 67 -> Type_TimeoutWarningMessage - 69, // 68 -> Type_ResetTimeoutMessage - 66, // 69 -> Type_ReportAvatarMessage - 65, // 70 -> Type_ReportAvatarAckMessage - 68, // 71 -> Type_ReportGameMessage - 67, // 72 -> Type_ReportGameAckMessage + 77, // 67 -> Type_TimeoutWarningMessage + 70, // 68 -> Type_ResetTimeoutMessage + 67, // 69 -> Type_ReportAvatarMessage + 66, // 70 -> Type_ReportAvatarAckMessage + 69, // 71 -> Type_ReportGameMessage + 68, // 72 -> Type_ReportGameAckMessage 27, // 73 -> Type_ErrorMessage 3, // 74 -> Type_AdminRemoveGameMessage 2, // 75 -> Type_AdminRemoveGameAckMessage @@ -3810,6 +3409,7 @@ static const int PokerTHMessage_PokerTHMessageType_entries_by_number[] = { 34, // 79 -> Type_GameListSpectatorLeftMessage 38, // 80 -> Type_GameSpectatorJoinedMessage 39, // 81 -> Type_GameSpectatorLeftMessage + 41, // 82 -> Type_GameStartReentryMessage }; const std::string& PokerTHMessage_PokerTHMessageType_Name( @@ -3818,26 +3418,26 @@ const std::string& PokerTHMessage_PokerTHMessageType_Name( ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings( PokerTHMessage_PokerTHMessageType_entries, PokerTHMessage_PokerTHMessageType_entries_by_number, - 81, PokerTHMessage_PokerTHMessageType_strings); + 82, PokerTHMessage_PokerTHMessageType_strings); (void) dummy; int idx = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName( PokerTHMessage_PokerTHMessageType_entries, PokerTHMessage_PokerTHMessageType_entries_by_number, - 81, value); + 82, value); return idx == -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() : PokerTHMessage_PokerTHMessageType_strings[idx].get(); } bool PokerTHMessage_PokerTHMessageType_Parse( - const std::string& name, PokerTHMessage_PokerTHMessageType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PokerTHMessage_PokerTHMessageType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( - PokerTHMessage_PokerTHMessageType_entries, 81, name, &int_value); + PokerTHMessage_PokerTHMessageType_entries, 82, name, &int_value); if (success) { *value = static_cast(int_value); } return success; } -#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AnnounceMessage; constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_InitMessage; constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_AuthServerChallengeMessage; @@ -3919,10 +3519,11 @@ constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListSpectat constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameListSpectatorLeftMessage; constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameSpectatorJoinedMessage; constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameSpectatorLeftMessage; +constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::Type_GameStartReentryMessage; constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MIN; constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage::PokerTHMessageType_MAX; constexpr int PokerTHMessage::PokerTHMessageType_ARRAYSIZE; -#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) +#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) bool NetGameMode_IsValid(int value) { switch (value) { case 1: @@ -3969,7 +3570,7 @@ const std::string& NetGameMode_Name( NetGameMode_strings[idx].get(); } bool NetGameMode_Parse( - const std::string& name, NetGameMode* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameMode* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetGameMode_entries, 3, name, &int_value); @@ -4036,7 +3637,7 @@ const std::string& NetGameState_Name( NetGameState_strings[idx].get(); } bool NetGameState_Parse( - const std::string& name, NetGameState* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameState* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetGameState_entries, 6, name, &int_value); @@ -4107,7 +3708,7 @@ const std::string& NetPlayerAction_Name( NetPlayerAction_strings[idx].get(); } bool NetPlayerAction_Parse( - const std::string& name, NetPlayerAction* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetPlayerAction* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetPlayerAction_entries, 7, name, &int_value); @@ -4162,7 +3763,7 @@ const std::string& NetPlayerState_Name( NetPlayerState_strings[idx].get(); } bool NetPlayerState_Parse( - const std::string& name, NetPlayerState* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetPlayerState* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetPlayerState_entries, 3, name, &int_value); @@ -4217,7 +3818,7 @@ const std::string& NetPlayerInfoRights_Name( NetPlayerInfoRights_strings[idx].get(); } bool NetPlayerInfoRights_Parse( - const std::string& name, NetPlayerInfoRights* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetPlayerInfoRights* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetPlayerInfoRights_entries, 3, name, &int_value); @@ -4272,7 +3873,7 @@ const std::string& NetAvatarType_Name( NetAvatarType_strings[idx].get(); } bool NetAvatarType_Parse( - const std::string& name, NetAvatarType* value) { + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetAvatarType* value) { int int_value; bool success = ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue( NetAvatarType_entries, 3, name, &int_value); @@ -4284,8 +3885,6 @@ bool NetAvatarType_Parse( // =================================================================== -void NetGameInfo::InitAsDefaultInstance() { -} class NetGameInfo::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -4293,13 +3892,13 @@ class NetGameInfo::_Internal { (*has_bits)[0] |= 1u; } static void set_has_netgametype(HasBits* has_bits) { - (*has_bits)[0] |= 1024u; + (*has_bits)[0] |= 16384u; } static void set_has_maxnumplayers(HasBits* has_bits) { (*has_bits)[0] |= 2u; } static void set_has_raiseintervalmode(HasBits* has_bits) { - (*has_bits)[0] |= 2048u; + (*has_bits)[0] |= 32768u; } static void set_has_raiseeveryhands(HasBits* has_bits) { (*has_bits)[0] |= 4u; @@ -4308,7 +3907,7 @@ class NetGameInfo::_Internal { (*has_bits)[0] |= 8u; } static void set_has_endraisemode(HasBits* has_bits) { - (*has_bits)[0] |= 4096u; + (*has_bits)[0] |= 65536u; } static void set_has_endraisesmallblindvalue(HasBits* has_bits) { (*has_bits)[0] |= 16u; @@ -4329,18 +3928,33 @@ class NetGameInfo::_Internal { (*has_bits)[0] |= 512u; } static void set_has_allowspectators(HasBits* has_bits) { + (*has_bits)[0] |= 131072u; + } + static void set_has_allowlatereg(HasBits* has_bits) { + (*has_bits)[0] |= 1024u; + } + static void set_has_allowreentries(HasBits* has_bits) { + (*has_bits)[0] |= 2048u; + } + static void set_has_numreentries(HasBits* has_bits) { + (*has_bits)[0] |= 4096u; + } + static void set_has_maxtimelatereg(HasBits* has_bits) { (*has_bits)[0] |= 8192u; } static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[0] & 0x00001fe3) ^ 0x00001fe3) != 0; + return ((has_bits[0] & 0x0001c3e3) ^ 0x0001c3e3) != 0; } }; -NetGameInfo::NetGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +NetGameInfo::NetGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), manualblinds_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:NetGameInfo) } NetGameInfo::NetGameInfo(const NetGameInfo& from) @@ -4349,9 +3963,12 @@ NetGameInfo::NetGameInfo(const NetGameInfo& from) manualblinds_(from.manualblinds_) { _internal_metadata_.MergeFrom(from._internal_metadata_); gamename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + gamename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_gamename()) { - gamename_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_gamename(), - GetArena()); + gamename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_gamename(), + GetArenaForAllocation()); } ::memcpy(&maxnumplayers_, &from.maxnumplayers_, static_cast(reinterpret_cast(&allowspectators_) - @@ -4359,26 +3976,30 @@ NetGameInfo::NetGameInfo(const NetGameInfo& from) // @@protoc_insertion_point(copy_constructor:NetGameInfo) } -void NetGameInfo::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_NetGameInfo_pokerth_2eproto.base); - gamename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&maxnumplayers_, 0, static_cast( - reinterpret_cast(&startmoney_) - - reinterpret_cast(&maxnumplayers_)) + sizeof(startmoney_)); - netgametype_ = 1; - raiseintervalmode_ = 1; - endraisemode_ = 1; - allowspectators_ = true; +inline void NetGameInfo::SharedCtor() { +gamename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + gamename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&maxnumplayers_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&maxtimelatereg_) - + reinterpret_cast(&maxnumplayers_)) + sizeof(maxtimelatereg_)); +netgametype_ = 1; +raiseintervalmode_ = 1; +endraisemode_ = 1; +allowspectators_ = true; } NetGameInfo::~NetGameInfo() { // @@protoc_insertion_point(destructor:NetGameInfo) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void NetGameInfo::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void NetGameInfo::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); gamename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -4391,15 +4012,10 @@ void NetGameInfo::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void NetGameInfo::SetCachedSize(int size) const { _cached_size_.Set(size); } -const NetGameInfo& NetGameInfo::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_NetGameInfo_pokerth_2eproto.base); - return *internal_default_instance(); -} - void NetGameInfo::Clear() { // @@protoc_insertion_point(message_clear_start:NetGameInfo) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -4413,12 +4029,14 @@ void NetGameInfo::Clear() { reinterpret_cast(&playeractiontimeout_) - reinterpret_cast(&maxnumplayers_)) + sizeof(playeractiontimeout_)); } - if (cached_has_bits & 0x00003f00u) { + if (cached_has_bits & 0x0000ff00u) { ::memset(&firstsmallblind_, 0, static_cast( - reinterpret_cast(&startmoney_) - - reinterpret_cast(&firstsmallblind_)) + sizeof(startmoney_)); + reinterpret_cast(&maxtimelatereg_) - + reinterpret_cast(&firstsmallblind_)) + sizeof(maxtimelatereg_)); netgametype_ = 1; raiseintervalmode_ = 1; + } + if (cached_has_bits & 0x00030000u) { endraisemode_ = 1; allowspectators_ = true; } @@ -4429,173 +4047,223 @@ void NetGameInfo::Clear() { const char* NetGameInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required string gameName = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_gamename(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameInfo.NetGameType netGameType = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameInfo_NetGameType_IsValid(val))) { _internal_set_netgametype(static_cast<::NetGameInfo_NetGameType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 maxNumPlayers = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_maxnumplayers(&has_bits); maxnumplayers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameInfo_RaiseIntervalMode_IsValid(val))) { _internal_set_raiseintervalmode(static_cast<::NetGameInfo_RaiseIntervalMode>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 raiseEveryHands = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_raiseeveryhands(&has_bits); raiseeveryhands_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 raiseEveryMinutes = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { _Internal::set_has_raiseeveryminutes(&has_bits); raiseeveryminutes_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameInfo_EndRaiseMode_IsValid(val))) { _internal_set_endraisemode(static_cast<::NetGameInfo_EndRaiseMode>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(7, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 endRaiseSmallBlindValue = 8; case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { _Internal::set_has_endraisesmallblindvalue(&has_bits); endraisesmallblindvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 proposedGuiSpeed = 9; case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 72)) { _Internal::set_has_proposedguispeed(&has_bits); proposedguispeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 delayBetweenHands = 10; case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 80)) { _Internal::set_has_delaybetweenhands(&has_bits); delaybetweenhands_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerActionTimeout = 11; case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 88)) { _Internal::set_has_playeractiontimeout(&has_bits); playeractiontimeout_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 firstSmallBlind = 12; case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 96)) { _Internal::set_has_firstsmallblind(&has_bits); firstsmallblind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 startMoney = 13; case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 104)) { _Internal::set_has_startmoney(&has_bits); startmoney_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated uint32 manualBlinds = 14 [packed = true]; case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_manualblinds(), ptr, ctx); CHK_(ptr); - } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112) { + } else if (static_cast(tag) == 112) { _internal_add_manualblinds(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bool allowSpectators = 15 [default = true]; case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 120)) { _Internal::set_has_allowspectators(&has_bits); allowspectators_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); + // optional bool allowLateReg = 16 [default = false]; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 128)) { + _Internal::set_has_allowlatereg(&has_bits); + allowlatereg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; continue; - } + // optional bool allowReentries = 17 [default = false]; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 136)) { + _Internal::set_has_allowreentries(&has_bits); + allowreentries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 numReentries = 18 [default = 0]; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 144)) { + _Internal::set_has_numreentries(&has_bits); + numreentries_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // optional uint32 maxTimeLateReg = 19 [default = 0]; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 152)) { + _Internal::set_has_maxtimelatereg(&has_bits); + maxtimelatereg_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* NetGameInfo::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* NetGameInfo::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:NetGameInfo) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -4606,7 +4274,7 @@ failure: } // required .NetGameInfo.NetGameType netGameType = 2; - if (cached_has_bits & 0x00000400u) { + if (cached_has_bits & 0x00004000u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( 2, this->_internal_netgametype(), target); @@ -4619,7 +4287,7 @@ failure: } // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; - if (cached_has_bits & 0x00000800u) { + if (cached_has_bits & 0x00008000u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( 4, this->_internal_raiseintervalmode(), target); @@ -4638,7 +4306,7 @@ failure: } // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; - if (cached_has_bits & 0x00001000u) { + if (cached_has_bits & 0x00010000u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( 7, this->_internal_endraisemode(), target); @@ -4690,11 +4358,35 @@ failure: } // optional bool allowSpectators = 15 [default = true]; - if (cached_has_bits & 0x00002000u) { + if (cached_has_bits & 0x00020000u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(15, this->_internal_allowspectators(), target); } + // optional bool allowLateReg = 16 [default = false]; + if (cached_has_bits & 0x00000400u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_allowlatereg(), target); + } + + // optional bool allowReentries = 17 [default = false]; + if (cached_has_bits & 0x00000800u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(17, this->_internal_allowreentries(), target); + } + + // optional uint32 numReentries = 18 [default = 0]; + if (cached_has_bits & 0x00001000u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(18, this->_internal_numreentries(), target); + } + + // optional uint32 maxTimeLateReg = 19 [default = 0]; + if (cached_has_bits & 0x00002000u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(19, this->_internal_maxtimelatereg(), target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -4716,44 +4408,32 @@ size_t NetGameInfo::RequiredFieldsByteSizeFallback() const { if (_internal_has_maxnumplayers()) { // required uint32 maxNumPlayers = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_maxnumplayers()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_maxnumplayers()); } if (_internal_has_proposedguispeed()) { // required uint32 proposedGuiSpeed = 9; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_proposedguispeed()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_proposedguispeed()); } if (_internal_has_delaybetweenhands()) { // required uint32 delayBetweenHands = 10; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_delaybetweenhands()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_delaybetweenhands()); } if (_internal_has_playeractiontimeout()) { // required uint32 playerActionTimeout = 11; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playeractiontimeout()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playeractiontimeout()); } if (_internal_has_firstsmallblind()) { // required uint32 firstSmallBlind = 12; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_firstsmallblind()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_firstsmallblind()); } if (_internal_has_startmoney()) { // required uint32 startMoney = 13; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_startmoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startmoney()); } if (_internal_has_netgametype()) { @@ -4780,41 +4460,29 @@ size_t NetGameInfo::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:NetGameInfo) size_t total_size = 0; - if (((_has_bits_[0] & 0x00001fe3) ^ 0x00001fe3) == 0) { // All required fields are present. + if (((_has_bits_[0] & 0x0001c3e3) ^ 0x0001c3e3) == 0) { // All required fields are present. // required string gameName = 1; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_gamename()); // required uint32 maxNumPlayers = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_maxnumplayers()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_maxnumplayers()); // required uint32 proposedGuiSpeed = 9; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_proposedguispeed()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_proposedguispeed()); // required uint32 delayBetweenHands = 10; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_delaybetweenhands()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_delaybetweenhands()); // required uint32 playerActionTimeout = 11; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playeractiontimeout()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playeractiontimeout()); // required uint32 firstSmallBlind = 12; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_firstsmallblind()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_firstsmallblind()); // required uint32 startMoney = 13; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_startmoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startmoney()); // required .NetGameInfo.NetGameType netGameType = 2; total_size += 1 + @@ -4831,7 +4499,7 @@ size_t NetGameInfo::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -4842,7 +4510,7 @@ size_t NetGameInfo::ByteSizeLong() const { if (data_size > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + static_cast(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _manualblinds_cached_byte_size_.store(cached_size, @@ -4854,28 +4522,48 @@ size_t NetGameInfo::ByteSizeLong() const { if (cached_has_bits & 0x0000001cu) { // optional uint32 raiseEveryHands = 5; if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_raiseeveryhands()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_raiseeveryhands()); } // optional uint32 raiseEveryMinutes = 6; if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_raiseeveryminutes()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_raiseeveryminutes()); } // optional uint32 endRaiseSmallBlindValue = 8; if (cached_has_bits & 0x00000010u) { - total_size += 1 + + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_endraisesmallblindvalue()); + } + + } + if (cached_has_bits & 0x00003c00u) { + // optional bool allowLateReg = 16 [default = false]; + if (cached_has_bits & 0x00000400u) { + total_size += 2 + 1; + } + + // optional bool allowReentries = 17 [default = false]; + if (cached_has_bits & 0x00000800u) { + total_size += 2 + 1; + } + + // optional uint32 numReentries = 18 [default = 0]; + if (cached_has_bits & 0x00001000u) { + total_size += 2 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_endraisesmallblindvalue()); + this->_internal_numreentries()); + } + + // optional uint32 maxTimeLateReg = 19 [default = 0]; + if (cached_has_bits & 0x00002000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxtimelatereg()); } } // optional bool allowSpectators = 15 [default = true]; - if (cached_has_bits & 0x00002000u) { + if (cached_has_bits & 0x00020000u) { total_size += 1 + 1; } @@ -4896,8 +4584,7 @@ void NetGameInfo::CheckTypeAndMergeFrom( void NetGameInfo::MergeFrom(const NetGameInfo& from) { // @@protoc_insertion_point(class_specific_merge_from_start:NetGameInfo) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; manualblinds_.MergeFrom(from.manualblinds_); @@ -4929,7 +4616,7 @@ void NetGameInfo::MergeFrom(const NetGameInfo& from) { } _has_bits_[0] |= cached_has_bits; } - if (cached_has_bits & 0x00003f00u) { + if (cached_has_bits & 0x0000ff00u) { if (cached_has_bits & 0x00000100u) { firstsmallblind_ = from.firstsmallblind_; } @@ -4937,19 +4624,35 @@ void NetGameInfo::MergeFrom(const NetGameInfo& from) { startmoney_ = from.startmoney_; } if (cached_has_bits & 0x00000400u) { - netgametype_ = from.netgametype_; + allowlatereg_ = from.allowlatereg_; } if (cached_has_bits & 0x00000800u) { - raiseintervalmode_ = from.raiseintervalmode_; + allowreentries_ = from.allowreentries_; } if (cached_has_bits & 0x00001000u) { - endraisemode_ = from.endraisemode_; + numreentries_ = from.numreentries_; } if (cached_has_bits & 0x00002000u) { + maxtimelatereg_ = from.maxtimelatereg_; + } + if (cached_has_bits & 0x00004000u) { + netgametype_ = from.netgametype_; + } + if (cached_has_bits & 0x00008000u) { + raiseintervalmode_ = from.raiseintervalmode_; + } + _has_bits_[0] |= cached_has_bits; + } + if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00010000u) { + endraisemode_ = from.endraisemode_; + } + if (cached_has_bits & 0x00020000u) { allowspectators_ = from.allowspectators_; } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void NetGameInfo::CopyFrom(const NetGameInfo& from) { @@ -4966,13 +4669,19 @@ bool NetGameInfo::IsInitialized() const { void NetGameInfo::InternalSwap(NetGameInfo* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); manualblinds_.InternalSwap(&other->manualblinds_); - gamename_.Swap(&other->gamename_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &gamename_, lhs_arena, + &other->gamename_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(NetGameInfo, startmoney_) - + sizeof(NetGameInfo::startmoney_) + PROTOBUF_FIELD_OFFSET(NetGameInfo, maxtimelatereg_) + + sizeof(NetGameInfo::maxtimelatereg_) - PROTOBUF_FIELD_OFFSET(NetGameInfo, maxnumplayers_)>( reinterpret_cast(&maxnumplayers_), reinterpret_cast(&other->maxnumplayers_)); @@ -4989,8 +4698,6 @@ std::string NetGameInfo::GetTypeName() const { // =================================================================== -void PlayerResult::InitAsDefaultInstance() { -} class PlayerResult::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -5017,11 +4724,14 @@ class PlayerResult::_Internal { } }; -PlayerResult::PlayerResult(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +PlayerResult::PlayerResult(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), besthandposition_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayerResult) } PlayerResult::PlayerResult(const PlayerResult& from) @@ -5035,20 +4745,22 @@ PlayerResult::PlayerResult(const PlayerResult& from) // @@protoc_insertion_point(copy_constructor:PlayerResult) } -void PlayerResult::SharedCtor() { - ::memset(&playerid_, 0, static_cast( - reinterpret_cast(&cardsvalue_) - - reinterpret_cast(&playerid_)) + sizeof(cardsvalue_)); +inline void PlayerResult::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&playerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&cardsvalue_) - + reinterpret_cast(&playerid_)) + sizeof(cardsvalue_)); } PlayerResult::~PlayerResult() { // @@protoc_insertion_point(destructor:PlayerResult) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayerResult::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayerResult::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void PlayerResult::ArenaDtor(void* object) { @@ -5060,15 +4772,10 @@ void PlayerResult::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void PlayerResult::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayerResult& PlayerResult::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayerResult_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayerResult::Clear() { // @@protoc_insertion_point(message_clear_start:PlayerResult) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -5086,97 +4793,103 @@ void PlayerResult::Clear() { const char* PlayerResult::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 playerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 resultCard1 = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_resultcard1(&has_bits); resultcard1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 resultCard2 = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_resultcard2(&has_bits); resultcard2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated uint32 bestHandPosition = 4 [packed = true]; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_besthandposition(), ptr, ctx); CHK_(ptr); - } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32) { + } else if (static_cast(tag) == 32) { _internal_add_besthandposition(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 moneyWon = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_moneywon(&has_bits); moneywon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerMoney = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { _Internal::set_has_playermoney(&has_bits); playermoney_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 cardsValue = 7; case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { _Internal::set_has_cardsvalue(&has_bits); cardsvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayerResult::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayerResult::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayerResult) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -5239,37 +4952,27 @@ size_t PlayerResult::RequiredFieldsByteSizeFallback() const { if (_internal_has_playerid()) { // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_resultcard1()) { // required uint32 resultCard1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_resultcard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_resultcard1()); } if (_internal_has_resultcard2()) { // required uint32 resultCard2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_resultcard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_resultcard2()); } if (_internal_has_moneywon()) { // required uint32 moneyWon = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_moneywon()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_moneywon()); } if (_internal_has_playermoney()) { // required uint32 playerMoney = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); } return total_size; @@ -5280,34 +4983,24 @@ size_t PlayerResult::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present. // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required uint32 resultCard1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_resultcard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_resultcard1()); // required uint32 resultCard2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_resultcard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_resultcard2()); // required uint32 moneyWon = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_moneywon()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_moneywon()); // required uint32 playerMoney = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -5318,7 +5011,7 @@ size_t PlayerResult::ByteSizeLong() const { if (data_size > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + static_cast(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _besthandposition_cached_byte_size_.store(cached_size, @@ -5329,9 +5022,7 @@ size_t PlayerResult::ByteSizeLong() const { // optional uint32 cardsValue = 7; cached_has_bits = _has_bits_[0]; if (cached_has_bits & 0x00000020u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_cardsvalue()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_cardsvalue()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -5351,8 +5042,7 @@ void PlayerResult::CheckTypeAndMergeFrom( void PlayerResult::MergeFrom(const PlayerResult& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayerResult) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; besthandposition_.MergeFrom(from.besthandposition_); @@ -5378,6 +5068,7 @@ void PlayerResult::MergeFrom(const PlayerResult& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayerResult::CopyFrom(const PlayerResult& from) { @@ -5394,7 +5085,7 @@ bool PlayerResult::IsInitialized() const { void PlayerResult::InternalSwap(PlayerResult* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); besthandposition_.InternalSwap(&other->besthandposition_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< @@ -5412,8 +5103,6 @@ std::string PlayerResult::GetTypeName() const { // =================================================================== -void AnnounceMessage_Version::InitAsDefaultInstance() { -} class AnnounceMessage_Version::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -5428,10 +5117,13 @@ class AnnounceMessage_Version::_Internal { } }; -AnnounceMessage_Version::AnnounceMessage_Version(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AnnounceMessage_Version::AnnounceMessage_Version(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AnnounceMessage.Version) } AnnounceMessage_Version::AnnounceMessage_Version(const AnnounceMessage_Version& from) @@ -5444,20 +5136,22 @@ AnnounceMessage_Version::AnnounceMessage_Version(const AnnounceMessage_Version& // @@protoc_insertion_point(copy_constructor:AnnounceMessage.Version) } -void AnnounceMessage_Version::SharedCtor() { - ::memset(&majorversion_, 0, static_cast( - reinterpret_cast(&minorversion_) - - reinterpret_cast(&majorversion_)) + sizeof(minorversion_)); +inline void AnnounceMessage_Version::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&majorversion_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&minorversion_) - + reinterpret_cast(&majorversion_)) + sizeof(minorversion_)); } AnnounceMessage_Version::~AnnounceMessage_Version() { // @@protoc_insertion_point(destructor:AnnounceMessage.Version) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AnnounceMessage_Version::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AnnounceMessage_Version::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AnnounceMessage_Version::ArenaDtor(void* object) { @@ -5469,15 +5163,10 @@ void AnnounceMessage_Version::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void AnnounceMessage_Version::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AnnounceMessage_Version& AnnounceMessage_Version::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AnnounceMessage_Version_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AnnounceMessage_Version::Clear() { // @@protoc_insertion_point(message_clear_start:AnnounceMessage.Version) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -5494,55 +5183,56 @@ void AnnounceMessage_Version::Clear() { const char* AnnounceMessage_Version::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 majorVersion = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_majorversion(&has_bits); majorversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 minorVersion = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_minorversion(&has_bits); minorversion_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AnnounceMessage_Version::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AnnounceMessage_Version::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AnnounceMessage.Version) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -5572,16 +5262,12 @@ size_t AnnounceMessage_Version::RequiredFieldsByteSizeFallback() const { if (_internal_has_majorversion()) { // required uint32 majorVersion = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_majorversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_majorversion()); } if (_internal_has_minorversion()) { // required uint32 minorVersion = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_minorversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_minorversion()); } return total_size; @@ -5592,19 +5278,15 @@ size_t AnnounceMessage_Version::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 majorVersion = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_majorversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_majorversion()); // required uint32 minorVersion = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_minorversion()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_minorversion()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -5625,8 +5307,7 @@ void AnnounceMessage_Version::CheckTypeAndMergeFrom( void AnnounceMessage_Version::MergeFrom(const AnnounceMessage_Version& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AnnounceMessage.Version) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -5639,6 +5320,7 @@ void AnnounceMessage_Version::MergeFrom(const AnnounceMessage_Version& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AnnounceMessage_Version::CopyFrom(const AnnounceMessage_Version& from) { @@ -5655,7 +5337,7 @@ bool AnnounceMessage_Version::IsInitialized() const { void AnnounceMessage_Version::InternalSwap(AnnounceMessage_Version* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AnnounceMessage_Version, minorversion_) @@ -5672,12 +5354,6 @@ std::string AnnounceMessage_Version::GetTypeName() const { // =================================================================== -void AnnounceMessage::InitAsDefaultInstance() { - ::_AnnounceMessage_default_instance_._instance.get_mutable()->protocolversion_ = const_cast< ::AnnounceMessage_Version*>( - ::AnnounceMessage_Version::internal_default_instance()); - ::_AnnounceMessage_default_instance_._instance.get_mutable()->latestgameversion_ = const_cast< ::AnnounceMessage_Version*>( - ::AnnounceMessage_Version::internal_default_instance()); -} class AnnounceMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -5711,10 +5387,13 @@ const ::AnnounceMessage_Version& AnnounceMessage::_Internal::latestgameversion(const AnnounceMessage* msg) { return *msg->latestgameversion_; } -AnnounceMessage::AnnounceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AnnounceMessage::AnnounceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AnnounceMessage) } AnnounceMessage::AnnounceMessage(const AnnounceMessage& from) @@ -5737,21 +5416,22 @@ AnnounceMessage::AnnounceMessage(const AnnounceMessage& from) // @@protoc_insertion_point(copy_constructor:AnnounceMessage) } -void AnnounceMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AnnounceMessage_pokerth_2eproto.base); - ::memset(&protocolversion_, 0, static_cast( - reinterpret_cast(&numplayersonserver_) - - reinterpret_cast(&protocolversion_)) + sizeof(numplayersonserver_)); +inline void AnnounceMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&protocolversion_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&numplayersonserver_) - + reinterpret_cast(&protocolversion_)) + sizeof(numplayersonserver_)); } AnnounceMessage::~AnnounceMessage() { // @@protoc_insertion_point(destructor:AnnounceMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AnnounceMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AnnounceMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete protocolversion_; if (this != internal_default_instance()) delete latestgameversion_; } @@ -5765,15 +5445,10 @@ void AnnounceMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AnnounceMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AnnounceMessage& AnnounceMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AnnounceMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AnnounceMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AnnounceMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -5800,81 +5475,85 @@ void AnnounceMessage::Clear() { const char* AnnounceMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .AnnounceMessage.Version protocolVersion = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_protocolversion(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .AnnounceMessage.Version latestGameVersion = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_latestgameversion(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 latestBetaRevision = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_latestbetarevision(&has_bits); latestbetarevision_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .AnnounceMessage.ServerType serverType = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::AnnounceMessage_ServerType_IsValid(val))) { _internal_set_servertype(static_cast<::AnnounceMessage_ServerType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 numPlayersOnServer = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_numplayersonserver(&has_bits); numplayersonserver_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AnnounceMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AnnounceMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AnnounceMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -5941,9 +5620,7 @@ size_t AnnounceMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_latestbetarevision()) { // required uint32 latestBetaRevision = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_latestbetarevision()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_latestbetarevision()); } if (_internal_has_servertype()) { @@ -5954,9 +5631,7 @@ size_t AnnounceMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_numplayersonserver()) { // required uint32 numPlayersOnServer = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numplayersonserver()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numplayersonserver()); } return total_size; @@ -5977,23 +5652,19 @@ size_t AnnounceMessage::ByteSizeLong() const { *latestgameversion_); // required uint32 latestBetaRevision = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_latestbetarevision()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_latestbetarevision()); // required .AnnounceMessage.ServerType serverType = 4; total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_servertype()); // required uint32 numPlayersOnServer = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numplayersonserver()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numplayersonserver()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6014,8 +5685,7 @@ void AnnounceMessage::CheckTypeAndMergeFrom( void AnnounceMessage::MergeFrom(const AnnounceMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AnnounceMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -6037,6 +5707,7 @@ void AnnounceMessage::MergeFrom(const AnnounceMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AnnounceMessage::CopyFrom(const AnnounceMessage& from) { @@ -6059,7 +5730,7 @@ bool AnnounceMessage::IsInitialized() const { void AnnounceMessage::InternalSwap(AnnounceMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AnnounceMessage, numplayersonserver_) @@ -6076,10 +5747,6 @@ std::string AnnounceMessage::GetTypeName() const { // =================================================================== -void InitMessage::InitAsDefaultInstance() { - ::_InitMessage_default_instance_._instance.get_mutable()->requestedversion_ = const_cast< ::AnnounceMessage_Version*>( - ::AnnounceMessage_Version::internal_default_instance()); -} class InitMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -6117,10 +5784,13 @@ const ::AnnounceMessage_Version& InitMessage::_Internal::requestedversion(const InitMessage* msg) { return *msg->requestedversion_; } -InitMessage::InitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +InitMessage::InitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:InitMessage) } InitMessage::InitMessage(const InitMessage& from) @@ -6128,29 +5798,44 @@ InitMessage::InitMessage(const InitMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); mylastsessionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + mylastsessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_mylastsessionid()) { - mylastsessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_mylastsessionid(), - GetArena()); + mylastsessionid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_mylastsessionid(), + GetArenaForAllocation()); } authserverpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + authserverpassword_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_authserverpassword()) { - authserverpassword_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_authserverpassword(), - GetArena()); + authserverpassword_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_authserverpassword(), + GetArenaForAllocation()); } nickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + nickname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_nickname()) { - nickname_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_nickname(), - GetArena()); + nickname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_nickname(), + GetArenaForAllocation()); } clientuserdata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + clientuserdata_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_clientuserdata()) { - clientuserdata_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_clientuserdata(), - GetArena()); + clientuserdata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_clientuserdata(), + GetArenaForAllocation()); } avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_avatarhash()) { - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_avatarhash(), - GetArena()); + avatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_avatarhash(), + GetArenaForAllocation()); } if (from._internal_has_requestedversion()) { requestedversion_ = new ::AnnounceMessage_Version(*from.requestedversion_); @@ -6163,26 +5848,42 @@ InitMessage::InitMessage(const InitMessage& from) // @@protoc_insertion_point(copy_constructor:InitMessage) } -void InitMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_InitMessage_pokerth_2eproto.base); - mylastsessionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - authserverpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - nickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - clientuserdata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&requestedversion_, 0, static_cast( - reinterpret_cast(&login_) - - reinterpret_cast(&requestedversion_)) + sizeof(login_)); +inline void InitMessage::SharedCtor() { +mylastsessionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + mylastsessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +authserverpassword_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + authserverpassword_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +nickname_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + nickname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +clientuserdata_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + clientuserdata_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&requestedversion_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&login_) - + reinterpret_cast(&requestedversion_)) + sizeof(login_)); } InitMessage::~InitMessage() { // @@protoc_insertion_point(destructor:InitMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void InitMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void InitMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); mylastsessionid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); authserverpassword_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); nickname_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); @@ -6200,15 +5901,10 @@ void InitMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void InitMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const InitMessage& InitMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_InitMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void InitMessage::Clear() { // @@protoc_insertion_point(message_clear_start:InitMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6246,106 +5942,113 @@ void InitMessage::Clear() { const char* InitMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .AnnounceMessage.Version requestedVersion = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_requestedversion(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 buildId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_buildid(&has_bits); buildid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bytes myLastSessionId = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { auto str = _internal_mutable_mylastsessionid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional string authServerPassword = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { auto str = _internal_mutable_authserverpassword(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .InitMessage.LoginType login = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::InitMessage_LoginType_IsValid(val))) { _internal_set_login(static_cast<::InitMessage_LoginType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional string nickName = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { auto str = _internal_mutable_nickname(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bytes clientUserData = 7; case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { auto str = _internal_mutable_clientuserdata(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bytes avatarHash = 8; case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { auto str = _internal_mutable_avatarhash(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* InitMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* InitMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:InitMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -6421,9 +6124,7 @@ size_t InitMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_buildid()) { // required uint32 buildId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_buildid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_buildid()); } if (_internal_has_login()) { @@ -6445,9 +6146,7 @@ size_t InitMessage::ByteSizeLong() const { *requestedversion_); // required uint32 buildId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_buildid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_buildid()); // required .InitMessage.LoginType login = 5; total_size += 1 + @@ -6456,7 +6155,7 @@ size_t InitMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6515,8 +6214,7 @@ void InitMessage::CheckTypeAndMergeFrom( void InitMessage::MergeFrom(const InitMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:InitMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -6547,6 +6245,7 @@ void InitMessage::MergeFrom(const InitMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void InitMessage::CopyFrom(const InitMessage& from) { @@ -6566,13 +6265,35 @@ bool InitMessage::IsInitialized() const { void InitMessage::InternalSwap(InitMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - mylastsessionid_.Swap(&other->mylastsessionid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - authserverpassword_.Swap(&other->authserverpassword_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - nickname_.Swap(&other->nickname_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - clientuserdata_.Swap(&other->clientuserdata_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - avatarhash_.Swap(&other->avatarhash_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &mylastsessionid_, lhs_arena, + &other->mylastsessionid_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &authserverpassword_, lhs_arena, + &other->authserverpassword_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &nickname_, lhs_arena, + &other->nickname_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &clientuserdata_, lhs_arena, + &other->clientuserdata_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &avatarhash_, lhs_arena, + &other->avatarhash_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(InitMessage, login_) + sizeof(InitMessage::login_) @@ -6588,8 +6309,6 @@ std::string InitMessage::GetTypeName() const { // =================================================================== -void AuthServerChallengeMessage::InitAsDefaultInstance() { -} class AuthServerChallengeMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -6601,10 +6320,13 @@ class AuthServerChallengeMessage::_Internal { } }; -AuthServerChallengeMessage::AuthServerChallengeMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AuthServerChallengeMessage::AuthServerChallengeMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AuthServerChallengeMessage) } AuthServerChallengeMessage::AuthServerChallengeMessage(const AuthServerChallengeMessage& from) @@ -6612,26 +6334,32 @@ AuthServerChallengeMessage::AuthServerChallengeMessage(const AuthServerChallenge _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); serverchallenge_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + serverchallenge_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_serverchallenge()) { - serverchallenge_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_serverchallenge(), - GetArena()); + serverchallenge_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_serverchallenge(), + GetArenaForAllocation()); } // @@protoc_insertion_point(copy_constructor:AuthServerChallengeMessage) } -void AuthServerChallengeMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AuthServerChallengeMessage_pokerth_2eproto.base); - serverchallenge_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +inline void AuthServerChallengeMessage::SharedCtor() { +serverchallenge_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + serverchallenge_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } AuthServerChallengeMessage::~AuthServerChallengeMessage() { // @@protoc_insertion_point(destructor:AuthServerChallengeMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AuthServerChallengeMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AuthServerChallengeMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); serverchallenge_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -6644,15 +6372,10 @@ void AuthServerChallengeMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Aren void AuthServerChallengeMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AuthServerChallengeMessage& AuthServerChallengeMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AuthServerChallengeMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AuthServerChallengeMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AuthServerChallengeMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6667,47 +6390,47 @@ void AuthServerChallengeMessage::Clear() { const char* AuthServerChallengeMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required bytes serverChallenge = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_serverchallenge(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AuthServerChallengeMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AuthServerChallengeMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AuthServerChallengeMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -6735,7 +6458,7 @@ size_t AuthServerChallengeMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_serverchallenge()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6756,13 +6479,13 @@ void AuthServerChallengeMessage::CheckTypeAndMergeFrom( void AuthServerChallengeMessage::MergeFrom(const AuthServerChallengeMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AuthServerChallengeMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_serverchallenge()) { _internal_set_serverchallenge(from._internal_serverchallenge()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AuthServerChallengeMessage::CopyFrom(const AuthServerChallengeMessage& from) { @@ -6779,9 +6502,15 @@ bool AuthServerChallengeMessage::IsInitialized() const { void AuthServerChallengeMessage::InternalSwap(AuthServerChallengeMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - serverchallenge_.Swap(&other->serverchallenge_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &serverchallenge_, lhs_arena, + &other->serverchallenge_, rhs_arena + ); } std::string AuthServerChallengeMessage::GetTypeName() const { @@ -6791,8 +6520,6 @@ std::string AuthServerChallengeMessage::GetTypeName() const { // =================================================================== -void AuthClientResponseMessage::InitAsDefaultInstance() { -} class AuthClientResponseMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -6804,10 +6531,13 @@ class AuthClientResponseMessage::_Internal { } }; -AuthClientResponseMessage::AuthClientResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AuthClientResponseMessage::AuthClientResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AuthClientResponseMessage) } AuthClientResponseMessage::AuthClientResponseMessage(const AuthClientResponseMessage& from) @@ -6815,26 +6545,32 @@ AuthClientResponseMessage::AuthClientResponseMessage(const AuthClientResponseMes _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); clientresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + clientresponse_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_clientresponse()) { - clientresponse_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_clientresponse(), - GetArena()); + clientresponse_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_clientresponse(), + GetArenaForAllocation()); } // @@protoc_insertion_point(copy_constructor:AuthClientResponseMessage) } -void AuthClientResponseMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AuthClientResponseMessage_pokerth_2eproto.base); - clientresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +inline void AuthClientResponseMessage::SharedCtor() { +clientresponse_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + clientresponse_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } AuthClientResponseMessage::~AuthClientResponseMessage() { // @@protoc_insertion_point(destructor:AuthClientResponseMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AuthClientResponseMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AuthClientResponseMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); clientresponse_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -6847,15 +6583,10 @@ void AuthClientResponseMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void AuthClientResponseMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AuthClientResponseMessage& AuthClientResponseMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AuthClientResponseMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AuthClientResponseMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AuthClientResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6870,47 +6601,47 @@ void AuthClientResponseMessage::Clear() { const char* AuthClientResponseMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required bytes clientResponse = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_clientresponse(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AuthClientResponseMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AuthClientResponseMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AuthClientResponseMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -6938,7 +6669,7 @@ size_t AuthClientResponseMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_clientresponse()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -6959,13 +6690,13 @@ void AuthClientResponseMessage::CheckTypeAndMergeFrom( void AuthClientResponseMessage::MergeFrom(const AuthClientResponseMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AuthClientResponseMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_clientresponse()) { _internal_set_clientresponse(from._internal_clientresponse()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AuthClientResponseMessage::CopyFrom(const AuthClientResponseMessage& from) { @@ -6982,9 +6713,15 @@ bool AuthClientResponseMessage::IsInitialized() const { void AuthClientResponseMessage::InternalSwap(AuthClientResponseMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - clientresponse_.Swap(&other->clientresponse_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &clientresponse_, lhs_arena, + &other->clientresponse_, rhs_arena + ); } std::string AuthClientResponseMessage::GetTypeName() const { @@ -6994,8 +6731,6 @@ std::string AuthClientResponseMessage::GetTypeName() const { // =================================================================== -void AuthServerVerificationMessage::InitAsDefaultInstance() { -} class AuthServerVerificationMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -7007,10 +6742,13 @@ class AuthServerVerificationMessage::_Internal { } }; -AuthServerVerificationMessage::AuthServerVerificationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AuthServerVerificationMessage::AuthServerVerificationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AuthServerVerificationMessage) } AuthServerVerificationMessage::AuthServerVerificationMessage(const AuthServerVerificationMessage& from) @@ -7018,26 +6756,32 @@ AuthServerVerificationMessage::AuthServerVerificationMessage(const AuthServerVer _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); serververification_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + serververification_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_serververification()) { - serververification_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_serververification(), - GetArena()); + serververification_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_serververification(), + GetArenaForAllocation()); } // @@protoc_insertion_point(copy_constructor:AuthServerVerificationMessage) } -void AuthServerVerificationMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AuthServerVerificationMessage_pokerth_2eproto.base); - serververification_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +inline void AuthServerVerificationMessage::SharedCtor() { +serververification_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + serververification_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } AuthServerVerificationMessage::~AuthServerVerificationMessage() { // @@protoc_insertion_point(destructor:AuthServerVerificationMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AuthServerVerificationMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AuthServerVerificationMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); serververification_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -7050,15 +6794,10 @@ void AuthServerVerificationMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::A void AuthServerVerificationMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AuthServerVerificationMessage& AuthServerVerificationMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AuthServerVerificationMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AuthServerVerificationMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AuthServerVerificationMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7073,47 +6812,47 @@ void AuthServerVerificationMessage::Clear() { const char* AuthServerVerificationMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required bytes serverVerification = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_serververification(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AuthServerVerificationMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AuthServerVerificationMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AuthServerVerificationMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -7141,7 +6880,7 @@ size_t AuthServerVerificationMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize( this->_internal_serververification()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7162,13 +6901,13 @@ void AuthServerVerificationMessage::CheckTypeAndMergeFrom( void AuthServerVerificationMessage::MergeFrom(const AuthServerVerificationMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AuthServerVerificationMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_serververification()) { _internal_set_serververification(from._internal_serververification()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AuthServerVerificationMessage::CopyFrom(const AuthServerVerificationMessage& from) { @@ -7185,9 +6924,15 @@ bool AuthServerVerificationMessage::IsInitialized() const { void AuthServerVerificationMessage::InternalSwap(AuthServerVerificationMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - serververification_.Swap(&other->serververification_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &serververification_, lhs_arena, + &other->serververification_, rhs_arena + ); } std::string AuthServerVerificationMessage::GetTypeName() const { @@ -7197,8 +6942,6 @@ std::string AuthServerVerificationMessage::GetTypeName() const { // =================================================================== -void InitAckMessage::InitAsDefaultInstance() { -} class InitAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -7219,10 +6962,13 @@ class InitAckMessage::_Internal { } }; -InitAckMessage::InitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +InitAckMessage::InitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:InitAckMessage) } InitAckMessage::InitAckMessage(const InitAckMessage& from) @@ -7230,14 +6976,20 @@ InitAckMessage::InitAckMessage(const InitAckMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); yoursessionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + yoursessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_yoursessionid()) { - yoursessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_yoursessionid(), - GetArena()); + yoursessionid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_yoursessionid(), + GetArenaForAllocation()); } youravatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + youravatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_youravatarhash()) { - youravatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_youravatarhash(), - GetArena()); + youravatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_youravatarhash(), + GetArenaForAllocation()); } ::memcpy(&yourplayerid_, &from.yourplayerid_, static_cast(reinterpret_cast(&rejoingameid_) - @@ -7245,23 +6997,30 @@ InitAckMessage::InitAckMessage(const InitAckMessage& from) // @@protoc_insertion_point(copy_constructor:InitAckMessage) } -void InitAckMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_InitAckMessage_pokerth_2eproto.base); - yoursessionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - youravatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&yourplayerid_, 0, static_cast( - reinterpret_cast(&rejoingameid_) - - reinterpret_cast(&yourplayerid_)) + sizeof(rejoingameid_)); +inline void InitAckMessage::SharedCtor() { +yoursessionid_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + yoursessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +youravatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + youravatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&yourplayerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&rejoingameid_) - + reinterpret_cast(&yourplayerid_)) + sizeof(rejoingameid_)); } InitAckMessage::~InitAckMessage() { // @@protoc_insertion_point(destructor:InitAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void InitAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void InitAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); yoursessionid_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); youravatarhash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -7275,15 +7034,10 @@ void InitAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void InitAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const InitAckMessage& InitAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_InitAckMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void InitAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:InitAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7308,71 +7062,74 @@ void InitAckMessage::Clear() { const char* InitAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required bytes yourSessionId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_yoursessionid(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 yourPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_yourplayerid(&has_bits); yourplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bytes yourAvatarHash = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { auto str = _internal_mutable_youravatarhash(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 rejoinGameId = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_rejoingameid(&has_bits); rejoingameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* InitAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* InitAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:InitAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -7421,9 +7178,7 @@ size_t InitAckMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_yourplayerid()) { // required uint32 yourPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_yourplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_yourplayerid()); } return total_size; @@ -7439,14 +7194,12 @@ size_t InitAckMessage::ByteSizeLong() const { this->_internal_yoursessionid()); // required uint32 yourPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_yourplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_yourplayerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7460,9 +7213,7 @@ size_t InitAckMessage::ByteSizeLong() const { // optional uint32 rejoinGameId = 4; if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_rejoingameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_rejoingameid()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -7482,8 +7233,7 @@ void InitAckMessage::CheckTypeAndMergeFrom( void InitAckMessage::MergeFrom(const InitAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:InitAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -7502,6 +7252,7 @@ void InitAckMessage::MergeFrom(const InitAckMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void InitAckMessage::CopyFrom(const InitAckMessage& from) { @@ -7518,10 +7269,20 @@ bool InitAckMessage::IsInitialized() const { void InitAckMessage::InternalSwap(InitAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - yoursessionid_.Swap(&other->yoursessionid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - youravatarhash_.Swap(&other->youravatarhash_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &yoursessionid_, lhs_arena, + &other->yoursessionid_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &youravatarhash_, lhs_arena, + &other->youravatarhash_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(InitAckMessage, rejoingameid_) + sizeof(InitAckMessage::rejoingameid_) @@ -7537,8 +7298,6 @@ std::string InitAckMessage::GetTypeName() const { // =================================================================== -void AvatarRequestMessage::InitAsDefaultInstance() { -} class AvatarRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -7553,10 +7312,13 @@ class AvatarRequestMessage::_Internal { } }; -AvatarRequestMessage::AvatarRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AvatarRequestMessage::AvatarRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AvatarRequestMessage) } AvatarRequestMessage::AvatarRequestMessage(const AvatarRequestMessage& from) @@ -7564,28 +7326,34 @@ AvatarRequestMessage::AvatarRequestMessage(const AvatarRequestMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_avatarhash()) { - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_avatarhash(), - GetArena()); + avatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_avatarhash(), + GetArenaForAllocation()); } requestid_ = from.requestid_; // @@protoc_insertion_point(copy_constructor:AvatarRequestMessage) } -void AvatarRequestMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AvatarRequestMessage_pokerth_2eproto.base); - avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - requestid_ = 0u; +inline void AvatarRequestMessage::SharedCtor() { +avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +requestid_ = 0u; } AvatarRequestMessage::~AvatarRequestMessage() { // @@protoc_insertion_point(destructor:AvatarRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AvatarRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AvatarRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); avatarhash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -7598,15 +7366,10 @@ void AvatarRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AvatarRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AvatarRequestMessage& AvatarRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AvatarRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AvatarRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AvatarRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7622,55 +7385,56 @@ void AvatarRequestMessage::Clear() { const char* AvatarRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestid(&has_bits); requestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bytes avatarHash = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_avatarhash(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AvatarRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AvatarRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AvatarRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -7707,9 +7471,7 @@ size_t AvatarRequestMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_requestid()) { // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } return total_size; @@ -7725,14 +7487,12 @@ size_t AvatarRequestMessage::ByteSizeLong() const { this->_internal_avatarhash()); // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7753,8 +7513,7 @@ void AvatarRequestMessage::CheckTypeAndMergeFrom( void AvatarRequestMessage::MergeFrom(const AvatarRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AvatarRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -7767,6 +7526,7 @@ void AvatarRequestMessage::MergeFrom(const AvatarRequestMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AvatarRequestMessage::CopyFrom(const AvatarRequestMessage& from) { @@ -7783,9 +7543,15 @@ bool AvatarRequestMessage::IsInitialized() const { void AvatarRequestMessage::InternalSwap(AvatarRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - avatarhash_.Swap(&other->avatarhash_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &avatarhash_, lhs_arena, + &other->avatarhash_, rhs_arena + ); swap(requestid_, other->requestid_); } @@ -7796,8 +7562,6 @@ std::string AvatarRequestMessage::GetTypeName() const { // =================================================================== -void AvatarHeaderMessage::InitAsDefaultInstance() { -} class AvatarHeaderMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -7815,10 +7579,13 @@ class AvatarHeaderMessage::_Internal { } }; -AvatarHeaderMessage::AvatarHeaderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AvatarHeaderMessage::AvatarHeaderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AvatarHeaderMessage) } AvatarHeaderMessage::AvatarHeaderMessage(const AvatarHeaderMessage& from) @@ -7831,21 +7598,23 @@ AvatarHeaderMessage::AvatarHeaderMessage(const AvatarHeaderMessage& from) // @@protoc_insertion_point(copy_constructor:AvatarHeaderMessage) } -void AvatarHeaderMessage::SharedCtor() { - ::memset(&requestid_, 0, static_cast( - reinterpret_cast(&avatarsize_) - - reinterpret_cast(&requestid_)) + sizeof(avatarsize_)); - avatartype_ = 1; +inline void AvatarHeaderMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&requestid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&avatarsize_) - + reinterpret_cast(&requestid_)) + sizeof(avatarsize_)); +avatartype_ = 1; } AvatarHeaderMessage::~AvatarHeaderMessage() { // @@protoc_insertion_point(destructor:AvatarHeaderMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AvatarHeaderMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AvatarHeaderMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AvatarHeaderMessage::ArenaDtor(void* object) { @@ -7857,15 +7626,10 @@ void AvatarHeaderMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AvatarHeaderMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AvatarHeaderMessage& AvatarHeaderMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AvatarHeaderMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AvatarHeaderMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AvatarHeaderMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -7883,67 +7647,69 @@ void AvatarHeaderMessage::Clear() { const char* AvatarHeaderMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestid(&has_bits); requestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetAvatarType avatarType = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetAvatarType_IsValid(val))) { _internal_set_avatartype(static_cast<::NetAvatarType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 avatarSize = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_avatarsize(&has_bits); avatarsize_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AvatarHeaderMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AvatarHeaderMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AvatarHeaderMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -7980,16 +7746,12 @@ size_t AvatarHeaderMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_requestid()) { // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } if (_internal_has_avatarsize()) { // required uint32 avatarSize = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_avatarsize()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_avatarsize()); } if (_internal_has_avatartype()) { @@ -7997,6 +7759,7 @@ size_t AvatarHeaderMessage::RequiredFieldsByteSizeFallback() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_avatartype()); } + return total_size; } size_t AvatarHeaderMessage::ByteSizeLong() const { @@ -8005,14 +7768,10 @@ size_t AvatarHeaderMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); // required uint32 avatarSize = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_avatarsize()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_avatarsize()); // required .NetAvatarType avatarType = 2; total_size += 1 + @@ -8021,7 +7780,7 @@ size_t AvatarHeaderMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8042,8 +7801,7 @@ void AvatarHeaderMessage::CheckTypeAndMergeFrom( void AvatarHeaderMessage::MergeFrom(const AvatarHeaderMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AvatarHeaderMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -8059,6 +7817,7 @@ void AvatarHeaderMessage::MergeFrom(const AvatarHeaderMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AvatarHeaderMessage::CopyFrom(const AvatarHeaderMessage& from) { @@ -8075,7 +7834,7 @@ bool AvatarHeaderMessage::IsInitialized() const { void AvatarHeaderMessage::InternalSwap(AvatarHeaderMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AvatarHeaderMessage, avatarsize_) @@ -8093,8 +7852,6 @@ std::string AvatarHeaderMessage::GetTypeName() const { // =================================================================== -void AvatarDataMessage::InitAsDefaultInstance() { -} class AvatarDataMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -8109,10 +7866,13 @@ class AvatarDataMessage::_Internal { } }; -AvatarDataMessage::AvatarDataMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AvatarDataMessage::AvatarDataMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AvatarDataMessage) } AvatarDataMessage::AvatarDataMessage(const AvatarDataMessage& from) @@ -8120,28 +7880,34 @@ AvatarDataMessage::AvatarDataMessage(const AvatarDataMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); avatarblock_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarblock_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_avatarblock()) { - avatarblock_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_avatarblock(), - GetArena()); + avatarblock_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_avatarblock(), + GetArenaForAllocation()); } requestid_ = from.requestid_; // @@protoc_insertion_point(copy_constructor:AvatarDataMessage) } -void AvatarDataMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AvatarDataMessage_pokerth_2eproto.base); - avatarblock_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - requestid_ = 0u; +inline void AvatarDataMessage::SharedCtor() { +avatarblock_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarblock_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +requestid_ = 0u; } AvatarDataMessage::~AvatarDataMessage() { // @@protoc_insertion_point(destructor:AvatarDataMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AvatarDataMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AvatarDataMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); avatarblock_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -8154,15 +7920,10 @@ void AvatarDataMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AvatarDataMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AvatarDataMessage& AvatarDataMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AvatarDataMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AvatarDataMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AvatarDataMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8178,55 +7939,56 @@ void AvatarDataMessage::Clear() { const char* AvatarDataMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestid(&has_bits); requestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bytes avatarBlock = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_avatarblock(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AvatarDataMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AvatarDataMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AvatarDataMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -8263,9 +8025,7 @@ size_t AvatarDataMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_requestid()) { // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } return total_size; @@ -8281,14 +8041,12 @@ size_t AvatarDataMessage::ByteSizeLong() const { this->_internal_avatarblock()); // required uint32 requestId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8309,8 +8067,7 @@ void AvatarDataMessage::CheckTypeAndMergeFrom( void AvatarDataMessage::MergeFrom(const AvatarDataMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AvatarDataMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -8323,6 +8080,7 @@ void AvatarDataMessage::MergeFrom(const AvatarDataMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AvatarDataMessage::CopyFrom(const AvatarDataMessage& from) { @@ -8339,9 +8097,15 @@ bool AvatarDataMessage::IsInitialized() const { void AvatarDataMessage::InternalSwap(AvatarDataMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - avatarblock_.Swap(&other->avatarblock_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &avatarblock_, lhs_arena, + &other->avatarblock_, rhs_arena + ); swap(requestid_, other->requestid_); } @@ -8352,8 +8116,6 @@ std::string AvatarDataMessage::GetTypeName() const { // =================================================================== -void AvatarEndMessage::InitAsDefaultInstance() { -} class AvatarEndMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -8365,10 +8127,13 @@ class AvatarEndMessage::_Internal { } }; -AvatarEndMessage::AvatarEndMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AvatarEndMessage::AvatarEndMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AvatarEndMessage) } AvatarEndMessage::AvatarEndMessage(const AvatarEndMessage& from) @@ -8379,18 +8144,19 @@ AvatarEndMessage::AvatarEndMessage(const AvatarEndMessage& from) // @@protoc_insertion_point(copy_constructor:AvatarEndMessage) } -void AvatarEndMessage::SharedCtor() { - requestid_ = 0u; +inline void AvatarEndMessage::SharedCtor() { +requestid_ = 0u; } AvatarEndMessage::~AvatarEndMessage() { // @@protoc_insertion_point(destructor:AvatarEndMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AvatarEndMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AvatarEndMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AvatarEndMessage::ArenaDtor(void* object) { @@ -8402,15 +8168,10 @@ void AvatarEndMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AvatarEndMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AvatarEndMessage& AvatarEndMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AvatarEndMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AvatarEndMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AvatarEndMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8422,47 +8183,47 @@ void AvatarEndMessage::Clear() { const char* AvatarEndMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestid(&has_bits); requestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AvatarEndMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AvatarEndMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AvatarEndMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -8486,11 +8247,9 @@ size_t AvatarEndMessage::ByteSizeLong() const { // required uint32 requestId = 1; if (_internal_has_requestid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8511,13 +8270,13 @@ void AvatarEndMessage::CheckTypeAndMergeFrom( void AvatarEndMessage::MergeFrom(const AvatarEndMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AvatarEndMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_requestid()) { _internal_set_requestid(from._internal_requestid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AvatarEndMessage::CopyFrom(const AvatarEndMessage& from) { @@ -8534,7 +8293,7 @@ bool AvatarEndMessage::IsInitialized() const { void AvatarEndMessage::InternalSwap(AvatarEndMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(requestid_, other->requestid_); } @@ -8546,8 +8305,6 @@ std::string AvatarEndMessage::GetTypeName() const { // =================================================================== -void UnknownAvatarMessage::InitAsDefaultInstance() { -} class UnknownAvatarMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -8559,10 +8316,13 @@ class UnknownAvatarMessage::_Internal { } }; -UnknownAvatarMessage::UnknownAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +UnknownAvatarMessage::UnknownAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:UnknownAvatarMessage) } UnknownAvatarMessage::UnknownAvatarMessage(const UnknownAvatarMessage& from) @@ -8573,18 +8333,19 @@ UnknownAvatarMessage::UnknownAvatarMessage(const UnknownAvatarMessage& from) // @@protoc_insertion_point(copy_constructor:UnknownAvatarMessage) } -void UnknownAvatarMessage::SharedCtor() { - requestid_ = 0u; +inline void UnknownAvatarMessage::SharedCtor() { +requestid_ = 0u; } UnknownAvatarMessage::~UnknownAvatarMessage() { // @@protoc_insertion_point(destructor:UnknownAvatarMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void UnknownAvatarMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void UnknownAvatarMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void UnknownAvatarMessage::ArenaDtor(void* object) { @@ -8596,15 +8357,10 @@ void UnknownAvatarMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void UnknownAvatarMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const UnknownAvatarMessage& UnknownAvatarMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_UnknownAvatarMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void UnknownAvatarMessage::Clear() { // @@protoc_insertion_point(message_clear_start:UnknownAvatarMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8616,47 +8372,47 @@ void UnknownAvatarMessage::Clear() { const char* UnknownAvatarMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 requestId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_requestid(&has_bits); requestid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* UnknownAvatarMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* UnknownAvatarMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:UnknownAvatarMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -8680,11 +8436,9 @@ size_t UnknownAvatarMessage::ByteSizeLong() const { // required uint32 requestId = 1; if (_internal_has_requestid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_requestid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_requestid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8705,13 +8459,13 @@ void UnknownAvatarMessage::CheckTypeAndMergeFrom( void UnknownAvatarMessage::MergeFrom(const UnknownAvatarMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:UnknownAvatarMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_requestid()) { _internal_set_requestid(from._internal_requestid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void UnknownAvatarMessage::CopyFrom(const UnknownAvatarMessage& from) { @@ -8728,7 +8482,7 @@ bool UnknownAvatarMessage::IsInitialized() const { void UnknownAvatarMessage::InternalSwap(UnknownAvatarMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(requestid_, other->requestid_); } @@ -8740,8 +8494,6 @@ std::string UnknownAvatarMessage::GetTypeName() const { // =================================================================== -void PlayerListMessage::InitAsDefaultInstance() { -} class PlayerListMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -8756,10 +8508,13 @@ class PlayerListMessage::_Internal { } }; -PlayerListMessage::PlayerListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +PlayerListMessage::PlayerListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayerListMessage) } PlayerListMessage::PlayerListMessage(const PlayerListMessage& from) @@ -8772,20 +8527,22 @@ PlayerListMessage::PlayerListMessage(const PlayerListMessage& from) // @@protoc_insertion_point(copy_constructor:PlayerListMessage) } -void PlayerListMessage::SharedCtor() { - ::memset(&playerid_, 0, static_cast( - reinterpret_cast(&playerlistnotification_) - - reinterpret_cast(&playerid_)) + sizeof(playerlistnotification_)); +inline void PlayerListMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&playerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerlistnotification_) - + reinterpret_cast(&playerid_)) + sizeof(playerlistnotification_)); } PlayerListMessage::~PlayerListMessage() { // @@protoc_insertion_point(destructor:PlayerListMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayerListMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayerListMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void PlayerListMessage::ArenaDtor(void* object) { @@ -8797,15 +8554,10 @@ void PlayerListMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void PlayerListMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayerListMessage& PlayerListMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayerListMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayerListMessage::Clear() { // @@protoc_insertion_point(message_clear_start:PlayerListMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8822,59 +8574,60 @@ void PlayerListMessage::Clear() { const char* PlayerListMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 playerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::PlayerListMessage_PlayerListNotification_IsValid(val))) { _internal_set_playerlistnotification(static_cast<::PlayerListMessage_PlayerListNotification>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayerListMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayerListMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayerListMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -8905,9 +8658,7 @@ size_t PlayerListMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_playerid()) { // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_playerlistnotification()) { @@ -8924,9 +8675,7 @@ size_t PlayerListMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; total_size += 1 + @@ -8935,7 +8684,7 @@ size_t PlayerListMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -8956,8 +8705,7 @@ void PlayerListMessage::CheckTypeAndMergeFrom( void PlayerListMessage::MergeFrom(const PlayerListMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayerListMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -8970,6 +8718,7 @@ void PlayerListMessage::MergeFrom(const PlayerListMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayerListMessage::CopyFrom(const PlayerListMessage& from) { @@ -8986,7 +8735,7 @@ bool PlayerListMessage::IsInitialized() const { void PlayerListMessage::InternalSwap(PlayerListMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(PlayerListMessage, playerlistnotification_) @@ -9003,10 +8752,6 @@ std::string PlayerListMessage::GetTypeName() const { // =================================================================== -void GameListNewMessage::InitAsDefaultInstance() { - ::_GameListNewMessage_default_instance_._instance.get_mutable()->gameinfo_ = const_cast< ::NetGameInfo*>( - ::NetGameInfo::internal_default_instance()); -} class GameListNewMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -9035,12 +8780,15 @@ const ::NetGameInfo& GameListNewMessage::_Internal::gameinfo(const GameListNewMessage* msg) { return *msg->gameinfo_; } -GameListNewMessage::GameListNewMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +GameListNewMessage::GameListNewMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), playerids_(arena), spectatorids_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameListNewMessage) } GameListNewMessage::GameListNewMessage(const GameListNewMessage& from) @@ -9060,22 +8808,23 @@ GameListNewMessage::GameListNewMessage(const GameListNewMessage& from) // @@protoc_insertion_point(copy_constructor:GameListNewMessage) } -void GameListNewMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GameListNewMessage_pokerth_2eproto.base); - ::memset(&gameinfo_, 0, static_cast( - reinterpret_cast(&adminplayerid_) - - reinterpret_cast(&gameinfo_)) + sizeof(adminplayerid_)); - gamemode_ = 1; +inline void GameListNewMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameinfo_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&adminplayerid_) - + reinterpret_cast(&gameinfo_)) + sizeof(adminplayerid_)); +gamemode_ = 1; } GameListNewMessage::~GameListNewMessage() { // @@protoc_insertion_point(destructor:GameListNewMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameListNewMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameListNewMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete gameinfo_; } @@ -9088,15 +8837,10 @@ void GameListNewMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void GameListNewMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameListNewMessage& GameListNewMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameListNewMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameListNewMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameListNewMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9120,102 +8864,108 @@ void GameListNewMessage::Clear() { const char* GameListNewMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameMode gameMode = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameMode_IsValid(val))) { _internal_set_gamemode(static_cast<::NetGameMode>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bool isPrivate = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_isprivate(&has_bits); isprivate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated uint32 playerIds = 4 [packed = true]; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_playerids(), ptr, ctx); CHK_(ptr); - } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32) { + } else if (static_cast(tag) == 32) { _internal_add_playerids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 adminPlayerId = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_adminplayerid(&has_bits); adminplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameInfo gameInfo = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { ptr = ctx->ParseMessage(_internal_mutable_gameinfo(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated uint32 spectatorIds = 7 [packed = true]; case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_spectatorids(), ptr, ctx); CHK_(ptr); - } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56) { + } else if (static_cast(tag) == 56) { _internal_add_spectatorids(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameListNewMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameListNewMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameListNewMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -9291,9 +9041,7 @@ size_t GameListNewMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_isprivate()) { @@ -9303,9 +9051,7 @@ size_t GameListNewMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_adminplayerid()) { // required uint32 adminPlayerId = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_adminplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_adminplayerid()); } if (_internal_has_gamemode()) { @@ -9327,17 +9073,13 @@ size_t GameListNewMessage::ByteSizeLong() const { *gameinfo_); // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required bool isPrivate = 3; total_size += 1 + 1; // required uint32 adminPlayerId = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_adminplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_adminplayerid()); // required .NetGameMode gameMode = 2; total_size += 1 + @@ -9346,7 +9088,7 @@ size_t GameListNewMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9357,7 +9099,7 @@ size_t GameListNewMessage::ByteSizeLong() const { if (data_size > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + static_cast(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _playerids_cached_byte_size_.store(cached_size, @@ -9372,7 +9114,7 @@ size_t GameListNewMessage::ByteSizeLong() const { if (data_size > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + static_cast(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _spectatorids_cached_byte_size_.store(cached_size, @@ -9397,8 +9139,7 @@ void GameListNewMessage::CheckTypeAndMergeFrom( void GameListNewMessage::MergeFrom(const GameListNewMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameListNewMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; playerids_.MergeFrom(from.playerids_); @@ -9422,6 +9163,7 @@ void GameListNewMessage::MergeFrom(const GameListNewMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameListNewMessage::CopyFrom(const GameListNewMessage& from) { @@ -9441,7 +9183,7 @@ bool GameListNewMessage::IsInitialized() const { void GameListNewMessage::InternalSwap(GameListNewMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); playerids_.InternalSwap(&other->playerids_); spectatorids_.InternalSwap(&other->spectatorids_); @@ -9461,8 +9203,6 @@ std::string GameListNewMessage::GetTypeName() const { // =================================================================== -void GameListUpdateMessage::InitAsDefaultInstance() { -} class GameListUpdateMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -9477,10 +9217,13 @@ class GameListUpdateMessage::_Internal { } }; -GameListUpdateMessage::GameListUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameListUpdateMessage::GameListUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameListUpdateMessage) } GameListUpdateMessage::GameListUpdateMessage(const GameListUpdateMessage& from) @@ -9493,19 +9236,20 @@ GameListUpdateMessage::GameListUpdateMessage(const GameListUpdateMessage& from) // @@protoc_insertion_point(copy_constructor:GameListUpdateMessage) } -void GameListUpdateMessage::SharedCtor() { - gameid_ = 0u; - gamemode_ = 1; +inline void GameListUpdateMessage::SharedCtor() { +gameid_ = 0u; +gamemode_ = 1; } GameListUpdateMessage::~GameListUpdateMessage() { // @@protoc_insertion_point(destructor:GameListUpdateMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameListUpdateMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameListUpdateMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameListUpdateMessage::ArenaDtor(void* object) { @@ -9517,15 +9261,10 @@ void GameListUpdateMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void GameListUpdateMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameListUpdateMessage& GameListUpdateMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameListUpdateMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameListUpdateMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameListUpdateMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9541,59 +9280,60 @@ void GameListUpdateMessage::Clear() { const char* GameListUpdateMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameMode gameMode = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameMode_IsValid(val))) { _internal_set_gamemode(static_cast<::NetGameMode>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameListUpdateMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameListUpdateMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameListUpdateMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -9624,9 +9364,7 @@ size_t GameListUpdateMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_gamemode()) { @@ -9643,9 +9381,7 @@ size_t GameListUpdateMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required .NetGameMode gameMode = 2; total_size += 1 + @@ -9654,7 +9390,7 @@ size_t GameListUpdateMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9675,8 +9411,7 @@ void GameListUpdateMessage::CheckTypeAndMergeFrom( void GameListUpdateMessage::MergeFrom(const GameListUpdateMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameListUpdateMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -9689,6 +9424,7 @@ void GameListUpdateMessage::MergeFrom(const GameListUpdateMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameListUpdateMessage::CopyFrom(const GameListUpdateMessage& from) { @@ -9705,7 +9441,7 @@ bool GameListUpdateMessage::IsInitialized() const { void GameListUpdateMessage::InternalSwap(GameListUpdateMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(gameid_, other->gameid_); swap(gamemode_, other->gamemode_); @@ -9718,8 +9454,6 @@ std::string GameListUpdateMessage::GetTypeName() const { // =================================================================== -void GameListPlayerJoinedMessage::InitAsDefaultInstance() { -} class GameListPlayerJoinedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -9734,10 +9468,13 @@ class GameListPlayerJoinedMessage::_Internal { } }; -GameListPlayerJoinedMessage::GameListPlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameListPlayerJoinedMessage::GameListPlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameListPlayerJoinedMessage) } GameListPlayerJoinedMessage::GameListPlayerJoinedMessage(const GameListPlayerJoinedMessage& from) @@ -9750,20 +9487,22 @@ GameListPlayerJoinedMessage::GameListPlayerJoinedMessage(const GameListPlayerJoi // @@protoc_insertion_point(copy_constructor:GameListPlayerJoinedMessage) } -void GameListPlayerJoinedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void GameListPlayerJoinedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } GameListPlayerJoinedMessage::~GameListPlayerJoinedMessage() { // @@protoc_insertion_point(destructor:GameListPlayerJoinedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameListPlayerJoinedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameListPlayerJoinedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameListPlayerJoinedMessage::ArenaDtor(void* object) { @@ -9775,15 +9514,10 @@ void GameListPlayerJoinedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Are void GameListPlayerJoinedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameListPlayerJoinedMessage& GameListPlayerJoinedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameListPlayerJoinedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameListPlayerJoinedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameListPlayerJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9800,55 +9534,56 @@ void GameListPlayerJoinedMessage::Clear() { const char* GameListPlayerJoinedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameListPlayerJoinedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameListPlayerJoinedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameListPlayerJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -9878,16 +9613,12 @@ size_t GameListPlayerJoinedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } return total_size; @@ -9898,19 +9629,15 @@ size_t GameListPlayerJoinedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9931,8 +9658,7 @@ void GameListPlayerJoinedMessage::CheckTypeAndMergeFrom( void GameListPlayerJoinedMessage::MergeFrom(const GameListPlayerJoinedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameListPlayerJoinedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -9945,6 +9671,7 @@ void GameListPlayerJoinedMessage::MergeFrom(const GameListPlayerJoinedMessage& f } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameListPlayerJoinedMessage::CopyFrom(const GameListPlayerJoinedMessage& from) { @@ -9961,7 +9688,7 @@ bool GameListPlayerJoinedMessage::IsInitialized() const { void GameListPlayerJoinedMessage::InternalSwap(GameListPlayerJoinedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameListPlayerJoinedMessage, playerid_) @@ -9978,8 +9705,6 @@ std::string GameListPlayerJoinedMessage::GetTypeName() const { // =================================================================== -void GameListPlayerLeftMessage::InitAsDefaultInstance() { -} class GameListPlayerLeftMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -9994,10 +9719,13 @@ class GameListPlayerLeftMessage::_Internal { } }; -GameListPlayerLeftMessage::GameListPlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameListPlayerLeftMessage::GameListPlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameListPlayerLeftMessage) } GameListPlayerLeftMessage::GameListPlayerLeftMessage(const GameListPlayerLeftMessage& from) @@ -10010,20 +9738,22 @@ GameListPlayerLeftMessage::GameListPlayerLeftMessage(const GameListPlayerLeftMes // @@protoc_insertion_point(copy_constructor:GameListPlayerLeftMessage) } -void GameListPlayerLeftMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void GameListPlayerLeftMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } GameListPlayerLeftMessage::~GameListPlayerLeftMessage() { // @@protoc_insertion_point(destructor:GameListPlayerLeftMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameListPlayerLeftMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameListPlayerLeftMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameListPlayerLeftMessage::ArenaDtor(void* object) { @@ -10035,15 +9765,10 @@ void GameListPlayerLeftMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void GameListPlayerLeftMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameListPlayerLeftMessage& GameListPlayerLeftMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameListPlayerLeftMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameListPlayerLeftMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameListPlayerLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10060,55 +9785,56 @@ void GameListPlayerLeftMessage::Clear() { const char* GameListPlayerLeftMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameListPlayerLeftMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameListPlayerLeftMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameListPlayerLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -10138,16 +9864,12 @@ size_t GameListPlayerLeftMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } return total_size; @@ -10158,19 +9880,15 @@ size_t GameListPlayerLeftMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10191,8 +9909,7 @@ void GameListPlayerLeftMessage::CheckTypeAndMergeFrom( void GameListPlayerLeftMessage::MergeFrom(const GameListPlayerLeftMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameListPlayerLeftMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -10205,6 +9922,7 @@ void GameListPlayerLeftMessage::MergeFrom(const GameListPlayerLeftMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameListPlayerLeftMessage::CopyFrom(const GameListPlayerLeftMessage& from) { @@ -10221,7 +9939,7 @@ bool GameListPlayerLeftMessage::IsInitialized() const { void GameListPlayerLeftMessage::InternalSwap(GameListPlayerLeftMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameListPlayerLeftMessage, playerid_) @@ -10238,8 +9956,6 @@ std::string GameListPlayerLeftMessage::GetTypeName() const { // =================================================================== -void GameListSpectatorJoinedMessage::InitAsDefaultInstance() { -} class GameListSpectatorJoinedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -10254,10 +9970,13 @@ class GameListSpectatorJoinedMessage::_Internal { } }; -GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameListSpectatorJoinedMessage) } GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage(const GameListSpectatorJoinedMessage& from) @@ -10270,20 +9989,22 @@ GameListSpectatorJoinedMessage::GameListSpectatorJoinedMessage(const GameListSpe // @@protoc_insertion_point(copy_constructor:GameListSpectatorJoinedMessage) } -void GameListSpectatorJoinedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void GameListSpectatorJoinedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } GameListSpectatorJoinedMessage::~GameListSpectatorJoinedMessage() { // @@protoc_insertion_point(destructor:GameListSpectatorJoinedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameListSpectatorJoinedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameListSpectatorJoinedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameListSpectatorJoinedMessage::ArenaDtor(void* object) { @@ -10295,15 +10016,10 @@ void GameListSpectatorJoinedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID:: void GameListSpectatorJoinedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameListSpectatorJoinedMessage& GameListSpectatorJoinedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameListSpectatorJoinedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameListSpectatorJoinedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameListSpectatorJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10320,55 +10036,56 @@ void GameListSpectatorJoinedMessage::Clear() { const char* GameListSpectatorJoinedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameListSpectatorJoinedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameListSpectatorJoinedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameListSpectatorJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -10398,16 +10115,12 @@ size_t GameListSpectatorJoinedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } return total_size; @@ -10418,19 +10131,15 @@ size_t GameListSpectatorJoinedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10451,8 +10160,7 @@ void GameListSpectatorJoinedMessage::CheckTypeAndMergeFrom( void GameListSpectatorJoinedMessage::MergeFrom(const GameListSpectatorJoinedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameListSpectatorJoinedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -10465,6 +10173,7 @@ void GameListSpectatorJoinedMessage::MergeFrom(const GameListSpectatorJoinedMess } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameListSpectatorJoinedMessage::CopyFrom(const GameListSpectatorJoinedMessage& from) { @@ -10481,7 +10190,7 @@ bool GameListSpectatorJoinedMessage::IsInitialized() const { void GameListSpectatorJoinedMessage::InternalSwap(GameListSpectatorJoinedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameListSpectatorJoinedMessage, playerid_) @@ -10498,8 +10207,6 @@ std::string GameListSpectatorJoinedMessage::GetTypeName() const { // =================================================================== -void GameListSpectatorLeftMessage::InitAsDefaultInstance() { -} class GameListSpectatorLeftMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -10514,10 +10221,13 @@ class GameListSpectatorLeftMessage::_Internal { } }; -GameListSpectatorLeftMessage::GameListSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameListSpectatorLeftMessage::GameListSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameListSpectatorLeftMessage) } GameListSpectatorLeftMessage::GameListSpectatorLeftMessage(const GameListSpectatorLeftMessage& from) @@ -10530,20 +10240,22 @@ GameListSpectatorLeftMessage::GameListSpectatorLeftMessage(const GameListSpectat // @@protoc_insertion_point(copy_constructor:GameListSpectatorLeftMessage) } -void GameListSpectatorLeftMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void GameListSpectatorLeftMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } GameListSpectatorLeftMessage::~GameListSpectatorLeftMessage() { // @@protoc_insertion_point(destructor:GameListSpectatorLeftMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameListSpectatorLeftMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameListSpectatorLeftMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameListSpectatorLeftMessage::ArenaDtor(void* object) { @@ -10555,15 +10267,10 @@ void GameListSpectatorLeftMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Ar void GameListSpectatorLeftMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameListSpectatorLeftMessage& GameListSpectatorLeftMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameListSpectatorLeftMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameListSpectatorLeftMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameListSpectatorLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10580,55 +10287,56 @@ void GameListSpectatorLeftMessage::Clear() { const char* GameListSpectatorLeftMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameListSpectatorLeftMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameListSpectatorLeftMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameListSpectatorLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -10658,16 +10366,12 @@ size_t GameListSpectatorLeftMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } return total_size; @@ -10678,19 +10382,15 @@ size_t GameListSpectatorLeftMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10711,8 +10411,7 @@ void GameListSpectatorLeftMessage::CheckTypeAndMergeFrom( void GameListSpectatorLeftMessage::MergeFrom(const GameListSpectatorLeftMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameListSpectatorLeftMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -10725,6 +10424,7 @@ void GameListSpectatorLeftMessage::MergeFrom(const GameListSpectatorLeftMessage& } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameListSpectatorLeftMessage::CopyFrom(const GameListSpectatorLeftMessage& from) { @@ -10741,7 +10441,7 @@ bool GameListSpectatorLeftMessage::IsInitialized() const { void GameListSpectatorLeftMessage::InternalSwap(GameListSpectatorLeftMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameListSpectatorLeftMessage, playerid_) @@ -10758,8 +10458,6 @@ std::string GameListSpectatorLeftMessage::GetTypeName() const { // =================================================================== -void GameListAdminChangedMessage::InitAsDefaultInstance() { -} class GameListAdminChangedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -10774,10 +10472,13 @@ class GameListAdminChangedMessage::_Internal { } }; -GameListAdminChangedMessage::GameListAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameListAdminChangedMessage::GameListAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameListAdminChangedMessage) } GameListAdminChangedMessage::GameListAdminChangedMessage(const GameListAdminChangedMessage& from) @@ -10790,20 +10491,22 @@ GameListAdminChangedMessage::GameListAdminChangedMessage(const GameListAdminChan // @@protoc_insertion_point(copy_constructor:GameListAdminChangedMessage) } -void GameListAdminChangedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&newadminplayerid_) - - reinterpret_cast(&gameid_)) + sizeof(newadminplayerid_)); +inline void GameListAdminChangedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&newadminplayerid_) - + reinterpret_cast(&gameid_)) + sizeof(newadminplayerid_)); } GameListAdminChangedMessage::~GameListAdminChangedMessage() { // @@protoc_insertion_point(destructor:GameListAdminChangedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameListAdminChangedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameListAdminChangedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameListAdminChangedMessage::ArenaDtor(void* object) { @@ -10815,15 +10518,10 @@ void GameListAdminChangedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Are void GameListAdminChangedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameListAdminChangedMessage& GameListAdminChangedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameListAdminChangedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameListAdminChangedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameListAdminChangedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10840,55 +10538,56 @@ void GameListAdminChangedMessage::Clear() { const char* GameListAdminChangedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 newAdminPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_newadminplayerid(&has_bits); newadminplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameListAdminChangedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameListAdminChangedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameListAdminChangedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -10918,16 +10617,12 @@ size_t GameListAdminChangedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_newadminplayerid()) { // required uint32 newAdminPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_newadminplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_newadminplayerid()); } return total_size; @@ -10938,19 +10633,15 @@ size_t GameListAdminChangedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 newAdminPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_newadminplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_newadminplayerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10971,8 +10662,7 @@ void GameListAdminChangedMessage::CheckTypeAndMergeFrom( void GameListAdminChangedMessage::MergeFrom(const GameListAdminChangedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameListAdminChangedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -10985,6 +10675,7 @@ void GameListAdminChangedMessage::MergeFrom(const GameListAdminChangedMessage& f } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameListAdminChangedMessage::CopyFrom(const GameListAdminChangedMessage& from) { @@ -11001,7 +10692,7 @@ bool GameListAdminChangedMessage::IsInitialized() const { void GameListAdminChangedMessage::InternalSwap(GameListAdminChangedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameListAdminChangedMessage, newadminplayerid_) @@ -11018,17 +10709,18 @@ std::string GameListAdminChangedMessage::GetTypeName() const { // =================================================================== -void PlayerInfoRequestMessage::InitAsDefaultInstance() { -} class PlayerInfoRequestMessage::_Internal { public: }; -PlayerInfoRequestMessage::PlayerInfoRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +PlayerInfoRequestMessage::PlayerInfoRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), playerid_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayerInfoRequestMessage) } PlayerInfoRequestMessage::PlayerInfoRequestMessage(const PlayerInfoRequestMessage& from) @@ -11038,17 +10730,18 @@ PlayerInfoRequestMessage::PlayerInfoRequestMessage(const PlayerInfoRequestMessag // @@protoc_insertion_point(copy_constructor:PlayerInfoRequestMessage) } -void PlayerInfoRequestMessage::SharedCtor() { +inline void PlayerInfoRequestMessage::SharedCtor() { } PlayerInfoRequestMessage::~PlayerInfoRequestMessage() { // @@protoc_insertion_point(destructor:PlayerInfoRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayerInfoRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayerInfoRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void PlayerInfoRequestMessage::ArenaDtor(void* object) { @@ -11060,15 +10753,10 @@ void PlayerInfoRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* void PlayerInfoRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayerInfoRequestMessage& PlayerInfoRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayerInfoRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayerInfoRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:PlayerInfoRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11078,48 +10766,48 @@ void PlayerInfoRequestMessage::Clear() { const char* PlayerInfoRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // repeated uint32 playerId = 1 [packed = true]; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_playerid(), ptr, ctx); CHK_(ptr); - } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8) { + } else if (static_cast(tag) == 8) { _internal_add_playerid(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayerInfoRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayerInfoRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayerInfoRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; // repeated uint32 playerId = 1 [packed = true]; @@ -11143,7 +10831,7 @@ size_t PlayerInfoRequestMessage::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:PlayerInfoRequestMessage) size_t total_size = 0; - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11154,7 +10842,7 @@ size_t PlayerInfoRequestMessage::ByteSizeLong() const { if (data_size > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + static_cast(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _playerid_cached_byte_size_.store(cached_size, @@ -11179,11 +10867,11 @@ void PlayerInfoRequestMessage::CheckTypeAndMergeFrom( void PlayerInfoRequestMessage::MergeFrom(const PlayerInfoRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayerInfoRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; playerid_.MergeFrom(from.playerid_); + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayerInfoRequestMessage::CopyFrom(const PlayerInfoRequestMessage& from) { @@ -11199,7 +10887,7 @@ bool PlayerInfoRequestMessage::IsInitialized() const { void PlayerInfoRequestMessage::InternalSwap(PlayerInfoRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); playerid_.InternalSwap(&other->playerid_); } @@ -11210,8 +10898,6 @@ std::string PlayerInfoRequestMessage::GetTypeName() const { // =================================================================== -void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::InitAsDefaultInstance() { -} class PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -11226,10 +10912,13 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_Internal { } }; -PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerInfoData_AvatarData(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerInfoData_AvatarData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) } PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerInfoData_AvatarData(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from) @@ -11237,28 +10926,34 @@ PlayerInfoReplyMessage_PlayerInfoData_AvatarData::PlayerInfoReplyMessage_PlayerI _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_avatarhash()) { - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_avatarhash(), - GetArena()); + avatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_avatarhash(), + GetArenaForAllocation()); } avatartype_ = from.avatartype_; // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) } -void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_pokerth_2eproto.base); - avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - avatartype_ = 1; +inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedCtor() { +avatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +avatartype_ = 1; } PlayerInfoReplyMessage_PlayerInfoData_AvatarData::~PlayerInfoReplyMessage_PlayerInfoData_AvatarData() { // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); avatarhash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -11271,15 +10966,10 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::RegisterArenaDtor(::PROTO void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData_AvatarData::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::Clear() { // @@protoc_insertion_point(message_clear_start:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11297,59 +10987,60 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::Clear() { const char* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .NetAvatarType avatarType = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetAvatarType_IsValid(val))) { _internal_set_avatartype(static_cast<::NetAvatarType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bytes avatarHash = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_avatarhash(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -11410,7 +11101,7 @@ size_t PlayerInfoReplyMessage_PlayerInfoData_AvatarData::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11431,8 +11122,7 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::CheckTypeAndMergeFrom( void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -11445,6 +11135,7 @@ void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::MergeFrom(const PlayerInf } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from) { @@ -11461,9 +11152,15 @@ bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::IsInitialized() const { void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::InternalSwap(PlayerInfoReplyMessage_PlayerInfoData_AvatarData* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - avatarhash_.Swap(&other->avatarhash_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &avatarhash_, lhs_arena, + &other->avatarhash_, rhs_arena + ); swap(avatartype_, other->avatartype_); } @@ -11474,10 +11171,6 @@ std::string PlayerInfoReplyMessage_PlayerInfoData_AvatarData::GetTypeName() cons // =================================================================== -void PlayerInfoReplyMessage_PlayerInfoData::InitAsDefaultInstance() { - ::_PlayerInfoReplyMessage_PlayerInfoData_default_instance_._instance.get_mutable()->avatardata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData*>( - ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData::internal_default_instance()); -} class PlayerInfoReplyMessage_PlayerInfoData::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -11506,10 +11199,13 @@ const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData::_Internal::avatardata(const PlayerInfoReplyMessage_PlayerInfoData* msg) { return *msg->avatardata_; } -PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayerInfoReplyMessage.PlayerInfoData) } PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(const PlayerInfoReplyMessage_PlayerInfoData& from) @@ -11517,14 +11213,20 @@ PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(con _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); playername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_playername()) { - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_playername(), - GetArena()); + playername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_playername(), + GetArenaForAllocation()); } countrycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + countrycode_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_countrycode()) { - countrycode_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_countrycode(), - GetArena()); + countrycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_countrycode(), + GetArenaForAllocation()); } if (from._internal_has_avatardata()) { avatardata_ = new ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData(*from.avatardata_); @@ -11537,24 +11239,31 @@ PlayerInfoReplyMessage_PlayerInfoData::PlayerInfoReplyMessage_PlayerInfoData(con // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage.PlayerInfoData) } -void PlayerInfoReplyMessage_PlayerInfoData::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PlayerInfoReplyMessage_PlayerInfoData_pokerth_2eproto.base); - playername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - countrycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&avatardata_, 0, static_cast( - reinterpret_cast(&ishuman_) - - reinterpret_cast(&avatardata_)) + sizeof(ishuman_)); - playerrights_ = 1; +inline void PlayerInfoReplyMessage_PlayerInfoData::SharedCtor() { +playername_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +countrycode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + countrycode_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&avatardata_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&ishuman_) - + reinterpret_cast(&avatardata_)) + sizeof(ishuman_)); +playerrights_ = 1; } PlayerInfoReplyMessage_PlayerInfoData::~PlayerInfoReplyMessage_PlayerInfoData() { // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage.PlayerInfoData) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayerInfoReplyMessage_PlayerInfoData::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayerInfoReplyMessage_PlayerInfoData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); playername_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); countrycode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete avatardata_; @@ -11569,15 +11278,10 @@ void PlayerInfoReplyMessage_PlayerInfoData::RegisterArenaDtor(::PROTOBUF_NAMESPA void PlayerInfoReplyMessage_PlayerInfoData::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage_PlayerInfoData::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayerInfoReplyMessage_PlayerInfoData_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayerInfoReplyMessage_PlayerInfoData::Clear() { // @@protoc_insertion_point(message_clear_start:PlayerInfoReplyMessage.PlayerInfoData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11605,82 +11309,86 @@ void PlayerInfoReplyMessage_PlayerInfoData::Clear() { const char* PlayerInfoReplyMessage_PlayerInfoData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required string playerName = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_playername(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bool isHuman = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_ishuman(&has_bits); ishuman_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetPlayerInfoRights playerRights = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetPlayerInfoRights_IsValid(val))) { _internal_set_playerrights(static_cast<::NetPlayerInfoRights>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional string countryCode = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { auto str = _internal_mutable_countrycode(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { ptr = ctx->ParseMessage(_internal_mutable_avatardata(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayerInfoReplyMessage_PlayerInfoData::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayerInfoReplyMessage_PlayerInfoData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayerInfoReplyMessage.PlayerInfoData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -11769,7 +11477,7 @@ size_t PlayerInfoReplyMessage_PlayerInfoData::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11807,8 +11515,7 @@ void PlayerInfoReplyMessage_PlayerInfoData::CheckTypeAndMergeFrom( void PlayerInfoReplyMessage_PlayerInfoData::MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayerInfoReplyMessage.PlayerInfoData) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -11830,6 +11537,7 @@ void PlayerInfoReplyMessage_PlayerInfoData::MergeFrom(const PlayerInfoReplyMessa } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayerInfoReplyMessage_PlayerInfoData::CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData& from) { @@ -11849,10 +11557,20 @@ bool PlayerInfoReplyMessage_PlayerInfoData::IsInitialized() const { void PlayerInfoReplyMessage_PlayerInfoData::InternalSwap(PlayerInfoReplyMessage_PlayerInfoData* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - playername_.Swap(&other->playername_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); - countrycode_.Swap(&other->countrycode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &playername_, lhs_arena, + &other->playername_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &countrycode_, lhs_arena, + &other->countrycode_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(PlayerInfoReplyMessage_PlayerInfoData, ishuman_) + sizeof(PlayerInfoReplyMessage_PlayerInfoData::ishuman_) @@ -11869,10 +11587,6 @@ std::string PlayerInfoReplyMessage_PlayerInfoData::GetTypeName() const { // =================================================================== -void PlayerInfoReplyMessage::InitAsDefaultInstance() { - ::_PlayerInfoReplyMessage_default_instance_._instance.get_mutable()->playerinfodata_ = const_cast< ::PlayerInfoReplyMessage_PlayerInfoData*>( - ::PlayerInfoReplyMessage_PlayerInfoData::internal_default_instance()); -} class PlayerInfoReplyMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -11892,10 +11606,13 @@ const ::PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage::_Internal::playerinfodata(const PlayerInfoReplyMessage* msg) { return *msg->playerinfodata_; } -PlayerInfoReplyMessage::PlayerInfoReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +PlayerInfoReplyMessage::PlayerInfoReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayerInfoReplyMessage) } PlayerInfoReplyMessage::PlayerInfoReplyMessage(const PlayerInfoReplyMessage& from) @@ -11911,21 +11628,22 @@ PlayerInfoReplyMessage::PlayerInfoReplyMessage(const PlayerInfoReplyMessage& fro // @@protoc_insertion_point(copy_constructor:PlayerInfoReplyMessage) } -void PlayerInfoReplyMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PlayerInfoReplyMessage_pokerth_2eproto.base); - ::memset(&playerinfodata_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&playerinfodata_)) + sizeof(playerid_)); +inline void PlayerInfoReplyMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&playerinfodata_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&playerinfodata_)) + sizeof(playerid_)); } PlayerInfoReplyMessage::~PlayerInfoReplyMessage() { // @@protoc_insertion_point(destructor:PlayerInfoReplyMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayerInfoReplyMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayerInfoReplyMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete playerinfodata_; } @@ -11938,15 +11656,10 @@ void PlayerInfoReplyMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void PlayerInfoReplyMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayerInfoReplyMessage& PlayerInfoReplyMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayerInfoReplyMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayerInfoReplyMessage::Clear() { // @@protoc_insertion_point(message_clear_start:PlayerInfoReplyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -11963,54 +11676,55 @@ void PlayerInfoReplyMessage::Clear() { const char* PlayerInfoReplyMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 playerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_playerinfodata(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayerInfoReplyMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayerInfoReplyMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayerInfoReplyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -12042,11 +11756,9 @@ size_t PlayerInfoReplyMessage::ByteSizeLong() const { // required uint32 playerId = 1; if (_internal_has_playerid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -12075,8 +11787,7 @@ void PlayerInfoReplyMessage::CheckTypeAndMergeFrom( void PlayerInfoReplyMessage::MergeFrom(const PlayerInfoReplyMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayerInfoReplyMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -12089,6 +11800,7 @@ void PlayerInfoReplyMessage::MergeFrom(const PlayerInfoReplyMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayerInfoReplyMessage::CopyFrom(const PlayerInfoReplyMessage& from) { @@ -12108,7 +11820,7 @@ bool PlayerInfoReplyMessage::IsInitialized() const { void PlayerInfoReplyMessage::InternalSwap(PlayerInfoReplyMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(PlayerInfoReplyMessage, playerid_) @@ -12125,8 +11837,6 @@ std::string PlayerInfoReplyMessage::GetTypeName() const { // =================================================================== -void SubscriptionRequestMessage::InitAsDefaultInstance() { -} class SubscriptionRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -12138,10 +11848,13 @@ class SubscriptionRequestMessage::_Internal { } }; -SubscriptionRequestMessage::SubscriptionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +SubscriptionRequestMessage::SubscriptionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:SubscriptionRequestMessage) } SubscriptionRequestMessage::SubscriptionRequestMessage(const SubscriptionRequestMessage& from) @@ -12152,18 +11865,19 @@ SubscriptionRequestMessage::SubscriptionRequestMessage(const SubscriptionRequest // @@protoc_insertion_point(copy_constructor:SubscriptionRequestMessage) } -void SubscriptionRequestMessage::SharedCtor() { - subscriptionaction_ = 1; +inline void SubscriptionRequestMessage::SharedCtor() { +subscriptionaction_ = 1; } SubscriptionRequestMessage::~SubscriptionRequestMessage() { // @@protoc_insertion_point(destructor:SubscriptionRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void SubscriptionRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void SubscriptionRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void SubscriptionRequestMessage::ArenaDtor(void* object) { @@ -12175,15 +11889,10 @@ void SubscriptionRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Aren void SubscriptionRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const SubscriptionRequestMessage& SubscriptionRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_SubscriptionRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void SubscriptionRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:SubscriptionRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -12195,51 +11904,51 @@ void SubscriptionRequestMessage::Clear() { const char* SubscriptionRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::SubscriptionRequestMessage_SubscriptionAction_IsValid(val))) { _internal_set_subscriptionaction(static_cast<::SubscriptionRequestMessage_SubscriptionAction>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* SubscriptionRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* SubscriptionRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:SubscriptionRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -12267,7 +11976,7 @@ size_t SubscriptionRequestMessage::ByteSizeLong() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_subscriptionaction()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -12288,13 +11997,13 @@ void SubscriptionRequestMessage::CheckTypeAndMergeFrom( void SubscriptionRequestMessage::MergeFrom(const SubscriptionRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:SubscriptionRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_subscriptionaction()) { _internal_set_subscriptionaction(from._internal_subscriptionaction()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void SubscriptionRequestMessage::CopyFrom(const SubscriptionRequestMessage& from) { @@ -12311,7 +12020,7 @@ bool SubscriptionRequestMessage::IsInitialized() const { void SubscriptionRequestMessage::InternalSwap(SubscriptionRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(subscriptionaction_, other->subscriptionaction_); } @@ -12323,8 +12032,6 @@ std::string SubscriptionRequestMessage::GetTypeName() const { // =================================================================== -void JoinExistingGameMessage::InitAsDefaultInstance() { -} class JoinExistingGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -12345,10 +12052,13 @@ class JoinExistingGameMessage::_Internal { } }; -JoinExistingGameMessage::JoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +JoinExistingGameMessage::JoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:JoinExistingGameMessage) } JoinExistingGameMessage::JoinExistingGameMessage(const JoinExistingGameMessage& from) @@ -12356,9 +12066,12 @@ JoinExistingGameMessage::JoinExistingGameMessage(const JoinExistingGameMessage& _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_password()) { - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_password(), - GetArena()); + password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_password(), + GetArenaForAllocation()); } ::memcpy(&gameid_, &from.gameid_, static_cast(reinterpret_cast(&spectateonly_) - @@ -12366,22 +12079,26 @@ JoinExistingGameMessage::JoinExistingGameMessage(const JoinExistingGameMessage& // @@protoc_insertion_point(copy_constructor:JoinExistingGameMessage) } -void JoinExistingGameMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_JoinExistingGameMessage_pokerth_2eproto.base); - password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&spectateonly_) - - reinterpret_cast(&gameid_)) + sizeof(spectateonly_)); +inline void JoinExistingGameMessage::SharedCtor() { +password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&spectateonly_) - + reinterpret_cast(&gameid_)) + sizeof(spectateonly_)); } JoinExistingGameMessage::~JoinExistingGameMessage() { // @@protoc_insertion_point(destructor:JoinExistingGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void JoinExistingGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void JoinExistingGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); password_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -12394,15 +12111,10 @@ void JoinExistingGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void JoinExistingGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const JoinExistingGameMessage& JoinExistingGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_JoinExistingGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void JoinExistingGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:JoinExistingGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -12422,71 +12134,74 @@ void JoinExistingGameMessage::Clear() { const char* JoinExistingGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional string password = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_password(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bool autoLeave = 3 [default = false]; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_autoleave(&has_bits); autoleave_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bool spectateOnly = 4 [default = false]; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_spectateonly(&has_bits); spectateonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* JoinExistingGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* JoinExistingGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:JoinExistingGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -12528,11 +12243,9 @@ size_t JoinExistingGameMessage::ByteSizeLong() const { // required uint32 gameId = 1; if (_internal_has_gameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -12573,8 +12286,7 @@ void JoinExistingGameMessage::CheckTypeAndMergeFrom( void JoinExistingGameMessage::MergeFrom(const JoinExistingGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:JoinExistingGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -12593,6 +12305,7 @@ void JoinExistingGameMessage::MergeFrom(const JoinExistingGameMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void JoinExistingGameMessage::CopyFrom(const JoinExistingGameMessage& from) { @@ -12609,9 +12322,15 @@ bool JoinExistingGameMessage::IsInitialized() const { void JoinExistingGameMessage::InternalSwap(JoinExistingGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - password_.Swap(&other->password_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &password_, lhs_arena, + &other->password_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(JoinExistingGameMessage, spectateonly_) + sizeof(JoinExistingGameMessage::spectateonly_) @@ -12627,10 +12346,6 @@ std::string JoinExistingGameMessage::GetTypeName() const { // =================================================================== -void JoinNewGameMessage::InitAsDefaultInstance() { - ::_JoinNewGameMessage_default_instance_._instance.get_mutable()->gameinfo_ = const_cast< ::NetGameInfo*>( - ::NetGameInfo::internal_default_instance()); -} class JoinNewGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -12653,10 +12368,13 @@ const ::NetGameInfo& JoinNewGameMessage::_Internal::gameinfo(const JoinNewGameMessage* msg) { return *msg->gameinfo_; } -JoinNewGameMessage::JoinNewGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +JoinNewGameMessage::JoinNewGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:JoinNewGameMessage) } JoinNewGameMessage::JoinNewGameMessage(const JoinNewGameMessage& from) @@ -12664,9 +12382,12 @@ JoinNewGameMessage::JoinNewGameMessage(const JoinNewGameMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_password()) { - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_password(), - GetArena()); + password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_password(), + GetArenaForAllocation()); } if (from._internal_has_gameinfo()) { gameinfo_ = new ::NetGameInfo(*from.gameinfo_); @@ -12677,22 +12398,26 @@ JoinNewGameMessage::JoinNewGameMessage(const JoinNewGameMessage& from) // @@protoc_insertion_point(copy_constructor:JoinNewGameMessage) } -void JoinNewGameMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_JoinNewGameMessage_pokerth_2eproto.base); - password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&gameinfo_, 0, static_cast( - reinterpret_cast(&autoleave_) - - reinterpret_cast(&gameinfo_)) + sizeof(autoleave_)); +inline void JoinNewGameMessage::SharedCtor() { +password_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameinfo_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&autoleave_) - + reinterpret_cast(&gameinfo_)) + sizeof(autoleave_)); } JoinNewGameMessage::~JoinNewGameMessage() { // @@protoc_insertion_point(destructor:JoinNewGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void JoinNewGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void JoinNewGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); password_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete gameinfo_; } @@ -12706,15 +12431,10 @@ void JoinNewGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void JoinNewGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const JoinNewGameMessage& JoinNewGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_JoinNewGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void JoinNewGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:JoinNewGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -12736,62 +12456,64 @@ void JoinNewGameMessage::Clear() { const char* JoinNewGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .NetGameInfo gameInfo = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_gameinfo(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional string password = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_password(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bool autoLeave = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_autoleave(&has_bits); autoleave_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* JoinNewGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* JoinNewGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:JoinNewGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -12833,7 +12555,7 @@ size_t JoinNewGameMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *gameinfo_); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -12867,8 +12589,7 @@ void JoinNewGameMessage::CheckTypeAndMergeFrom( void JoinNewGameMessage::MergeFrom(const JoinNewGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:JoinNewGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -12884,6 +12605,7 @@ void JoinNewGameMessage::MergeFrom(const JoinNewGameMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void JoinNewGameMessage::CopyFrom(const JoinNewGameMessage& from) { @@ -12903,9 +12625,15 @@ bool JoinNewGameMessage::IsInitialized() const { void JoinNewGameMessage::InternalSwap(JoinNewGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - password_.Swap(&other->password_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &password_, lhs_arena, + &other->password_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(JoinNewGameMessage, autoleave_) + sizeof(JoinNewGameMessage::autoleave_) @@ -12921,8 +12649,6 @@ std::string JoinNewGameMessage::GetTypeName() const { // =================================================================== -void RejoinExistingGameMessage::InitAsDefaultInstance() { -} class RejoinExistingGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -12937,10 +12663,13 @@ class RejoinExistingGameMessage::_Internal { } }; -RejoinExistingGameMessage::RejoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +RejoinExistingGameMessage::RejoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:RejoinExistingGameMessage) } RejoinExistingGameMessage::RejoinExistingGameMessage(const RejoinExistingGameMessage& from) @@ -12953,20 +12682,22 @@ RejoinExistingGameMessage::RejoinExistingGameMessage(const RejoinExistingGameMes // @@protoc_insertion_point(copy_constructor:RejoinExistingGameMessage) } -void RejoinExistingGameMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&autoleave_) - - reinterpret_cast(&gameid_)) + sizeof(autoleave_)); +inline void RejoinExistingGameMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&autoleave_) - + reinterpret_cast(&gameid_)) + sizeof(autoleave_)); } RejoinExistingGameMessage::~RejoinExistingGameMessage() { // @@protoc_insertion_point(destructor:RejoinExistingGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void RejoinExistingGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void RejoinExistingGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void RejoinExistingGameMessage::ArenaDtor(void* object) { @@ -12978,15 +12709,10 @@ void RejoinExistingGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void RejoinExistingGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const RejoinExistingGameMessage& RejoinExistingGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RejoinExistingGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void RejoinExistingGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:RejoinExistingGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13003,55 +12729,56 @@ void RejoinExistingGameMessage::Clear() { const char* RejoinExistingGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bool autoLeave = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_autoleave(&has_bits); autoleave_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* RejoinExistingGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* RejoinExistingGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:RejoinExistingGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -13081,11 +12808,9 @@ size_t RejoinExistingGameMessage::ByteSizeLong() const { // required uint32 gameId = 1; if (_internal_has_gameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13112,8 +12837,7 @@ void RejoinExistingGameMessage::CheckTypeAndMergeFrom( void RejoinExistingGameMessage::MergeFrom(const RejoinExistingGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:RejoinExistingGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -13126,6 +12850,7 @@ void RejoinExistingGameMessage::MergeFrom(const RejoinExistingGameMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void RejoinExistingGameMessage::CopyFrom(const RejoinExistingGameMessage& from) { @@ -13142,7 +12867,7 @@ bool RejoinExistingGameMessage::IsInitialized() const { void RejoinExistingGameMessage::InternalSwap(RejoinExistingGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(RejoinExistingGameMessage, autoleave_) @@ -13159,10 +12884,6 @@ std::string RejoinExistingGameMessage::GetTypeName() const { // =================================================================== -void JoinGameAckMessage::InitAsDefaultInstance() { - ::_JoinGameAckMessage_default_instance_._instance.get_mutable()->gameinfo_ = const_cast< ::NetGameInfo*>( - ::NetGameInfo::internal_default_instance()); -} class JoinGameAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -13188,10 +12909,13 @@ const ::NetGameInfo& JoinGameAckMessage::_Internal::gameinfo(const JoinGameAckMessage* msg) { return *msg->gameinfo_; } -JoinGameAckMessage::JoinGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +JoinGameAckMessage::JoinGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:JoinGameAckMessage) } JoinGameAckMessage::JoinGameAckMessage(const JoinGameAckMessage& from) @@ -13209,21 +12933,22 @@ JoinGameAckMessage::JoinGameAckMessage(const JoinGameAckMessage& from) // @@protoc_insertion_point(copy_constructor:JoinGameAckMessage) } -void JoinGameAckMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_JoinGameAckMessage_pokerth_2eproto.base); - ::memset(&gameinfo_, 0, static_cast( - reinterpret_cast(&spectateonly_) - - reinterpret_cast(&gameinfo_)) + sizeof(spectateonly_)); +inline void JoinGameAckMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameinfo_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&spectateonly_) - + reinterpret_cast(&gameinfo_)) + sizeof(spectateonly_)); } JoinGameAckMessage::~JoinGameAckMessage() { // @@protoc_insertion_point(destructor:JoinGameAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void JoinGameAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void JoinGameAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete gameinfo_; } @@ -13236,15 +12961,10 @@ void JoinGameAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void JoinGameAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const JoinGameAckMessage& JoinGameAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_JoinGameAckMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void JoinGameAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:JoinGameAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13265,70 +12985,73 @@ void JoinGameAckMessage::Clear() { const char* JoinGameAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bool areYouGameAdmin = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_areyougameadmin(&has_bits); areyougameadmin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameInfo gameInfo = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { ptr = ctx->ParseMessage(_internal_mutable_gameinfo(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bool spectateOnly = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_spectateonly(&has_bits); spectateonly_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* JoinGameAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* JoinGameAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:JoinGameAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -13379,9 +13102,7 @@ size_t JoinGameAckMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_areyougameadmin()) { @@ -13402,9 +13123,7 @@ size_t JoinGameAckMessage::ByteSizeLong() const { *gameinfo_); // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required bool areYouGameAdmin = 2; total_size += 1 + 1; @@ -13412,7 +13131,7 @@ size_t JoinGameAckMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13439,8 +13158,7 @@ void JoinGameAckMessage::CheckTypeAndMergeFrom( void JoinGameAckMessage::MergeFrom(const JoinGameAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:JoinGameAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -13459,6 +13177,7 @@ void JoinGameAckMessage::MergeFrom(const JoinGameAckMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void JoinGameAckMessage::CopyFrom(const JoinGameAckMessage& from) { @@ -13478,7 +13197,7 @@ bool JoinGameAckMessage::IsInitialized() const { void JoinGameAckMessage::InternalSwap(JoinGameAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(JoinGameAckMessage, spectateonly_) @@ -13495,8 +13214,6 @@ std::string JoinGameAckMessage::GetTypeName() const { // =================================================================== -void JoinGameFailedMessage::InitAsDefaultInstance() { -} class JoinGameFailedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -13511,10 +13228,13 @@ class JoinGameFailedMessage::_Internal { } }; -JoinGameFailedMessage::JoinGameFailedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +JoinGameFailedMessage::JoinGameFailedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:JoinGameFailedMessage) } JoinGameFailedMessage::JoinGameFailedMessage(const JoinGameFailedMessage& from) @@ -13527,19 +13247,20 @@ JoinGameFailedMessage::JoinGameFailedMessage(const JoinGameFailedMessage& from) // @@protoc_insertion_point(copy_constructor:JoinGameFailedMessage) } -void JoinGameFailedMessage::SharedCtor() { - gameid_ = 0u; - joingamefailurereason_ = 1; +inline void JoinGameFailedMessage::SharedCtor() { +gameid_ = 0u; +joingamefailurereason_ = 1; } JoinGameFailedMessage::~JoinGameFailedMessage() { // @@protoc_insertion_point(destructor:JoinGameFailedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void JoinGameFailedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void JoinGameFailedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void JoinGameFailedMessage::ArenaDtor(void* object) { @@ -13551,15 +13272,10 @@ void JoinGameFailedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void JoinGameFailedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const JoinGameFailedMessage& JoinGameFailedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_JoinGameFailedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void JoinGameFailedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:JoinGameFailedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13575,59 +13291,60 @@ void JoinGameFailedMessage::Clear() { const char* JoinGameFailedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::JoinGameFailedMessage_JoinGameFailureReason_IsValid(val))) { _internal_set_joingamefailurereason(static_cast<::JoinGameFailedMessage_JoinGameFailureReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* JoinGameFailedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* JoinGameFailedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:JoinGameFailedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -13658,9 +13375,7 @@ size_t JoinGameFailedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_joingamefailurereason()) { @@ -13677,9 +13392,7 @@ size_t JoinGameFailedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; total_size += 1 + @@ -13688,7 +13401,7 @@ size_t JoinGameFailedMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13709,8 +13422,7 @@ void JoinGameFailedMessage::CheckTypeAndMergeFrom( void JoinGameFailedMessage::MergeFrom(const JoinGameFailedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:JoinGameFailedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -13723,6 +13435,7 @@ void JoinGameFailedMessage::MergeFrom(const JoinGameFailedMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void JoinGameFailedMessage::CopyFrom(const JoinGameFailedMessage& from) { @@ -13739,7 +13452,7 @@ bool JoinGameFailedMessage::IsInitialized() const { void JoinGameFailedMessage::InternalSwap(JoinGameFailedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(gameid_, other->gameid_); swap(joingamefailurereason_, other->joingamefailurereason_); @@ -13752,8 +13465,6 @@ std::string JoinGameFailedMessage::GetTypeName() const { // =================================================================== -void GamePlayerJoinedMessage::InitAsDefaultInstance() { -} class GamePlayerJoinedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -13771,10 +13482,13 @@ class GamePlayerJoinedMessage::_Internal { } }; -GamePlayerJoinedMessage::GamePlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GamePlayerJoinedMessage::GamePlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GamePlayerJoinedMessage) } GamePlayerJoinedMessage::GamePlayerJoinedMessage(const GamePlayerJoinedMessage& from) @@ -13787,20 +13501,22 @@ GamePlayerJoinedMessage::GamePlayerJoinedMessage(const GamePlayerJoinedMessage& // @@protoc_insertion_point(copy_constructor:GamePlayerJoinedMessage) } -void GamePlayerJoinedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&isgameadmin_) - - reinterpret_cast(&gameid_)) + sizeof(isgameadmin_)); +inline void GamePlayerJoinedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&isgameadmin_) - + reinterpret_cast(&gameid_)) + sizeof(isgameadmin_)); } GamePlayerJoinedMessage::~GamePlayerJoinedMessage() { // @@protoc_insertion_point(destructor:GamePlayerJoinedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GamePlayerJoinedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GamePlayerJoinedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GamePlayerJoinedMessage::ArenaDtor(void* object) { @@ -13812,15 +13528,10 @@ void GamePlayerJoinedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void GamePlayerJoinedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GamePlayerJoinedMessage& GamePlayerJoinedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GamePlayerJoinedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GamePlayerJoinedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GamePlayerJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13837,63 +13548,65 @@ void GamePlayerJoinedMessage::Clear() { const char* GamePlayerJoinedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bool isGameAdmin = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_isgameadmin(&has_bits); isgameadmin_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GamePlayerJoinedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GamePlayerJoinedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GamePlayerJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -13929,16 +13642,12 @@ size_t GamePlayerJoinedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_isgameadmin()) { @@ -13954,14 +13663,10 @@ size_t GamePlayerJoinedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required bool isGameAdmin = 3; total_size += 1 + 1; @@ -13969,7 +13674,7 @@ size_t GamePlayerJoinedMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -13990,8 +13695,7 @@ void GamePlayerJoinedMessage::CheckTypeAndMergeFrom( void GamePlayerJoinedMessage::MergeFrom(const GamePlayerJoinedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GamePlayerJoinedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -14007,6 +13711,7 @@ void GamePlayerJoinedMessage::MergeFrom(const GamePlayerJoinedMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GamePlayerJoinedMessage::CopyFrom(const GamePlayerJoinedMessage& from) { @@ -14023,7 +13728,7 @@ bool GamePlayerJoinedMessage::IsInitialized() const { void GamePlayerJoinedMessage::InternalSwap(GamePlayerJoinedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GamePlayerJoinedMessage, isgameadmin_) @@ -14040,8 +13745,6 @@ std::string GamePlayerJoinedMessage::GetTypeName() const { // =================================================================== -void GamePlayerLeftMessage::InitAsDefaultInstance() { -} class GamePlayerLeftMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -14059,10 +13762,13 @@ class GamePlayerLeftMessage::_Internal { } }; -GamePlayerLeftMessage::GamePlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GamePlayerLeftMessage::GamePlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GamePlayerLeftMessage) } GamePlayerLeftMessage::GamePlayerLeftMessage(const GamePlayerLeftMessage& from) @@ -14075,20 +13781,22 @@ GamePlayerLeftMessage::GamePlayerLeftMessage(const GamePlayerLeftMessage& from) // @@protoc_insertion_point(copy_constructor:GamePlayerLeftMessage) } -void GamePlayerLeftMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&gameplayerleftreason_) - - reinterpret_cast(&gameid_)) + sizeof(gameplayerleftreason_)); +inline void GamePlayerLeftMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&gameplayerleftreason_) - + reinterpret_cast(&gameid_)) + sizeof(gameplayerleftreason_)); } GamePlayerLeftMessage::~GamePlayerLeftMessage() { // @@protoc_insertion_point(destructor:GamePlayerLeftMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GamePlayerLeftMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GamePlayerLeftMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GamePlayerLeftMessage::ArenaDtor(void* object) { @@ -14100,15 +13808,10 @@ void GamePlayerLeftMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void GamePlayerLeftMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GamePlayerLeftMessage& GamePlayerLeftMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GamePlayerLeftMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GamePlayerLeftMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GamePlayerLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -14125,67 +13828,69 @@ void GamePlayerLeftMessage::Clear() { const char* GamePlayerLeftMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(val))) { _internal_set_gameplayerleftreason(static_cast<::GamePlayerLeftMessage_GamePlayerLeftReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GamePlayerLeftMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GamePlayerLeftMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GamePlayerLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -14222,16 +13927,12 @@ size_t GamePlayerLeftMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_gameplayerleftreason()) { @@ -14248,14 +13949,10 @@ size_t GamePlayerLeftMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; total_size += 1 + @@ -14264,7 +13961,7 @@ size_t GamePlayerLeftMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -14285,8 +13982,7 @@ void GamePlayerLeftMessage::CheckTypeAndMergeFrom( void GamePlayerLeftMessage::MergeFrom(const GamePlayerLeftMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GamePlayerLeftMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -14302,6 +13998,7 @@ void GamePlayerLeftMessage::MergeFrom(const GamePlayerLeftMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GamePlayerLeftMessage::CopyFrom(const GamePlayerLeftMessage& from) { @@ -14318,7 +14015,7 @@ bool GamePlayerLeftMessage::IsInitialized() const { void GamePlayerLeftMessage::InternalSwap(GamePlayerLeftMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GamePlayerLeftMessage, gameplayerleftreason_) @@ -14335,8 +14032,6 @@ std::string GamePlayerLeftMessage::GetTypeName() const { // =================================================================== -void GameSpectatorJoinedMessage::InitAsDefaultInstance() { -} class GameSpectatorJoinedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -14351,10 +14046,13 @@ class GameSpectatorJoinedMessage::_Internal { } }; -GameSpectatorJoinedMessage::GameSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameSpectatorJoinedMessage::GameSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameSpectatorJoinedMessage) } GameSpectatorJoinedMessage::GameSpectatorJoinedMessage(const GameSpectatorJoinedMessage& from) @@ -14367,20 +14065,22 @@ GameSpectatorJoinedMessage::GameSpectatorJoinedMessage(const GameSpectatorJoined // @@protoc_insertion_point(copy_constructor:GameSpectatorJoinedMessage) } -void GameSpectatorJoinedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void GameSpectatorJoinedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } GameSpectatorJoinedMessage::~GameSpectatorJoinedMessage() { // @@protoc_insertion_point(destructor:GameSpectatorJoinedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameSpectatorJoinedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameSpectatorJoinedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameSpectatorJoinedMessage::ArenaDtor(void* object) { @@ -14392,15 +14092,10 @@ void GameSpectatorJoinedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Aren void GameSpectatorJoinedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameSpectatorJoinedMessage& GameSpectatorJoinedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameSpectatorJoinedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameSpectatorJoinedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameSpectatorJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -14417,55 +14112,56 @@ void GameSpectatorJoinedMessage::Clear() { const char* GameSpectatorJoinedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameSpectatorJoinedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameSpectatorJoinedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameSpectatorJoinedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -14495,17 +14191,14 @@ size_t GameSpectatorJoinedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } + return total_size; } size_t GameSpectatorJoinedMessage::ByteSizeLong() const { @@ -14514,19 +14207,15 @@ size_t GameSpectatorJoinedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -14547,8 +14236,7 @@ void GameSpectatorJoinedMessage::CheckTypeAndMergeFrom( void GameSpectatorJoinedMessage::MergeFrom(const GameSpectatorJoinedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameSpectatorJoinedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -14561,6 +14249,7 @@ void GameSpectatorJoinedMessage::MergeFrom(const GameSpectatorJoinedMessage& fro } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameSpectatorJoinedMessage::CopyFrom(const GameSpectatorJoinedMessage& from) { @@ -14577,7 +14266,7 @@ bool GameSpectatorJoinedMessage::IsInitialized() const { void GameSpectatorJoinedMessage::InternalSwap(GameSpectatorJoinedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameSpectatorJoinedMessage, playerid_) @@ -14594,8 +14283,6 @@ std::string GameSpectatorJoinedMessage::GetTypeName() const { // =================================================================== -void GameSpectatorLeftMessage::InitAsDefaultInstance() { -} class GameSpectatorLeftMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -14613,10 +14300,13 @@ class GameSpectatorLeftMessage::_Internal { } }; -GameSpectatorLeftMessage::GameSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameSpectatorLeftMessage::GameSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameSpectatorLeftMessage) } GameSpectatorLeftMessage::GameSpectatorLeftMessage(const GameSpectatorLeftMessage& from) @@ -14629,20 +14319,22 @@ GameSpectatorLeftMessage::GameSpectatorLeftMessage(const GameSpectatorLeftMessag // @@protoc_insertion_point(copy_constructor:GameSpectatorLeftMessage) } -void GameSpectatorLeftMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&gamespectatorleftreason_) - - reinterpret_cast(&gameid_)) + sizeof(gamespectatorleftreason_)); +inline void GameSpectatorLeftMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&gamespectatorleftreason_) - + reinterpret_cast(&gameid_)) + sizeof(gamespectatorleftreason_)); } GameSpectatorLeftMessage::~GameSpectatorLeftMessage() { // @@protoc_insertion_point(destructor:GameSpectatorLeftMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameSpectatorLeftMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameSpectatorLeftMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameSpectatorLeftMessage::ArenaDtor(void* object) { @@ -14654,15 +14346,10 @@ void GameSpectatorLeftMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* void GameSpectatorLeftMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameSpectatorLeftMessage& GameSpectatorLeftMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameSpectatorLeftMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameSpectatorLeftMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameSpectatorLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -14679,67 +14366,69 @@ void GameSpectatorLeftMessage::Clear() { const char* GameSpectatorLeftMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::GamePlayerLeftMessage_GamePlayerLeftReason_IsValid(val))) { _internal_set_gamespectatorleftreason(static_cast<::GamePlayerLeftMessage_GamePlayerLeftReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameSpectatorLeftMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameSpectatorLeftMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameSpectatorLeftMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -14776,16 +14465,12 @@ size_t GameSpectatorLeftMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_gamespectatorleftreason()) { @@ -14802,14 +14487,10 @@ size_t GameSpectatorLeftMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; total_size += 1 + @@ -14818,7 +14499,7 @@ size_t GameSpectatorLeftMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -14839,8 +14520,7 @@ void GameSpectatorLeftMessage::CheckTypeAndMergeFrom( void GameSpectatorLeftMessage::MergeFrom(const GameSpectatorLeftMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameSpectatorLeftMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -14856,6 +14536,7 @@ void GameSpectatorLeftMessage::MergeFrom(const GameSpectatorLeftMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameSpectatorLeftMessage::CopyFrom(const GameSpectatorLeftMessage& from) { @@ -14872,7 +14553,7 @@ bool GameSpectatorLeftMessage::IsInitialized() const { void GameSpectatorLeftMessage::InternalSwap(GameSpectatorLeftMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameSpectatorLeftMessage, gamespectatorleftreason_) @@ -14889,8 +14570,6 @@ std::string GameSpectatorLeftMessage::GetTypeName() const { // =================================================================== -void GameAdminChangedMessage::InitAsDefaultInstance() { -} class GameAdminChangedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -14905,10 +14584,13 @@ class GameAdminChangedMessage::_Internal { } }; -GameAdminChangedMessage::GameAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameAdminChangedMessage::GameAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameAdminChangedMessage) } GameAdminChangedMessage::GameAdminChangedMessage(const GameAdminChangedMessage& from) @@ -14921,20 +14603,22 @@ GameAdminChangedMessage::GameAdminChangedMessage(const GameAdminChangedMessage& // @@protoc_insertion_point(copy_constructor:GameAdminChangedMessage) } -void GameAdminChangedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&newadminplayerid_) - - reinterpret_cast(&gameid_)) + sizeof(newadminplayerid_)); +inline void GameAdminChangedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&newadminplayerid_) - + reinterpret_cast(&gameid_)) + sizeof(newadminplayerid_)); } GameAdminChangedMessage::~GameAdminChangedMessage() { // @@protoc_insertion_point(destructor:GameAdminChangedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameAdminChangedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameAdminChangedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameAdminChangedMessage::ArenaDtor(void* object) { @@ -14946,15 +14630,10 @@ void GameAdminChangedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void GameAdminChangedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameAdminChangedMessage& GameAdminChangedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameAdminChangedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameAdminChangedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameAdminChangedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -14971,55 +14650,56 @@ void GameAdminChangedMessage::Clear() { const char* GameAdminChangedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 newAdminPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_newadminplayerid(&has_bits); newadminplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameAdminChangedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameAdminChangedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameAdminChangedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -15049,16 +14729,12 @@ size_t GameAdminChangedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_newadminplayerid()) { // required uint32 newAdminPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_newadminplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_newadminplayerid()); } return total_size; @@ -15069,19 +14745,15 @@ size_t GameAdminChangedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 newAdminPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_newadminplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_newadminplayerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15102,8 +14774,7 @@ void GameAdminChangedMessage::CheckTypeAndMergeFrom( void GameAdminChangedMessage::MergeFrom(const GameAdminChangedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameAdminChangedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -15116,6 +14787,7 @@ void GameAdminChangedMessage::MergeFrom(const GameAdminChangedMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameAdminChangedMessage::CopyFrom(const GameAdminChangedMessage& from) { @@ -15132,7 +14804,7 @@ bool GameAdminChangedMessage::IsInitialized() const { void GameAdminChangedMessage::InternalSwap(GameAdminChangedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameAdminChangedMessage, newadminplayerid_) @@ -15149,8 +14821,6 @@ std::string GameAdminChangedMessage::GetTypeName() const { // =================================================================== -void RemovedFromGameMessage::InitAsDefaultInstance() { -} class RemovedFromGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -15165,10 +14835,13 @@ class RemovedFromGameMessage::_Internal { } }; -RemovedFromGameMessage::RemovedFromGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +RemovedFromGameMessage::RemovedFromGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:RemovedFromGameMessage) } RemovedFromGameMessage::RemovedFromGameMessage(const RemovedFromGameMessage& from) @@ -15181,20 +14854,22 @@ RemovedFromGameMessage::RemovedFromGameMessage(const RemovedFromGameMessage& fro // @@protoc_insertion_point(copy_constructor:RemovedFromGameMessage) } -void RemovedFromGameMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&removedfromgamereason_) - - reinterpret_cast(&gameid_)) + sizeof(removedfromgamereason_)); +inline void RemovedFromGameMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&removedfromgamereason_) - + reinterpret_cast(&gameid_)) + sizeof(removedfromgamereason_)); } RemovedFromGameMessage::~RemovedFromGameMessage() { // @@protoc_insertion_point(destructor:RemovedFromGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void RemovedFromGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void RemovedFromGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void RemovedFromGameMessage::ArenaDtor(void* object) { @@ -15206,15 +14881,10 @@ void RemovedFromGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void RemovedFromGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const RemovedFromGameMessage& RemovedFromGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RemovedFromGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void RemovedFromGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:RemovedFromGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15231,59 +14901,60 @@ void RemovedFromGameMessage::Clear() { const char* RemovedFromGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::RemovedFromGameMessage_RemovedFromGameReason_IsValid(val))) { _internal_set_removedfromgamereason(static_cast<::RemovedFromGameMessage_RemovedFromGameReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* RemovedFromGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* RemovedFromGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:RemovedFromGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -15314,9 +14985,7 @@ size_t RemovedFromGameMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_removedfromgamereason()) { @@ -15333,9 +15002,7 @@ size_t RemovedFromGameMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; total_size += 1 + @@ -15344,7 +15011,7 @@ size_t RemovedFromGameMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15365,8 +15032,7 @@ void RemovedFromGameMessage::CheckTypeAndMergeFrom( void RemovedFromGameMessage::MergeFrom(const RemovedFromGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:RemovedFromGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -15379,6 +15045,7 @@ void RemovedFromGameMessage::MergeFrom(const RemovedFromGameMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void RemovedFromGameMessage::CopyFrom(const RemovedFromGameMessage& from) { @@ -15395,7 +15062,7 @@ bool RemovedFromGameMessage::IsInitialized() const { void RemovedFromGameMessage::InternalSwap(RemovedFromGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(RemovedFromGameMessage, removedfromgamereason_) @@ -15412,8 +15079,6 @@ std::string RemovedFromGameMessage::GetTypeName() const { // =================================================================== -void KickPlayerRequestMessage::InitAsDefaultInstance() { -} class KickPlayerRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -15428,10 +15093,13 @@ class KickPlayerRequestMessage::_Internal { } }; -KickPlayerRequestMessage::KickPlayerRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +KickPlayerRequestMessage::KickPlayerRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:KickPlayerRequestMessage) } KickPlayerRequestMessage::KickPlayerRequestMessage(const KickPlayerRequestMessage& from) @@ -15444,20 +15112,22 @@ KickPlayerRequestMessage::KickPlayerRequestMessage(const KickPlayerRequestMessag // @@protoc_insertion_point(copy_constructor:KickPlayerRequestMessage) } -void KickPlayerRequestMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void KickPlayerRequestMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } KickPlayerRequestMessage::~KickPlayerRequestMessage() { // @@protoc_insertion_point(destructor:KickPlayerRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void KickPlayerRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void KickPlayerRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void KickPlayerRequestMessage::ArenaDtor(void* object) { @@ -15469,15 +15139,10 @@ void KickPlayerRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* void KickPlayerRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const KickPlayerRequestMessage& KickPlayerRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_KickPlayerRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void KickPlayerRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:KickPlayerRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15494,55 +15159,56 @@ void KickPlayerRequestMessage::Clear() { const char* KickPlayerRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* KickPlayerRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* KickPlayerRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:KickPlayerRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -15572,16 +15238,12 @@ size_t KickPlayerRequestMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } return total_size; @@ -15592,19 +15254,15 @@ size_t KickPlayerRequestMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15625,8 +15283,7 @@ void KickPlayerRequestMessage::CheckTypeAndMergeFrom( void KickPlayerRequestMessage::MergeFrom(const KickPlayerRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:KickPlayerRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -15639,6 +15296,7 @@ void KickPlayerRequestMessage::MergeFrom(const KickPlayerRequestMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void KickPlayerRequestMessage::CopyFrom(const KickPlayerRequestMessage& from) { @@ -15655,7 +15313,7 @@ bool KickPlayerRequestMessage::IsInitialized() const { void KickPlayerRequestMessage::InternalSwap(KickPlayerRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(KickPlayerRequestMessage, playerid_) @@ -15672,8 +15330,6 @@ std::string KickPlayerRequestMessage::GetTypeName() const { // =================================================================== -void LeaveGameRequestMessage::InitAsDefaultInstance() { -} class LeaveGameRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -15685,10 +15341,13 @@ class LeaveGameRequestMessage::_Internal { } }; -LeaveGameRequestMessage::LeaveGameRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +LeaveGameRequestMessage::LeaveGameRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:LeaveGameRequestMessage) } LeaveGameRequestMessage::LeaveGameRequestMessage(const LeaveGameRequestMessage& from) @@ -15699,18 +15358,19 @@ LeaveGameRequestMessage::LeaveGameRequestMessage(const LeaveGameRequestMessage& // @@protoc_insertion_point(copy_constructor:LeaveGameRequestMessage) } -void LeaveGameRequestMessage::SharedCtor() { - gameid_ = 0u; +inline void LeaveGameRequestMessage::SharedCtor() { +gameid_ = 0u; } LeaveGameRequestMessage::~LeaveGameRequestMessage() { // @@protoc_insertion_point(destructor:LeaveGameRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void LeaveGameRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void LeaveGameRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void LeaveGameRequestMessage::ArenaDtor(void* object) { @@ -15722,15 +15382,10 @@ void LeaveGameRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void LeaveGameRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const LeaveGameRequestMessage& LeaveGameRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_LeaveGameRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void LeaveGameRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:LeaveGameRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15742,47 +15397,47 @@ void LeaveGameRequestMessage::Clear() { const char* LeaveGameRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* LeaveGameRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* LeaveGameRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:LeaveGameRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -15806,11 +15461,9 @@ size_t LeaveGameRequestMessage::ByteSizeLong() const { // required uint32 gameId = 1; if (_internal_has_gameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15831,13 +15484,13 @@ void LeaveGameRequestMessage::CheckTypeAndMergeFrom( void LeaveGameRequestMessage::MergeFrom(const LeaveGameRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:LeaveGameRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_gameid()) { _internal_set_gameid(from._internal_gameid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void LeaveGameRequestMessage::CopyFrom(const LeaveGameRequestMessage& from) { @@ -15854,7 +15507,7 @@ bool LeaveGameRequestMessage::IsInitialized() const { void LeaveGameRequestMessage::InternalSwap(LeaveGameRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(gameid_, other->gameid_); } @@ -15866,8 +15519,6 @@ std::string LeaveGameRequestMessage::GetTypeName() const { // =================================================================== -void InvitePlayerToGameMessage::InitAsDefaultInstance() { -} class InvitePlayerToGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -15882,10 +15533,13 @@ class InvitePlayerToGameMessage::_Internal { } }; -InvitePlayerToGameMessage::InvitePlayerToGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +InvitePlayerToGameMessage::InvitePlayerToGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:InvitePlayerToGameMessage) } InvitePlayerToGameMessage::InvitePlayerToGameMessage(const InvitePlayerToGameMessage& from) @@ -15898,20 +15552,22 @@ InvitePlayerToGameMessage::InvitePlayerToGameMessage(const InvitePlayerToGameMes // @@protoc_insertion_point(copy_constructor:InvitePlayerToGameMessage) } -void InvitePlayerToGameMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void InvitePlayerToGameMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } InvitePlayerToGameMessage::~InvitePlayerToGameMessage() { // @@protoc_insertion_point(destructor:InvitePlayerToGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void InvitePlayerToGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void InvitePlayerToGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void InvitePlayerToGameMessage::ArenaDtor(void* object) { @@ -15923,15 +15579,10 @@ void InvitePlayerToGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void InvitePlayerToGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const InvitePlayerToGameMessage& InvitePlayerToGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_InvitePlayerToGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void InvitePlayerToGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:InvitePlayerToGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -15948,55 +15599,56 @@ void InvitePlayerToGameMessage::Clear() { const char* InvitePlayerToGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* InvitePlayerToGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* InvitePlayerToGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:InvitePlayerToGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -16026,16 +15678,12 @@ size_t InvitePlayerToGameMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } return total_size; @@ -16046,19 +15694,15 @@ size_t InvitePlayerToGameMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -16079,8 +15723,7 @@ void InvitePlayerToGameMessage::CheckTypeAndMergeFrom( void InvitePlayerToGameMessage::MergeFrom(const InvitePlayerToGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:InvitePlayerToGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -16093,6 +15736,7 @@ void InvitePlayerToGameMessage::MergeFrom(const InvitePlayerToGameMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void InvitePlayerToGameMessage::CopyFrom(const InvitePlayerToGameMessage& from) { @@ -16109,7 +15753,7 @@ bool InvitePlayerToGameMessage::IsInitialized() const { void InvitePlayerToGameMessage::InternalSwap(InvitePlayerToGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(InvitePlayerToGameMessage, playerid_) @@ -16126,8 +15770,6 @@ std::string InvitePlayerToGameMessage::GetTypeName() const { // =================================================================== -void InviteNotifyMessage::InitAsDefaultInstance() { -} class InviteNotifyMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -16145,10 +15787,13 @@ class InviteNotifyMessage::_Internal { } }; -InviteNotifyMessage::InviteNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +InviteNotifyMessage::InviteNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:InviteNotifyMessage) } InviteNotifyMessage::InviteNotifyMessage(const InviteNotifyMessage& from) @@ -16161,20 +15806,22 @@ InviteNotifyMessage::InviteNotifyMessage(const InviteNotifyMessage& from) // @@protoc_insertion_point(copy_constructor:InviteNotifyMessage) } -void InviteNotifyMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playeridbywhom_) - - reinterpret_cast(&gameid_)) + sizeof(playeridbywhom_)); +inline void InviteNotifyMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playeridbywhom_) - + reinterpret_cast(&gameid_)) + sizeof(playeridbywhom_)); } InviteNotifyMessage::~InviteNotifyMessage() { // @@protoc_insertion_point(destructor:InviteNotifyMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void InviteNotifyMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void InviteNotifyMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void InviteNotifyMessage::ArenaDtor(void* object) { @@ -16186,15 +15833,10 @@ void InviteNotifyMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void InviteNotifyMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const InviteNotifyMessage& InviteNotifyMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_InviteNotifyMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void InviteNotifyMessage::Clear() { // @@protoc_insertion_point(message_clear_start:InviteNotifyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -16211,63 +15853,65 @@ void InviteNotifyMessage::Clear() { const char* InviteNotifyMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerIdWho = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playeridwho(&has_bits); playeridwho_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerIdByWhom = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_playeridbywhom(&has_bits); playeridbywhom_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* InviteNotifyMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* InviteNotifyMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:InviteNotifyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -16303,23 +15947,17 @@ size_t InviteNotifyMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playeridwho()) { // required uint32 playerIdWho = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playeridwho()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playeridwho()); } if (_internal_has_playeridbywhom()) { // required uint32 playerIdByWhom = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playeridbywhom()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playeridbywhom()); } return total_size; @@ -16330,24 +15968,18 @@ size_t InviteNotifyMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerIdWho = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playeridwho()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playeridwho()); // required uint32 playerIdByWhom = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playeridbywhom()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playeridbywhom()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -16368,8 +16000,7 @@ void InviteNotifyMessage::CheckTypeAndMergeFrom( void InviteNotifyMessage::MergeFrom(const InviteNotifyMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:InviteNotifyMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -16385,6 +16016,7 @@ void InviteNotifyMessage::MergeFrom(const InviteNotifyMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void InviteNotifyMessage::CopyFrom(const InviteNotifyMessage& from) { @@ -16401,7 +16033,7 @@ bool InviteNotifyMessage::IsInitialized() const { void InviteNotifyMessage::InternalSwap(InviteNotifyMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(InviteNotifyMessage, playeridbywhom_) @@ -16418,8 +16050,6 @@ std::string InviteNotifyMessage::GetTypeName() const { // =================================================================== -void RejectGameInvitationMessage::InitAsDefaultInstance() { -} class RejectGameInvitationMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -16434,10 +16064,13 @@ class RejectGameInvitationMessage::_Internal { } }; -RejectGameInvitationMessage::RejectGameInvitationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +RejectGameInvitationMessage::RejectGameInvitationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:RejectGameInvitationMessage) } RejectGameInvitationMessage::RejectGameInvitationMessage(const RejectGameInvitationMessage& from) @@ -16450,20 +16083,22 @@ RejectGameInvitationMessage::RejectGameInvitationMessage(const RejectGameInvitat // @@protoc_insertion_point(copy_constructor:RejectGameInvitationMessage) } -void RejectGameInvitationMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&myrejectreason_) - - reinterpret_cast(&gameid_)) + sizeof(myrejectreason_)); +inline void RejectGameInvitationMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&myrejectreason_) - + reinterpret_cast(&gameid_)) + sizeof(myrejectreason_)); } RejectGameInvitationMessage::~RejectGameInvitationMessage() { // @@protoc_insertion_point(destructor:RejectGameInvitationMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void RejectGameInvitationMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void RejectGameInvitationMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void RejectGameInvitationMessage::ArenaDtor(void* object) { @@ -16475,15 +16110,10 @@ void RejectGameInvitationMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Are void RejectGameInvitationMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const RejectGameInvitationMessage& RejectGameInvitationMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RejectGameInvitationMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void RejectGameInvitationMessage::Clear() { // @@protoc_insertion_point(message_clear_start:RejectGameInvitationMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -16500,59 +16130,60 @@ void RejectGameInvitationMessage::Clear() { const char* RejectGameInvitationMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(val))) { _internal_set_myrejectreason(static_cast<::RejectGameInvitationMessage_RejectGameInvReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* RejectGameInvitationMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* RejectGameInvitationMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:RejectGameInvitationMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -16583,9 +16214,7 @@ size_t RejectGameInvitationMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_myrejectreason()) { @@ -16602,9 +16231,7 @@ size_t RejectGameInvitationMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; total_size += 1 + @@ -16613,7 +16240,7 @@ size_t RejectGameInvitationMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -16634,8 +16261,7 @@ void RejectGameInvitationMessage::CheckTypeAndMergeFrom( void RejectGameInvitationMessage::MergeFrom(const RejectGameInvitationMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:RejectGameInvitationMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -16648,6 +16274,7 @@ void RejectGameInvitationMessage::MergeFrom(const RejectGameInvitationMessage& f } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void RejectGameInvitationMessage::CopyFrom(const RejectGameInvitationMessage& from) { @@ -16664,7 +16291,7 @@ bool RejectGameInvitationMessage::IsInitialized() const { void RejectGameInvitationMessage::InternalSwap(RejectGameInvitationMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(RejectGameInvitationMessage, myrejectreason_) @@ -16681,8 +16308,6 @@ std::string RejectGameInvitationMessage::GetTypeName() const { // =================================================================== -void RejectInvNotifyMessage::InitAsDefaultInstance() { -} class RejectInvNotifyMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -16700,10 +16325,13 @@ class RejectInvNotifyMessage::_Internal { } }; -RejectInvNotifyMessage::RejectInvNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +RejectInvNotifyMessage::RejectInvNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:RejectInvNotifyMessage) } RejectInvNotifyMessage::RejectInvNotifyMessage(const RejectInvNotifyMessage& from) @@ -16716,20 +16344,22 @@ RejectInvNotifyMessage::RejectInvNotifyMessage(const RejectInvNotifyMessage& fro // @@protoc_insertion_point(copy_constructor:RejectInvNotifyMessage) } -void RejectInvNotifyMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerrejectreason_) - - reinterpret_cast(&gameid_)) + sizeof(playerrejectreason_)); +inline void RejectInvNotifyMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerrejectreason_) - + reinterpret_cast(&gameid_)) + sizeof(playerrejectreason_)); } RejectInvNotifyMessage::~RejectInvNotifyMessage() { // @@protoc_insertion_point(destructor:RejectInvNotifyMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void RejectInvNotifyMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void RejectInvNotifyMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void RejectInvNotifyMessage::ArenaDtor(void* object) { @@ -16741,15 +16371,10 @@ void RejectInvNotifyMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void RejectInvNotifyMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const RejectInvNotifyMessage& RejectInvNotifyMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_RejectInvNotifyMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void RejectInvNotifyMessage::Clear() { // @@protoc_insertion_point(message_clear_start:RejectInvNotifyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -16766,67 +16391,69 @@ void RejectInvNotifyMessage::Clear() { const char* RejectInvNotifyMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::RejectGameInvitationMessage_RejectGameInvReason_IsValid(val))) { _internal_set_playerrejectreason(static_cast<::RejectGameInvitationMessage_RejectGameInvReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* RejectInvNotifyMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* RejectInvNotifyMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:RejectInvNotifyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -16863,16 +16490,12 @@ size_t RejectInvNotifyMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_playerrejectreason()) { @@ -16889,14 +16512,10 @@ size_t RejectInvNotifyMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; total_size += 1 + @@ -16905,7 +16524,7 @@ size_t RejectInvNotifyMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -16926,8 +16545,7 @@ void RejectInvNotifyMessage::CheckTypeAndMergeFrom( void RejectInvNotifyMessage::MergeFrom(const RejectInvNotifyMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:RejectInvNotifyMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -16943,6 +16561,7 @@ void RejectInvNotifyMessage::MergeFrom(const RejectInvNotifyMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void RejectInvNotifyMessage::CopyFrom(const RejectInvNotifyMessage& from) { @@ -16959,7 +16578,7 @@ bool RejectInvNotifyMessage::IsInitialized() const { void RejectInvNotifyMessage::InternalSwap(RejectInvNotifyMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(RejectInvNotifyMessage, playerrejectreason_) @@ -16976,8 +16595,6 @@ std::string RejectInvNotifyMessage::GetTypeName() const { // =================================================================== -void StartEventMessage::InitAsDefaultInstance() { -} class StartEventMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -16995,10 +16612,13 @@ class StartEventMessage::_Internal { } }; -StartEventMessage::StartEventMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +StartEventMessage::StartEventMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:StartEventMessage) } StartEventMessage::StartEventMessage(const StartEventMessage& from) @@ -17011,20 +16631,22 @@ StartEventMessage::StartEventMessage(const StartEventMessage& from) // @@protoc_insertion_point(copy_constructor:StartEventMessage) } -void StartEventMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&fillwithcomputerplayers_) - - reinterpret_cast(&gameid_)) + sizeof(fillwithcomputerplayers_)); +inline void StartEventMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&fillwithcomputerplayers_) - + reinterpret_cast(&gameid_)) + sizeof(fillwithcomputerplayers_)); } StartEventMessage::~StartEventMessage() { // @@protoc_insertion_point(destructor:StartEventMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void StartEventMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void StartEventMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void StartEventMessage::ArenaDtor(void* object) { @@ -17036,15 +16658,10 @@ void StartEventMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void StartEventMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StartEventMessage& StartEventMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StartEventMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void StartEventMessage::Clear() { // @@protoc_insertion_point(message_clear_start:StartEventMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17061,67 +16678,69 @@ void StartEventMessage::Clear() { const char* StartEventMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .StartEventMessage.StartEventType startEventType = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::StartEventMessage_StartEventType_IsValid(val))) { _internal_set_starteventtype(static_cast<::StartEventMessage_StartEventType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bool fillWithComputerPlayers = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_fillwithcomputerplayers(&has_bits); fillwithcomputerplayers_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* StartEventMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* StartEventMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:StartEventMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -17158,9 +16777,7 @@ size_t StartEventMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_starteventtype()) { @@ -17177,9 +16794,7 @@ size_t StartEventMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required .StartEventMessage.StartEventType startEventType = 2; total_size += 1 + @@ -17188,7 +16803,7 @@ size_t StartEventMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17215,8 +16830,7 @@ void StartEventMessage::CheckTypeAndMergeFrom( void StartEventMessage::MergeFrom(const StartEventMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:StartEventMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -17232,6 +16846,7 @@ void StartEventMessage::MergeFrom(const StartEventMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void StartEventMessage::CopyFrom(const StartEventMessage& from) { @@ -17248,7 +16863,7 @@ bool StartEventMessage::IsInitialized() const { void StartEventMessage::InternalSwap(StartEventMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(StartEventMessage, fillwithcomputerplayers_) @@ -17265,8 +16880,6 @@ std::string StartEventMessage::GetTypeName() const { // =================================================================== -void StartEventAckMessage::InitAsDefaultInstance() { -} class StartEventAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -17278,10 +16891,13 @@ class StartEventAckMessage::_Internal { } }; -StartEventAckMessage::StartEventAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +StartEventAckMessage::StartEventAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:StartEventAckMessage) } StartEventAckMessage::StartEventAckMessage(const StartEventAckMessage& from) @@ -17292,18 +16908,19 @@ StartEventAckMessage::StartEventAckMessage(const StartEventAckMessage& from) // @@protoc_insertion_point(copy_constructor:StartEventAckMessage) } -void StartEventAckMessage::SharedCtor() { - gameid_ = 0u; +inline void StartEventAckMessage::SharedCtor() { +gameid_ = 0u; } StartEventAckMessage::~StartEventAckMessage() { // @@protoc_insertion_point(destructor:StartEventAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void StartEventAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void StartEventAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void StartEventAckMessage::ArenaDtor(void* object) { @@ -17315,15 +16932,10 @@ void StartEventAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void StartEventAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StartEventAckMessage& StartEventAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StartEventAckMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void StartEventAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:StartEventAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17335,47 +16947,47 @@ void StartEventAckMessage::Clear() { const char* StartEventAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* StartEventAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* StartEventAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:StartEventAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -17399,11 +17011,9 @@ size_t StartEventAckMessage::ByteSizeLong() const { // required uint32 gameId = 1; if (_internal_has_gameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17424,13 +17034,13 @@ void StartEventAckMessage::CheckTypeAndMergeFrom( void StartEventAckMessage::MergeFrom(const StartEventAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:StartEventAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_gameid()) { _internal_set_gameid(from._internal_gameid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void StartEventAckMessage::CopyFrom(const StartEventAckMessage& from) { @@ -17447,7 +17057,7 @@ bool StartEventAckMessage::IsInitialized() const { void StartEventAckMessage::InternalSwap(StartEventAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(gameid_, other->gameid_); } @@ -17459,8 +17069,6 @@ std::string StartEventAckMessage::GetTypeName() const { // =================================================================== -void GameStartInitialMessage::InitAsDefaultInstance() { -} class GameStartInitialMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -17475,11 +17083,14 @@ class GameStartInitialMessage::_Internal { } }; -GameStartInitialMessage::GameStartInitialMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +GameStartInitialMessage::GameStartInitialMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), playerseats_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameStartInitialMessage) } GameStartInitialMessage::GameStartInitialMessage(const GameStartInitialMessage& from) @@ -17493,20 +17104,22 @@ GameStartInitialMessage::GameStartInitialMessage(const GameStartInitialMessage& // @@protoc_insertion_point(copy_constructor:GameStartInitialMessage) } -void GameStartInitialMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&startdealerplayerid_) - - reinterpret_cast(&gameid_)) + sizeof(startdealerplayerid_)); +inline void GameStartInitialMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&startdealerplayerid_) - + reinterpret_cast(&gameid_)) + sizeof(startdealerplayerid_)); } GameStartInitialMessage::~GameStartInitialMessage() { // @@protoc_insertion_point(destructor:GameStartInitialMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameStartInitialMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameStartInitialMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameStartInitialMessage::ArenaDtor(void* object) { @@ -17518,15 +17131,10 @@ void GameStartInitialMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void GameStartInitialMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameStartInitialMessage& GameStartInitialMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameStartInitialMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameStartInitialMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameStartInitialMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17544,65 +17152,67 @@ void GameStartInitialMessage::Clear() { const char* GameStartInitialMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 startDealerPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_startdealerplayerid(&has_bits); startdealerplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated uint32 playerSeats = 3 [packed = true]; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_playerseats(), ptr, ctx); CHK_(ptr); - } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24) { + } else if (static_cast(tag) == 24) { _internal_add_playerseats(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr)); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameStartInitialMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameStartInitialMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameStartInitialMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -17641,16 +17251,12 @@ size_t GameStartInitialMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_startdealerplayerid()) { // required uint32 startDealerPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_startdealerplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startdealerplayerid()); } return total_size; @@ -17661,19 +17267,15 @@ size_t GameStartInitialMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 startDealerPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_startdealerplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startdealerplayerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17684,7 +17286,7 @@ size_t GameStartInitialMessage::ByteSizeLong() const { if (data_size > 0) { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( - static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + static_cast(data_size)); } int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); _playerseats_cached_byte_size_.store(cached_size, @@ -17709,8 +17311,7 @@ void GameStartInitialMessage::CheckTypeAndMergeFrom( void GameStartInitialMessage::MergeFrom(const GameStartInitialMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameStartInitialMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; playerseats_.MergeFrom(from.playerseats_); @@ -17724,6 +17325,7 @@ void GameStartInitialMessage::MergeFrom(const GameStartInitialMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameStartInitialMessage::CopyFrom(const GameStartInitialMessage& from) { @@ -17740,7 +17342,7 @@ bool GameStartInitialMessage::IsInitialized() const { void GameStartInitialMessage::InternalSwap(GameStartInitialMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); playerseats_.InternalSwap(&other->playerseats_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< @@ -17758,8 +17360,6 @@ std::string GameStartInitialMessage::GetTypeName() const { // =================================================================== -void GameStartRejoinMessage_RejoinPlayerData::InitAsDefaultInstance() { -} class GameStartRejoinMessage_RejoinPlayerData::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -17774,10 +17374,13 @@ class GameStartRejoinMessage_RejoinPlayerData::_Internal { } }; -GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameStartRejoinMessage.RejoinPlayerData) } GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData(const GameStartRejoinMessage_RejoinPlayerData& from) @@ -17790,20 +17393,22 @@ GameStartRejoinMessage_RejoinPlayerData::GameStartRejoinMessage_RejoinPlayerData // @@protoc_insertion_point(copy_constructor:GameStartRejoinMessage.RejoinPlayerData) } -void GameStartRejoinMessage_RejoinPlayerData::SharedCtor() { - ::memset(&playerid_, 0, static_cast( - reinterpret_cast(&playermoney_) - - reinterpret_cast(&playerid_)) + sizeof(playermoney_)); +inline void GameStartRejoinMessage_RejoinPlayerData::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&playerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playermoney_) - + reinterpret_cast(&playerid_)) + sizeof(playermoney_)); } GameStartRejoinMessage_RejoinPlayerData::~GameStartRejoinMessage_RejoinPlayerData() { // @@protoc_insertion_point(destructor:GameStartRejoinMessage.RejoinPlayerData) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameStartRejoinMessage_RejoinPlayerData::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameStartRejoinMessage_RejoinPlayerData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameStartRejoinMessage_RejoinPlayerData::ArenaDtor(void* object) { @@ -17815,15 +17420,10 @@ void GameStartRejoinMessage_RejoinPlayerData::RegisterArenaDtor(::PROTOBUF_NAMES void GameStartRejoinMessage_RejoinPlayerData::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameStartRejoinMessage_RejoinPlayerData& GameStartRejoinMessage_RejoinPlayerData::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameStartRejoinMessage_RejoinPlayerData_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameStartRejoinMessage_RejoinPlayerData::Clear() { // @@protoc_insertion_point(message_clear_start:GameStartRejoinMessage.RejoinPlayerData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17840,55 +17440,56 @@ void GameStartRejoinMessage_RejoinPlayerData::Clear() { const char* GameStartRejoinMessage_RejoinPlayerData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 playerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerMoney = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playermoney(&has_bits); playermoney_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameStartRejoinMessage_RejoinPlayerData::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameStartRejoinMessage_RejoinPlayerData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameStartRejoinMessage.RejoinPlayerData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -17918,16 +17519,12 @@ size_t GameStartRejoinMessage_RejoinPlayerData::RequiredFieldsByteSizeFallback() if (_internal_has_playerid()) { // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_playermoney()) { // required uint32 playerMoney = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); } return total_size; @@ -17938,19 +17535,15 @@ size_t GameStartRejoinMessage_RejoinPlayerData::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required uint32 playerMoney = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -17971,8 +17564,7 @@ void GameStartRejoinMessage_RejoinPlayerData::CheckTypeAndMergeFrom( void GameStartRejoinMessage_RejoinPlayerData::MergeFrom(const GameStartRejoinMessage_RejoinPlayerData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameStartRejoinMessage.RejoinPlayerData) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -17985,6 +17577,7 @@ void GameStartRejoinMessage_RejoinPlayerData::MergeFrom(const GameStartRejoinMes } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameStartRejoinMessage_RejoinPlayerData::CopyFrom(const GameStartRejoinMessage_RejoinPlayerData& from) { @@ -18001,7 +17594,7 @@ bool GameStartRejoinMessage_RejoinPlayerData::IsInitialized() const { void GameStartRejoinMessage_RejoinPlayerData::InternalSwap(GameStartRejoinMessage_RejoinPlayerData* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(GameStartRejoinMessage_RejoinPlayerData, playermoney_) @@ -18018,8 +17611,6 @@ std::string GameStartRejoinMessage_RejoinPlayerData::GetTypeName() const { // =================================================================== -void GameStartRejoinMessage::InitAsDefaultInstance() { -} class GameStartRejoinMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -18037,11 +17628,14 @@ class GameStartRejoinMessage::_Internal { } }; -GameStartRejoinMessage::GameStartRejoinMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +GameStartRejoinMessage::GameStartRejoinMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), rejoinplayerdata_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:GameStartRejoinMessage) } GameStartRejoinMessage::GameStartRejoinMessage(const GameStartRejoinMessage& from) @@ -18055,21 +17649,22 @@ GameStartRejoinMessage::GameStartRejoinMessage(const GameStartRejoinMessage& fro // @@protoc_insertion_point(copy_constructor:GameStartRejoinMessage) } -void GameStartRejoinMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GameStartRejoinMessage_pokerth_2eproto.base); - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&handnum_) - - reinterpret_cast(&gameid_)) + sizeof(handnum_)); +inline void GameStartRejoinMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&handnum_) - + reinterpret_cast(&gameid_)) + sizeof(handnum_)); } GameStartRejoinMessage::~GameStartRejoinMessage() { // @@protoc_insertion_point(destructor:GameStartRejoinMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void GameStartRejoinMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void GameStartRejoinMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void GameStartRejoinMessage::ArenaDtor(void* object) { @@ -18081,15 +17676,10 @@ void GameStartRejoinMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void GameStartRejoinMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const GameStartRejoinMessage& GameStartRejoinMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GameStartRejoinMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void GameStartRejoinMessage::Clear() { // @@protoc_insertion_point(message_clear_start:GameStartRejoinMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -18107,39 +17697,40 @@ void GameStartRejoinMessage::Clear() { const char* GameStartRejoinMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 startDealerPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_startdealerplayerid(&has_bits); startdealerplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 handNum = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_handnum(&has_bits); handnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr -= 1; do { ptr += 1; @@ -18147,35 +17738,37 @@ const char* GameStartRejoinMessage::_InternalParse(const char* ptr, ::PROTOBUF_N CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* GameStartRejoinMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* GameStartRejoinMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:GameStartRejoinMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -18219,23 +17812,17 @@ size_t GameStartRejoinMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_startdealerplayerid()) { // required uint32 startDealerPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_startdealerplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startdealerplayerid()); } if (_internal_has_handnum()) { // required uint32 handNum = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_handnum()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_handnum()); } return total_size; @@ -18246,24 +17833,18 @@ size_t GameStartRejoinMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 startDealerPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_startdealerplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startdealerplayerid()); // required uint32 handNum = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_handnum()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_handnum()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -18291,8 +17872,7 @@ void GameStartRejoinMessage::CheckTypeAndMergeFrom( void GameStartRejoinMessage::MergeFrom(const GameStartRejoinMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:GameStartRejoinMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; rejoinplayerdata_.MergeFrom(from.rejoinplayerdata_); @@ -18309,6 +17889,7 @@ void GameStartRejoinMessage::MergeFrom(const GameStartRejoinMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void GameStartRejoinMessage::CopyFrom(const GameStartRejoinMessage& from) { @@ -18320,13 +17901,14 @@ void GameStartRejoinMessage::CopyFrom(const GameStartRejoinMessage& from) { bool GameStartRejoinMessage::IsInitialized() const { if (_Internal::MissingRequiredFields(_has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(rejoinplayerdata_)) return false; + if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(rejoinplayerdata_)) + return false; return true; } void GameStartRejoinMessage::InternalSwap(GameStartRejoinMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); rejoinplayerdata_.InternalSwap(&other->rejoinplayerdata_); ::PROTOBUF_NAMESPACE_ID::internal::memswap< @@ -18344,8 +17926,572 @@ std::string GameStartRejoinMessage::GetTypeName() const { // =================================================================== -void HandStartMessage_PlainCards::InitAsDefaultInstance() { +class GameStartReentryMessage_ReentryPlayerData::_Internal { + public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_playerid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_playermoney(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static bool MissingRequiredFields(const HasBits& has_bits) { + return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0; + } +}; + +GameStartReentryMessage_ReentryPlayerData::GameStartReentryMessage_ReentryPlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:GameStartReentryMessage.ReentryPlayerData) } +GameStartReentryMessage_ReentryPlayerData::GameStartReentryMessage_ReentryPlayerData(const GameStartReentryMessage_ReentryPlayerData& from) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(), + _has_bits_(from._has_bits_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&playerid_, &from.playerid_, + static_cast(reinterpret_cast(&playermoney_) - + reinterpret_cast(&playerid_)) + sizeof(playermoney_)); + // @@protoc_insertion_point(copy_constructor:GameStartReentryMessage.ReentryPlayerData) +} + +inline void GameStartReentryMessage_ReentryPlayerData::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&playerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playermoney_) - + reinterpret_cast(&playerid_)) + sizeof(playermoney_)); +} + +GameStartReentryMessage_ReentryPlayerData::~GameStartReentryMessage_ReentryPlayerData() { + // @@protoc_insertion_point(destructor:GameStartReentryMessage.ReentryPlayerData) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete(); +} + +inline void GameStartReentryMessage_ReentryPlayerData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void GameStartReentryMessage_ReentryPlayerData::ArenaDtor(void* object) { + GameStartReentryMessage_ReentryPlayerData* _this = reinterpret_cast< GameStartReentryMessage_ReentryPlayerData* >(object); + (void)_this; +} +void GameStartReentryMessage_ReentryPlayerData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void GameStartReentryMessage_ReentryPlayerData::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void GameStartReentryMessage_ReentryPlayerData::Clear() { +// @@protoc_insertion_point(message_clear_start:GameStartReentryMessage.ReentryPlayerData) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + ::memset(&playerid_, 0, static_cast( + reinterpret_cast(&playermoney_) - + reinterpret_cast(&playerid_)) + sizeof(playermoney_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +const char* GameStartReentryMessage_ReentryPlayerData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // required uint32 playerId = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_playerid(&has_bits); + playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // required uint32 playerMoney = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_playermoney(&has_bits); + playermoney_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GameStartReentryMessage_ReentryPlayerData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:GameStartReentryMessage.ReentryPlayerData) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required uint32 playerId = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_playerid(), target); + } + + // required uint32 playerMoney = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_playermoney(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), + static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:GameStartReentryMessage.ReentryPlayerData) + return target; +} + +size_t GameStartReentryMessage_ReentryPlayerData::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:GameStartReentryMessage.ReentryPlayerData) + size_t total_size = 0; + + if (_internal_has_playerid()) { + // required uint32 playerId = 1; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); + } + + if (_internal_has_playermoney()) { + // required uint32 playerMoney = 2; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); + } + + return total_size; +} +size_t GameStartReentryMessage_ReentryPlayerData::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:GameStartReentryMessage.ReentryPlayerData) + size_t total_size = 0; + + if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. + // required uint32 playerId = 1; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); + + // required uint32 playerMoney = 2; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); + + } else { + total_size += RequiredFieldsByteSizeFallback(); + } + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GameStartReentryMessage_ReentryPlayerData::CheckTypeAndMergeFrom( + const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { + MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast( + &from)); +} + +void GameStartReentryMessage_ReentryPlayerData::MergeFrom(const GameStartReentryMessage_ReentryPlayerData& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:GameStartReentryMessage.ReentryPlayerData) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + playerid_ = from.playerid_; + } + if (cached_has_bits & 0x00000002u) { + playermoney_ = from.playermoney_; + } + _has_bits_[0] |= cached_has_bits; + } + _internal_metadata_.MergeFrom(from._internal_metadata_); +} + +void GameStartReentryMessage_ReentryPlayerData::CopyFrom(const GameStartReentryMessage_ReentryPlayerData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:GameStartReentryMessage.ReentryPlayerData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GameStartReentryMessage_ReentryPlayerData::IsInitialized() const { + if (_Internal::MissingRequiredFields(_has_bits_)) return false; + return true; +} + +void GameStartReentryMessage_ReentryPlayerData::InternalSwap(GameStartReentryMessage_ReentryPlayerData* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GameStartReentryMessage_ReentryPlayerData, playermoney_) + + sizeof(GameStartReentryMessage_ReentryPlayerData::playermoney_) + - PROTOBUF_FIELD_OFFSET(GameStartReentryMessage_ReentryPlayerData, playerid_)>( + reinterpret_cast(&playerid_), + reinterpret_cast(&other->playerid_)); +} + +std::string GameStartReentryMessage_ReentryPlayerData::GetTypeName() const { + return "GameStartReentryMessage.ReentryPlayerData"; +} + + +// =================================================================== + +class GameStartReentryMessage::_Internal { + public: + using HasBits = decltype(std::declval()._has_bits_); + static void set_has_gameid(HasBits* has_bits) { + (*has_bits)[0] |= 1u; + } + static void set_has_startdealerplayerid(HasBits* has_bits) { + (*has_bits)[0] |= 2u; + } + static void set_has_handnum(HasBits* has_bits) { + (*has_bits)[0] |= 4u; + } + static bool MissingRequiredFields(const HasBits& has_bits) { + return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0; + } +}; + +GameStartReentryMessage::GameStartReentryMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), + reentryplayerdata_(arena) { + SharedCtor(); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } + // @@protoc_insertion_point(arena_constructor:GameStartReentryMessage) +} +GameStartReentryMessage::GameStartReentryMessage(const GameStartReentryMessage& from) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(), + _has_bits_(from._has_bits_), + reentryplayerdata_(from.reentryplayerdata_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&gameid_, &from.gameid_, + static_cast(reinterpret_cast(&handnum_) - + reinterpret_cast(&gameid_)) + sizeof(handnum_)); + // @@protoc_insertion_point(copy_constructor:GameStartReentryMessage) +} + +inline void GameStartReentryMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&handnum_) - + reinterpret_cast(&gameid_)) + sizeof(handnum_)); +} + +GameStartReentryMessage::~GameStartReentryMessage() { + // @@protoc_insertion_point(destructor:GameStartReentryMessage) + if (GetArenaForAllocation() != nullptr) return; + SharedDtor(); + _internal_metadata_.Delete(); +} + +inline void GameStartReentryMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void GameStartReentryMessage::ArenaDtor(void* object) { + GameStartReentryMessage* _this = reinterpret_cast< GameStartReentryMessage* >(object); + (void)_this; +} +void GameStartReentryMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { +} +void GameStartReentryMessage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} + +void GameStartReentryMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:GameStartReentryMessage) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + reentryplayerdata_.Clear(); + cached_has_bits = _has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + ::memset(&gameid_, 0, static_cast( + reinterpret_cast(&handnum_) - + reinterpret_cast(&gameid_)) + sizeof(handnum_)); + } + _has_bits_.Clear(); + _internal_metadata_.Clear(); +} + +const char* GameStartReentryMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + _Internal::HasBits has_bits{}; + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + switch (tag >> 3) { + // required uint32 gameId = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _Internal::set_has_gameid(&has_bits); + gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // required uint32 startDealerPlayerId = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + _Internal::set_has_startdealerplayerid(&has_bits); + startdealerplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // required uint32 handNum = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _Internal::set_has_handnum(&has_bits); + handnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(_internal_add_reentryplayerdata(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr)); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + _has_bits_.Or(has_bits); + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* GameStartReentryMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:GameStartReentryMessage) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = _has_bits_[0]; + // required uint32 gameId = 1; + if (cached_has_bits & 0x00000001u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_gameid(), target); + } + + // required uint32 startDealerPlayerId = 2; + if (cached_has_bits & 0x00000002u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_startdealerplayerid(), target); + } + + // required uint32 handNum = 3; + if (cached_has_bits & 0x00000004u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_handnum(), target); + } + + // repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + for (unsigned int i = 0, + n = static_cast(this->_internal_reentryplayerdata_size()); i < n; i++) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, this->_internal_reentryplayerdata(i), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), + static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); + } + // @@protoc_insertion_point(serialize_to_array_end:GameStartReentryMessage) + return target; +} + +size_t GameStartReentryMessage::RequiredFieldsByteSizeFallback() const { +// @@protoc_insertion_point(required_fields_byte_size_fallback_start:GameStartReentryMessage) + size_t total_size = 0; + + if (_internal_has_gameid()) { + // required uint32 gameId = 1; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); + } + + if (_internal_has_startdealerplayerid()) { + // required uint32 startDealerPlayerId = 2; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startdealerplayerid()); + } + + if (_internal_has_handnum()) { + // required uint32 handNum = 3; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_handnum()); + } + + return total_size; +} +size_t GameStartReentryMessage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:GameStartReentryMessage) + size_t total_size = 0; + + if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. + // required uint32 gameId = 1; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); + + // required uint32 startDealerPlayerId = 2; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_startdealerplayerid()); + + // required uint32 handNum = 3; + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_handnum()); + + } else { + total_size += RequiredFieldsByteSizeFallback(); + } + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + total_size += 1UL * this->_internal_reentryplayerdata_size(); + for (const auto& msg : this->reentryplayerdata_) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GameStartReentryMessage::CheckTypeAndMergeFrom( + const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) { + MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast( + &from)); +} + +void GameStartReentryMessage::MergeFrom(const GameStartReentryMessage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:GameStartReentryMessage) + GOOGLE_DCHECK_NE(&from, this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + reentryplayerdata_.MergeFrom(from.reentryplayerdata_); + cached_has_bits = from._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + gameid_ = from.gameid_; + } + if (cached_has_bits & 0x00000002u) { + startdealerplayerid_ = from.startdealerplayerid_; + } + if (cached_has_bits & 0x00000004u) { + handnum_ = from.handnum_; + } + _has_bits_[0] |= cached_has_bits; + } + _internal_metadata_.MergeFrom(from._internal_metadata_); +} + +void GameStartReentryMessage::CopyFrom(const GameStartReentryMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:GameStartReentryMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GameStartReentryMessage::IsInitialized() const { + if (_Internal::MissingRequiredFields(_has_bits_)) return false; + if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(reentryplayerdata_)) + return false; + return true; +} + +void GameStartReentryMessage::InternalSwap(GameStartReentryMessage* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_has_bits_[0], other->_has_bits_[0]); + reentryplayerdata_.InternalSwap(&other->reentryplayerdata_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(GameStartReentryMessage, handnum_) + + sizeof(GameStartReentryMessage::handnum_) + - PROTOBUF_FIELD_OFFSET(GameStartReentryMessage, gameid_)>( + reinterpret_cast(&gameid_), + reinterpret_cast(&other->gameid_)); +} + +std::string GameStartReentryMessage::GetTypeName() const { + return "GameStartReentryMessage"; +} + + +// =================================================================== + class HandStartMessage_PlainCards::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -18360,10 +18506,13 @@ class HandStartMessage_PlainCards::_Internal { } }; -HandStartMessage_PlainCards::HandStartMessage_PlainCards(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +HandStartMessage_PlainCards::HandStartMessage_PlainCards(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:HandStartMessage.PlainCards) } HandStartMessage_PlainCards::HandStartMessage_PlainCards(const HandStartMessage_PlainCards& from) @@ -18376,20 +18525,22 @@ HandStartMessage_PlainCards::HandStartMessage_PlainCards(const HandStartMessage_ // @@protoc_insertion_point(copy_constructor:HandStartMessage.PlainCards) } -void HandStartMessage_PlainCards::SharedCtor() { - ::memset(&plaincard1_, 0, static_cast( - reinterpret_cast(&plaincard2_) - - reinterpret_cast(&plaincard1_)) + sizeof(plaincard2_)); +inline void HandStartMessage_PlainCards::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&plaincard1_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&plaincard2_) - + reinterpret_cast(&plaincard1_)) + sizeof(plaincard2_)); } HandStartMessage_PlainCards::~HandStartMessage_PlainCards() { // @@protoc_insertion_point(destructor:HandStartMessage.PlainCards) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void HandStartMessage_PlainCards::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void HandStartMessage_PlainCards::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void HandStartMessage_PlainCards::ArenaDtor(void* object) { @@ -18401,15 +18552,10 @@ void HandStartMessage_PlainCards::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Are void HandStartMessage_PlainCards::SetCachedSize(int size) const { _cached_size_.Set(size); } -const HandStartMessage_PlainCards& HandStartMessage_PlainCards::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HandStartMessage_PlainCards_pokerth_2eproto.base); - return *internal_default_instance(); -} - void HandStartMessage_PlainCards::Clear() { // @@protoc_insertion_point(message_clear_start:HandStartMessage.PlainCards) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -18426,55 +18572,56 @@ void HandStartMessage_PlainCards::Clear() { const char* HandStartMessage_PlainCards::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 plainCard1 = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_plaincard1(&has_bits); plaincard1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 plainCard2 = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_plaincard2(&has_bits); plaincard2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* HandStartMessage_PlainCards::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* HandStartMessage_PlainCards::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:HandStartMessage.PlainCards) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -18504,16 +18651,12 @@ size_t HandStartMessage_PlainCards::RequiredFieldsByteSizeFallback() const { if (_internal_has_plaincard1()) { // required uint32 plainCard1 = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_plaincard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_plaincard1()); } if (_internal_has_plaincard2()) { // required uint32 plainCard2 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_plaincard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_plaincard2()); } return total_size; @@ -18524,19 +18667,15 @@ size_t HandStartMessage_PlainCards::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 plainCard1 = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_plaincard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_plaincard1()); // required uint32 plainCard2 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_plaincard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_plaincard2()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -18557,8 +18696,7 @@ void HandStartMessage_PlainCards::CheckTypeAndMergeFrom( void HandStartMessage_PlainCards::MergeFrom(const HandStartMessage_PlainCards& from) { // @@protoc_insertion_point(class_specific_merge_from_start:HandStartMessage.PlainCards) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -18571,6 +18709,7 @@ void HandStartMessage_PlainCards::MergeFrom(const HandStartMessage_PlainCards& f } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void HandStartMessage_PlainCards::CopyFrom(const HandStartMessage_PlainCards& from) { @@ -18587,7 +18726,7 @@ bool HandStartMessage_PlainCards::IsInitialized() const { void HandStartMessage_PlainCards::InternalSwap(HandStartMessage_PlainCards* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(HandStartMessage_PlainCards, plaincard2_) @@ -18604,10 +18743,6 @@ std::string HandStartMessage_PlainCards::GetTypeName() const { // =================================================================== -void HandStartMessage::InitAsDefaultInstance() { - ::_HandStartMessage_default_instance_._instance.get_mutable()->plaincards_ = const_cast< ::HandStartMessage_PlainCards*>( - ::HandStartMessage_PlainCards::internal_default_instance()); -} class HandStartMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -18636,11 +18771,14 @@ const ::HandStartMessage_PlainCards& HandStartMessage::_Internal::plaincards(const HandStartMessage* msg) { return *msg->plaincards_; } -HandStartMessage::HandStartMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +HandStartMessage::HandStartMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), seatstates_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:HandStartMessage) } HandStartMessage::HandStartMessage(const HandStartMessage& from) @@ -18649,9 +18787,12 @@ HandStartMessage::HandStartMessage(const HandStartMessage& from) seatstates_(from.seatstates_) { _internal_metadata_.MergeFrom(from._internal_metadata_); encryptedcards_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + encryptedcards_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_encryptedcards()) { - encryptedcards_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_encryptedcards(), - GetArena()); + encryptedcards_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_encryptedcards(), + GetArenaForAllocation()); } if (from._internal_has_plaincards()) { plaincards_ = new ::HandStartMessage_PlainCards(*from.plaincards_); @@ -18664,22 +18805,26 @@ HandStartMessage::HandStartMessage(const HandStartMessage& from) // @@protoc_insertion_point(copy_constructor:HandStartMessage) } -void HandStartMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_HandStartMessage_pokerth_2eproto.base); - encryptedcards_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&plaincards_, 0, static_cast( - reinterpret_cast(&dealerplayerid_) - - reinterpret_cast(&plaincards_)) + sizeof(dealerplayerid_)); +inline void HandStartMessage::SharedCtor() { +encryptedcards_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + encryptedcards_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&plaincards_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&dealerplayerid_) - + reinterpret_cast(&plaincards_)) + sizeof(dealerplayerid_)); } HandStartMessage::~HandStartMessage() { // @@protoc_insertion_point(destructor:HandStartMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void HandStartMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void HandStartMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); encryptedcards_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); if (this != internal_default_instance()) delete plaincards_; } @@ -18693,15 +18838,10 @@ void HandStartMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void HandStartMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const HandStartMessage& HandStartMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_HandStartMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void HandStartMessage::Clear() { // @@protoc_insertion_point(message_clear_start:HandStartMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -18728,50 +18868,52 @@ void HandStartMessage::Clear() { const char* HandStartMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .HandStartMessage.PlainCards plainCards = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_plaincards(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional bytes encryptedCards = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { auto str = _internal_mutable_encryptedcards(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 smallBlind = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_smallblind(&has_bits); smallblind_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated .NetPlayerState seatStates = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { ptr -= 1; do { ptr += 1; - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetPlayerState_IsValid(val))) { _internal_add_seatstates(static_cast<::NetPlayerState>(val)); @@ -18780,46 +18922,49 @@ const char* HandStartMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA } if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<40>(ptr)); - } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42) { + } else if (static_cast(tag) == 42) { ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedEnumParser(_internal_mutable_seatstates(), ptr, ctx, ::NetPlayerState_IsValid, &_internal_metadata_, 5); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 dealerPlayerId = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { _Internal::set_has_dealerplayerid(&has_bits); dealerplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* HandStartMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* HandStartMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:HandStartMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -18876,16 +19021,12 @@ size_t HandStartMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_smallblind()) { // required uint32 smallBlind = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_smallblind()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_smallblind()); } return total_size; @@ -18896,19 +19037,15 @@ size_t HandStartMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000000c) ^ 0x0000000c) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 smallBlind = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_smallblind()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_smallblind()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -18941,9 +19078,7 @@ size_t HandStartMessage::ByteSizeLong() const { } // optional uint32 dealerPlayerId = 6; if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_dealerplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_dealerplayerid()); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -18963,8 +19098,7 @@ void HandStartMessage::CheckTypeAndMergeFrom( void HandStartMessage::MergeFrom(const HandStartMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:HandStartMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; seatstates_.MergeFrom(from.seatstates_); @@ -18987,6 +19121,7 @@ void HandStartMessage::MergeFrom(const HandStartMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void HandStartMessage::CopyFrom(const HandStartMessage& from) { @@ -19006,10 +19141,16 @@ bool HandStartMessage::IsInitialized() const { void HandStartMessage::InternalSwap(HandStartMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); seatstates_.InternalSwap(&other->seatstates_); - encryptedcards_.Swap(&other->encryptedcards_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &encryptedcards_, lhs_arena, + &other->encryptedcards_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(HandStartMessage, dealerplayerid_) + sizeof(HandStartMessage::dealerplayerid_) @@ -19025,8 +19166,6 @@ std::string HandStartMessage::GetTypeName() const { // =================================================================== -void PlayersTurnMessage::InitAsDefaultInstance() { -} class PlayersTurnMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -19044,10 +19183,13 @@ class PlayersTurnMessage::_Internal { } }; -PlayersTurnMessage::PlayersTurnMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +PlayersTurnMessage::PlayersTurnMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayersTurnMessage) } PlayersTurnMessage::PlayersTurnMessage(const PlayersTurnMessage& from) @@ -19060,20 +19202,22 @@ PlayersTurnMessage::PlayersTurnMessage(const PlayersTurnMessage& from) // @@protoc_insertion_point(copy_constructor:PlayersTurnMessage) } -void PlayersTurnMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&gamestate_) - - reinterpret_cast(&gameid_)) + sizeof(gamestate_)); +inline void PlayersTurnMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&gamestate_) - + reinterpret_cast(&gameid_)) + sizeof(gamestate_)); } PlayersTurnMessage::~PlayersTurnMessage() { // @@protoc_insertion_point(destructor:PlayersTurnMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayersTurnMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayersTurnMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void PlayersTurnMessage::ArenaDtor(void* object) { @@ -19085,15 +19229,10 @@ void PlayersTurnMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void PlayersTurnMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayersTurnMessage& PlayersTurnMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayersTurnMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayersTurnMessage::Clear() { // @@protoc_insertion_point(message_clear_start:PlayersTurnMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -19110,67 +19249,69 @@ void PlayersTurnMessage::Clear() { const char* PlayersTurnMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameState gameState = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameState_IsValid(val))) { _internal_set_gamestate(static_cast<::NetGameState>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayersTurnMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayersTurnMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayersTurnMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -19207,16 +19348,12 @@ size_t PlayersTurnMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_gamestate()) { @@ -19233,14 +19370,10 @@ size_t PlayersTurnMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .NetGameState gameState = 3; total_size += 1 + @@ -19249,7 +19382,7 @@ size_t PlayersTurnMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -19270,8 +19403,7 @@ void PlayersTurnMessage::CheckTypeAndMergeFrom( void PlayersTurnMessage::MergeFrom(const PlayersTurnMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayersTurnMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -19287,6 +19419,7 @@ void PlayersTurnMessage::MergeFrom(const PlayersTurnMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayersTurnMessage::CopyFrom(const PlayersTurnMessage& from) { @@ -19303,7 +19436,7 @@ bool PlayersTurnMessage::IsInitialized() const { void PlayersTurnMessage::InternalSwap(PlayersTurnMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(PlayersTurnMessage, gamestate_) @@ -19320,8 +19453,6 @@ std::string PlayersTurnMessage::GetTypeName() const { // =================================================================== -void MyActionRequestMessage::InitAsDefaultInstance() { -} class MyActionRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -19345,10 +19476,13 @@ class MyActionRequestMessage::_Internal { } }; -MyActionRequestMessage::MyActionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +MyActionRequestMessage::MyActionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:MyActionRequestMessage) } MyActionRequestMessage::MyActionRequestMessage(const MyActionRequestMessage& from) @@ -19361,20 +19495,22 @@ MyActionRequestMessage::MyActionRequestMessage(const MyActionRequestMessage& fro // @@protoc_insertion_point(copy_constructor:MyActionRequestMessage) } -void MyActionRequestMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&myrelativebet_) - - reinterpret_cast(&gameid_)) + sizeof(myrelativebet_)); +inline void MyActionRequestMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&myrelativebet_) - + reinterpret_cast(&gameid_)) + sizeof(myrelativebet_)); } MyActionRequestMessage::~MyActionRequestMessage() { // @@protoc_insertion_point(destructor:MyActionRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void MyActionRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void MyActionRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void MyActionRequestMessage::ArenaDtor(void* object) { @@ -19386,15 +19522,10 @@ void MyActionRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void MyActionRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const MyActionRequestMessage& MyActionRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MyActionRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void MyActionRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:MyActionRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -19411,87 +19542,91 @@ void MyActionRequestMessage::Clear() { const char* MyActionRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 handNum = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_handnum(&has_bits); handnum_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameState gameState = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameState_IsValid(val))) { _internal_set_gamestate(static_cast<::NetGameState>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetPlayerAction myAction = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetPlayerAction_IsValid(val))) { _internal_set_myaction(static_cast<::NetPlayerAction>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 myRelativeBet = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_myrelativebet(&has_bits); myrelativebet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* MyActionRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* MyActionRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:MyActionRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -19541,16 +19676,12 @@ size_t MyActionRequestMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_handnum()) { // required uint32 handNum = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_handnum()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_handnum()); } if (_internal_has_gamestate()) { @@ -19567,9 +19698,7 @@ size_t MyActionRequestMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_myrelativebet()) { // required uint32 myRelativeBet = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_myrelativebet()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_myrelativebet()); } return total_size; @@ -19580,14 +19709,10 @@ size_t MyActionRequestMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 handNum = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_handnum()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_handnum()); // required .NetGameState gameState = 3; total_size += 1 + @@ -19598,14 +19723,12 @@ size_t MyActionRequestMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_myaction()); // required uint32 myRelativeBet = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_myrelativebet()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_myrelativebet()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -19626,8 +19749,7 @@ void MyActionRequestMessage::CheckTypeAndMergeFrom( void MyActionRequestMessage::MergeFrom(const MyActionRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:MyActionRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -19649,6 +19771,7 @@ void MyActionRequestMessage::MergeFrom(const MyActionRequestMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void MyActionRequestMessage::CopyFrom(const MyActionRequestMessage& from) { @@ -19665,7 +19788,7 @@ bool MyActionRequestMessage::IsInitialized() const { void MyActionRequestMessage::InternalSwap(MyActionRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(MyActionRequestMessage, myrelativebet_) @@ -19682,8 +19805,6 @@ std::string MyActionRequestMessage::GetTypeName() const { // =================================================================== -void YourActionRejectedMessage::InitAsDefaultInstance() { -} class YourActionRejectedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -19707,10 +19828,13 @@ class YourActionRejectedMessage::_Internal { } }; -YourActionRejectedMessage::YourActionRejectedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +YourActionRejectedMessage::YourActionRejectedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:YourActionRejectedMessage) } YourActionRejectedMessage::YourActionRejectedMessage(const YourActionRejectedMessage& from) @@ -19723,21 +19847,23 @@ YourActionRejectedMessage::YourActionRejectedMessage(const YourActionRejectedMes // @@protoc_insertion_point(copy_constructor:YourActionRejectedMessage) } -void YourActionRejectedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&yourrelativebet_) - - reinterpret_cast(&gameid_)) + sizeof(yourrelativebet_)); - rejectionreason_ = 1; +inline void YourActionRejectedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&yourrelativebet_) - + reinterpret_cast(&gameid_)) + sizeof(yourrelativebet_)); +rejectionreason_ = 1; } YourActionRejectedMessage::~YourActionRejectedMessage() { // @@protoc_insertion_point(destructor:YourActionRejectedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void YourActionRejectedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void YourActionRejectedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void YourActionRejectedMessage::ArenaDtor(void* object) { @@ -19749,15 +19875,10 @@ void YourActionRejectedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void YourActionRejectedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const YourActionRejectedMessage& YourActionRejectedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_YourActionRejectedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void YourActionRejectedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:YourActionRejectedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -19775,91 +19896,95 @@ void YourActionRejectedMessage::Clear() { const char* YourActionRejectedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameState gameState = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameState_IsValid(val))) { _internal_set_gamestate(static_cast<::NetGameState>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetPlayerAction yourAction = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetPlayerAction_IsValid(val))) { _internal_set_youraction(static_cast<::NetPlayerAction>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 yourRelativeBet = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_yourrelativebet(&has_bits); yourrelativebet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::YourActionRejectedMessage_RejectionReason_IsValid(val))) { _internal_set_rejectionreason(static_cast<::YourActionRejectedMessage_RejectionReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(5, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* YourActionRejectedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* YourActionRejectedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:YourActionRejectedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -19910,9 +20035,7 @@ size_t YourActionRejectedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_gamestate()) { @@ -19929,9 +20052,7 @@ size_t YourActionRejectedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_yourrelativebet()) { // required uint32 yourRelativeBet = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_yourrelativebet()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_yourrelativebet()); } if (_internal_has_rejectionreason()) { @@ -19939,6 +20060,7 @@ size_t YourActionRejectedMessage::RequiredFieldsByteSizeFallback() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_rejectionreason()); } + return total_size; } size_t YourActionRejectedMessage::ByteSizeLong() const { @@ -19947,9 +20069,7 @@ size_t YourActionRejectedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required .NetGameState gameState = 2; total_size += 1 + @@ -19960,9 +20080,7 @@ size_t YourActionRejectedMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_youraction()); // required uint32 yourRelativeBet = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_yourrelativebet()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_yourrelativebet()); // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; total_size += 1 + @@ -19971,7 +20089,7 @@ size_t YourActionRejectedMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -19992,8 +20110,7 @@ void YourActionRejectedMessage::CheckTypeAndMergeFrom( void YourActionRejectedMessage::MergeFrom(const YourActionRejectedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:YourActionRejectedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -20015,6 +20132,7 @@ void YourActionRejectedMessage::MergeFrom(const YourActionRejectedMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void YourActionRejectedMessage::CopyFrom(const YourActionRejectedMessage& from) { @@ -20031,7 +20149,7 @@ bool YourActionRejectedMessage::IsInitialized() const { void YourActionRejectedMessage::InternalSwap(YourActionRejectedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(YourActionRejectedMessage, yourrelativebet_) @@ -20049,8 +20167,6 @@ std::string YourActionRejectedMessage::GetTypeName() const { // =================================================================== -void PlayersActionDoneMessage::InitAsDefaultInstance() { -} class PlayersActionDoneMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -20083,10 +20199,13 @@ class PlayersActionDoneMessage::_Internal { } }; -PlayersActionDoneMessage::PlayersActionDoneMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +PlayersActionDoneMessage::PlayersActionDoneMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayersActionDoneMessage) } PlayersActionDoneMessage::PlayersActionDoneMessage(const PlayersActionDoneMessage& from) @@ -20099,20 +20218,22 @@ PlayersActionDoneMessage::PlayersActionDoneMessage(const PlayersActionDoneMessag // @@protoc_insertion_point(copy_constructor:PlayersActionDoneMessage) } -void PlayersActionDoneMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&minimumraise_) - - reinterpret_cast(&gameid_)) + sizeof(minimumraise_)); +inline void PlayersActionDoneMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&minimumraise_) - + reinterpret_cast(&gameid_)) + sizeof(minimumraise_)); } PlayersActionDoneMessage::~PlayersActionDoneMessage() { // @@protoc_insertion_point(destructor:PlayersActionDoneMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayersActionDoneMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayersActionDoneMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void PlayersActionDoneMessage::ArenaDtor(void* object) { @@ -20124,15 +20245,10 @@ void PlayersActionDoneMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* void PlayersActionDoneMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayersActionDoneMessage& PlayersActionDoneMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayersActionDoneMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayersActionDoneMessage::Clear() { // @@protoc_insertion_point(message_clear_start:PlayersActionDoneMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -20149,111 +20265,118 @@ void PlayersActionDoneMessage::Clear() { const char* PlayersActionDoneMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetGameState gameState = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetGameState_IsValid(val))) { _internal_set_gamestate(static_cast<::NetGameState>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .NetPlayerAction playerAction = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::NetPlayerAction_IsValid(val))) { _internal_set_playeraction(static_cast<::NetPlayerAction>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(4, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 totalPlayerBet = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_totalplayerbet(&has_bits); totalplayerbet_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerMoney = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { _Internal::set_has_playermoney(&has_bits); playermoney_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 highestSet = 7; case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 56)) { _Internal::set_has_highestset(&has_bits); highestset_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 minimumRaise = 8; case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 64)) { _Internal::set_has_minimumraise(&has_bits); minimumraise_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayersActionDoneMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayersActionDoneMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayersActionDoneMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -20321,16 +20444,12 @@ size_t PlayersActionDoneMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_gamestate()) { @@ -20347,31 +20466,24 @@ size_t PlayersActionDoneMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_totalplayerbet()) { // required uint32 totalPlayerBet = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_totalplayerbet()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_totalplayerbet()); } if (_internal_has_playermoney()) { // required uint32 playerMoney = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); } if (_internal_has_highestset()) { // required uint32 highestSet = 7; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_highestset()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_highestset()); } if (_internal_has_minimumraise()) { // required uint32 minimumRaise = 8; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_minimumraise()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_minimumraise()); } + return total_size; } size_t PlayersActionDoneMessage::ByteSizeLong() const { @@ -20380,14 +20492,10 @@ size_t PlayersActionDoneMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x000000ff) ^ 0x000000ff) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .NetGameState gameState = 3; total_size += 1 + @@ -20398,29 +20506,21 @@ size_t PlayersActionDoneMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_playeraction()); // required uint32 totalPlayerBet = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_totalplayerbet()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_totalplayerbet()); // required uint32 playerMoney = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); // required uint32 highestSet = 7; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_highestset()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_highestset()); // required uint32 minimumRaise = 8; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_minimumraise()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_minimumraise()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -20441,8 +20541,7 @@ void PlayersActionDoneMessage::CheckTypeAndMergeFrom( void PlayersActionDoneMessage::MergeFrom(const PlayersActionDoneMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayersActionDoneMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -20473,6 +20572,7 @@ void PlayersActionDoneMessage::MergeFrom(const PlayersActionDoneMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayersActionDoneMessage::CopyFrom(const PlayersActionDoneMessage& from) { @@ -20489,7 +20589,7 @@ bool PlayersActionDoneMessage::IsInitialized() const { void PlayersActionDoneMessage::InternalSwap(PlayersActionDoneMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(PlayersActionDoneMessage, minimumraise_) @@ -20506,8 +20606,6 @@ std::string PlayersActionDoneMessage::GetTypeName() const { // =================================================================== -void DealFlopCardsMessage::InitAsDefaultInstance() { -} class DealFlopCardsMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -20528,10 +20626,13 @@ class DealFlopCardsMessage::_Internal { } }; -DealFlopCardsMessage::DealFlopCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +DealFlopCardsMessage::DealFlopCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:DealFlopCardsMessage) } DealFlopCardsMessage::DealFlopCardsMessage(const DealFlopCardsMessage& from) @@ -20544,20 +20645,22 @@ DealFlopCardsMessage::DealFlopCardsMessage(const DealFlopCardsMessage& from) // @@protoc_insertion_point(copy_constructor:DealFlopCardsMessage) } -void DealFlopCardsMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&flopcard3_) - - reinterpret_cast(&gameid_)) + sizeof(flopcard3_)); +inline void DealFlopCardsMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&flopcard3_) - + reinterpret_cast(&gameid_)) + sizeof(flopcard3_)); } DealFlopCardsMessage::~DealFlopCardsMessage() { // @@protoc_insertion_point(destructor:DealFlopCardsMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void DealFlopCardsMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void DealFlopCardsMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void DealFlopCardsMessage::ArenaDtor(void* object) { @@ -20569,15 +20672,10 @@ void DealFlopCardsMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void DealFlopCardsMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DealFlopCardsMessage& DealFlopCardsMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DealFlopCardsMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void DealFlopCardsMessage::Clear() { // @@protoc_insertion_point(message_clear_start:DealFlopCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -20594,71 +20692,74 @@ void DealFlopCardsMessage::Clear() { const char* DealFlopCardsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 flopCard1 = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_flopcard1(&has_bits); flopcard1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 flopCard2 = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_flopcard2(&has_bits); flopcard2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 flopCard3 = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_flopcard3(&has_bits); flopcard3_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* DealFlopCardsMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* DealFlopCardsMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:DealFlopCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -20700,31 +20801,24 @@ size_t DealFlopCardsMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_flopcard1()) { // required uint32 flopCard1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_flopcard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_flopcard1()); } if (_internal_has_flopcard2()) { // required uint32 flopCard2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_flopcard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_flopcard2()); } if (_internal_has_flopcard3()) { // required uint32 flopCard3 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_flopcard3()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_flopcard3()); } + return total_size; } size_t DealFlopCardsMessage::ByteSizeLong() const { @@ -20733,29 +20827,21 @@ size_t DealFlopCardsMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 flopCard1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_flopcard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_flopcard1()); // required uint32 flopCard2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_flopcard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_flopcard2()); // required uint32 flopCard3 = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_flopcard3()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_flopcard3()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -20776,8 +20862,7 @@ void DealFlopCardsMessage::CheckTypeAndMergeFrom( void DealFlopCardsMessage::MergeFrom(const DealFlopCardsMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:DealFlopCardsMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -20796,6 +20881,7 @@ void DealFlopCardsMessage::MergeFrom(const DealFlopCardsMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void DealFlopCardsMessage::CopyFrom(const DealFlopCardsMessage& from) { @@ -20812,7 +20898,7 @@ bool DealFlopCardsMessage::IsInitialized() const { void DealFlopCardsMessage::InternalSwap(DealFlopCardsMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(DealFlopCardsMessage, flopcard3_) @@ -20829,8 +20915,6 @@ std::string DealFlopCardsMessage::GetTypeName() const { // =================================================================== -void DealTurnCardMessage::InitAsDefaultInstance() { -} class DealTurnCardMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -20845,10 +20929,13 @@ class DealTurnCardMessage::_Internal { } }; -DealTurnCardMessage::DealTurnCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +DealTurnCardMessage::DealTurnCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:DealTurnCardMessage) } DealTurnCardMessage::DealTurnCardMessage(const DealTurnCardMessage& from) @@ -20861,20 +20948,22 @@ DealTurnCardMessage::DealTurnCardMessage(const DealTurnCardMessage& from) // @@protoc_insertion_point(copy_constructor:DealTurnCardMessage) } -void DealTurnCardMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&turncard_) - - reinterpret_cast(&gameid_)) + sizeof(turncard_)); +inline void DealTurnCardMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&turncard_) - + reinterpret_cast(&gameid_)) + sizeof(turncard_)); } DealTurnCardMessage::~DealTurnCardMessage() { // @@protoc_insertion_point(destructor:DealTurnCardMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void DealTurnCardMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void DealTurnCardMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void DealTurnCardMessage::ArenaDtor(void* object) { @@ -20886,15 +20975,10 @@ void DealTurnCardMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void DealTurnCardMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DealTurnCardMessage& DealTurnCardMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DealTurnCardMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void DealTurnCardMessage::Clear() { // @@protoc_insertion_point(message_clear_start:DealTurnCardMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -20911,55 +20995,56 @@ void DealTurnCardMessage::Clear() { const char* DealTurnCardMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 turnCard = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_turncard(&has_bits); turncard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* DealTurnCardMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* DealTurnCardMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:DealTurnCardMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -20989,16 +21074,12 @@ size_t DealTurnCardMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_turncard()) { // required uint32 turnCard = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_turncard()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_turncard()); } return total_size; @@ -21009,19 +21090,15 @@ size_t DealTurnCardMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 turnCard = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_turncard()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_turncard()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21042,8 +21119,7 @@ void DealTurnCardMessage::CheckTypeAndMergeFrom( void DealTurnCardMessage::MergeFrom(const DealTurnCardMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:DealTurnCardMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -21056,6 +21132,7 @@ void DealTurnCardMessage::MergeFrom(const DealTurnCardMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void DealTurnCardMessage::CopyFrom(const DealTurnCardMessage& from) { @@ -21072,7 +21149,7 @@ bool DealTurnCardMessage::IsInitialized() const { void DealTurnCardMessage::InternalSwap(DealTurnCardMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(DealTurnCardMessage, turncard_) @@ -21089,8 +21166,6 @@ std::string DealTurnCardMessage::GetTypeName() const { // =================================================================== -void DealRiverCardMessage::InitAsDefaultInstance() { -} class DealRiverCardMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -21105,10 +21180,13 @@ class DealRiverCardMessage::_Internal { } }; -DealRiverCardMessage::DealRiverCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +DealRiverCardMessage::DealRiverCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:DealRiverCardMessage) } DealRiverCardMessage::DealRiverCardMessage(const DealRiverCardMessage& from) @@ -21121,20 +21199,22 @@ DealRiverCardMessage::DealRiverCardMessage(const DealRiverCardMessage& from) // @@protoc_insertion_point(copy_constructor:DealRiverCardMessage) } -void DealRiverCardMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&rivercard_) - - reinterpret_cast(&gameid_)) + sizeof(rivercard_)); +inline void DealRiverCardMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&rivercard_) - + reinterpret_cast(&gameid_)) + sizeof(rivercard_)); } DealRiverCardMessage::~DealRiverCardMessage() { // @@protoc_insertion_point(destructor:DealRiverCardMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void DealRiverCardMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void DealRiverCardMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void DealRiverCardMessage::ArenaDtor(void* object) { @@ -21146,15 +21226,10 @@ void DealRiverCardMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void DealRiverCardMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DealRiverCardMessage& DealRiverCardMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DealRiverCardMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void DealRiverCardMessage::Clear() { // @@protoc_insertion_point(message_clear_start:DealRiverCardMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21171,55 +21246,56 @@ void DealRiverCardMessage::Clear() { const char* DealRiverCardMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 riverCard = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_rivercard(&has_bits); rivercard_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* DealRiverCardMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* DealRiverCardMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:DealRiverCardMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -21249,16 +21325,12 @@ size_t DealRiverCardMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_rivercard()) { // required uint32 riverCard = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_rivercard()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_rivercard()); } return total_size; @@ -21269,19 +21341,15 @@ size_t DealRiverCardMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 riverCard = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_rivercard()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_rivercard()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21302,8 +21370,7 @@ void DealRiverCardMessage::CheckTypeAndMergeFrom( void DealRiverCardMessage::MergeFrom(const DealRiverCardMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:DealRiverCardMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -21316,6 +21383,7 @@ void DealRiverCardMessage::MergeFrom(const DealRiverCardMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void DealRiverCardMessage::CopyFrom(const DealRiverCardMessage& from) { @@ -21332,7 +21400,7 @@ bool DealRiverCardMessage::IsInitialized() const { void DealRiverCardMessage::InternalSwap(DealRiverCardMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(DealRiverCardMessage, rivercard_) @@ -21349,8 +21417,6 @@ std::string DealRiverCardMessage::GetTypeName() const { // =================================================================== -void AllInShowCardsMessage_PlayerAllIn::InitAsDefaultInstance() { -} class AllInShowCardsMessage_PlayerAllIn::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -21368,10 +21434,13 @@ class AllInShowCardsMessage_PlayerAllIn::_Internal { } }; -AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AllInShowCardsMessage.PlayerAllIn) } AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn(const AllInShowCardsMessage_PlayerAllIn& from) @@ -21384,20 +21453,22 @@ AllInShowCardsMessage_PlayerAllIn::AllInShowCardsMessage_PlayerAllIn(const AllIn // @@protoc_insertion_point(copy_constructor:AllInShowCardsMessage.PlayerAllIn) } -void AllInShowCardsMessage_PlayerAllIn::SharedCtor() { - ::memset(&playerid_, 0, static_cast( - reinterpret_cast(&allincard2_) - - reinterpret_cast(&playerid_)) + sizeof(allincard2_)); +inline void AllInShowCardsMessage_PlayerAllIn::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&playerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&allincard2_) - + reinterpret_cast(&playerid_)) + sizeof(allincard2_)); } AllInShowCardsMessage_PlayerAllIn::~AllInShowCardsMessage_PlayerAllIn() { // @@protoc_insertion_point(destructor:AllInShowCardsMessage.PlayerAllIn) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AllInShowCardsMessage_PlayerAllIn::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AllInShowCardsMessage_PlayerAllIn::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AllInShowCardsMessage_PlayerAllIn::ArenaDtor(void* object) { @@ -21409,15 +21480,10 @@ void AllInShowCardsMessage_PlayerAllIn::RegisterArenaDtor(::PROTOBUF_NAMESPACE_I void AllInShowCardsMessage_PlayerAllIn::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AllInShowCardsMessage_PlayerAllIn& AllInShowCardsMessage_PlayerAllIn::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AllInShowCardsMessage_PlayerAllIn_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AllInShowCardsMessage_PlayerAllIn::Clear() { // @@protoc_insertion_point(message_clear_start:AllInShowCardsMessage.PlayerAllIn) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21434,63 +21500,65 @@ void AllInShowCardsMessage_PlayerAllIn::Clear() { const char* AllInShowCardsMessage_PlayerAllIn::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 playerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 allInCard1 = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_allincard1(&has_bits); allincard1_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 allInCard2 = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_allincard2(&has_bits); allincard2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AllInShowCardsMessage_PlayerAllIn::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AllInShowCardsMessage_PlayerAllIn::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AllInShowCardsMessage.PlayerAllIn) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -21526,23 +21594,17 @@ size_t AllInShowCardsMessage_PlayerAllIn::RequiredFieldsByteSizeFallback() const if (_internal_has_playerid()) { // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_allincard1()) { // required uint32 allInCard1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_allincard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_allincard1()); } if (_internal_has_allincard2()) { // required uint32 allInCard2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_allincard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_allincard2()); } return total_size; @@ -21553,24 +21615,18 @@ size_t AllInShowCardsMessage_PlayerAllIn::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 playerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required uint32 allInCard1 = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_allincard1()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_allincard1()); // required uint32 allInCard2 = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_allincard2()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_allincard2()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21591,8 +21647,7 @@ void AllInShowCardsMessage_PlayerAllIn::CheckTypeAndMergeFrom( void AllInShowCardsMessage_PlayerAllIn::MergeFrom(const AllInShowCardsMessage_PlayerAllIn& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AllInShowCardsMessage.PlayerAllIn) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -21608,6 +21663,7 @@ void AllInShowCardsMessage_PlayerAllIn::MergeFrom(const AllInShowCardsMessage_Pl } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AllInShowCardsMessage_PlayerAllIn::CopyFrom(const AllInShowCardsMessage_PlayerAllIn& from) { @@ -21624,7 +21680,7 @@ bool AllInShowCardsMessage_PlayerAllIn::IsInitialized() const { void AllInShowCardsMessage_PlayerAllIn::InternalSwap(AllInShowCardsMessage_PlayerAllIn* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AllInShowCardsMessage_PlayerAllIn, allincard2_) @@ -21641,8 +21697,6 @@ std::string AllInShowCardsMessage_PlayerAllIn::GetTypeName() const { // =================================================================== -void AllInShowCardsMessage::InitAsDefaultInstance() { -} class AllInShowCardsMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -21654,11 +21708,14 @@ class AllInShowCardsMessage::_Internal { } }; -AllInShowCardsMessage::AllInShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +AllInShowCardsMessage::AllInShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), playersallin_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AllInShowCardsMessage) } AllInShowCardsMessage::AllInShowCardsMessage(const AllInShowCardsMessage& from) @@ -21670,19 +21727,19 @@ AllInShowCardsMessage::AllInShowCardsMessage(const AllInShowCardsMessage& from) // @@protoc_insertion_point(copy_constructor:AllInShowCardsMessage) } -void AllInShowCardsMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AllInShowCardsMessage_pokerth_2eproto.base); - gameid_ = 0u; +inline void AllInShowCardsMessage::SharedCtor() { +gameid_ = 0u; } AllInShowCardsMessage::~AllInShowCardsMessage() { // @@protoc_insertion_point(destructor:AllInShowCardsMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AllInShowCardsMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AllInShowCardsMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AllInShowCardsMessage::ArenaDtor(void* object) { @@ -21694,15 +21751,10 @@ void AllInShowCardsMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AllInShowCardsMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AllInShowCardsMessage& AllInShowCardsMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AllInShowCardsMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AllInShowCardsMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AllInShowCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21715,23 +21767,22 @@ void AllInShowCardsMessage::Clear() { const char* AllInShowCardsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr -= 1; do { ptr += 1; @@ -21739,35 +21790,37 @@ const char* AllInShowCardsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NA CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AllInShowCardsMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AllInShowCardsMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AllInShowCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -21799,11 +21852,9 @@ size_t AllInShowCardsMessage::ByteSizeLong() const { // required uint32 gameId = 1; if (_internal_has_gameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21831,14 +21882,14 @@ void AllInShowCardsMessage::CheckTypeAndMergeFrom( void AllInShowCardsMessage::MergeFrom(const AllInShowCardsMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AllInShowCardsMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; playersallin_.MergeFrom(from.playersallin_); if (from._internal_has_gameid()) { _internal_set_gameid(from._internal_gameid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AllInShowCardsMessage::CopyFrom(const AllInShowCardsMessage& from) { @@ -21850,13 +21901,14 @@ void AllInShowCardsMessage::CopyFrom(const AllInShowCardsMessage& from) { bool AllInShowCardsMessage::IsInitialized() const { if (_Internal::MissingRequiredFields(_has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(playersallin_)) return false; + if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(playersallin_)) + return false; return true; } void AllInShowCardsMessage::InternalSwap(AllInShowCardsMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); playersallin_.InternalSwap(&other->playersallin_); swap(gameid_, other->gameid_); @@ -21869,8 +21921,6 @@ std::string AllInShowCardsMessage::GetTypeName() const { // =================================================================== -void EndOfHandShowCardsMessage::InitAsDefaultInstance() { -} class EndOfHandShowCardsMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -21882,11 +21932,14 @@ class EndOfHandShowCardsMessage::_Internal { } }; -EndOfHandShowCardsMessage::EndOfHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +EndOfHandShowCardsMessage::EndOfHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), playerresults_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:EndOfHandShowCardsMessage) } EndOfHandShowCardsMessage::EndOfHandShowCardsMessage(const EndOfHandShowCardsMessage& from) @@ -21898,19 +21951,19 @@ EndOfHandShowCardsMessage::EndOfHandShowCardsMessage(const EndOfHandShowCardsMes // @@protoc_insertion_point(copy_constructor:EndOfHandShowCardsMessage) } -void EndOfHandShowCardsMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_EndOfHandShowCardsMessage_pokerth_2eproto.base); - gameid_ = 0u; +inline void EndOfHandShowCardsMessage::SharedCtor() { +gameid_ = 0u; } EndOfHandShowCardsMessage::~EndOfHandShowCardsMessage() { // @@protoc_insertion_point(destructor:EndOfHandShowCardsMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void EndOfHandShowCardsMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void EndOfHandShowCardsMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void EndOfHandShowCardsMessage::ArenaDtor(void* object) { @@ -21922,15 +21975,10 @@ void EndOfHandShowCardsMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void EndOfHandShowCardsMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const EndOfHandShowCardsMessage& EndOfHandShowCardsMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EndOfHandShowCardsMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void EndOfHandShowCardsMessage::Clear() { // @@protoc_insertion_point(message_clear_start:EndOfHandShowCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -21943,23 +21991,22 @@ void EndOfHandShowCardsMessage::Clear() { const char* EndOfHandShowCardsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // repeated .PlayerResult playerResults = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr -= 1; do { ptr += 1; @@ -21967,35 +22014,37 @@ const char* EndOfHandShowCardsMessage::_InternalParse(const char* ptr, ::PROTOBU CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* EndOfHandShowCardsMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* EndOfHandShowCardsMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:EndOfHandShowCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -22027,11 +22076,9 @@ size_t EndOfHandShowCardsMessage::ByteSizeLong() const { // required uint32 gameId = 1; if (_internal_has_gameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22059,14 +22106,14 @@ void EndOfHandShowCardsMessage::CheckTypeAndMergeFrom( void EndOfHandShowCardsMessage::MergeFrom(const EndOfHandShowCardsMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:EndOfHandShowCardsMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; playerresults_.MergeFrom(from.playerresults_); if (from._internal_has_gameid()) { _internal_set_gameid(from._internal_gameid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void EndOfHandShowCardsMessage::CopyFrom(const EndOfHandShowCardsMessage& from) { @@ -22078,13 +22125,14 @@ void EndOfHandShowCardsMessage::CopyFrom(const EndOfHandShowCardsMessage& from) bool EndOfHandShowCardsMessage::IsInitialized() const { if (_Internal::MissingRequiredFields(_has_bits_)) return false; - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(playerresults_)) return false; + if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(playerresults_)) + return false; return true; } void EndOfHandShowCardsMessage::InternalSwap(EndOfHandShowCardsMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); playerresults_.InternalSwap(&other->playerresults_); swap(gameid_, other->gameid_); @@ -22097,8 +22145,6 @@ std::string EndOfHandShowCardsMessage::GetTypeName() const { // =================================================================== -void EndOfHandHideCardsMessage::InitAsDefaultInstance() { -} class EndOfHandHideCardsMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -22119,10 +22165,13 @@ class EndOfHandHideCardsMessage::_Internal { } }; -EndOfHandHideCardsMessage::EndOfHandHideCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +EndOfHandHideCardsMessage::EndOfHandHideCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:EndOfHandHideCardsMessage) } EndOfHandHideCardsMessage::EndOfHandHideCardsMessage(const EndOfHandHideCardsMessage& from) @@ -22135,20 +22184,22 @@ EndOfHandHideCardsMessage::EndOfHandHideCardsMessage(const EndOfHandHideCardsMes // @@protoc_insertion_point(copy_constructor:EndOfHandHideCardsMessage) } -void EndOfHandHideCardsMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playermoney_) - - reinterpret_cast(&gameid_)) + sizeof(playermoney_)); +inline void EndOfHandHideCardsMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playermoney_) - + reinterpret_cast(&gameid_)) + sizeof(playermoney_)); } EndOfHandHideCardsMessage::~EndOfHandHideCardsMessage() { // @@protoc_insertion_point(destructor:EndOfHandHideCardsMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void EndOfHandHideCardsMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void EndOfHandHideCardsMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void EndOfHandHideCardsMessage::ArenaDtor(void* object) { @@ -22160,15 +22211,10 @@ void EndOfHandHideCardsMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void EndOfHandHideCardsMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const EndOfHandHideCardsMessage& EndOfHandHideCardsMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EndOfHandHideCardsMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void EndOfHandHideCardsMessage::Clear() { // @@protoc_insertion_point(message_clear_start:EndOfHandHideCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22185,71 +22231,74 @@ void EndOfHandHideCardsMessage::Clear() { const char* EndOfHandHideCardsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 moneyWon = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_moneywon(&has_bits); moneywon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerMoney = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_playermoney(&has_bits); playermoney_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* EndOfHandHideCardsMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* EndOfHandHideCardsMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:EndOfHandHideCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -22291,30 +22340,22 @@ size_t EndOfHandHideCardsMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_moneywon()) { // required uint32 moneyWon = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_moneywon()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_moneywon()); } if (_internal_has_playermoney()) { // required uint32 playerMoney = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); } return total_size; @@ -22325,29 +22366,21 @@ size_t EndOfHandHideCardsMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required uint32 moneyWon = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_moneywon()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_moneywon()); // required uint32 playerMoney = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playermoney()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playermoney()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22368,8 +22401,7 @@ void EndOfHandHideCardsMessage::CheckTypeAndMergeFrom( void EndOfHandHideCardsMessage::MergeFrom(const EndOfHandHideCardsMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:EndOfHandHideCardsMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -22388,6 +22420,7 @@ void EndOfHandHideCardsMessage::MergeFrom(const EndOfHandHideCardsMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void EndOfHandHideCardsMessage::CopyFrom(const EndOfHandHideCardsMessage& from) { @@ -22404,7 +22437,7 @@ bool EndOfHandHideCardsMessage::IsInitialized() const { void EndOfHandHideCardsMessage::InternalSwap(EndOfHandHideCardsMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(EndOfHandHideCardsMessage, playermoney_) @@ -22421,16 +22454,17 @@ std::string EndOfHandHideCardsMessage::GetTypeName() const { // =================================================================== -void ShowMyCardsRequestMessage::InitAsDefaultInstance() { -} class ShowMyCardsRequestMessage::_Internal { public: }; -ShowMyCardsRequestMessage::ShowMyCardsRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ShowMyCardsRequestMessage::ShowMyCardsRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ShowMyCardsRequestMessage) } ShowMyCardsRequestMessage::ShowMyCardsRequestMessage(const ShowMyCardsRequestMessage& from) @@ -22439,17 +22473,18 @@ ShowMyCardsRequestMessage::ShowMyCardsRequestMessage(const ShowMyCardsRequestMes // @@protoc_insertion_point(copy_constructor:ShowMyCardsRequestMessage) } -void ShowMyCardsRequestMessage::SharedCtor() { +inline void ShowMyCardsRequestMessage::SharedCtor() { } ShowMyCardsRequestMessage::~ShowMyCardsRequestMessage() { // @@protoc_insertion_point(destructor:ShowMyCardsRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ShowMyCardsRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ShowMyCardsRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void ShowMyCardsRequestMessage::ArenaDtor(void* object) { @@ -22461,15 +22496,10 @@ void ShowMyCardsRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void ShowMyCardsRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ShowMyCardsRequestMessage& ShowMyCardsRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ShowMyCardsRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ShowMyCardsRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ShowMyCardsRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22478,33 +22508,32 @@ void ShowMyCardsRequestMessage::Clear() { const char* ShowMyCardsRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ShowMyCardsRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ShowMyCardsRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ShowMyCardsRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -22519,7 +22548,7 @@ size_t ShowMyCardsRequestMessage::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:ShowMyCardsRequestMessage) size_t total_size = 0; - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22540,10 +22569,10 @@ void ShowMyCardsRequestMessage::CheckTypeAndMergeFrom( void ShowMyCardsRequestMessage::MergeFrom(const ShowMyCardsRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ShowMyCardsRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ShowMyCardsRequestMessage::CopyFrom(const ShowMyCardsRequestMessage& from) { @@ -22559,7 +22588,7 @@ bool ShowMyCardsRequestMessage::IsInitialized() const { void ShowMyCardsRequestMessage::InternalSwap(ShowMyCardsRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); } std::string ShowMyCardsRequestMessage::GetTypeName() const { @@ -22569,10 +22598,6 @@ std::string ShowMyCardsRequestMessage::GetTypeName() const { // =================================================================== -void AfterHandShowCardsMessage::InitAsDefaultInstance() { - ::_AfterHandShowCardsMessage_default_instance_._instance.get_mutable()->playerresult_ = const_cast< ::PlayerResult*>( - ::PlayerResult::internal_default_instance()); -} class AfterHandShowCardsMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -22589,10 +22614,13 @@ const ::PlayerResult& AfterHandShowCardsMessage::_Internal::playerresult(const AfterHandShowCardsMessage* msg) { return *msg->playerresult_; } -AfterHandShowCardsMessage::AfterHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AfterHandShowCardsMessage::AfterHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AfterHandShowCardsMessage) } AfterHandShowCardsMessage::AfterHandShowCardsMessage(const AfterHandShowCardsMessage& from) @@ -22607,19 +22635,19 @@ AfterHandShowCardsMessage::AfterHandShowCardsMessage(const AfterHandShowCardsMes // @@protoc_insertion_point(copy_constructor:AfterHandShowCardsMessage) } -void AfterHandShowCardsMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_AfterHandShowCardsMessage_pokerth_2eproto.base); - playerresult_ = nullptr; +inline void AfterHandShowCardsMessage::SharedCtor() { +playerresult_ = nullptr; } AfterHandShowCardsMessage::~AfterHandShowCardsMessage() { // @@protoc_insertion_point(destructor:AfterHandShowCardsMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AfterHandShowCardsMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AfterHandShowCardsMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete playerresult_; } @@ -22632,15 +22660,10 @@ void AfterHandShowCardsMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void AfterHandShowCardsMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AfterHandShowCardsMessage& AfterHandShowCardsMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AfterHandShowCardsMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AfterHandShowCardsMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AfterHandShowCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22656,46 +22679,46 @@ void AfterHandShowCardsMessage::Clear() { const char* AfterHandShowCardsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .PlayerResult playerResult = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_playerresult(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AfterHandShowCardsMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AfterHandShowCardsMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AfterHandShowCardsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -22725,7 +22748,7 @@ size_t AfterHandShowCardsMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( *playerresult_); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22746,13 +22769,13 @@ void AfterHandShowCardsMessage::CheckTypeAndMergeFrom( void AfterHandShowCardsMessage::MergeFrom(const AfterHandShowCardsMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AfterHandShowCardsMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_playerresult()) { _internal_mutable_playerresult()->::PlayerResult::MergeFrom(from._internal_playerresult()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AfterHandShowCardsMessage::CopyFrom(const AfterHandShowCardsMessage& from) { @@ -22772,7 +22795,7 @@ bool AfterHandShowCardsMessage::IsInitialized() const { void AfterHandShowCardsMessage::InternalSwap(AfterHandShowCardsMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(playerresult_, other->playerresult_); } @@ -22784,8 +22807,6 @@ std::string AfterHandShowCardsMessage::GetTypeName() const { // =================================================================== -void EndOfGameMessage::InitAsDefaultInstance() { -} class EndOfGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -22800,10 +22821,13 @@ class EndOfGameMessage::_Internal { } }; -EndOfGameMessage::EndOfGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +EndOfGameMessage::EndOfGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:EndOfGameMessage) } EndOfGameMessage::EndOfGameMessage(const EndOfGameMessage& from) @@ -22816,20 +22840,22 @@ EndOfGameMessage::EndOfGameMessage(const EndOfGameMessage& from) // @@protoc_insertion_point(copy_constructor:EndOfGameMessage) } -void EndOfGameMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&winnerplayerid_) - - reinterpret_cast(&gameid_)) + sizeof(winnerplayerid_)); +inline void EndOfGameMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&winnerplayerid_) - + reinterpret_cast(&gameid_)) + sizeof(winnerplayerid_)); } EndOfGameMessage::~EndOfGameMessage() { // @@protoc_insertion_point(destructor:EndOfGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void EndOfGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void EndOfGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void EndOfGameMessage::ArenaDtor(void* object) { @@ -22841,15 +22867,10 @@ void EndOfGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void EndOfGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const EndOfGameMessage& EndOfGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EndOfGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void EndOfGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:EndOfGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22866,55 +22887,56 @@ void EndOfGameMessage::Clear() { const char* EndOfGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 winnerPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_winnerplayerid(&has_bits); winnerplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* EndOfGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* EndOfGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:EndOfGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -22944,16 +22966,12 @@ size_t EndOfGameMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_winnerplayerid()) { // required uint32 winnerPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_winnerplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_winnerplayerid()); } return total_size; @@ -22964,19 +22982,15 @@ size_t EndOfGameMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 winnerPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_winnerplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_winnerplayerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -22997,8 +23011,7 @@ void EndOfGameMessage::CheckTypeAndMergeFrom( void EndOfGameMessage::MergeFrom(const EndOfGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:EndOfGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -23011,6 +23024,7 @@ void EndOfGameMessage::MergeFrom(const EndOfGameMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void EndOfGameMessage::CopyFrom(const EndOfGameMessage& from) { @@ -23027,7 +23041,7 @@ bool EndOfGameMessage::IsInitialized() const { void EndOfGameMessage::InternalSwap(EndOfGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(EndOfGameMessage, winnerplayerid_) @@ -23044,8 +23058,6 @@ std::string EndOfGameMessage::GetTypeName() const { // =================================================================== -void PlayerIdChangedMessage::InitAsDefaultInstance() { -} class PlayerIdChangedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -23060,10 +23072,13 @@ class PlayerIdChangedMessage::_Internal { } }; -PlayerIdChangedMessage::PlayerIdChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +PlayerIdChangedMessage::PlayerIdChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PlayerIdChangedMessage) } PlayerIdChangedMessage::PlayerIdChangedMessage(const PlayerIdChangedMessage& from) @@ -23076,20 +23091,22 @@ PlayerIdChangedMessage::PlayerIdChangedMessage(const PlayerIdChangedMessage& fro // @@protoc_insertion_point(copy_constructor:PlayerIdChangedMessage) } -void PlayerIdChangedMessage::SharedCtor() { - ::memset(&oldplayerid_, 0, static_cast( - reinterpret_cast(&newplayerid_) - - reinterpret_cast(&oldplayerid_)) + sizeof(newplayerid_)); +inline void PlayerIdChangedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&oldplayerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&newplayerid_) - + reinterpret_cast(&oldplayerid_)) + sizeof(newplayerid_)); } PlayerIdChangedMessage::~PlayerIdChangedMessage() { // @@protoc_insertion_point(destructor:PlayerIdChangedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PlayerIdChangedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PlayerIdChangedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void PlayerIdChangedMessage::ArenaDtor(void* object) { @@ -23101,15 +23118,10 @@ void PlayerIdChangedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void PlayerIdChangedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PlayerIdChangedMessage& PlayerIdChangedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PlayerIdChangedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PlayerIdChangedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:PlayerIdChangedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -23126,55 +23138,56 @@ void PlayerIdChangedMessage::Clear() { const char* PlayerIdChangedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 oldPlayerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_oldplayerid(&has_bits); oldplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 newPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_newplayerid(&has_bits); newplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PlayerIdChangedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PlayerIdChangedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PlayerIdChangedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -23204,16 +23217,12 @@ size_t PlayerIdChangedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_oldplayerid()) { // required uint32 oldPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_oldplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_oldplayerid()); } if (_internal_has_newplayerid()) { // required uint32 newPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_newplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_newplayerid()); } return total_size; @@ -23224,19 +23233,15 @@ size_t PlayerIdChangedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 oldPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_oldplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_oldplayerid()); // required uint32 newPlayerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_newplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_newplayerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -23257,8 +23262,7 @@ void PlayerIdChangedMessage::CheckTypeAndMergeFrom( void PlayerIdChangedMessage::MergeFrom(const PlayerIdChangedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PlayerIdChangedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -23271,6 +23275,7 @@ void PlayerIdChangedMessage::MergeFrom(const PlayerIdChangedMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PlayerIdChangedMessage::CopyFrom(const PlayerIdChangedMessage& from) { @@ -23287,7 +23292,7 @@ bool PlayerIdChangedMessage::IsInitialized() const { void PlayerIdChangedMessage::InternalSwap(PlayerIdChangedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(PlayerIdChangedMessage, newplayerid_) @@ -23304,8 +23309,6 @@ std::string PlayerIdChangedMessage::GetTypeName() const { // =================================================================== -void AskKickPlayerMessage::InitAsDefaultInstance() { -} class AskKickPlayerMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -23320,10 +23323,13 @@ class AskKickPlayerMessage::_Internal { } }; -AskKickPlayerMessage::AskKickPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AskKickPlayerMessage::AskKickPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AskKickPlayerMessage) } AskKickPlayerMessage::AskKickPlayerMessage(const AskKickPlayerMessage& from) @@ -23336,20 +23342,22 @@ AskKickPlayerMessage::AskKickPlayerMessage(const AskKickPlayerMessage& from) // @@protoc_insertion_point(copy_constructor:AskKickPlayerMessage) } -void AskKickPlayerMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&playerid_) - - reinterpret_cast(&gameid_)) + sizeof(playerid_)); +inline void AskKickPlayerMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&playerid_) - + reinterpret_cast(&gameid_)) + sizeof(playerid_)); } AskKickPlayerMessage::~AskKickPlayerMessage() { // @@protoc_insertion_point(destructor:AskKickPlayerMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AskKickPlayerMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AskKickPlayerMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AskKickPlayerMessage::ArenaDtor(void* object) { @@ -23361,15 +23369,10 @@ void AskKickPlayerMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AskKickPlayerMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AskKickPlayerMessage& AskKickPlayerMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AskKickPlayerMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AskKickPlayerMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AskKickPlayerMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -23386,55 +23389,56 @@ void AskKickPlayerMessage::Clear() { const char* AskKickPlayerMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AskKickPlayerMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AskKickPlayerMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AskKickPlayerMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -23464,17 +23468,14 @@ size_t AskKickPlayerMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } + return total_size; } size_t AskKickPlayerMessage::ByteSizeLong() const { @@ -23483,19 +23484,15 @@ size_t AskKickPlayerMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -23516,8 +23513,7 @@ void AskKickPlayerMessage::CheckTypeAndMergeFrom( void AskKickPlayerMessage::MergeFrom(const AskKickPlayerMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AskKickPlayerMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -23530,6 +23526,7 @@ void AskKickPlayerMessage::MergeFrom(const AskKickPlayerMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AskKickPlayerMessage::CopyFrom(const AskKickPlayerMessage& from) { @@ -23546,7 +23543,7 @@ bool AskKickPlayerMessage::IsInitialized() const { void AskKickPlayerMessage::InternalSwap(AskKickPlayerMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AskKickPlayerMessage, playerid_) @@ -23563,8 +23560,6 @@ std::string AskKickPlayerMessage::GetTypeName() const { // =================================================================== -void AskKickDeniedMessage::InitAsDefaultInstance() { -} class AskKickDeniedMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -23582,10 +23577,13 @@ class AskKickDeniedMessage::_Internal { } }; -AskKickDeniedMessage::AskKickDeniedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AskKickDeniedMessage::AskKickDeniedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AskKickDeniedMessage) } AskKickDeniedMessage::AskKickDeniedMessage(const AskKickDeniedMessage& from) @@ -23598,20 +23596,22 @@ AskKickDeniedMessage::AskKickDeniedMessage(const AskKickDeniedMessage& from) // @@protoc_insertion_point(copy_constructor:AskKickDeniedMessage) } -void AskKickDeniedMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&kickdeniedreason_) - - reinterpret_cast(&gameid_)) + sizeof(kickdeniedreason_)); +inline void AskKickDeniedMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&kickdeniedreason_) - + reinterpret_cast(&gameid_)) + sizeof(kickdeniedreason_)); } AskKickDeniedMessage::~AskKickDeniedMessage() { // @@protoc_insertion_point(destructor:AskKickDeniedMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AskKickDeniedMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AskKickDeniedMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AskKickDeniedMessage::ArenaDtor(void* object) { @@ -23623,15 +23623,10 @@ void AskKickDeniedMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AskKickDeniedMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AskKickDeniedMessage& AskKickDeniedMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AskKickDeniedMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AskKickDeniedMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AskKickDeniedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -23648,67 +23643,69 @@ void AskKickDeniedMessage::Clear() { const char* AskKickDeniedMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::AskKickDeniedMessage_KickDeniedReason_IsValid(val))) { _internal_set_kickdeniedreason(static_cast<::AskKickDeniedMessage_KickDeniedReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AskKickDeniedMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AskKickDeniedMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AskKickDeniedMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -23745,16 +23742,12 @@ size_t AskKickDeniedMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_playerid()) { // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } if (_internal_has_kickdeniedreason()) { @@ -23762,6 +23755,7 @@ size_t AskKickDeniedMessage::RequiredFieldsByteSizeFallback() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_kickdeniedreason()); } + return total_size; } size_t AskKickDeniedMessage::ByteSizeLong() const { @@ -23770,14 +23764,10 @@ size_t AskKickDeniedMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 playerId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; total_size += 1 + @@ -23786,7 +23776,7 @@ size_t AskKickDeniedMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -23807,8 +23797,7 @@ void AskKickDeniedMessage::CheckTypeAndMergeFrom( void AskKickDeniedMessage::MergeFrom(const AskKickDeniedMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AskKickDeniedMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -23824,6 +23813,7 @@ void AskKickDeniedMessage::MergeFrom(const AskKickDeniedMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AskKickDeniedMessage::CopyFrom(const AskKickDeniedMessage& from) { @@ -23840,7 +23830,7 @@ bool AskKickDeniedMessage::IsInitialized() const { void AskKickDeniedMessage::InternalSwap(AskKickDeniedMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AskKickDeniedMessage, kickdeniedreason_) @@ -23857,8 +23847,6 @@ std::string AskKickDeniedMessage::GetTypeName() const { // =================================================================== -void StartKickPetitionMessage::InitAsDefaultInstance() { -} class StartKickPetitionMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -23885,10 +23873,13 @@ class StartKickPetitionMessage::_Internal { } }; -StartKickPetitionMessage::StartKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +StartKickPetitionMessage::StartKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:StartKickPetitionMessage) } StartKickPetitionMessage::StartKickPetitionMessage(const StartKickPetitionMessage& from) @@ -23901,20 +23892,22 @@ StartKickPetitionMessage::StartKickPetitionMessage(const StartKickPetitionMessag // @@protoc_insertion_point(copy_constructor:StartKickPetitionMessage) } -void StartKickPetitionMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&numvotesneededtokick_) - - reinterpret_cast(&gameid_)) + sizeof(numvotesneededtokick_)); +inline void StartKickPetitionMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&numvotesneededtokick_) - + reinterpret_cast(&gameid_)) + sizeof(numvotesneededtokick_)); } StartKickPetitionMessage::~StartKickPetitionMessage() { // @@protoc_insertion_point(destructor:StartKickPetitionMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void StartKickPetitionMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void StartKickPetitionMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void StartKickPetitionMessage::ArenaDtor(void* object) { @@ -23926,15 +23919,10 @@ void StartKickPetitionMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* void StartKickPetitionMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StartKickPetitionMessage& StartKickPetitionMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StartKickPetitionMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void StartKickPetitionMessage::Clear() { // @@protoc_insertion_point(message_clear_start:StartKickPetitionMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -23951,87 +23939,92 @@ void StartKickPetitionMessage::Clear() { const char* StartKickPetitionMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 petitionId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_petitionid(&has_bits); petitionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 proposingPlayerId = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_proposingplayerid(&has_bits); proposingplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 kickPlayerId = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_kickplayerid(&has_bits); kickplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 kickTimeoutSec = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_kicktimeoutsec(&has_bits); kicktimeoutsec_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 numVotesNeededToKick = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { _Internal::set_has_numvotesneededtokick(&has_bits); numvotesneededtokick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* StartKickPetitionMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* StartKickPetitionMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:StartKickPetitionMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -24085,45 +24078,34 @@ size_t StartKickPetitionMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_petitionid()) { // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); } if (_internal_has_proposingplayerid()) { // required uint32 proposingPlayerId = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_proposingplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_proposingplayerid()); } if (_internal_has_kickplayerid()) { // required uint32 kickPlayerId = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_kickplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_kickplayerid()); } if (_internal_has_kicktimeoutsec()) { // required uint32 kickTimeoutSec = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_kicktimeoutsec()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_kicktimeoutsec()); } if (_internal_has_numvotesneededtokick()) { // required uint32 numVotesNeededToKick = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesneededtokick()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesneededtokick()); } + return total_size; } size_t StartKickPetitionMessage::ByteSizeLong() const { @@ -24132,39 +24114,27 @@ size_t StartKickPetitionMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000003f) ^ 0x0000003f) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); // required uint32 proposingPlayerId = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_proposingplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_proposingplayerid()); // required uint32 kickPlayerId = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_kickplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_kickplayerid()); // required uint32 kickTimeoutSec = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_kicktimeoutsec()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_kicktimeoutsec()); // required uint32 numVotesNeededToKick = 6; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesneededtokick()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesneededtokick()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -24185,8 +24155,7 @@ void StartKickPetitionMessage::CheckTypeAndMergeFrom( void StartKickPetitionMessage::MergeFrom(const StartKickPetitionMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:StartKickPetitionMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -24211,6 +24180,7 @@ void StartKickPetitionMessage::MergeFrom(const StartKickPetitionMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void StartKickPetitionMessage::CopyFrom(const StartKickPetitionMessage& from) { @@ -24227,7 +24197,7 @@ bool StartKickPetitionMessage::IsInitialized() const { void StartKickPetitionMessage::InternalSwap(StartKickPetitionMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(StartKickPetitionMessage, numvotesneededtokick_) @@ -24244,8 +24214,6 @@ std::string StartKickPetitionMessage::GetTypeName() const { // =================================================================== -void VoteKickRequestMessage::InitAsDefaultInstance() { -} class VoteKickRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -24263,10 +24231,13 @@ class VoteKickRequestMessage::_Internal { } }; -VoteKickRequestMessage::VoteKickRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +VoteKickRequestMessage::VoteKickRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:VoteKickRequestMessage) } VoteKickRequestMessage::VoteKickRequestMessage(const VoteKickRequestMessage& from) @@ -24279,20 +24250,22 @@ VoteKickRequestMessage::VoteKickRequestMessage(const VoteKickRequestMessage& fro // @@protoc_insertion_point(copy_constructor:VoteKickRequestMessage) } -void VoteKickRequestMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&votekick_) - - reinterpret_cast(&gameid_)) + sizeof(votekick_)); +inline void VoteKickRequestMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&votekick_) - + reinterpret_cast(&gameid_)) + sizeof(votekick_)); } VoteKickRequestMessage::~VoteKickRequestMessage() { // @@protoc_insertion_point(destructor:VoteKickRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void VoteKickRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void VoteKickRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void VoteKickRequestMessage::ArenaDtor(void* object) { @@ -24304,15 +24277,10 @@ void VoteKickRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void VoteKickRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const VoteKickRequestMessage& VoteKickRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VoteKickRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void VoteKickRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:VoteKickRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -24329,63 +24297,65 @@ void VoteKickRequestMessage::Clear() { const char* VoteKickRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 petitionId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_petitionid(&has_bits); petitionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bool voteKick = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_votekick(&has_bits); votekick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* VoteKickRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* VoteKickRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:VoteKickRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -24421,16 +24391,12 @@ size_t VoteKickRequestMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_petitionid()) { // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); } if (_internal_has_votekick()) { @@ -24446,14 +24412,10 @@ size_t VoteKickRequestMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); // required bool voteKick = 3; total_size += 1 + 1; @@ -24461,7 +24423,7 @@ size_t VoteKickRequestMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -24482,8 +24444,7 @@ void VoteKickRequestMessage::CheckTypeAndMergeFrom( void VoteKickRequestMessage::MergeFrom(const VoteKickRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:VoteKickRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -24499,6 +24460,7 @@ void VoteKickRequestMessage::MergeFrom(const VoteKickRequestMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void VoteKickRequestMessage::CopyFrom(const VoteKickRequestMessage& from) { @@ -24515,7 +24477,7 @@ bool VoteKickRequestMessage::IsInitialized() const { void VoteKickRequestMessage::InternalSwap(VoteKickRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(VoteKickRequestMessage, votekick_) @@ -24532,8 +24494,6 @@ std::string VoteKickRequestMessage::GetTypeName() const { // =================================================================== -void VoteKickReplyMessage::InitAsDefaultInstance() { -} class VoteKickReplyMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -24551,10 +24511,13 @@ class VoteKickReplyMessage::_Internal { } }; -VoteKickReplyMessage::VoteKickReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +VoteKickReplyMessage::VoteKickReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:VoteKickReplyMessage) } VoteKickReplyMessage::VoteKickReplyMessage(const VoteKickReplyMessage& from) @@ -24567,20 +24530,22 @@ VoteKickReplyMessage::VoteKickReplyMessage(const VoteKickReplyMessage& from) // @@protoc_insertion_point(copy_constructor:VoteKickReplyMessage) } -void VoteKickReplyMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&votekickreplytype_) - - reinterpret_cast(&gameid_)) + sizeof(votekickreplytype_)); +inline void VoteKickReplyMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&votekickreplytype_) - + reinterpret_cast(&gameid_)) + sizeof(votekickreplytype_)); } VoteKickReplyMessage::~VoteKickReplyMessage() { // @@protoc_insertion_point(destructor:VoteKickReplyMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void VoteKickReplyMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void VoteKickReplyMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void VoteKickReplyMessage::ArenaDtor(void* object) { @@ -24592,15 +24557,10 @@ void VoteKickReplyMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void VoteKickReplyMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const VoteKickReplyMessage& VoteKickReplyMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VoteKickReplyMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void VoteKickReplyMessage::Clear() { // @@protoc_insertion_point(message_clear_start:VoteKickReplyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -24617,67 +24577,69 @@ void VoteKickReplyMessage::Clear() { const char* VoteKickReplyMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 petitionId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_petitionid(&has_bits); petitionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::VoteKickReplyMessage_VoteKickReplyType_IsValid(val))) { _internal_set_votekickreplytype(static_cast<::VoteKickReplyMessage_VoteKickReplyType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* VoteKickReplyMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* VoteKickReplyMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:VoteKickReplyMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -24714,16 +24676,12 @@ size_t VoteKickReplyMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_petitionid()) { // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); } if (_internal_has_votekickreplytype()) { @@ -24731,6 +24689,7 @@ size_t VoteKickReplyMessage::RequiredFieldsByteSizeFallback() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_votekickreplytype()); } + return total_size; } size_t VoteKickReplyMessage::ByteSizeLong() const { @@ -24739,14 +24698,10 @@ size_t VoteKickReplyMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; total_size += 1 + @@ -24755,7 +24710,7 @@ size_t VoteKickReplyMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -24776,8 +24731,7 @@ void VoteKickReplyMessage::CheckTypeAndMergeFrom( void VoteKickReplyMessage::MergeFrom(const VoteKickReplyMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:VoteKickReplyMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -24793,6 +24747,7 @@ void VoteKickReplyMessage::MergeFrom(const VoteKickReplyMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void VoteKickReplyMessage::CopyFrom(const VoteKickReplyMessage& from) { @@ -24809,7 +24764,7 @@ bool VoteKickReplyMessage::IsInitialized() const { void VoteKickReplyMessage::InternalSwap(VoteKickReplyMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(VoteKickReplyMessage, votekickreplytype_) @@ -24826,8 +24781,6 @@ std::string VoteKickReplyMessage::GetTypeName() const { // =================================================================== -void KickPetitionUpdateMessage::InitAsDefaultInstance() { -} class KickPetitionUpdateMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -24851,10 +24804,13 @@ class KickPetitionUpdateMessage::_Internal { } }; -KickPetitionUpdateMessage::KickPetitionUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +KickPetitionUpdateMessage::KickPetitionUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:KickPetitionUpdateMessage) } KickPetitionUpdateMessage::KickPetitionUpdateMessage(const KickPetitionUpdateMessage& from) @@ -24867,20 +24823,22 @@ KickPetitionUpdateMessage::KickPetitionUpdateMessage(const KickPetitionUpdateMes // @@protoc_insertion_point(copy_constructor:KickPetitionUpdateMessage) } -void KickPetitionUpdateMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&numvotesneededtokick_) - - reinterpret_cast(&gameid_)) + sizeof(numvotesneededtokick_)); +inline void KickPetitionUpdateMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&numvotesneededtokick_) - + reinterpret_cast(&gameid_)) + sizeof(numvotesneededtokick_)); } KickPetitionUpdateMessage::~KickPetitionUpdateMessage() { // @@protoc_insertion_point(destructor:KickPetitionUpdateMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void KickPetitionUpdateMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void KickPetitionUpdateMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void KickPetitionUpdateMessage::ArenaDtor(void* object) { @@ -24892,15 +24850,10 @@ void KickPetitionUpdateMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void KickPetitionUpdateMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const KickPetitionUpdateMessage& KickPetitionUpdateMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_KickPetitionUpdateMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void KickPetitionUpdateMessage::Clear() { // @@protoc_insertion_point(message_clear_start:KickPetitionUpdateMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -24917,79 +24870,83 @@ void KickPetitionUpdateMessage::Clear() { const char* KickPetitionUpdateMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 petitionId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_petitionid(&has_bits); petitionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 numVotesAgainstKicking = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_numvotesagainstkicking(&has_bits); numvotesagainstkicking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 numVotesInFavourOfKicking = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_numvotesinfavourofkicking(&has_bits); numvotesinfavourofkicking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 numVotesNeededToKick = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_numvotesneededtokick(&has_bits); numvotesneededtokick_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* KickPetitionUpdateMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* KickPetitionUpdateMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:KickPetitionUpdateMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -25037,38 +24994,29 @@ size_t KickPetitionUpdateMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_petitionid()) { // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); } if (_internal_has_numvotesagainstkicking()) { // required uint32 numVotesAgainstKicking = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesagainstkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesagainstkicking()); } if (_internal_has_numvotesinfavourofkicking()) { // required uint32 numVotesInFavourOfKicking = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesinfavourofkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesinfavourofkicking()); } if (_internal_has_numvotesneededtokick()) { // required uint32 numVotesNeededToKick = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesneededtokick()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesneededtokick()); } + return total_size; } size_t KickPetitionUpdateMessage::ByteSizeLong() const { @@ -25077,34 +25025,24 @@ size_t KickPetitionUpdateMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000001f) ^ 0x0000001f) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); // required uint32 numVotesAgainstKicking = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesagainstkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesagainstkicking()); // required uint32 numVotesInFavourOfKicking = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesinfavourofkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesinfavourofkicking()); // required uint32 numVotesNeededToKick = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesneededtokick()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesneededtokick()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -25125,8 +25063,7 @@ void KickPetitionUpdateMessage::CheckTypeAndMergeFrom( void KickPetitionUpdateMessage::MergeFrom(const KickPetitionUpdateMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:KickPetitionUpdateMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -25148,6 +25085,7 @@ void KickPetitionUpdateMessage::MergeFrom(const KickPetitionUpdateMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void KickPetitionUpdateMessage::CopyFrom(const KickPetitionUpdateMessage& from) { @@ -25164,7 +25102,7 @@ bool KickPetitionUpdateMessage::IsInitialized() const { void KickPetitionUpdateMessage::InternalSwap(KickPetitionUpdateMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(KickPetitionUpdateMessage, numvotesneededtokick_) @@ -25181,8 +25119,6 @@ std::string KickPetitionUpdateMessage::GetTypeName() const { // =================================================================== -void EndKickPetitionMessage::InitAsDefaultInstance() { -} class EndKickPetitionMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -25209,10 +25145,13 @@ class EndKickPetitionMessage::_Internal { } }; -EndKickPetitionMessage::EndKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +EndKickPetitionMessage::EndKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:EndKickPetitionMessage) } EndKickPetitionMessage::EndKickPetitionMessage(const EndKickPetitionMessage& from) @@ -25225,20 +25164,22 @@ EndKickPetitionMessage::EndKickPetitionMessage(const EndKickPetitionMessage& fro // @@protoc_insertion_point(copy_constructor:EndKickPetitionMessage) } -void EndKickPetitionMessage::SharedCtor() { - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&petitionendreason_) - - reinterpret_cast(&gameid_)) + sizeof(petitionendreason_)); +inline void EndKickPetitionMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&petitionendreason_) - + reinterpret_cast(&gameid_)) + sizeof(petitionendreason_)); } EndKickPetitionMessage::~EndKickPetitionMessage() { // @@protoc_insertion_point(destructor:EndKickPetitionMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void EndKickPetitionMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void EndKickPetitionMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void EndKickPetitionMessage::ArenaDtor(void* object) { @@ -25250,15 +25191,10 @@ void EndKickPetitionMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void EndKickPetitionMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const EndKickPetitionMessage& EndKickPetitionMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_EndKickPetitionMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void EndKickPetitionMessage::Clear() { // @@protoc_insertion_point(message_clear_start:EndKickPetitionMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -25275,91 +25211,96 @@ void EndKickPetitionMessage::Clear() { const char* EndKickPetitionMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 petitionId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_petitionid(&has_bits); petitionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 numVotesAgainstKicking = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { _Internal::set_has_numvotesagainstkicking(&has_bits); numvotesagainstkicking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 numVotesInFavourOfKicking = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 32)) { _Internal::set_has_numvotesinfavourofkicking(&has_bits); numvotesinfavourofkicking_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 resultPlayerKicked = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 40)) { _Internal::set_has_resultplayerkicked(&has_bits); resultplayerkicked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 48)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::EndKickPetitionMessage_PetitionEndReason_IsValid(val))) { _internal_set_petitionendreason(static_cast<::EndKickPetitionMessage_PetitionEndReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(6, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* EndKickPetitionMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* EndKickPetitionMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:EndKickPetitionMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -25414,37 +25355,27 @@ size_t EndKickPetitionMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_gameid()) { // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } if (_internal_has_petitionid()) { // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); } if (_internal_has_numvotesagainstkicking()) { // required uint32 numVotesAgainstKicking = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesagainstkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesagainstkicking()); } if (_internal_has_numvotesinfavourofkicking()) { // required uint32 numVotesInFavourOfKicking = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesinfavourofkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesinfavourofkicking()); } if (_internal_has_resultplayerkicked()) { // required uint32 resultPlayerKicked = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_resultplayerkicked()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_resultplayerkicked()); } if (_internal_has_petitionendreason()) { @@ -25452,6 +25383,7 @@ size_t EndKickPetitionMessage::RequiredFieldsByteSizeFallback() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_petitionendreason()); } + return total_size; } size_t EndKickPetitionMessage::ByteSizeLong() const { @@ -25460,29 +25392,19 @@ size_t EndKickPetitionMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x0000003f) ^ 0x0000003f) == 0) { // All required fields are present. // required uint32 gameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); // required uint32 petitionId = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_petitionid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_petitionid()); // required uint32 numVotesAgainstKicking = 3; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesagainstkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesagainstkicking()); // required uint32 numVotesInFavourOfKicking = 4; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_numvotesinfavourofkicking()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_numvotesinfavourofkicking()); // required uint32 resultPlayerKicked = 5; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_resultplayerkicked()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_resultplayerkicked()); // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; total_size += 1 + @@ -25491,7 +25413,7 @@ size_t EndKickPetitionMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -25512,8 +25434,7 @@ void EndKickPetitionMessage::CheckTypeAndMergeFrom( void EndKickPetitionMessage::MergeFrom(const EndKickPetitionMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:EndKickPetitionMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -25538,6 +25459,7 @@ void EndKickPetitionMessage::MergeFrom(const EndKickPetitionMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void EndKickPetitionMessage::CopyFrom(const EndKickPetitionMessage& from) { @@ -25554,7 +25476,7 @@ bool EndKickPetitionMessage::IsInitialized() const { void EndKickPetitionMessage::InternalSwap(EndKickPetitionMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(EndKickPetitionMessage, petitionendreason_) @@ -25571,8 +25493,6 @@ std::string EndKickPetitionMessage::GetTypeName() const { // =================================================================== -void StatisticsMessage_StatisticsData::InitAsDefaultInstance() { -} class StatisticsMessage_StatisticsData::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -25587,10 +25507,13 @@ class StatisticsMessage_StatisticsData::_Internal { } }; -StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:StatisticsMessage.StatisticsData) } StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData(const StatisticsMessage_StatisticsData& from) @@ -25603,19 +25526,20 @@ StatisticsMessage_StatisticsData::StatisticsMessage_StatisticsData(const Statist // @@protoc_insertion_point(copy_constructor:StatisticsMessage.StatisticsData) } -void StatisticsMessage_StatisticsData::SharedCtor() { - statisticsvalue_ = 0u; - statisticstype_ = 1; +inline void StatisticsMessage_StatisticsData::SharedCtor() { +statisticsvalue_ = 0u; +statisticstype_ = 1; } StatisticsMessage_StatisticsData::~StatisticsMessage_StatisticsData() { // @@protoc_insertion_point(destructor:StatisticsMessage.StatisticsData) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void StatisticsMessage_StatisticsData::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void StatisticsMessage_StatisticsData::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void StatisticsMessage_StatisticsData::ArenaDtor(void* object) { @@ -25627,15 +25551,10 @@ void StatisticsMessage_StatisticsData::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID void StatisticsMessage_StatisticsData::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StatisticsMessage_StatisticsData& StatisticsMessage_StatisticsData::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StatisticsMessage_StatisticsData_pokerth_2eproto.base); - return *internal_default_instance(); -} - void StatisticsMessage_StatisticsData::Clear() { // @@protoc_insertion_point(message_clear_start:StatisticsMessage.StatisticsData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -25651,59 +25570,60 @@ void StatisticsMessage_StatisticsData::Clear() { const char* StatisticsMessage_StatisticsData::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::StatisticsMessage_StatisticsData_StatisticsType_IsValid(val))) { _internal_set_statisticstype(static_cast<::StatisticsMessage_StatisticsData_StatisticsType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 statisticsValue = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_statisticsvalue(&has_bits); statisticsvalue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* StatisticsMessage_StatisticsData::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* StatisticsMessage_StatisticsData::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:StatisticsMessage.StatisticsData) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -25734,9 +25654,7 @@ size_t StatisticsMessage_StatisticsData::RequiredFieldsByteSizeFallback() const if (_internal_has_statisticsvalue()) { // required uint32 statisticsValue = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_statisticsvalue()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_statisticsvalue()); } if (_internal_has_statisticstype()) { @@ -25753,9 +25671,7 @@ size_t StatisticsMessage_StatisticsData::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 statisticsValue = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_statisticsvalue()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_statisticsvalue()); // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; total_size += 1 + @@ -25764,7 +25680,7 @@ size_t StatisticsMessage_StatisticsData::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -25785,8 +25701,7 @@ void StatisticsMessage_StatisticsData::CheckTypeAndMergeFrom( void StatisticsMessage_StatisticsData::MergeFrom(const StatisticsMessage_StatisticsData& from) { // @@protoc_insertion_point(class_specific_merge_from_start:StatisticsMessage.StatisticsData) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -25799,6 +25714,7 @@ void StatisticsMessage_StatisticsData::MergeFrom(const StatisticsMessage_Statist } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void StatisticsMessage_StatisticsData::CopyFrom(const StatisticsMessage_StatisticsData& from) { @@ -25815,7 +25731,7 @@ bool StatisticsMessage_StatisticsData::IsInitialized() const { void StatisticsMessage_StatisticsData::InternalSwap(StatisticsMessage_StatisticsData* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(statisticsvalue_, other->statisticsvalue_); swap(statisticstype_, other->statisticstype_); @@ -25828,17 +25744,18 @@ std::string StatisticsMessage_StatisticsData::GetTypeName() const { // =================================================================== -void StatisticsMessage::InitAsDefaultInstance() { -} class StatisticsMessage::_Internal { public: }; -StatisticsMessage::StatisticsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena), +StatisticsMessage::StatisticsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned), statisticsdata_(arena) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:StatisticsMessage) } StatisticsMessage::StatisticsMessage(const StatisticsMessage& from) @@ -25848,18 +25765,18 @@ StatisticsMessage::StatisticsMessage(const StatisticsMessage& from) // @@protoc_insertion_point(copy_constructor:StatisticsMessage) } -void StatisticsMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_StatisticsMessage_pokerth_2eproto.base); +inline void StatisticsMessage::SharedCtor() { } StatisticsMessage::~StatisticsMessage() { // @@protoc_insertion_point(destructor:StatisticsMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void StatisticsMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void StatisticsMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void StatisticsMessage::ArenaDtor(void* object) { @@ -25871,15 +25788,10 @@ void StatisticsMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void StatisticsMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const StatisticsMessage& StatisticsMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_StatisticsMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void StatisticsMessage::Clear() { // @@protoc_insertion_point(message_clear_start:StatisticsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -25889,15 +25801,13 @@ void StatisticsMessage::Clear() { const char* StatisticsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // repeated .StatisticsMessage.StatisticsData statisticsData = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; do { ptr += 1; @@ -25905,34 +25815,36 @@ const char* StatisticsMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESP CHK_(ptr); if (!ctx->DataAvailable(ptr)) break; } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* StatisticsMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* StatisticsMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:StatisticsMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; // repeated .StatisticsMessage.StatisticsData statisticsData = 1; @@ -25955,7 +25867,7 @@ size_t StatisticsMessage::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:StatisticsMessage) size_t total_size = 0; - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -25983,11 +25895,11 @@ void StatisticsMessage::CheckTypeAndMergeFrom( void StatisticsMessage::MergeFrom(const StatisticsMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:StatisticsMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; statisticsdata_.MergeFrom(from.statisticsdata_); + _internal_metadata_.MergeFrom(from._internal_metadata_); } void StatisticsMessage::CopyFrom(const StatisticsMessage& from) { @@ -25998,13 +25910,14 @@ void StatisticsMessage::CopyFrom(const StatisticsMessage& from) { } bool StatisticsMessage::IsInitialized() const { - if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(statisticsdata_)) return false; + if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(statisticsdata_)) + return false; return true; } void StatisticsMessage::InternalSwap(StatisticsMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); statisticsdata_.InternalSwap(&other->statisticsdata_); } @@ -26015,8 +25928,6 @@ std::string StatisticsMessage::GetTypeName() const { // =================================================================== -void ChatRequestMessage::InitAsDefaultInstance() { -} class ChatRequestMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -26034,10 +25945,13 @@ class ChatRequestMessage::_Internal { } }; -ChatRequestMessage::ChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ChatRequestMessage::ChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ChatRequestMessage) } ChatRequestMessage::ChatRequestMessage(const ChatRequestMessage& from) @@ -26045,9 +25959,12 @@ ChatRequestMessage::ChatRequestMessage(const ChatRequestMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_chattext()) { - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_chattext(), - GetArena()); + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_chattext(), + GetArenaForAllocation()); } ::memcpy(&targetgameid_, &from.targetgameid_, static_cast(reinterpret_cast(&targetplayerid_) - @@ -26055,22 +25972,26 @@ ChatRequestMessage::ChatRequestMessage(const ChatRequestMessage& from) // @@protoc_insertion_point(copy_constructor:ChatRequestMessage) } -void ChatRequestMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ChatRequestMessage_pokerth_2eproto.base); - chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&targetgameid_, 0, static_cast( - reinterpret_cast(&targetplayerid_) - - reinterpret_cast(&targetgameid_)) + sizeof(targetplayerid_)); +inline void ChatRequestMessage::SharedCtor() { +chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&targetgameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&targetplayerid_) - + reinterpret_cast(&targetgameid_)) + sizeof(targetplayerid_)); } ChatRequestMessage::~ChatRequestMessage() { // @@protoc_insertion_point(destructor:ChatRequestMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ChatRequestMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ChatRequestMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); chattext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -26083,15 +26004,10 @@ void ChatRequestMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ChatRequestMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ChatRequestMessage& ChatRequestMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ChatRequestMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ChatRequestMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ChatRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26111,63 +26027,65 @@ void ChatRequestMessage::Clear() { const char* ChatRequestMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // optional uint32 targetGameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_targetgameid(&has_bits); targetgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 targetPlayerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_targetplayerid(&has_bits); targetplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required string chatText = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { auto str = _internal_mutable_chattext(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ChatRequestMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ChatRequestMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ChatRequestMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -26207,7 +26125,7 @@ size_t ChatRequestMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_chattext()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26215,16 +26133,12 @@ size_t ChatRequestMessage::ByteSizeLong() const { if (cached_has_bits & 0x00000006u) { // optional uint32 targetGameId = 1; if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_targetgameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_targetgameid()); } // optional uint32 targetPlayerId = 2; if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_targetplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_targetplayerid()); } } @@ -26245,8 +26159,7 @@ void ChatRequestMessage::CheckTypeAndMergeFrom( void ChatRequestMessage::MergeFrom(const ChatRequestMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ChatRequestMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -26262,6 +26175,7 @@ void ChatRequestMessage::MergeFrom(const ChatRequestMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ChatRequestMessage::CopyFrom(const ChatRequestMessage& from) { @@ -26278,9 +26192,15 @@ bool ChatRequestMessage::IsInitialized() const { void ChatRequestMessage::InternalSwap(ChatRequestMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - chattext_.Swap(&other->chattext_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &chattext_, lhs_arena, + &other->chattext_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(ChatRequestMessage, targetplayerid_) + sizeof(ChatRequestMessage::targetplayerid_) @@ -26296,8 +26216,6 @@ std::string ChatRequestMessage::GetTypeName() const { // =================================================================== -void ChatMessage::InitAsDefaultInstance() { -} class ChatMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -26318,10 +26236,13 @@ class ChatMessage::_Internal { } }; -ChatMessage::ChatMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ChatMessage::ChatMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ChatMessage) } ChatMessage::ChatMessage(const ChatMessage& from) @@ -26329,9 +26250,12 @@ ChatMessage::ChatMessage(const ChatMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_chattext()) { - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_chattext(), - GetArena()); + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_chattext(), + GetArenaForAllocation()); } ::memcpy(&gameid_, &from.gameid_, static_cast(reinterpret_cast(&chattype_) - @@ -26339,22 +26263,26 @@ ChatMessage::ChatMessage(const ChatMessage& from) // @@protoc_insertion_point(copy_constructor:ChatMessage) } -void ChatMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ChatMessage_pokerth_2eproto.base); - chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - ::memset(&gameid_, 0, static_cast( - reinterpret_cast(&chattype_) - - reinterpret_cast(&gameid_)) + sizeof(chattype_)); +inline void ChatMessage::SharedCtor() { +chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&gameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&chattype_) - + reinterpret_cast(&gameid_)) + sizeof(chattype_)); } ChatMessage::~ChatMessage() { // @@protoc_insertion_point(destructor:ChatMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ChatMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ChatMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); chattext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -26367,15 +26295,10 @@ void ChatMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ChatMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ChatMessage& ChatMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ChatMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ChatMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ChatMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26395,75 +26318,78 @@ void ChatMessage::Clear() { const char* ChatMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // optional uint32 gameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_gameid(&has_bits); gameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional uint32 playerId = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_playerid(&has_bits); playerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .ChatMessage.ChatType chatType = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::ChatMessage_ChatType_IsValid(val))) { _internal_set_chattype(static_cast<::ChatMessage_ChatType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required string chatText = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { auto str = _internal_mutable_chattext(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ChatMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ChatMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ChatMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -26536,7 +26462,7 @@ size_t ChatMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26544,16 +26470,12 @@ size_t ChatMessage::ByteSizeLong() const { if (cached_has_bits & 0x00000006u) { // optional uint32 gameId = 1; if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_gameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_gameid()); } // optional uint32 playerId = 2; if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_playerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_playerid()); } } @@ -26574,8 +26496,7 @@ void ChatMessage::CheckTypeAndMergeFrom( void ChatMessage::MergeFrom(const ChatMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ChatMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -26594,6 +26515,7 @@ void ChatMessage::MergeFrom(const ChatMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ChatMessage::CopyFrom(const ChatMessage& from) { @@ -26610,9 +26532,15 @@ bool ChatMessage::IsInitialized() const { void ChatMessage::InternalSwap(ChatMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - chattext_.Swap(&other->chattext_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &chattext_, lhs_arena, + &other->chattext_, rhs_arena + ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(ChatMessage, chattype_) + sizeof(ChatMessage::chattype_) @@ -26628,8 +26556,6 @@ std::string ChatMessage::GetTypeName() const { // =================================================================== -void ChatRejectMessage::InitAsDefaultInstance() { -} class ChatRejectMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -26641,10 +26567,13 @@ class ChatRejectMessage::_Internal { } }; -ChatRejectMessage::ChatRejectMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ChatRejectMessage::ChatRejectMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ChatRejectMessage) } ChatRejectMessage::ChatRejectMessage(const ChatRejectMessage& from) @@ -26652,26 +26581,32 @@ ChatRejectMessage::ChatRejectMessage(const ChatRejectMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_chattext()) { - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_chattext(), - GetArena()); + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_chattext(), + GetArenaForAllocation()); } // @@protoc_insertion_point(copy_constructor:ChatRejectMessage) } -void ChatRejectMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ChatRejectMessage_pokerth_2eproto.base); - chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +inline void ChatRejectMessage::SharedCtor() { +chattext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } ChatRejectMessage::~ChatRejectMessage() { // @@protoc_insertion_point(destructor:ChatRejectMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ChatRejectMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ChatRejectMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); chattext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -26684,15 +26619,10 @@ void ChatRejectMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ChatRejectMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ChatRejectMessage& ChatRejectMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ChatRejectMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ChatRejectMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ChatRejectMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26707,47 +26637,47 @@ void ChatRejectMessage::Clear() { const char* ChatRejectMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required string chatText = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_chattext(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ChatRejectMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ChatRejectMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ChatRejectMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -26775,7 +26705,7 @@ size_t ChatRejectMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_chattext()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26796,13 +26726,13 @@ void ChatRejectMessage::CheckTypeAndMergeFrom( void ChatRejectMessage::MergeFrom(const ChatRejectMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ChatRejectMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_chattext()) { _internal_set_chattext(from._internal_chattext()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ChatRejectMessage::CopyFrom(const ChatRejectMessage& from) { @@ -26819,9 +26749,15 @@ bool ChatRejectMessage::IsInitialized() const { void ChatRejectMessage::InternalSwap(ChatRejectMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - chattext_.Swap(&other->chattext_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &chattext_, lhs_arena, + &other->chattext_, rhs_arena + ); } std::string ChatRejectMessage::GetTypeName() const { @@ -26831,8 +26767,6 @@ std::string ChatRejectMessage::GetTypeName() const { // =================================================================== -void DialogMessage::InitAsDefaultInstance() { -} class DialogMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -26844,10 +26778,13 @@ class DialogMessage::_Internal { } }; -DialogMessage::DialogMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +DialogMessage::DialogMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:DialogMessage) } DialogMessage::DialogMessage(const DialogMessage& from) @@ -26855,26 +26792,32 @@ DialogMessage::DialogMessage(const DialogMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); notificationtext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + notificationtext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_notificationtext()) { - notificationtext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_notificationtext(), - GetArena()); + notificationtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_notificationtext(), + GetArenaForAllocation()); } // @@protoc_insertion_point(copy_constructor:DialogMessage) } -void DialogMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DialogMessage_pokerth_2eproto.base); - notificationtext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +inline void DialogMessage::SharedCtor() { +notificationtext_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + notificationtext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } DialogMessage::~DialogMessage() { // @@protoc_insertion_point(destructor:DialogMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void DialogMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void DialogMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); notificationtext_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -26887,15 +26830,10 @@ void DialogMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void DialogMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const DialogMessage& DialogMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_DialogMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void DialogMessage::Clear() { // @@protoc_insertion_point(message_clear_start:DialogMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26910,47 +26848,47 @@ void DialogMessage::Clear() { const char* DialogMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required string notificationText = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { auto str = _internal_mutable_notificationtext(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* DialogMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* DialogMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:DialogMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -26978,7 +26916,7 @@ size_t DialogMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( this->_internal_notificationtext()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -26999,13 +26937,13 @@ void DialogMessage::CheckTypeAndMergeFrom( void DialogMessage::MergeFrom(const DialogMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:DialogMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_notificationtext()) { _internal_set_notificationtext(from._internal_notificationtext()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void DialogMessage::CopyFrom(const DialogMessage& from) { @@ -27022,9 +26960,15 @@ bool DialogMessage::IsInitialized() const { void DialogMessage::InternalSwap(DialogMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - notificationtext_.Swap(&other->notificationtext_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + ¬ificationtext_, lhs_arena, + &other->notificationtext_, rhs_arena + ); } std::string DialogMessage::GetTypeName() const { @@ -27034,8 +26978,6 @@ std::string DialogMessage::GetTypeName() const { // =================================================================== -void TimeoutWarningMessage::InitAsDefaultInstance() { -} class TimeoutWarningMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -27050,10 +26992,13 @@ class TimeoutWarningMessage::_Internal { } }; -TimeoutWarningMessage::TimeoutWarningMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +TimeoutWarningMessage::TimeoutWarningMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:TimeoutWarningMessage) } TimeoutWarningMessage::TimeoutWarningMessage(const TimeoutWarningMessage& from) @@ -27066,20 +27011,22 @@ TimeoutWarningMessage::TimeoutWarningMessage(const TimeoutWarningMessage& from) // @@protoc_insertion_point(copy_constructor:TimeoutWarningMessage) } -void TimeoutWarningMessage::SharedCtor() { - ::memset(&timeoutreason_, 0, static_cast( - reinterpret_cast(&remainingseconds_) - - reinterpret_cast(&timeoutreason_)) + sizeof(remainingseconds_)); +inline void TimeoutWarningMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&timeoutreason_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&remainingseconds_) - + reinterpret_cast(&timeoutreason_)) + sizeof(remainingseconds_)); } TimeoutWarningMessage::~TimeoutWarningMessage() { // @@protoc_insertion_point(destructor:TimeoutWarningMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void TimeoutWarningMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void TimeoutWarningMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void TimeoutWarningMessage::ArenaDtor(void* object) { @@ -27091,15 +27038,10 @@ void TimeoutWarningMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void TimeoutWarningMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const TimeoutWarningMessage& TimeoutWarningMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_TimeoutWarningMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void TimeoutWarningMessage::Clear() { // @@protoc_insertion_point(message_clear_start:TimeoutWarningMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27116,59 +27058,60 @@ void TimeoutWarningMessage::Clear() { const char* TimeoutWarningMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::TimeoutWarningMessage_TimeoutReason_IsValid(val))) { _internal_set_timeoutreason(static_cast<::TimeoutWarningMessage_TimeoutReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required uint32 remainingSeconds = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { _Internal::set_has_remainingseconds(&has_bits); remainingseconds_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* TimeoutWarningMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* TimeoutWarningMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:TimeoutWarningMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -27205,9 +27148,7 @@ size_t TimeoutWarningMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_remainingseconds()) { // required uint32 remainingSeconds = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_remainingseconds()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_remainingseconds()); } return total_size; @@ -27222,14 +27163,12 @@ size_t TimeoutWarningMessage::ByteSizeLong() const { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_timeoutreason()); // required uint32 remainingSeconds = 2; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_remainingseconds()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_remainingseconds()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27250,8 +27189,7 @@ void TimeoutWarningMessage::CheckTypeAndMergeFrom( void TimeoutWarningMessage::MergeFrom(const TimeoutWarningMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:TimeoutWarningMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -27264,6 +27202,7 @@ void TimeoutWarningMessage::MergeFrom(const TimeoutWarningMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void TimeoutWarningMessage::CopyFrom(const TimeoutWarningMessage& from) { @@ -27280,7 +27219,7 @@ bool TimeoutWarningMessage::IsInitialized() const { void TimeoutWarningMessage::InternalSwap(TimeoutWarningMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(TimeoutWarningMessage, remainingseconds_) @@ -27297,16 +27236,17 @@ std::string TimeoutWarningMessage::GetTypeName() const { // =================================================================== -void ResetTimeoutMessage::InitAsDefaultInstance() { -} class ResetTimeoutMessage::_Internal { public: }; -ResetTimeoutMessage::ResetTimeoutMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ResetTimeoutMessage::ResetTimeoutMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ResetTimeoutMessage) } ResetTimeoutMessage::ResetTimeoutMessage(const ResetTimeoutMessage& from) @@ -27315,17 +27255,18 @@ ResetTimeoutMessage::ResetTimeoutMessage(const ResetTimeoutMessage& from) // @@protoc_insertion_point(copy_constructor:ResetTimeoutMessage) } -void ResetTimeoutMessage::SharedCtor() { +inline void ResetTimeoutMessage::SharedCtor() { } ResetTimeoutMessage::~ResetTimeoutMessage() { // @@protoc_insertion_point(destructor:ResetTimeoutMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ResetTimeoutMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ResetTimeoutMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void ResetTimeoutMessage::ArenaDtor(void* object) { @@ -27337,15 +27278,10 @@ void ResetTimeoutMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ResetTimeoutMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ResetTimeoutMessage& ResetTimeoutMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ResetTimeoutMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ResetTimeoutMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ResetTimeoutMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27354,33 +27290,32 @@ void ResetTimeoutMessage::Clear() { const char* ResetTimeoutMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ResetTimeoutMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ResetTimeoutMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ResetTimeoutMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { @@ -27395,7 +27330,7 @@ size_t ResetTimeoutMessage::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:ResetTimeoutMessage) size_t total_size = 0; - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27416,10 +27351,10 @@ void ResetTimeoutMessage::CheckTypeAndMergeFrom( void ResetTimeoutMessage::MergeFrom(const ResetTimeoutMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ResetTimeoutMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ResetTimeoutMessage::CopyFrom(const ResetTimeoutMessage& from) { @@ -27435,7 +27370,7 @@ bool ResetTimeoutMessage::IsInitialized() const { void ResetTimeoutMessage::InternalSwap(ResetTimeoutMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); } std::string ResetTimeoutMessage::GetTypeName() const { @@ -27445,8 +27380,6 @@ std::string ResetTimeoutMessage::GetTypeName() const { // =================================================================== -void ReportAvatarMessage::InitAsDefaultInstance() { -} class ReportAvatarMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -27461,10 +27394,13 @@ class ReportAvatarMessage::_Internal { } }; -ReportAvatarMessage::ReportAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ReportAvatarMessage::ReportAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ReportAvatarMessage) } ReportAvatarMessage::ReportAvatarMessage(const ReportAvatarMessage& from) @@ -27472,28 +27408,34 @@ ReportAvatarMessage::ReportAvatarMessage(const ReportAvatarMessage& from) _has_bits_(from._has_bits_) { _internal_metadata_.MergeFrom(from._internal_metadata_); reportedavatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + reportedavatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING if (from._internal_has_reportedavatarhash()) { - reportedavatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_reportedavatarhash(), - GetArena()); + reportedavatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_reportedavatarhash(), + GetArenaForAllocation()); } reportedplayerid_ = from.reportedplayerid_; // @@protoc_insertion_point(copy_constructor:ReportAvatarMessage) } -void ReportAvatarMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ReportAvatarMessage_pokerth_2eproto.base); - reportedavatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); - reportedplayerid_ = 0u; +inline void ReportAvatarMessage::SharedCtor() { +reportedavatarhash_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + reportedavatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +reportedplayerid_ = 0u; } ReportAvatarMessage::~ReportAvatarMessage() { // @@protoc_insertion_point(destructor:ReportAvatarMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ReportAvatarMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ReportAvatarMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); reportedavatarhash_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); } @@ -27506,15 +27448,10 @@ void ReportAvatarMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ReportAvatarMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ReportAvatarMessage& ReportAvatarMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ReportAvatarMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ReportAvatarMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ReportAvatarMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27530,55 +27467,56 @@ void ReportAvatarMessage::Clear() { const char* ReportAvatarMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 reportedPlayerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_reportedplayerid(&has_bits); reportedplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required bytes reportedAvatarHash = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { auto str = _internal_mutable_reportedavatarhash(); ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ReportAvatarMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ReportAvatarMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ReportAvatarMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -27615,9 +27553,7 @@ size_t ReportAvatarMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_reportedplayerid()) { // required uint32 reportedPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_reportedplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_reportedplayerid()); } return total_size; @@ -27633,14 +27569,12 @@ size_t ReportAvatarMessage::ByteSizeLong() const { this->_internal_reportedavatarhash()); // required uint32 reportedPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_reportedplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_reportedplayerid()); } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27661,8 +27595,7 @@ void ReportAvatarMessage::CheckTypeAndMergeFrom( void ReportAvatarMessage::MergeFrom(const ReportAvatarMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ReportAvatarMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -27675,6 +27608,7 @@ void ReportAvatarMessage::MergeFrom(const ReportAvatarMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ReportAvatarMessage::CopyFrom(const ReportAvatarMessage& from) { @@ -27691,9 +27625,15 @@ bool ReportAvatarMessage::IsInitialized() const { void ReportAvatarMessage::InternalSwap(ReportAvatarMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); - reportedavatarhash_.Swap(&other->reportedavatarhash_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + &reportedavatarhash_, lhs_arena, + &other->reportedavatarhash_, rhs_arena + ); swap(reportedplayerid_, other->reportedplayerid_); } @@ -27704,8 +27644,6 @@ std::string ReportAvatarMessage::GetTypeName() const { // =================================================================== -void ReportAvatarAckMessage::InitAsDefaultInstance() { -} class ReportAvatarAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -27720,10 +27658,13 @@ class ReportAvatarAckMessage::_Internal { } }; -ReportAvatarAckMessage::ReportAvatarAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ReportAvatarAckMessage::ReportAvatarAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ReportAvatarAckMessage) } ReportAvatarAckMessage::ReportAvatarAckMessage(const ReportAvatarAckMessage& from) @@ -27736,20 +27677,22 @@ ReportAvatarAckMessage::ReportAvatarAckMessage(const ReportAvatarAckMessage& fro // @@protoc_insertion_point(copy_constructor:ReportAvatarAckMessage) } -void ReportAvatarAckMessage::SharedCtor() { - ::memset(&reportedplayerid_, 0, static_cast( - reinterpret_cast(&reportavatarresult_) - - reinterpret_cast(&reportedplayerid_)) + sizeof(reportavatarresult_)); +inline void ReportAvatarAckMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&reportedplayerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&reportavatarresult_) - + reinterpret_cast(&reportedplayerid_)) + sizeof(reportavatarresult_)); } ReportAvatarAckMessage::~ReportAvatarAckMessage() { // @@protoc_insertion_point(destructor:ReportAvatarAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ReportAvatarAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ReportAvatarAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void ReportAvatarAckMessage::ArenaDtor(void* object) { @@ -27761,15 +27704,10 @@ void ReportAvatarAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void ReportAvatarAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ReportAvatarAckMessage& ReportAvatarAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ReportAvatarAckMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ReportAvatarAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ReportAvatarAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27786,59 +27724,60 @@ void ReportAvatarAckMessage::Clear() { const char* ReportAvatarAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 reportedPlayerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_reportedplayerid(&has_bits); reportedplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::ReportAvatarAckMessage_ReportAvatarResult_IsValid(val))) { _internal_set_reportavatarresult(static_cast<::ReportAvatarAckMessage_ReportAvatarResult>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ReportAvatarAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ReportAvatarAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ReportAvatarAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -27869,9 +27808,7 @@ size_t ReportAvatarAckMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_reportedplayerid()) { // required uint32 reportedPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_reportedplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_reportedplayerid()); } if (_internal_has_reportavatarresult()) { @@ -27888,9 +27825,7 @@ size_t ReportAvatarAckMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 reportedPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_reportedplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_reportedplayerid()); // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; total_size += 1 + @@ -27899,7 +27834,7 @@ size_t ReportAvatarAckMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -27920,8 +27855,7 @@ void ReportAvatarAckMessage::CheckTypeAndMergeFrom( void ReportAvatarAckMessage::MergeFrom(const ReportAvatarAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ReportAvatarAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -27934,6 +27868,7 @@ void ReportAvatarAckMessage::MergeFrom(const ReportAvatarAckMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ReportAvatarAckMessage::CopyFrom(const ReportAvatarAckMessage& from) { @@ -27950,7 +27885,7 @@ bool ReportAvatarAckMessage::IsInitialized() const { void ReportAvatarAckMessage::InternalSwap(ReportAvatarAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(ReportAvatarAckMessage, reportavatarresult_) @@ -27967,8 +27902,6 @@ std::string ReportAvatarAckMessage::GetTypeName() const { // =================================================================== -void ReportGameMessage::InitAsDefaultInstance() { -} class ReportGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -27980,10 +27913,13 @@ class ReportGameMessage::_Internal { } }; -ReportGameMessage::ReportGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ReportGameMessage::ReportGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ReportGameMessage) } ReportGameMessage::ReportGameMessage(const ReportGameMessage& from) @@ -27994,18 +27930,19 @@ ReportGameMessage::ReportGameMessage(const ReportGameMessage& from) // @@protoc_insertion_point(copy_constructor:ReportGameMessage) } -void ReportGameMessage::SharedCtor() { - reportedgameid_ = 0u; +inline void ReportGameMessage::SharedCtor() { +reportedgameid_ = 0u; } ReportGameMessage::~ReportGameMessage() { // @@protoc_insertion_point(destructor:ReportGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ReportGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ReportGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void ReportGameMessage::ArenaDtor(void* object) { @@ -28017,15 +27954,10 @@ void ReportGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ReportGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ReportGameMessage& ReportGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ReportGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ReportGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ReportGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28037,47 +27969,47 @@ void ReportGameMessage::Clear() { const char* ReportGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 reportedGameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_reportedgameid(&has_bits); reportedgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ReportGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ReportGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ReportGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -28101,11 +28033,9 @@ size_t ReportGameMessage::ByteSizeLong() const { // required uint32 reportedGameId = 1; if (_internal_has_reportedgameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_reportedgameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_reportedgameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28126,13 +28056,13 @@ void ReportGameMessage::CheckTypeAndMergeFrom( void ReportGameMessage::MergeFrom(const ReportGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ReportGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_reportedgameid()) { _internal_set_reportedgameid(from._internal_reportedgameid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ReportGameMessage::CopyFrom(const ReportGameMessage& from) { @@ -28149,7 +28079,7 @@ bool ReportGameMessage::IsInitialized() const { void ReportGameMessage::InternalSwap(ReportGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(reportedgameid_, other->reportedgameid_); } @@ -28161,8 +28091,6 @@ std::string ReportGameMessage::GetTypeName() const { // =================================================================== -void ReportGameAckMessage::InitAsDefaultInstance() { -} class ReportGameAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -28177,10 +28105,13 @@ class ReportGameAckMessage::_Internal { } }; -ReportGameAckMessage::ReportGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ReportGameAckMessage::ReportGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ReportGameAckMessage) } ReportGameAckMessage::ReportGameAckMessage(const ReportGameAckMessage& from) @@ -28193,20 +28124,22 @@ ReportGameAckMessage::ReportGameAckMessage(const ReportGameAckMessage& from) // @@protoc_insertion_point(copy_constructor:ReportGameAckMessage) } -void ReportGameAckMessage::SharedCtor() { - ::memset(&reportedgameid_, 0, static_cast( - reinterpret_cast(&reportgameresult_) - - reinterpret_cast(&reportedgameid_)) + sizeof(reportgameresult_)); +inline void ReportGameAckMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&reportedgameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&reportgameresult_) - + reinterpret_cast(&reportedgameid_)) + sizeof(reportgameresult_)); } ReportGameAckMessage::~ReportGameAckMessage() { // @@protoc_insertion_point(destructor:ReportGameAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ReportGameAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ReportGameAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void ReportGameAckMessage::ArenaDtor(void* object) { @@ -28218,15 +28151,10 @@ void ReportGameAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ReportGameAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ReportGameAckMessage& ReportGameAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ReportGameAckMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ReportGameAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ReportGameAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28243,59 +28171,60 @@ void ReportGameAckMessage::Clear() { const char* ReportGameAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 reportedGameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_reportedgameid(&has_bits); reportedgameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::ReportGameAckMessage_ReportGameResult_IsValid(val))) { _internal_set_reportgameresult(static_cast<::ReportGameAckMessage_ReportGameResult>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ReportGameAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ReportGameAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ReportGameAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -28326,9 +28255,7 @@ size_t ReportGameAckMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_reportedgameid()) { // required uint32 reportedGameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_reportedgameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_reportedgameid()); } if (_internal_has_reportgameresult()) { @@ -28345,9 +28272,7 @@ size_t ReportGameAckMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 reportedGameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_reportedgameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_reportedgameid()); // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; total_size += 1 + @@ -28356,7 +28281,7 @@ size_t ReportGameAckMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28377,8 +28302,7 @@ void ReportGameAckMessage::CheckTypeAndMergeFrom( void ReportGameAckMessage::MergeFrom(const ReportGameAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ReportGameAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -28391,6 +28315,7 @@ void ReportGameAckMessage::MergeFrom(const ReportGameAckMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ReportGameAckMessage::CopyFrom(const ReportGameAckMessage& from) { @@ -28407,7 +28332,7 @@ bool ReportGameAckMessage::IsInitialized() const { void ReportGameAckMessage::InternalSwap(ReportGameAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(ReportGameAckMessage, reportgameresult_) @@ -28424,8 +28349,6 @@ std::string ReportGameAckMessage::GetTypeName() const { // =================================================================== -void ErrorMessage::InitAsDefaultInstance() { -} class ErrorMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -28437,10 +28360,13 @@ class ErrorMessage::_Internal { } }; -ErrorMessage::ErrorMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +ErrorMessage::ErrorMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:ErrorMessage) } ErrorMessage::ErrorMessage(const ErrorMessage& from) @@ -28451,18 +28377,19 @@ ErrorMessage::ErrorMessage(const ErrorMessage& from) // @@protoc_insertion_point(copy_constructor:ErrorMessage) } -void ErrorMessage::SharedCtor() { - errorreason_ = 0; +inline void ErrorMessage::SharedCtor() { +errorreason_ = 0; } ErrorMessage::~ErrorMessage() { // @@protoc_insertion_point(destructor:ErrorMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void ErrorMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void ErrorMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void ErrorMessage::ArenaDtor(void* object) { @@ -28474,15 +28401,10 @@ void ErrorMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void ErrorMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const ErrorMessage& ErrorMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ErrorMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void ErrorMessage::Clear() { // @@protoc_insertion_point(message_clear_start:ErrorMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28494,51 +28416,51 @@ void ErrorMessage::Clear() { const char* ErrorMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .ErrorMessage.ErrorReason errorReason = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::ErrorMessage_ErrorReason_IsValid(val))) { _internal_set_errorreason(static_cast<::ErrorMessage_ErrorReason>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* ErrorMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* ErrorMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:ErrorMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -28566,7 +28488,7 @@ size_t ErrorMessage::ByteSizeLong() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_errorreason()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28587,13 +28509,13 @@ void ErrorMessage::CheckTypeAndMergeFrom( void ErrorMessage::MergeFrom(const ErrorMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:ErrorMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_errorreason()) { _internal_set_errorreason(from._internal_errorreason()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void ErrorMessage::CopyFrom(const ErrorMessage& from) { @@ -28610,7 +28532,7 @@ bool ErrorMessage::IsInitialized() const { void ErrorMessage::InternalSwap(ErrorMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(errorreason_, other->errorreason_); } @@ -28622,8 +28544,6 @@ std::string ErrorMessage::GetTypeName() const { // =================================================================== -void AdminRemoveGameMessage::InitAsDefaultInstance() { -} class AdminRemoveGameMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -28635,10 +28555,13 @@ class AdminRemoveGameMessage::_Internal { } }; -AdminRemoveGameMessage::AdminRemoveGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AdminRemoveGameMessage::AdminRemoveGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AdminRemoveGameMessage) } AdminRemoveGameMessage::AdminRemoveGameMessage(const AdminRemoveGameMessage& from) @@ -28649,18 +28572,19 @@ AdminRemoveGameMessage::AdminRemoveGameMessage(const AdminRemoveGameMessage& fro // @@protoc_insertion_point(copy_constructor:AdminRemoveGameMessage) } -void AdminRemoveGameMessage::SharedCtor() { - removegameid_ = 0u; +inline void AdminRemoveGameMessage::SharedCtor() { +removegameid_ = 0u; } AdminRemoveGameMessage::~AdminRemoveGameMessage() { // @@protoc_insertion_point(destructor:AdminRemoveGameMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AdminRemoveGameMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AdminRemoveGameMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AdminRemoveGameMessage::ArenaDtor(void* object) { @@ -28672,15 +28596,10 @@ void AdminRemoveGameMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) void AdminRemoveGameMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AdminRemoveGameMessage& AdminRemoveGameMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AdminRemoveGameMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AdminRemoveGameMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AdminRemoveGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28692,47 +28611,47 @@ void AdminRemoveGameMessage::Clear() { const char* AdminRemoveGameMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 removeGameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_removegameid(&has_bits); removegameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AdminRemoveGameMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AdminRemoveGameMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AdminRemoveGameMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -28756,11 +28675,9 @@ size_t AdminRemoveGameMessage::ByteSizeLong() const { // required uint32 removeGameId = 1; if (_internal_has_removegameid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_removegameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_removegameid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28781,13 +28698,13 @@ void AdminRemoveGameMessage::CheckTypeAndMergeFrom( void AdminRemoveGameMessage::MergeFrom(const AdminRemoveGameMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AdminRemoveGameMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_removegameid()) { _internal_set_removegameid(from._internal_removegameid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AdminRemoveGameMessage::CopyFrom(const AdminRemoveGameMessage& from) { @@ -28804,7 +28721,7 @@ bool AdminRemoveGameMessage::IsInitialized() const { void AdminRemoveGameMessage::InternalSwap(AdminRemoveGameMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(removegameid_, other->removegameid_); } @@ -28816,8 +28733,6 @@ std::string AdminRemoveGameMessage::GetTypeName() const { // =================================================================== -void AdminRemoveGameAckMessage::InitAsDefaultInstance() { -} class AdminRemoveGameAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -28832,10 +28747,13 @@ class AdminRemoveGameAckMessage::_Internal { } }; -AdminRemoveGameAckMessage::AdminRemoveGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AdminRemoveGameAckMessage::AdminRemoveGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AdminRemoveGameAckMessage) } AdminRemoveGameAckMessage::AdminRemoveGameAckMessage(const AdminRemoveGameAckMessage& from) @@ -28848,20 +28766,22 @@ AdminRemoveGameAckMessage::AdminRemoveGameAckMessage(const AdminRemoveGameAckMes // @@protoc_insertion_point(copy_constructor:AdminRemoveGameAckMessage) } -void AdminRemoveGameAckMessage::SharedCtor() { - ::memset(&removegameid_, 0, static_cast( - reinterpret_cast(&removegameresult_) - - reinterpret_cast(&removegameid_)) + sizeof(removegameresult_)); +inline void AdminRemoveGameAckMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&removegameid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&removegameresult_) - + reinterpret_cast(&removegameid_)) + sizeof(removegameresult_)); } AdminRemoveGameAckMessage::~AdminRemoveGameAckMessage() { // @@protoc_insertion_point(destructor:AdminRemoveGameAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AdminRemoveGameAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AdminRemoveGameAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AdminRemoveGameAckMessage::ArenaDtor(void* object) { @@ -28873,15 +28793,10 @@ void AdminRemoveGameAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena void AdminRemoveGameAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AdminRemoveGameAckMessage& AdminRemoveGameAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AdminRemoveGameAckMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AdminRemoveGameAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AdminRemoveGameAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -28898,59 +28813,60 @@ void AdminRemoveGameAckMessage::Clear() { const char* AdminRemoveGameAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 removeGameId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_removegameid(&has_bits); removegameid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::AdminRemoveGameAckMessage_AdminRemoveGameResult_IsValid(val))) { _internal_set_removegameresult(static_cast<::AdminRemoveGameAckMessage_AdminRemoveGameResult>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AdminRemoveGameAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AdminRemoveGameAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AdminRemoveGameAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -28981,9 +28897,7 @@ size_t AdminRemoveGameAckMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_removegameid()) { // required uint32 removeGameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_removegameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_removegameid()); } if (_internal_has_removegameresult()) { @@ -29000,9 +28914,7 @@ size_t AdminRemoveGameAckMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 removeGameId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_removegameid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_removegameid()); // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; total_size += 1 + @@ -29011,7 +28923,7 @@ size_t AdminRemoveGameAckMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -29032,8 +28944,7 @@ void AdminRemoveGameAckMessage::CheckTypeAndMergeFrom( void AdminRemoveGameAckMessage::MergeFrom(const AdminRemoveGameAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AdminRemoveGameAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -29046,6 +28957,7 @@ void AdminRemoveGameAckMessage::MergeFrom(const AdminRemoveGameAckMessage& from) } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AdminRemoveGameAckMessage::CopyFrom(const AdminRemoveGameAckMessage& from) { @@ -29062,7 +28974,7 @@ bool AdminRemoveGameAckMessage::IsInitialized() const { void AdminRemoveGameAckMessage::InternalSwap(AdminRemoveGameAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AdminRemoveGameAckMessage, removegameresult_) @@ -29079,8 +28991,6 @@ std::string AdminRemoveGameAckMessage::GetTypeName() const { // =================================================================== -void AdminBanPlayerMessage::InitAsDefaultInstance() { -} class AdminBanPlayerMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -29092,10 +29002,13 @@ class AdminBanPlayerMessage::_Internal { } }; -AdminBanPlayerMessage::AdminBanPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AdminBanPlayerMessage::AdminBanPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AdminBanPlayerMessage) } AdminBanPlayerMessage::AdminBanPlayerMessage(const AdminBanPlayerMessage& from) @@ -29106,18 +29019,19 @@ AdminBanPlayerMessage::AdminBanPlayerMessage(const AdminBanPlayerMessage& from) // @@protoc_insertion_point(copy_constructor:AdminBanPlayerMessage) } -void AdminBanPlayerMessage::SharedCtor() { - banplayerid_ = 0u; +inline void AdminBanPlayerMessage::SharedCtor() { +banplayerid_ = 0u; } AdminBanPlayerMessage::~AdminBanPlayerMessage() { // @@protoc_insertion_point(destructor:AdminBanPlayerMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AdminBanPlayerMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AdminBanPlayerMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AdminBanPlayerMessage::ArenaDtor(void* object) { @@ -29129,15 +29043,10 @@ void AdminBanPlayerMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void AdminBanPlayerMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AdminBanPlayerMessage& AdminBanPlayerMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AdminBanPlayerMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AdminBanPlayerMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AdminBanPlayerMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -29149,47 +29058,47 @@ void AdminBanPlayerMessage::Clear() { const char* AdminBanPlayerMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 banPlayerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_banplayerid(&has_bits); banplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AdminBanPlayerMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AdminBanPlayerMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AdminBanPlayerMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -29213,11 +29122,9 @@ size_t AdminBanPlayerMessage::ByteSizeLong() const { // required uint32 banPlayerId = 1; if (_internal_has_banplayerid()) { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_banplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_banplayerid()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -29238,13 +29145,13 @@ void AdminBanPlayerMessage::CheckTypeAndMergeFrom( void AdminBanPlayerMessage::MergeFrom(const AdminBanPlayerMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AdminBanPlayerMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_has_banplayerid()) { _internal_set_banplayerid(from._internal_banplayerid()); } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AdminBanPlayerMessage::CopyFrom(const AdminBanPlayerMessage& from) { @@ -29261,7 +29168,7 @@ bool AdminBanPlayerMessage::IsInitialized() const { void AdminBanPlayerMessage::InternalSwap(AdminBanPlayerMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(banplayerid_, other->banplayerid_); } @@ -29273,8 +29180,6 @@ std::string AdminBanPlayerMessage::GetTypeName() const { // =================================================================== -void AdminBanPlayerAckMessage::InitAsDefaultInstance() { -} class AdminBanPlayerAckMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); @@ -29289,10 +29194,13 @@ class AdminBanPlayerAckMessage::_Internal { } }; -AdminBanPlayerAckMessage::AdminBanPlayerAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +AdminBanPlayerAckMessage::AdminBanPlayerAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:AdminBanPlayerAckMessage) } AdminBanPlayerAckMessage::AdminBanPlayerAckMessage(const AdminBanPlayerAckMessage& from) @@ -29305,20 +29213,22 @@ AdminBanPlayerAckMessage::AdminBanPlayerAckMessage(const AdminBanPlayerAckMessag // @@protoc_insertion_point(copy_constructor:AdminBanPlayerAckMessage) } -void AdminBanPlayerAckMessage::SharedCtor() { - ::memset(&banplayerid_, 0, static_cast( - reinterpret_cast(&banplayerresult_) - - reinterpret_cast(&banplayerid_)) + sizeof(banplayerresult_)); +inline void AdminBanPlayerAckMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&banplayerid_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&banplayerresult_) - + reinterpret_cast(&banplayerid_)) + sizeof(banplayerresult_)); } AdminBanPlayerAckMessage::~AdminBanPlayerAckMessage() { // @@protoc_insertion_point(destructor:AdminBanPlayerAckMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void AdminBanPlayerAckMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void AdminBanPlayerAckMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); } void AdminBanPlayerAckMessage::ArenaDtor(void* object) { @@ -29330,15 +29240,10 @@ void AdminBanPlayerAckMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* void AdminBanPlayerAckMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const AdminBanPlayerAckMessage& AdminBanPlayerAckMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_AdminBanPlayerAckMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void AdminBanPlayerAckMessage::Clear() { // @@protoc_insertion_point(message_clear_start:AdminBanPlayerAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -29355,59 +29260,60 @@ void AdminBanPlayerAckMessage::Clear() { const char* AdminBanPlayerAckMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure _Internal::HasBits has_bits{}; - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required uint32 banPlayerId = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { _Internal::set_has_banplayerid(&has_bits); banplayerid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 16)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::AdminBanPlayerAckMessage_AdminBanPlayerResult_IsValid(val))) { _internal_set_banplayerresult(static_cast<::AdminBanPlayerAckMessage_AdminBanPlayerResult>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(2, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); - continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: _has_bits_.Or(has_bits); return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* AdminBanPlayerAckMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* AdminBanPlayerAckMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:AdminBanPlayerAckMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[0]; @@ -29438,9 +29344,7 @@ size_t AdminBanPlayerAckMessage::RequiredFieldsByteSizeFallback() const { if (_internal_has_banplayerid()) { // required uint32 banPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_banplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_banplayerid()); } if (_internal_has_banplayerresult()) { @@ -29457,9 +29361,7 @@ size_t AdminBanPlayerAckMessage::ByteSizeLong() const { if (((_has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) { // All required fields are present. // required uint32 banPlayerId = 1; - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( - this->_internal_banplayerid()); + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32SizePlusOne(this->_internal_banplayerid()); // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; total_size += 1 + @@ -29468,7 +29370,7 @@ size_t AdminBanPlayerAckMessage::ByteSizeLong() const { } else { total_size += RequiredFieldsByteSizeFallback(); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -29489,8 +29391,7 @@ void AdminBanPlayerAckMessage::CheckTypeAndMergeFrom( void AdminBanPlayerAckMessage::MergeFrom(const AdminBanPlayerAckMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:AdminBanPlayerAckMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -29503,6 +29404,7 @@ void AdminBanPlayerAckMessage::MergeFrom(const AdminBanPlayerAckMessage& from) { } _has_bits_[0] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void AdminBanPlayerAckMessage::CopyFrom(const AdminBanPlayerAckMessage& from) { @@ -29519,7 +29421,7 @@ bool AdminBanPlayerAckMessage::IsInitialized() const { void AdminBanPlayerAckMessage::InternalSwap(AdminBanPlayerAckMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< PROTOBUF_FIELD_OFFSET(AdminBanPlayerAckMessage, banplayerresult_) @@ -29536,175 +29438,11 @@ std::string AdminBanPlayerAckMessage::GetTypeName() const { // =================================================================== -void PokerTHMessage::InitAsDefaultInstance() { - ::_PokerTHMessage_default_instance_._instance.get_mutable()->announcemessage_ = const_cast< ::AnnounceMessage*>( - ::AnnounceMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->initmessage_ = const_cast< ::InitMessage*>( - ::InitMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->authserverchallengemessage_ = const_cast< ::AuthServerChallengeMessage*>( - ::AuthServerChallengeMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->authclientresponsemessage_ = const_cast< ::AuthClientResponseMessage*>( - ::AuthClientResponseMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->authserververificationmessage_ = const_cast< ::AuthServerVerificationMessage*>( - ::AuthServerVerificationMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->initackmessage_ = const_cast< ::InitAckMessage*>( - ::InitAckMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->avatarrequestmessage_ = const_cast< ::AvatarRequestMessage*>( - ::AvatarRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->avatarheadermessage_ = const_cast< ::AvatarHeaderMessage*>( - ::AvatarHeaderMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->avatardatamessage_ = const_cast< ::AvatarDataMessage*>( - ::AvatarDataMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->avatarendmessage_ = const_cast< ::AvatarEndMessage*>( - ::AvatarEndMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->unknownavatarmessage_ = const_cast< ::UnknownAvatarMessage*>( - ::UnknownAvatarMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->playerlistmessage_ = const_cast< ::PlayerListMessage*>( - ::PlayerListMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamelistnewmessage_ = const_cast< ::GameListNewMessage*>( - ::GameListNewMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamelistupdatemessage_ = const_cast< ::GameListUpdateMessage*>( - ::GameListUpdateMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamelistplayerjoinedmessage_ = const_cast< ::GameListPlayerJoinedMessage*>( - ::GameListPlayerJoinedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamelistplayerleftmessage_ = const_cast< ::GameListPlayerLeftMessage*>( - ::GameListPlayerLeftMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamelistadminchangedmessage_ = const_cast< ::GameListAdminChangedMessage*>( - ::GameListAdminChangedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->playerinforequestmessage_ = const_cast< ::PlayerInfoRequestMessage*>( - ::PlayerInfoRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->playerinforeplymessage_ = const_cast< ::PlayerInfoReplyMessage*>( - ::PlayerInfoReplyMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->subscriptionrequestmessage_ = const_cast< ::SubscriptionRequestMessage*>( - ::SubscriptionRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->joinexistinggamemessage_ = const_cast< ::JoinExistingGameMessage*>( - ::JoinExistingGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->joinnewgamemessage_ = const_cast< ::JoinNewGameMessage*>( - ::JoinNewGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->rejoinexistinggamemessage_ = const_cast< ::RejoinExistingGameMessage*>( - ::RejoinExistingGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->joingameackmessage_ = const_cast< ::JoinGameAckMessage*>( - ::JoinGameAckMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->joingamefailedmessage_ = const_cast< ::JoinGameFailedMessage*>( - ::JoinGameFailedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gameplayerjoinedmessage_ = const_cast< ::GamePlayerJoinedMessage*>( - ::GamePlayerJoinedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gameplayerleftmessage_ = const_cast< ::GamePlayerLeftMessage*>( - ::GamePlayerLeftMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gameadminchangedmessage_ = const_cast< ::GameAdminChangedMessage*>( - ::GameAdminChangedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->removedfromgamemessage_ = const_cast< ::RemovedFromGameMessage*>( - ::RemovedFromGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->kickplayerrequestmessage_ = const_cast< ::KickPlayerRequestMessage*>( - ::KickPlayerRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->leavegamerequestmessage_ = const_cast< ::LeaveGameRequestMessage*>( - ::LeaveGameRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->inviteplayertogamemessage_ = const_cast< ::InvitePlayerToGameMessage*>( - ::InvitePlayerToGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->invitenotifymessage_ = const_cast< ::InviteNotifyMessage*>( - ::InviteNotifyMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->rejectgameinvitationmessage_ = const_cast< ::RejectGameInvitationMessage*>( - ::RejectGameInvitationMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->rejectinvnotifymessage_ = const_cast< ::RejectInvNotifyMessage*>( - ::RejectInvNotifyMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->starteventmessage_ = const_cast< ::StartEventMessage*>( - ::StartEventMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->starteventackmessage_ = const_cast< ::StartEventAckMessage*>( - ::StartEventAckMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamestartinitialmessage_ = const_cast< ::GameStartInitialMessage*>( - ::GameStartInitialMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamestartrejoinmessage_ = const_cast< ::GameStartRejoinMessage*>( - ::GameStartRejoinMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->handstartmessage_ = const_cast< ::HandStartMessage*>( - ::HandStartMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->playersturnmessage_ = const_cast< ::PlayersTurnMessage*>( - ::PlayersTurnMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->myactionrequestmessage_ = const_cast< ::MyActionRequestMessage*>( - ::MyActionRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->youractionrejectedmessage_ = const_cast< ::YourActionRejectedMessage*>( - ::YourActionRejectedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->playersactiondonemessage_ = const_cast< ::PlayersActionDoneMessage*>( - ::PlayersActionDoneMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->dealflopcardsmessage_ = const_cast< ::DealFlopCardsMessage*>( - ::DealFlopCardsMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->dealturncardmessage_ = const_cast< ::DealTurnCardMessage*>( - ::DealTurnCardMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->dealrivercardmessage_ = const_cast< ::DealRiverCardMessage*>( - ::DealRiverCardMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->allinshowcardsmessage_ = const_cast< ::AllInShowCardsMessage*>( - ::AllInShowCardsMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->endofhandshowcardsmessage_ = const_cast< ::EndOfHandShowCardsMessage*>( - ::EndOfHandShowCardsMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->endofhandhidecardsmessage_ = const_cast< ::EndOfHandHideCardsMessage*>( - ::EndOfHandHideCardsMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->showmycardsrequestmessage_ = const_cast< ::ShowMyCardsRequestMessage*>( - ::ShowMyCardsRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->afterhandshowcardsmessage_ = const_cast< ::AfterHandShowCardsMessage*>( - ::AfterHandShowCardsMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->endofgamemessage_ = const_cast< ::EndOfGameMessage*>( - ::EndOfGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->playeridchangedmessage_ = const_cast< ::PlayerIdChangedMessage*>( - ::PlayerIdChangedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->askkickplayermessage_ = const_cast< ::AskKickPlayerMessage*>( - ::AskKickPlayerMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->askkickdeniedmessage_ = const_cast< ::AskKickDeniedMessage*>( - ::AskKickDeniedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->startkickpetitionmessage_ = const_cast< ::StartKickPetitionMessage*>( - ::StartKickPetitionMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->votekickrequestmessage_ = const_cast< ::VoteKickRequestMessage*>( - ::VoteKickRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->votekickreplymessage_ = const_cast< ::VoteKickReplyMessage*>( - ::VoteKickReplyMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->kickpetitionupdatemessage_ = const_cast< ::KickPetitionUpdateMessage*>( - ::KickPetitionUpdateMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->endkickpetitionmessage_ = const_cast< ::EndKickPetitionMessage*>( - ::EndKickPetitionMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->statisticsmessage_ = const_cast< ::StatisticsMessage*>( - ::StatisticsMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->chatrequestmessage_ = const_cast< ::ChatRequestMessage*>( - ::ChatRequestMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->chatmessage_ = const_cast< ::ChatMessage*>( - ::ChatMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->chatrejectmessage_ = const_cast< ::ChatRejectMessage*>( - ::ChatRejectMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->dialogmessage_ = const_cast< ::DialogMessage*>( - ::DialogMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->timeoutwarningmessage_ = const_cast< ::TimeoutWarningMessage*>( - ::TimeoutWarningMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->resettimeoutmessage_ = const_cast< ::ResetTimeoutMessage*>( - ::ResetTimeoutMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->reportavatarmessage_ = const_cast< ::ReportAvatarMessage*>( - ::ReportAvatarMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->reportavatarackmessage_ = const_cast< ::ReportAvatarAckMessage*>( - ::ReportAvatarAckMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->reportgamemessage_ = const_cast< ::ReportGameMessage*>( - ::ReportGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->reportgameackmessage_ = const_cast< ::ReportGameAckMessage*>( - ::ReportGameAckMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->errormessage_ = const_cast< ::ErrorMessage*>( - ::ErrorMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->adminremovegamemessage_ = const_cast< ::AdminRemoveGameMessage*>( - ::AdminRemoveGameMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->adminremovegameackmessage_ = const_cast< ::AdminRemoveGameAckMessage*>( - ::AdminRemoveGameAckMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->adminbanplayermessage_ = const_cast< ::AdminBanPlayerMessage*>( - ::AdminBanPlayerMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->adminbanplayerackmessage_ = const_cast< ::AdminBanPlayerAckMessage*>( - ::AdminBanPlayerAckMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamelistspectatorjoinedmessage_ = const_cast< ::GameListSpectatorJoinedMessage*>( - ::GameListSpectatorJoinedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamelistspectatorleftmessage_ = const_cast< ::GameListSpectatorLeftMessage*>( - ::GameListSpectatorLeftMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamespectatorjoinedmessage_ = const_cast< ::GameSpectatorJoinedMessage*>( - ::GameSpectatorJoinedMessage::internal_default_instance()); - ::_PokerTHMessage_default_instance_._instance.get_mutable()->gamespectatorleftmessage_ = const_cast< ::GameSpectatorLeftMessage*>( - ::GameSpectatorLeftMessage::internal_default_instance()); -} class PokerTHMessage::_Internal { public: using HasBits = decltype(std::declval()._has_bits_); static void set_has_messagetype(HasBits* has_bits) { - (*has_bits)[2] |= 131072u; + (*has_bits)[2] |= 262144u; } static const ::AnnounceMessage& announcemessage(const PokerTHMessage* msg); static void set_has_announcemessage(HasBits* has_bits) { @@ -30030,8 +29768,12 @@ class PokerTHMessage::_Internal { static void set_has_gamespectatorleftmessage(HasBits* has_bits) { (*has_bits)[2] |= 65536u; } + static const ::GameStartReentryMessage& gamestartreentrymessage(const PokerTHMessage* msg); + static void set_has_gamestartreentrymessage(HasBits* has_bits) { + (*has_bits)[2] |= 131072u; + } static bool MissingRequiredFields(const HasBits& has_bits) { - return ((has_bits[2] & 0x00020000) ^ 0x00020000) != 0; + return ((has_bits[2] & 0x00040000) ^ 0x00040000) != 0; } }; @@ -30359,10 +30101,17 @@ const ::GameSpectatorLeftMessage& PokerTHMessage::_Internal::gamespectatorleftmessage(const PokerTHMessage* msg) { return *msg->gamespectatorleftmessage_; } -PokerTHMessage::PokerTHMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena) - : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena) { +const ::GameStartReentryMessage& +PokerTHMessage::_Internal::gamestartreentrymessage(const PokerTHMessage* msg) { + return *msg->gamestartreentrymessage_; +} +PokerTHMessage::PokerTHMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned) + : ::PROTOBUF_NAMESPACE_ID::MessageLite(arena, is_message_owned) { SharedCtor(); - RegisterArenaDtor(arena); + if (!is_message_owned) { + RegisterArenaDtor(arena); + } // @@protoc_insertion_point(arena_constructor:PokerTHMessage) } PokerTHMessage::PokerTHMessage(const PokerTHMessage& from) @@ -30774,25 +30523,32 @@ PokerTHMessage::PokerTHMessage(const PokerTHMessage& from) } else { gamespectatorleftmessage_ = nullptr; } + if (from._internal_has_gamestartreentrymessage()) { + gamestartreentrymessage_ = new ::GameStartReentryMessage(*from.gamestartreentrymessage_); + } else { + gamestartreentrymessage_ = nullptr; + } messagetype_ = from.messagetype_; // @@protoc_insertion_point(copy_constructor:PokerTHMessage) } -void PokerTHMessage::SharedCtor() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_PokerTHMessage_pokerth_2eproto.base); - ::memset(&announcemessage_, 0, static_cast( - reinterpret_cast(&gamespectatorleftmessage_) - - reinterpret_cast(&announcemessage_)) + sizeof(gamespectatorleftmessage_)); - messagetype_ = 1; +inline void PokerTHMessage::SharedCtor() { +::memset(reinterpret_cast(this) + static_cast( + reinterpret_cast(&announcemessage_) - reinterpret_cast(this)), + 0, static_cast(reinterpret_cast(&gamestartreentrymessage_) - + reinterpret_cast(&announcemessage_)) + sizeof(gamestartreentrymessage_)); +messagetype_ = 1; } PokerTHMessage::~PokerTHMessage() { + // @@protoc_insertion_point(destructor:PokerTHMessage) + if (GetArenaForAllocation() != nullptr) return; SharedDtor(); _internal_metadata_.Delete(); } -void PokerTHMessage::SharedDtor() { - GOOGLE_DCHECK(GetArena() == nullptr); +inline void PokerTHMessage::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete announcemessage_; if (this != internal_default_instance()) delete initmessage_; if (this != internal_default_instance()) delete authserverchallengemessage_; @@ -30874,6 +30630,7 @@ void PokerTHMessage::SharedDtor() { if (this != internal_default_instance()) delete gamelistspectatorleftmessage_; if (this != internal_default_instance()) delete gamespectatorjoinedmessage_; if (this != internal_default_instance()) delete gamespectatorleftmessage_; + if (this != internal_default_instance()) delete gamestartreentrymessage_; } void PokerTHMessage::ArenaDtor(void* object) { @@ -30885,15 +30642,10 @@ void PokerTHMessage::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) { void PokerTHMessage::SetCachedSize(int size) const { _cached_size_.Set(size); } -const PokerTHMessage& PokerTHMessage::default_instance() { - ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_PokerTHMessage_pokerth_2eproto.base); - return *internal_default_instance(); -} - void PokerTHMessage::Clear() { // @@protoc_insertion_point(message_clear_start:PokerTHMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -31240,11 +30992,15 @@ void PokerTHMessage::Clear() { gamespectatorjoinedmessage_->Clear(); } } - if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00070000u) { if (cached_has_bits & 0x00010000u) { GOOGLE_DCHECK(gamespectatorleftmessage_ != nullptr); gamespectatorleftmessage_->Clear(); } + if (cached_has_bits & 0x00020000u) { + GOOGLE_DCHECK(gamestartreentrymessage_ != nullptr); + gamestartreentrymessage_->Clear(); + } messagetype_ = 1; } _has_bits_.Clear(); @@ -31253,622 +31009,711 @@ void PokerTHMessage::Clear() { const char* PokerTHMessage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure - ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena; while (!ctx->Done(&ptr)) { - ::PROTOBUF_NAMESPACE_ID::uint32 tag; + uint32_t tag; ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); - CHK_(ptr); switch (tag >> 3) { // required .PokerTHMessage.PokerTHMessageType messageType = 1; case 1: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { - ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); CHK_(ptr); if (PROTOBUF_PREDICT_TRUE(::PokerTHMessage_PokerTHMessageType_IsValid(val))) { _internal_set_messagetype(static_cast<::PokerTHMessage_PokerTHMessageType>(val)); } else { ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val, mutable_unknown_fields()); } - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AnnounceMessage announceMessage = 2; case 2: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_announcemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .InitMessage initMessage = 3; case 3: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { ptr = ctx->ParseMessage(_internal_mutable_initmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; case 4: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr = ctx->ParseMessage(_internal_mutable_authserverchallengemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AuthClientResponseMessage authClientResponseMessage = 5; case 5: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { ptr = ctx->ParseMessage(_internal_mutable_authclientresponsemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; case 6: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { ptr = ctx->ParseMessage(_internal_mutable_authserververificationmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .InitAckMessage initAckMessage = 7; case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { ptr = ctx->ParseMessage(_internal_mutable_initackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AvatarRequestMessage avatarRequestMessage = 8; case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { ptr = ctx->ParseMessage(_internal_mutable_avatarrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AvatarHeaderMessage avatarHeaderMessage = 9; case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { ptr = ctx->ParseMessage(_internal_mutable_avatarheadermessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AvatarDataMessage avatarDataMessage = 10; case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { ptr = ctx->ParseMessage(_internal_mutable_avatardatamessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AvatarEndMessage avatarEndMessage = 11; case 11: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { ptr = ctx->ParseMessage(_internal_mutable_avatarendmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .UnknownAvatarMessage unknownAvatarMessage = 12; case 12: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { ptr = ctx->ParseMessage(_internal_mutable_unknownavatarmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayerListMessage playerListMessage = 13; case 13: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { ptr = ctx->ParseMessage(_internal_mutable_playerlistmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameListNewMessage gameListNewMessage = 14; case 14: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { ptr = ctx->ParseMessage(_internal_mutable_gamelistnewmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameListUpdateMessage gameListUpdateMessage = 15; case 15: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { ptr = ctx->ParseMessage(_internal_mutable_gamelistupdatemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; case 16: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { ptr = ctx->ParseMessage(_internal_mutable_gamelistplayerjoinedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; case 17: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { ptr = ctx->ParseMessage(_internal_mutable_gamelistplayerleftmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; case 18: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { ptr = ctx->ParseMessage(_internal_mutable_gamelistadminchangedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; case 19: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { ptr = ctx->ParseMessage(_internal_mutable_playerinforequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; case 20: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 162)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { ptr = ctx->ParseMessage(_internal_mutable_playerinforeplymessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; case 21: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 170)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { ptr = ctx->ParseMessage(_internal_mutable_subscriptionrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .JoinExistingGameMessage joinExistingGameMessage = 22; case 22: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { ptr = ctx->ParseMessage(_internal_mutable_joinexistinggamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .JoinNewGameMessage joinNewGameMessage = 23; case 23: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 186)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { ptr = ctx->ParseMessage(_internal_mutable_joinnewgamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; case 24: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { ptr = ctx->ParseMessage(_internal_mutable_rejoinexistinggamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .JoinGameAckMessage joinGameAckMessage = 25; case 25: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 202)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 202)) { ptr = ctx->ParseMessage(_internal_mutable_joingameackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .JoinGameFailedMessage joinGameFailedMessage = 26; case 26: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 210)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { ptr = ctx->ParseMessage(_internal_mutable_joingamefailedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; case 27: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 218)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 218)) { ptr = ctx->ParseMessage(_internal_mutable_gameplayerjoinedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; case 28: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 226)) { ptr = ctx->ParseMessage(_internal_mutable_gameplayerleftmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; case 29: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 234)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { ptr = ctx->ParseMessage(_internal_mutable_gameadminchangedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .RemovedFromGameMessage removedFromGameMessage = 30; case 30: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 242)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { ptr = ctx->ParseMessage(_internal_mutable_removedfromgamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; case 31: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 250)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { ptr = ctx->ParseMessage(_internal_mutable_kickplayerrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; case 32: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 2)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 2)) { ptr = ctx->ParseMessage(_internal_mutable_leavegamerequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; case 33: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_inviteplayertogamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .InviteNotifyMessage inviteNotifyMessage = 34; case 34: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_invitenotifymessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; case 35: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { ptr = ctx->ParseMessage(_internal_mutable_rejectgameinvitationmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; case 36: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr = ctx->ParseMessage(_internal_mutable_rejectinvnotifymessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .StartEventMessage startEventMessage = 37; case 37: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { ptr = ctx->ParseMessage(_internal_mutable_starteventmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .StartEventAckMessage startEventAckMessage = 38; case 38: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { ptr = ctx->ParseMessage(_internal_mutable_starteventackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameStartInitialMessage gameStartInitialMessage = 39; case 39: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { ptr = ctx->ParseMessage(_internal_mutable_gamestartinitialmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; case 40: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { ptr = ctx->ParseMessage(_internal_mutable_gamestartrejoinmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .HandStartMessage handStartMessage = 41; case 41: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { ptr = ctx->ParseMessage(_internal_mutable_handstartmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayersTurnMessage playersTurnMessage = 42; case 42: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { ptr = ctx->ParseMessage(_internal_mutable_playersturnmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .MyActionRequestMessage myActionRequestMessage = 43; case 43: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { ptr = ctx->ParseMessage(_internal_mutable_myactionrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; case 44: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { ptr = ctx->ParseMessage(_internal_mutable_youractionrejectedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; case 45: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { ptr = ctx->ParseMessage(_internal_mutable_playersactiondonemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; case 46: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { ptr = ctx->ParseMessage(_internal_mutable_dealflopcardsmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .DealTurnCardMessage dealTurnCardMessage = 47; case 47: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { ptr = ctx->ParseMessage(_internal_mutable_dealturncardmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .DealRiverCardMessage dealRiverCardMessage = 48; case 48: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { ptr = ctx->ParseMessage(_internal_mutable_dealrivercardmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AllInShowCardsMessage allInShowCardsMessage = 49; case 49: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { ptr = ctx->ParseMessage(_internal_mutable_allinshowcardsmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; case 50: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { ptr = ctx->ParseMessage(_internal_mutable_endofhandshowcardsmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; case 51: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 154)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { ptr = ctx->ParseMessage(_internal_mutable_endofhandhidecardsmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; case 52: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 162)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 162)) { ptr = ctx->ParseMessage(_internal_mutable_showmycardsrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; case 53: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 170)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 170)) { ptr = ctx->ParseMessage(_internal_mutable_afterhandshowcardsmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .EndOfGameMessage endOfGameMessage = 54; case 54: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 178)) { ptr = ctx->ParseMessage(_internal_mutable_endofgamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; case 55: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 186)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 186)) { ptr = ctx->ParseMessage(_internal_mutable_playeridchangedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AskKickPlayerMessage askKickPlayerMessage = 56; case 56: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 194)) { ptr = ctx->ParseMessage(_internal_mutable_askkickplayermessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AskKickDeniedMessage askKickDeniedMessage = 57; case 57: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 202)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 202)) { ptr = ctx->ParseMessage(_internal_mutable_askkickdeniedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .StartKickPetitionMessage startKickPetitionMessage = 58; case 58: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 210)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 210)) { ptr = ctx->ParseMessage(_internal_mutable_startkickpetitionmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .VoteKickRequestMessage voteKickRequestMessage = 59; case 59: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 218)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 218)) { ptr = ctx->ParseMessage(_internal_mutable_votekickrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .VoteKickReplyMessage voteKickReplyMessage = 60; case 60: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 226)) { ptr = ctx->ParseMessage(_internal_mutable_votekickreplymessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; case 61: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 234)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 234)) { ptr = ctx->ParseMessage(_internal_mutable_kickpetitionupdatemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .EndKickPetitionMessage endKickPetitionMessage = 62; case 62: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 242)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 242)) { ptr = ctx->ParseMessage(_internal_mutable_endkickpetitionmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .StatisticsMessage statisticsMessage = 63; case 63: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 250)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 250)) { ptr = ctx->ParseMessage(_internal_mutable_statisticsmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ChatRequestMessage chatRequestMessage = 64; case 64: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 2)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 2)) { ptr = ctx->ParseMessage(_internal_mutable_chatrequestmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ChatMessage chatMessage = 65; case 65: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr = ctx->ParseMessage(_internal_mutable_chatmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ChatRejectMessage chatRejectMessage = 66; case 66: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { ptr = ctx->ParseMessage(_internal_mutable_chatrejectmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .DialogMessage dialogMessage = 67; case 67: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { ptr = ctx->ParseMessage(_internal_mutable_dialogmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .TimeoutWarningMessage timeoutWarningMessage = 68; case 68: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { ptr = ctx->ParseMessage(_internal_mutable_timeoutwarningmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ResetTimeoutMessage resetTimeoutMessage = 69; case 69: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { ptr = ctx->ParseMessage(_internal_mutable_resettimeoutmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ReportAvatarMessage reportAvatarMessage = 70; case 70: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { ptr = ctx->ParseMessage(_internal_mutable_reportavatarmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; case 71: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { ptr = ctx->ParseMessage(_internal_mutable_reportavatarackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ReportGameMessage reportGameMessage = 72; case 72: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { ptr = ctx->ParseMessage(_internal_mutable_reportgamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ReportGameAckMessage reportGameAckMessage = 73; case 73: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { ptr = ctx->ParseMessage(_internal_mutable_reportgameackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .ErrorMessage errorMessage = 74; case 74: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { ptr = ctx->ParseMessage(_internal_mutable_errormessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; case 75: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { ptr = ctx->ParseMessage(_internal_mutable_adminremovegamemessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; case 76: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { ptr = ctx->ParseMessage(_internal_mutable_adminremovegameackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; case 77: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { ptr = ctx->ParseMessage(_internal_mutable_adminbanplayermessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; case 78: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 114)) { ptr = ctx->ParseMessage(_internal_mutable_adminbanplayerackmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; case 79: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 122)) { ptr = ctx->ParseMessage(_internal_mutable_gamelistspectatorjoinedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; case 80: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 130)) { ptr = ctx->ParseMessage(_internal_mutable_gamelistspectatorleftmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; case 81: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 138)) { ptr = ctx->ParseMessage(_internal_mutable_gamespectatorjoinedmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; case 82: - if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { ptr = ctx->ParseMessage(_internal_mutable_gamespectatorleftmessage(), ptr); CHK_(ptr); - } else goto handle_unusual; + } else + goto handle_unusual; continue; - default: { - handle_unusual: - if ((tag & 7) == 4 || tag == 0) { - ctx->SetLastTag(tag); - goto success; - } - ptr = UnknownFieldParse(tag, - _internal_metadata_.mutable_unknown_fields(), - ptr, ctx); - CHK_(ptr != nullptr); + // optional .GameStartReentryMessage gameStartReentryMessage = 83; + case 83: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 154)) { + ptr = ctx->ParseMessage(_internal_mutable_gamestartreentrymessage(), ptr); + CHK_(ptr); + } else + goto handle_unusual; continue; - } + default: + goto handle_unusual; } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields(), + ptr, ctx); + CHK_(ptr != nullptr); } // while -success: +message_done: return ptr; failure: ptr = nullptr; - goto success; + goto message_done; #undef CHK_ } -::PROTOBUF_NAMESPACE_ID::uint8* PokerTHMessage::_InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { +uint8_t* PokerTHMessage::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:PokerTHMessage) - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = _has_bits_[2]; // required .PokerTHMessage.PokerTHMessageType messageType = 1; - if (cached_has_bits & 0x00020000u) { + if (cached_has_bits & 0x00040000u) { target = stream->EnsureSpace(target); target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( 1, this->_internal_messagetype(), target); @@ -32525,6 +32370,14 @@ failure: 82, _Internal::gamespectatorleftmessage(this), target, stream); } + // optional .GameStartReentryMessage gameStartReentryMessage = 83; + if (cached_has_bits & 0x00020000u) { + target = stream->EnsureSpace(target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage( + 83, _Internal::gamestartreentrymessage(this), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = stream->WriteRaw(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).data(), static_cast(_internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size()), target); @@ -32542,7 +32395,7 @@ size_t PokerTHMessage::ByteSizeLong() const { total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_messagetype()); } - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -33129,13 +32982,22 @@ size_t PokerTHMessage::ByteSizeLong() const { } } - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - if (cached_has_bits & 0x00010000u) { - total_size += 2 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *gamespectatorleftmessage_); - } + if (cached_has_bits & 0x00030000u) { + // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + if (cached_has_bits & 0x00010000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *gamespectatorleftmessage_); + } + // optional .GameStartReentryMessage gameStartReentryMessage = 83; + if (cached_has_bits & 0x00020000u) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *gamestartreentrymessage_); + } + + } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { total_size += _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString).size(); } @@ -33153,8 +33015,7 @@ void PokerTHMessage::CheckTypeAndMergeFrom( void PokerTHMessage::MergeFrom(const PokerTHMessage& from) { // @@protoc_insertion_point(class_specific_merge_from_start:PokerTHMessage) GOOGLE_DCHECK_NE(&from, this); - _internal_metadata_.MergeFrom(from._internal_metadata_); - ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + uint32_t cached_has_bits = 0; (void) cached_has_bits; cached_has_bits = from._has_bits_[0]; @@ -33420,15 +33281,19 @@ void PokerTHMessage::MergeFrom(const PokerTHMessage& from) { _internal_mutable_gamespectatorjoinedmessage()->::GameSpectatorJoinedMessage::MergeFrom(from._internal_gamespectatorjoinedmessage()); } } - if (cached_has_bits & 0x00030000u) { + if (cached_has_bits & 0x00070000u) { if (cached_has_bits & 0x00010000u) { _internal_mutable_gamespectatorleftmessage()->::GameSpectatorLeftMessage::MergeFrom(from._internal_gamespectatorleftmessage()); } if (cached_has_bits & 0x00020000u) { + _internal_mutable_gamestartreentrymessage()->::GameStartReentryMessage::MergeFrom(from._internal_gamestartreentrymessage()); + } + if (cached_has_bits & 0x00040000u) { messagetype_ = from.messagetype_; } _has_bits_[2] |= cached_has_bits; } + _internal_metadata_.MergeFrom(from._internal_metadata_); } void PokerTHMessage::CopyFrom(const PokerTHMessage& from) { @@ -33674,21 +33539,21 @@ bool PokerTHMessage::IsInitialized() const { if (_internal_has_gamespectatorleftmessage()) { if (!gamespectatorleftmessage_->IsInitialized()) return false; } - if (has_gamestartreentrymessage()) { - if (!this->gamestartreentrymessage().IsInitialized()) return false; + if (_internal_has_gamestartreentrymessage()) { + if (!gamestartreentrymessage_->IsInitialized()) return false; } return true; } void PokerTHMessage::InternalSwap(PokerTHMessage* other) { using std::swap; - _internal_metadata_.Swap(&other->_internal_metadata_); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_has_bits_[0], other->_has_bits_[0]); swap(_has_bits_[1], other->_has_bits_[1]); swap(_has_bits_[2], other->_has_bits_[2]); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(PokerTHMessage, gamespectatorleftmessage_) - + sizeof(PokerTHMessage::gamespectatorleftmessage_) + PROTOBUF_FIELD_OFFSET(PokerTHMessage, gamestartreentrymessage_) + + sizeof(PokerTHMessage::gamestartreentrymessage_) - PROTOBUF_FIELD_OFFSET(PokerTHMessage, announcemessage_)>( reinterpret_cast(&announcemessage_), reinterpret_cast(&other->announcemessage_)); @@ -33849,6 +33714,12 @@ template<> PROTOBUF_NOINLINE ::GameStartRejoinMessage_RejoinPlayerData* Arena::C template<> PROTOBUF_NOINLINE ::GameStartRejoinMessage* Arena::CreateMaybeMessage< ::GameStartRejoinMessage >(Arena* arena) { return Arena::CreateMessageInternal< ::GameStartRejoinMessage >(arena); } +template<> PROTOBUF_NOINLINE ::GameStartReentryMessage_ReentryPlayerData* Arena::CreateMaybeMessage< ::GameStartReentryMessage_ReentryPlayerData >(Arena* arena) { + return Arena::CreateMessageInternal< ::GameStartReentryMessage_ReentryPlayerData >(arena); +} +template<> PROTOBUF_NOINLINE ::GameStartReentryMessage* Arena::CreateMaybeMessage< ::GameStartReentryMessage >(Arena* arena) { + return Arena::CreateMessageInternal< ::GameStartReentryMessage >(arena); +} template<> PROTOBUF_NOINLINE ::HandStartMessage_PlainCards* Arena::CreateMaybeMessage< ::HandStartMessage_PlainCards >(Arena* arena) { return Arena::CreateMessageInternal< ::HandStartMessage_PlainCards >(arena); } diff --git a/src/third_party/protobuf/pokerth.pb.h b/src/third_party/protobuf/pokerth.pb.h index f3267d5e..cad772b1 100644 --- a/src/third_party/protobuf/pokerth.pb.h +++ b/src/third_party/protobuf/pokerth.pb.h @@ -8,12 +8,12 @@ #include #include -#if PROTOBUF_VERSION < 3012000 +#if PROTOBUF_VERSION < 3019000 #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 3012004 < PROTOBUF_MIN_PROTOC_VERSION +#if 3019001 < 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. @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include // IWYU pragma: export @@ -44,286 +43,292 @@ PROTOBUF_NAMESPACE_CLOSE struct TableStruct_pokerth_2eproto { static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] + static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[91] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[93] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; - static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; + static const uint32_t offsets[]; }; class AdminBanPlayerAckMessage; -class AdminBanPlayerAckMessageDefaultTypeInternal; +struct AdminBanPlayerAckMessageDefaultTypeInternal; extern AdminBanPlayerAckMessageDefaultTypeInternal _AdminBanPlayerAckMessage_default_instance_; class AdminBanPlayerMessage; -class AdminBanPlayerMessageDefaultTypeInternal; +struct AdminBanPlayerMessageDefaultTypeInternal; extern AdminBanPlayerMessageDefaultTypeInternal _AdminBanPlayerMessage_default_instance_; class AdminRemoveGameAckMessage; -class AdminRemoveGameAckMessageDefaultTypeInternal; +struct AdminRemoveGameAckMessageDefaultTypeInternal; extern AdminRemoveGameAckMessageDefaultTypeInternal _AdminRemoveGameAckMessage_default_instance_; class AdminRemoveGameMessage; -class AdminRemoveGameMessageDefaultTypeInternal; +struct AdminRemoveGameMessageDefaultTypeInternal; extern AdminRemoveGameMessageDefaultTypeInternal _AdminRemoveGameMessage_default_instance_; class AfterHandShowCardsMessage; -class AfterHandShowCardsMessageDefaultTypeInternal; +struct AfterHandShowCardsMessageDefaultTypeInternal; extern AfterHandShowCardsMessageDefaultTypeInternal _AfterHandShowCardsMessage_default_instance_; class AllInShowCardsMessage; -class AllInShowCardsMessageDefaultTypeInternal; +struct AllInShowCardsMessageDefaultTypeInternal; extern AllInShowCardsMessageDefaultTypeInternal _AllInShowCardsMessage_default_instance_; class AllInShowCardsMessage_PlayerAllIn; -class AllInShowCardsMessage_PlayerAllInDefaultTypeInternal; +struct AllInShowCardsMessage_PlayerAllInDefaultTypeInternal; extern AllInShowCardsMessage_PlayerAllInDefaultTypeInternal _AllInShowCardsMessage_PlayerAllIn_default_instance_; class AnnounceMessage; -class AnnounceMessageDefaultTypeInternal; +struct AnnounceMessageDefaultTypeInternal; extern AnnounceMessageDefaultTypeInternal _AnnounceMessage_default_instance_; class AnnounceMessage_Version; -class AnnounceMessage_VersionDefaultTypeInternal; +struct AnnounceMessage_VersionDefaultTypeInternal; extern AnnounceMessage_VersionDefaultTypeInternal _AnnounceMessage_Version_default_instance_; class AskKickDeniedMessage; -class AskKickDeniedMessageDefaultTypeInternal; +struct AskKickDeniedMessageDefaultTypeInternal; extern AskKickDeniedMessageDefaultTypeInternal _AskKickDeniedMessage_default_instance_; class AskKickPlayerMessage; -class AskKickPlayerMessageDefaultTypeInternal; +struct AskKickPlayerMessageDefaultTypeInternal; extern AskKickPlayerMessageDefaultTypeInternal _AskKickPlayerMessage_default_instance_; class AuthClientResponseMessage; -class AuthClientResponseMessageDefaultTypeInternal; +struct AuthClientResponseMessageDefaultTypeInternal; extern AuthClientResponseMessageDefaultTypeInternal _AuthClientResponseMessage_default_instance_; class AuthServerChallengeMessage; -class AuthServerChallengeMessageDefaultTypeInternal; +struct AuthServerChallengeMessageDefaultTypeInternal; extern AuthServerChallengeMessageDefaultTypeInternal _AuthServerChallengeMessage_default_instance_; class AuthServerVerificationMessage; -class AuthServerVerificationMessageDefaultTypeInternal; +struct AuthServerVerificationMessageDefaultTypeInternal; extern AuthServerVerificationMessageDefaultTypeInternal _AuthServerVerificationMessage_default_instance_; class AvatarDataMessage; -class AvatarDataMessageDefaultTypeInternal; +struct AvatarDataMessageDefaultTypeInternal; extern AvatarDataMessageDefaultTypeInternal _AvatarDataMessage_default_instance_; class AvatarEndMessage; -class AvatarEndMessageDefaultTypeInternal; +struct AvatarEndMessageDefaultTypeInternal; extern AvatarEndMessageDefaultTypeInternal _AvatarEndMessage_default_instance_; class AvatarHeaderMessage; -class AvatarHeaderMessageDefaultTypeInternal; +struct AvatarHeaderMessageDefaultTypeInternal; extern AvatarHeaderMessageDefaultTypeInternal _AvatarHeaderMessage_default_instance_; class AvatarRequestMessage; -class AvatarRequestMessageDefaultTypeInternal; +struct AvatarRequestMessageDefaultTypeInternal; extern AvatarRequestMessageDefaultTypeInternal _AvatarRequestMessage_default_instance_; class ChatMessage; -class ChatMessageDefaultTypeInternal; +struct ChatMessageDefaultTypeInternal; extern ChatMessageDefaultTypeInternal _ChatMessage_default_instance_; class ChatRejectMessage; -class ChatRejectMessageDefaultTypeInternal; +struct ChatRejectMessageDefaultTypeInternal; extern ChatRejectMessageDefaultTypeInternal _ChatRejectMessage_default_instance_; class ChatRequestMessage; -class ChatRequestMessageDefaultTypeInternal; +struct ChatRequestMessageDefaultTypeInternal; extern ChatRequestMessageDefaultTypeInternal _ChatRequestMessage_default_instance_; class DealFlopCardsMessage; -class DealFlopCardsMessageDefaultTypeInternal; +struct DealFlopCardsMessageDefaultTypeInternal; extern DealFlopCardsMessageDefaultTypeInternal _DealFlopCardsMessage_default_instance_; class DealRiverCardMessage; -class DealRiverCardMessageDefaultTypeInternal; +struct DealRiverCardMessageDefaultTypeInternal; extern DealRiverCardMessageDefaultTypeInternal _DealRiverCardMessage_default_instance_; class DealTurnCardMessage; -class DealTurnCardMessageDefaultTypeInternal; +struct DealTurnCardMessageDefaultTypeInternal; extern DealTurnCardMessageDefaultTypeInternal _DealTurnCardMessage_default_instance_; class DialogMessage; -class DialogMessageDefaultTypeInternal; +struct DialogMessageDefaultTypeInternal; extern DialogMessageDefaultTypeInternal _DialogMessage_default_instance_; class EndKickPetitionMessage; -class EndKickPetitionMessageDefaultTypeInternal; +struct EndKickPetitionMessageDefaultTypeInternal; extern EndKickPetitionMessageDefaultTypeInternal _EndKickPetitionMessage_default_instance_; class EndOfGameMessage; -class EndOfGameMessageDefaultTypeInternal; +struct EndOfGameMessageDefaultTypeInternal; extern EndOfGameMessageDefaultTypeInternal _EndOfGameMessage_default_instance_; class EndOfHandHideCardsMessage; -class EndOfHandHideCardsMessageDefaultTypeInternal; +struct EndOfHandHideCardsMessageDefaultTypeInternal; extern EndOfHandHideCardsMessageDefaultTypeInternal _EndOfHandHideCardsMessage_default_instance_; class EndOfHandShowCardsMessage; -class EndOfHandShowCardsMessageDefaultTypeInternal; +struct EndOfHandShowCardsMessageDefaultTypeInternal; extern EndOfHandShowCardsMessageDefaultTypeInternal _EndOfHandShowCardsMessage_default_instance_; class ErrorMessage; -class ErrorMessageDefaultTypeInternal; +struct ErrorMessageDefaultTypeInternal; extern ErrorMessageDefaultTypeInternal _ErrorMessage_default_instance_; class GameAdminChangedMessage; -class GameAdminChangedMessageDefaultTypeInternal; +struct GameAdminChangedMessageDefaultTypeInternal; extern GameAdminChangedMessageDefaultTypeInternal _GameAdminChangedMessage_default_instance_; class GameListAdminChangedMessage; -class GameListAdminChangedMessageDefaultTypeInternal; +struct GameListAdminChangedMessageDefaultTypeInternal; extern GameListAdminChangedMessageDefaultTypeInternal _GameListAdminChangedMessage_default_instance_; class GameListNewMessage; -class GameListNewMessageDefaultTypeInternal; +struct GameListNewMessageDefaultTypeInternal; extern GameListNewMessageDefaultTypeInternal _GameListNewMessage_default_instance_; class GameListPlayerJoinedMessage; -class GameListPlayerJoinedMessageDefaultTypeInternal; +struct GameListPlayerJoinedMessageDefaultTypeInternal; extern GameListPlayerJoinedMessageDefaultTypeInternal _GameListPlayerJoinedMessage_default_instance_; class GameListPlayerLeftMessage; -class GameListPlayerLeftMessageDefaultTypeInternal; +struct GameListPlayerLeftMessageDefaultTypeInternal; extern GameListPlayerLeftMessageDefaultTypeInternal _GameListPlayerLeftMessage_default_instance_; class GameListSpectatorJoinedMessage; -class GameListSpectatorJoinedMessageDefaultTypeInternal; +struct GameListSpectatorJoinedMessageDefaultTypeInternal; extern GameListSpectatorJoinedMessageDefaultTypeInternal _GameListSpectatorJoinedMessage_default_instance_; class GameListSpectatorLeftMessage; -class GameListSpectatorLeftMessageDefaultTypeInternal; +struct GameListSpectatorLeftMessageDefaultTypeInternal; extern GameListSpectatorLeftMessageDefaultTypeInternal _GameListSpectatorLeftMessage_default_instance_; class GameListUpdateMessage; -class GameListUpdateMessageDefaultTypeInternal; +struct GameListUpdateMessageDefaultTypeInternal; extern GameListUpdateMessageDefaultTypeInternal _GameListUpdateMessage_default_instance_; class GamePlayerJoinedMessage; -class GamePlayerJoinedMessageDefaultTypeInternal; +struct GamePlayerJoinedMessageDefaultTypeInternal; extern GamePlayerJoinedMessageDefaultTypeInternal _GamePlayerJoinedMessage_default_instance_; class GamePlayerLeftMessage; -class GamePlayerLeftMessageDefaultTypeInternal; +struct GamePlayerLeftMessageDefaultTypeInternal; extern GamePlayerLeftMessageDefaultTypeInternal _GamePlayerLeftMessage_default_instance_; class GameSpectatorJoinedMessage; -class GameSpectatorJoinedMessageDefaultTypeInternal; +struct GameSpectatorJoinedMessageDefaultTypeInternal; extern GameSpectatorJoinedMessageDefaultTypeInternal _GameSpectatorJoinedMessage_default_instance_; class GameSpectatorLeftMessage; -class GameSpectatorLeftMessageDefaultTypeInternal; +struct GameSpectatorLeftMessageDefaultTypeInternal; extern GameSpectatorLeftMessageDefaultTypeInternal _GameSpectatorLeftMessage_default_instance_; class GameStartInitialMessage; -class GameStartInitialMessageDefaultTypeInternal; +struct GameStartInitialMessageDefaultTypeInternal; extern GameStartInitialMessageDefaultTypeInternal _GameStartInitialMessage_default_instance_; +class GameStartReentryMessage; +struct GameStartReentryMessageDefaultTypeInternal; +extern GameStartReentryMessageDefaultTypeInternal _GameStartReentryMessage_default_instance_; +class GameStartReentryMessage_ReentryPlayerData; +struct GameStartReentryMessage_ReentryPlayerDataDefaultTypeInternal; +extern GameStartReentryMessage_ReentryPlayerDataDefaultTypeInternal _GameStartReentryMessage_ReentryPlayerData_default_instance_; class GameStartRejoinMessage; -class GameStartRejoinMessageDefaultTypeInternal; +struct GameStartRejoinMessageDefaultTypeInternal; extern GameStartRejoinMessageDefaultTypeInternal _GameStartRejoinMessage_default_instance_; class GameStartRejoinMessage_RejoinPlayerData; -class GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal; +struct GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal; extern GameStartRejoinMessage_RejoinPlayerDataDefaultTypeInternal _GameStartRejoinMessage_RejoinPlayerData_default_instance_; class HandStartMessage; -class HandStartMessageDefaultTypeInternal; +struct HandStartMessageDefaultTypeInternal; extern HandStartMessageDefaultTypeInternal _HandStartMessage_default_instance_; class HandStartMessage_PlainCards; -class HandStartMessage_PlainCardsDefaultTypeInternal; +struct HandStartMessage_PlainCardsDefaultTypeInternal; extern HandStartMessage_PlainCardsDefaultTypeInternal _HandStartMessage_PlainCards_default_instance_; class InitAckMessage; -class InitAckMessageDefaultTypeInternal; +struct InitAckMessageDefaultTypeInternal; extern InitAckMessageDefaultTypeInternal _InitAckMessage_default_instance_; class InitMessage; -class InitMessageDefaultTypeInternal; +struct InitMessageDefaultTypeInternal; extern InitMessageDefaultTypeInternal _InitMessage_default_instance_; class InviteNotifyMessage; -class InviteNotifyMessageDefaultTypeInternal; +struct InviteNotifyMessageDefaultTypeInternal; extern InviteNotifyMessageDefaultTypeInternal _InviteNotifyMessage_default_instance_; class InvitePlayerToGameMessage; -class InvitePlayerToGameMessageDefaultTypeInternal; +struct InvitePlayerToGameMessageDefaultTypeInternal; extern InvitePlayerToGameMessageDefaultTypeInternal _InvitePlayerToGameMessage_default_instance_; class JoinExistingGameMessage; -class JoinExistingGameMessageDefaultTypeInternal; +struct JoinExistingGameMessageDefaultTypeInternal; extern JoinExistingGameMessageDefaultTypeInternal _JoinExistingGameMessage_default_instance_; class JoinGameAckMessage; -class JoinGameAckMessageDefaultTypeInternal; +struct JoinGameAckMessageDefaultTypeInternal; extern JoinGameAckMessageDefaultTypeInternal _JoinGameAckMessage_default_instance_; class JoinGameFailedMessage; -class JoinGameFailedMessageDefaultTypeInternal; +struct JoinGameFailedMessageDefaultTypeInternal; extern JoinGameFailedMessageDefaultTypeInternal _JoinGameFailedMessage_default_instance_; class JoinNewGameMessage; -class JoinNewGameMessageDefaultTypeInternal; +struct JoinNewGameMessageDefaultTypeInternal; extern JoinNewGameMessageDefaultTypeInternal _JoinNewGameMessage_default_instance_; class KickPetitionUpdateMessage; -class KickPetitionUpdateMessageDefaultTypeInternal; +struct KickPetitionUpdateMessageDefaultTypeInternal; extern KickPetitionUpdateMessageDefaultTypeInternal _KickPetitionUpdateMessage_default_instance_; class KickPlayerRequestMessage; -class KickPlayerRequestMessageDefaultTypeInternal; +struct KickPlayerRequestMessageDefaultTypeInternal; extern KickPlayerRequestMessageDefaultTypeInternal _KickPlayerRequestMessage_default_instance_; class LeaveGameRequestMessage; -class LeaveGameRequestMessageDefaultTypeInternal; +struct LeaveGameRequestMessageDefaultTypeInternal; extern LeaveGameRequestMessageDefaultTypeInternal _LeaveGameRequestMessage_default_instance_; class MyActionRequestMessage; -class MyActionRequestMessageDefaultTypeInternal; +struct MyActionRequestMessageDefaultTypeInternal; extern MyActionRequestMessageDefaultTypeInternal _MyActionRequestMessage_default_instance_; class NetGameInfo; -class NetGameInfoDefaultTypeInternal; +struct NetGameInfoDefaultTypeInternal; extern NetGameInfoDefaultTypeInternal _NetGameInfo_default_instance_; class PlayerIdChangedMessage; -class PlayerIdChangedMessageDefaultTypeInternal; +struct PlayerIdChangedMessageDefaultTypeInternal; extern PlayerIdChangedMessageDefaultTypeInternal _PlayerIdChangedMessage_default_instance_; class PlayerInfoReplyMessage; -class PlayerInfoReplyMessageDefaultTypeInternal; +struct PlayerInfoReplyMessageDefaultTypeInternal; extern PlayerInfoReplyMessageDefaultTypeInternal _PlayerInfoReplyMessage_default_instance_; class PlayerInfoReplyMessage_PlayerInfoData; -class PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal; +struct PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal; extern PlayerInfoReplyMessage_PlayerInfoDataDefaultTypeInternal _PlayerInfoReplyMessage_PlayerInfoData_default_instance_; class PlayerInfoReplyMessage_PlayerInfoData_AvatarData; -class PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal; +struct PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal; extern PlayerInfoReplyMessage_PlayerInfoData_AvatarDataDefaultTypeInternal _PlayerInfoReplyMessage_PlayerInfoData_AvatarData_default_instance_; class PlayerInfoRequestMessage; -class PlayerInfoRequestMessageDefaultTypeInternal; +struct PlayerInfoRequestMessageDefaultTypeInternal; extern PlayerInfoRequestMessageDefaultTypeInternal _PlayerInfoRequestMessage_default_instance_; class PlayerListMessage; -class PlayerListMessageDefaultTypeInternal; +struct PlayerListMessageDefaultTypeInternal; extern PlayerListMessageDefaultTypeInternal _PlayerListMessage_default_instance_; class PlayerResult; -class PlayerResultDefaultTypeInternal; +struct PlayerResultDefaultTypeInternal; extern PlayerResultDefaultTypeInternal _PlayerResult_default_instance_; class PlayersActionDoneMessage; -class PlayersActionDoneMessageDefaultTypeInternal; +struct PlayersActionDoneMessageDefaultTypeInternal; extern PlayersActionDoneMessageDefaultTypeInternal _PlayersActionDoneMessage_default_instance_; class PlayersTurnMessage; -class PlayersTurnMessageDefaultTypeInternal; +struct PlayersTurnMessageDefaultTypeInternal; extern PlayersTurnMessageDefaultTypeInternal _PlayersTurnMessage_default_instance_; class PokerTHMessage; -class PokerTHMessageDefaultTypeInternal; +struct PokerTHMessageDefaultTypeInternal; extern PokerTHMessageDefaultTypeInternal _PokerTHMessage_default_instance_; class RejectGameInvitationMessage; -class RejectGameInvitationMessageDefaultTypeInternal; +struct RejectGameInvitationMessageDefaultTypeInternal; extern RejectGameInvitationMessageDefaultTypeInternal _RejectGameInvitationMessage_default_instance_; class RejectInvNotifyMessage; -class RejectInvNotifyMessageDefaultTypeInternal; +struct RejectInvNotifyMessageDefaultTypeInternal; extern RejectInvNotifyMessageDefaultTypeInternal _RejectInvNotifyMessage_default_instance_; class RejoinExistingGameMessage; -class RejoinExistingGameMessageDefaultTypeInternal; +struct RejoinExistingGameMessageDefaultTypeInternal; extern RejoinExistingGameMessageDefaultTypeInternal _RejoinExistingGameMessage_default_instance_; class RemovedFromGameMessage; -class RemovedFromGameMessageDefaultTypeInternal; +struct RemovedFromGameMessageDefaultTypeInternal; extern RemovedFromGameMessageDefaultTypeInternal _RemovedFromGameMessage_default_instance_; class ReportAvatarAckMessage; -class ReportAvatarAckMessageDefaultTypeInternal; +struct ReportAvatarAckMessageDefaultTypeInternal; extern ReportAvatarAckMessageDefaultTypeInternal _ReportAvatarAckMessage_default_instance_; class ReportAvatarMessage; -class ReportAvatarMessageDefaultTypeInternal; +struct ReportAvatarMessageDefaultTypeInternal; extern ReportAvatarMessageDefaultTypeInternal _ReportAvatarMessage_default_instance_; class ReportGameAckMessage; -class ReportGameAckMessageDefaultTypeInternal; +struct ReportGameAckMessageDefaultTypeInternal; extern ReportGameAckMessageDefaultTypeInternal _ReportGameAckMessage_default_instance_; class ReportGameMessage; -class ReportGameMessageDefaultTypeInternal; +struct ReportGameMessageDefaultTypeInternal; extern ReportGameMessageDefaultTypeInternal _ReportGameMessage_default_instance_; class ResetTimeoutMessage; -class ResetTimeoutMessageDefaultTypeInternal; +struct ResetTimeoutMessageDefaultTypeInternal; extern ResetTimeoutMessageDefaultTypeInternal _ResetTimeoutMessage_default_instance_; class ShowMyCardsRequestMessage; -class ShowMyCardsRequestMessageDefaultTypeInternal; +struct ShowMyCardsRequestMessageDefaultTypeInternal; extern ShowMyCardsRequestMessageDefaultTypeInternal _ShowMyCardsRequestMessage_default_instance_; class StartEventAckMessage; -class StartEventAckMessageDefaultTypeInternal; +struct StartEventAckMessageDefaultTypeInternal; extern StartEventAckMessageDefaultTypeInternal _StartEventAckMessage_default_instance_; class StartEventMessage; -class StartEventMessageDefaultTypeInternal; +struct StartEventMessageDefaultTypeInternal; extern StartEventMessageDefaultTypeInternal _StartEventMessage_default_instance_; class StartKickPetitionMessage; -class StartKickPetitionMessageDefaultTypeInternal; +struct StartKickPetitionMessageDefaultTypeInternal; extern StartKickPetitionMessageDefaultTypeInternal _StartKickPetitionMessage_default_instance_; class StatisticsMessage; -class StatisticsMessageDefaultTypeInternal; +struct StatisticsMessageDefaultTypeInternal; extern StatisticsMessageDefaultTypeInternal _StatisticsMessage_default_instance_; class StatisticsMessage_StatisticsData; -class StatisticsMessage_StatisticsDataDefaultTypeInternal; +struct StatisticsMessage_StatisticsDataDefaultTypeInternal; extern StatisticsMessage_StatisticsDataDefaultTypeInternal _StatisticsMessage_StatisticsData_default_instance_; class SubscriptionRequestMessage; -class SubscriptionRequestMessageDefaultTypeInternal; +struct SubscriptionRequestMessageDefaultTypeInternal; extern SubscriptionRequestMessageDefaultTypeInternal _SubscriptionRequestMessage_default_instance_; class TimeoutWarningMessage; -class TimeoutWarningMessageDefaultTypeInternal; +struct TimeoutWarningMessageDefaultTypeInternal; extern TimeoutWarningMessageDefaultTypeInternal _TimeoutWarningMessage_default_instance_; class UnknownAvatarMessage; -class UnknownAvatarMessageDefaultTypeInternal; +struct UnknownAvatarMessageDefaultTypeInternal; extern UnknownAvatarMessageDefaultTypeInternal _UnknownAvatarMessage_default_instance_; class VoteKickReplyMessage; -class VoteKickReplyMessageDefaultTypeInternal; +struct VoteKickReplyMessageDefaultTypeInternal; extern VoteKickReplyMessageDefaultTypeInternal _VoteKickReplyMessage_default_instance_; class VoteKickRequestMessage; -class VoteKickRequestMessageDefaultTypeInternal; +struct VoteKickRequestMessageDefaultTypeInternal; extern VoteKickRequestMessageDefaultTypeInternal _VoteKickRequestMessage_default_instance_; class YourActionRejectedMessage; -class YourActionRejectedMessageDefaultTypeInternal; +struct YourActionRejectedMessageDefaultTypeInternal; extern YourActionRejectedMessageDefaultTypeInternal _YourActionRejectedMessage_default_instance_; PROTOBUF_NAMESPACE_OPEN template<> ::AdminBanPlayerAckMessage* Arena::CreateMaybeMessage<::AdminBanPlayerAckMessage>(Arena*); @@ -369,6 +374,8 @@ template<> ::GamePlayerLeftMessage* Arena::CreateMaybeMessage<::GamePlayerLeftMe template<> ::GameSpectatorJoinedMessage* Arena::CreateMaybeMessage<::GameSpectatorJoinedMessage>(Arena*); template<> ::GameSpectatorLeftMessage* Arena::CreateMaybeMessage<::GameSpectatorLeftMessage>(Arena*); template<> ::GameStartInitialMessage* Arena::CreateMaybeMessage<::GameStartInitialMessage>(Arena*); +template<> ::GameStartReentryMessage* Arena::CreateMaybeMessage<::GameStartReentryMessage>(Arena*); +template<> ::GameStartReentryMessage_ReentryPlayerData* Arena::CreateMaybeMessage<::GameStartReentryMessage_ReentryPlayerData>(Arena*); template<> ::GameStartRejoinMessage* Arena::CreateMaybeMessage<::GameStartRejoinMessage>(Arena*); template<> ::GameStartRejoinMessage_RejoinPlayerData* Arena::CreateMaybeMessage<::GameStartRejoinMessage_RejoinPlayerData>(Arena*); template<> ::HandStartMessage* Arena::CreateMaybeMessage<::HandStartMessage>(Arena*); @@ -439,7 +446,7 @@ inline const std::string& NetGameInfo_NetGameType_Name(T enum_t_value) { return NetGameInfo_NetGameType_Name(static_cast(enum_t_value)); } bool NetGameInfo_NetGameType_Parse( - const std::string& name, NetGameInfo_NetGameType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameInfo_NetGameType* value); enum NetGameInfo_RaiseIntervalMode : int { NetGameInfo_RaiseIntervalMode_raiseOnHandNum = 1, NetGameInfo_RaiseIntervalMode_raiseOnMinutes = 2 @@ -458,7 +465,7 @@ inline const std::string& NetGameInfo_RaiseIntervalMode_Name(T enum_t_value) { return NetGameInfo_RaiseIntervalMode_Name(static_cast(enum_t_value)); } bool NetGameInfo_RaiseIntervalMode_Parse( - const std::string& name, NetGameInfo_RaiseIntervalMode* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameInfo_RaiseIntervalMode* value); enum NetGameInfo_EndRaiseMode : int { NetGameInfo_EndRaiseMode_doubleBlinds = 1, NetGameInfo_EndRaiseMode_raiseByEndValue = 2, @@ -478,7 +485,7 @@ inline const std::string& NetGameInfo_EndRaiseMode_Name(T enum_t_value) { return NetGameInfo_EndRaiseMode_Name(static_cast(enum_t_value)); } bool NetGameInfo_EndRaiseMode_Parse( - const std::string& name, NetGameInfo_EndRaiseMode* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameInfo_EndRaiseMode* value); enum AnnounceMessage_ServerType : int { AnnounceMessage_ServerType_serverTypeLAN = 0, AnnounceMessage_ServerType_serverTypeInternetNoAuth = 1, @@ -498,7 +505,7 @@ inline const std::string& AnnounceMessage_ServerType_Name(T enum_t_value) { return AnnounceMessage_ServerType_Name(static_cast(enum_t_value)); } bool AnnounceMessage_ServerType_Parse( - const std::string& name, AnnounceMessage_ServerType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AnnounceMessage_ServerType* value); enum InitMessage_LoginType : int { InitMessage_LoginType_guestLogin = 0, InitMessage_LoginType_authenticatedLogin = 1, @@ -518,7 +525,7 @@ inline const std::string& InitMessage_LoginType_Name(T enum_t_value) { return InitMessage_LoginType_Name(static_cast(enum_t_value)); } bool InitMessage_LoginType_Parse( - const std::string& name, InitMessage_LoginType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InitMessage_LoginType* value); enum PlayerListMessage_PlayerListNotification : int { PlayerListMessage_PlayerListNotification_playerListNew = 0, PlayerListMessage_PlayerListNotification_playerListLeft = 1 @@ -537,7 +544,7 @@ inline const std::string& PlayerListMessage_PlayerListNotification_Name(T enum_t return PlayerListMessage_PlayerListNotification_Name(static_cast(enum_t_value)); } bool PlayerListMessage_PlayerListNotification_Parse( - const std::string& name, PlayerListMessage_PlayerListNotification* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayerListMessage_PlayerListNotification* value); enum SubscriptionRequestMessage_SubscriptionAction : int { SubscriptionRequestMessage_SubscriptionAction_unsubscribeGameList = 1, SubscriptionRequestMessage_SubscriptionAction_resubscribeGameList = 2 @@ -556,7 +563,7 @@ inline const std::string& SubscriptionRequestMessage_SubscriptionAction_Name(T e return SubscriptionRequestMessage_SubscriptionAction_Name(static_cast(enum_t_value)); } bool SubscriptionRequestMessage_SubscriptionAction_Parse( - const std::string& name, SubscriptionRequestMessage_SubscriptionAction* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SubscriptionRequestMessage_SubscriptionAction* value); enum JoinGameFailedMessage_JoinGameFailureReason : int { JoinGameFailedMessage_JoinGameFailureReason_invalidGame = 1, JoinGameFailedMessage_JoinGameFailureReason_gameIsFull = 2, @@ -585,7 +592,7 @@ inline const std::string& JoinGameFailedMessage_JoinGameFailureReason_Name(T enu return JoinGameFailedMessage_JoinGameFailureReason_Name(static_cast(enum_t_value)); } bool JoinGameFailedMessage_JoinGameFailureReason_Parse( - const std::string& name, JoinGameFailedMessage_JoinGameFailureReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, JoinGameFailedMessage_JoinGameFailureReason* value); enum GamePlayerLeftMessage_GamePlayerLeftReason : int { GamePlayerLeftMessage_GamePlayerLeftReason_leftOnRequest = 0, GamePlayerLeftMessage_GamePlayerLeftReason_leftKicked = 1, @@ -605,7 +612,7 @@ inline const std::string& GamePlayerLeftMessage_GamePlayerLeftReason_Name(T enum return GamePlayerLeftMessage_GamePlayerLeftReason_Name(static_cast(enum_t_value)); } bool GamePlayerLeftMessage_GamePlayerLeftReason_Parse( - const std::string& name, GamePlayerLeftMessage_GamePlayerLeftReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GamePlayerLeftMessage_GamePlayerLeftReason* value); enum RemovedFromGameMessage_RemovedFromGameReason : int { RemovedFromGameMessage_RemovedFromGameReason_removedOnRequest = 0, RemovedFromGameMessage_RemovedFromGameReason_kickedFromGame = 1, @@ -629,7 +636,7 @@ inline const std::string& RemovedFromGameMessage_RemovedFromGameReason_Name(T en return RemovedFromGameMessage_RemovedFromGameReason_Name(static_cast(enum_t_value)); } bool RemovedFromGameMessage_RemovedFromGameReason_Parse( - const std::string& name, RemovedFromGameMessage_RemovedFromGameReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RemovedFromGameMessage_RemovedFromGameReason* value); enum RejectGameInvitationMessage_RejectGameInvReason : int { RejectGameInvitationMessage_RejectGameInvReason_rejectReasonNo = 0, RejectGameInvitationMessage_RejectGameInvReason_rejectReasonBusy = 1 @@ -648,7 +655,7 @@ inline const std::string& RejectGameInvitationMessage_RejectGameInvReason_Name(T return RejectGameInvitationMessage_RejectGameInvReason_Name(static_cast(enum_t_value)); } bool RejectGameInvitationMessage_RejectGameInvReason_Parse( - const std::string& name, RejectGameInvitationMessage_RejectGameInvReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RejectGameInvitationMessage_RejectGameInvReason* value); enum StartEventMessage_StartEventType : int { StartEventMessage_StartEventType_startEvent = 0, StartEventMessage_StartEventType_rejoinEvent = 1, @@ -656,7 +663,7 @@ enum StartEventMessage_StartEventType : int { }; bool StartEventMessage_StartEventType_IsValid(int value); constexpr StartEventMessage_StartEventType StartEventMessage_StartEventType_StartEventType_MIN = StartEventMessage_StartEventType_startEvent; -constexpr StartEventMessage_StartEventType StartEventMessage_StartEventType_StartEventType_MAX = StartEventMessage_StartEventType_rejoinEvent; +constexpr StartEventMessage_StartEventType StartEventMessage_StartEventType_StartEventType_MAX = StartEventMessage_StartEventType_reentryEvent; constexpr int StartEventMessage_StartEventType_StartEventType_ARRAYSIZE = StartEventMessage_StartEventType_StartEventType_MAX + 1; const std::string& StartEventMessage_StartEventType_Name(StartEventMessage_StartEventType value); @@ -668,7 +675,7 @@ inline const std::string& StartEventMessage_StartEventType_Name(T enum_t_value) return StartEventMessage_StartEventType_Name(static_cast(enum_t_value)); } bool StartEventMessage_StartEventType_Parse( - const std::string& name, StartEventMessage_StartEventType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StartEventMessage_StartEventType* value); enum YourActionRejectedMessage_RejectionReason : int { YourActionRejectedMessage_RejectionReason_rejectedInvalidGameState = 1, YourActionRejectedMessage_RejectionReason_rejectedNotYourTurn = 2, @@ -688,7 +695,7 @@ inline const std::string& YourActionRejectedMessage_RejectionReason_Name(T enum_ return YourActionRejectedMessage_RejectionReason_Name(static_cast(enum_t_value)); } bool YourActionRejectedMessage_RejectionReason_Parse( - const std::string& name, YourActionRejectedMessage_RejectionReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, YourActionRejectedMessage_RejectionReason* value); enum AskKickDeniedMessage_KickDeniedReason : int { AskKickDeniedMessage_KickDeniedReason_kickDeniedInvalidGameState = 0, AskKickDeniedMessage_KickDeniedReason_kickDeniedNotPossible = 1, @@ -710,7 +717,7 @@ inline const std::string& AskKickDeniedMessage_KickDeniedReason_Name(T enum_t_va return AskKickDeniedMessage_KickDeniedReason_Name(static_cast(enum_t_value)); } bool AskKickDeniedMessage_KickDeniedReason_Parse( - const std::string& name, AskKickDeniedMessage_KickDeniedReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AskKickDeniedMessage_KickDeniedReason* value); enum VoteKickReplyMessage_VoteKickReplyType : int { VoteKickReplyMessage_VoteKickReplyType_voteKickAck = 0, VoteKickReplyMessage_VoteKickReplyType_voteKickDeniedInvalid = 1, @@ -730,7 +737,7 @@ inline const std::string& VoteKickReplyMessage_VoteKickReplyType_Name(T enum_t_v return VoteKickReplyMessage_VoteKickReplyType_Name(static_cast(enum_t_value)); } bool VoteKickReplyMessage_VoteKickReplyType_Parse( - const std::string& name, VoteKickReplyMessage_VoteKickReplyType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VoteKickReplyMessage_VoteKickReplyType* value); enum EndKickPetitionMessage_PetitionEndReason : int { EndKickPetitionMessage_PetitionEndReason_petitionEndEnoughVotes = 0, EndKickPetitionMessage_PetitionEndReason_petitionEndTooFewPlayers = 1, @@ -751,7 +758,7 @@ inline const std::string& EndKickPetitionMessage_PetitionEndReason_Name(T enum_t return EndKickPetitionMessage_PetitionEndReason_Name(static_cast(enum_t_value)); } bool EndKickPetitionMessage_PetitionEndReason_Parse( - const std::string& name, EndKickPetitionMessage_PetitionEndReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EndKickPetitionMessage_PetitionEndReason* value); enum StatisticsMessage_StatisticsData_StatisticsType : int { StatisticsMessage_StatisticsData_StatisticsType_statNumberOfPlayers = 1 }; @@ -769,7 +776,7 @@ inline const std::string& StatisticsMessage_StatisticsData_StatisticsType_Name(T return StatisticsMessage_StatisticsData_StatisticsType_Name(static_cast(enum_t_value)); } bool StatisticsMessage_StatisticsData_StatisticsType_Parse( - const std::string& name, StatisticsMessage_StatisticsData_StatisticsType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StatisticsMessage_StatisticsData_StatisticsType* value); enum ChatMessage_ChatType : int { ChatMessage_ChatType_chatTypeLobby = 0, ChatMessage_ChatType_chatTypeGame = 1, @@ -791,7 +798,7 @@ inline const std::string& ChatMessage_ChatType_Name(T enum_t_value) { return ChatMessage_ChatType_Name(static_cast(enum_t_value)); } bool ChatMessage_ChatType_Parse( - const std::string& name, ChatMessage_ChatType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChatMessage_ChatType* value); enum TimeoutWarningMessage_TimeoutReason : int { TimeoutWarningMessage_TimeoutReason_timeoutNoDataReceived = 0, TimeoutWarningMessage_TimeoutReason_timeoutInactiveGame = 1, @@ -811,7 +818,7 @@ inline const std::string& TimeoutWarningMessage_TimeoutReason_Name(T enum_t_valu return TimeoutWarningMessage_TimeoutReason_Name(static_cast(enum_t_value)); } bool TimeoutWarningMessage_TimeoutReason_Parse( - const std::string& name, TimeoutWarningMessage_TimeoutReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TimeoutWarningMessage_TimeoutReason* value); enum ReportAvatarAckMessage_ReportAvatarResult : int { ReportAvatarAckMessage_ReportAvatarResult_avatarReportAccepted = 0, ReportAvatarAckMessage_ReportAvatarResult_avatarReportDuplicate = 1, @@ -831,7 +838,7 @@ inline const std::string& ReportAvatarAckMessage_ReportAvatarResult_Name(T enum_ return ReportAvatarAckMessage_ReportAvatarResult_Name(static_cast(enum_t_value)); } bool ReportAvatarAckMessage_ReportAvatarResult_Parse( - const std::string& name, ReportAvatarAckMessage_ReportAvatarResult* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportAvatarAckMessage_ReportAvatarResult* value); enum ReportGameAckMessage_ReportGameResult : int { ReportGameAckMessage_ReportGameResult_gameReportAccepted = 0, ReportGameAckMessage_ReportGameResult_gameReportDuplicate = 1, @@ -851,7 +858,7 @@ inline const std::string& ReportGameAckMessage_ReportGameResult_Name(T enum_t_va return ReportGameAckMessage_ReportGameResult_Name(static_cast(enum_t_value)); } bool ReportGameAckMessage_ReportGameResult_Parse( - const std::string& name, ReportGameAckMessage_ReportGameResult* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportGameAckMessage_ReportGameResult* value); enum ErrorMessage_ErrorReason : int { ErrorMessage_ErrorReason_custReserved = 0, ErrorMessage_ErrorReason_initVersionNotSupported = 1, @@ -883,7 +890,7 @@ inline const std::string& ErrorMessage_ErrorReason_Name(T enum_t_value) { return ErrorMessage_ErrorReason_Name(static_cast(enum_t_value)); } bool ErrorMessage_ErrorReason_Parse( - const std::string& name, ErrorMessage_ErrorReason* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ErrorMessage_ErrorReason* value); enum AdminRemoveGameAckMessage_AdminRemoveGameResult : int { AdminRemoveGameAckMessage_AdminRemoveGameResult_gameRemoveAccepted = 0, AdminRemoveGameAckMessage_AdminRemoveGameResult_gameRemoveInvalid = 1 @@ -902,7 +909,7 @@ inline const std::string& AdminRemoveGameAckMessage_AdminRemoveGameResult_Name(T return AdminRemoveGameAckMessage_AdminRemoveGameResult_Name(static_cast(enum_t_value)); } bool AdminRemoveGameAckMessage_AdminRemoveGameResult_Parse( - const std::string& name, AdminRemoveGameAckMessage_AdminRemoveGameResult* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AdminRemoveGameAckMessage_AdminRemoveGameResult* value); enum AdminBanPlayerAckMessage_AdminBanPlayerResult : int { AdminBanPlayerAckMessage_AdminBanPlayerResult_banPlayerAccepted = 0, AdminBanPlayerAckMessage_AdminBanPlayerResult_banPlayerPending = 1, @@ -924,7 +931,7 @@ inline const std::string& AdminBanPlayerAckMessage_AdminBanPlayerResult_Name(T e return AdminBanPlayerAckMessage_AdminBanPlayerResult_Name(static_cast(enum_t_value)); } bool AdminBanPlayerAckMessage_AdminBanPlayerResult_Parse( - const std::string& name, AdminBanPlayerAckMessage_AdminBanPlayerResult* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AdminBanPlayerAckMessage_AdminBanPlayerResult* value); enum PokerTHMessage_PokerTHMessageType : int { PokerTHMessage_PokerTHMessageType_Type_AnnounceMessage = 1, PokerTHMessage_PokerTHMessageType_Type_InitMessage = 2, @@ -1011,7 +1018,7 @@ enum PokerTHMessage_PokerTHMessageType : int { }; bool PokerTHMessage_PokerTHMessageType_IsValid(int value); constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MIN = PokerTHMessage_PokerTHMessageType_Type_AnnounceMessage; -constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MAX = PokerTHMessage_PokerTHMessageType_Type_GameSpectatorLeftMessage; +constexpr PokerTHMessage_PokerTHMessageType PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MAX = PokerTHMessage_PokerTHMessageType_Type_GameStartReentryMessage; constexpr int PokerTHMessage_PokerTHMessageType_PokerTHMessageType_ARRAYSIZE = PokerTHMessage_PokerTHMessageType_PokerTHMessageType_MAX + 1; const std::string& PokerTHMessage_PokerTHMessageType_Name(PokerTHMessage_PokerTHMessageType value); @@ -1023,7 +1030,7 @@ inline const std::string& PokerTHMessage_PokerTHMessageType_Name(T enum_t_value) return PokerTHMessage_PokerTHMessageType_Name(static_cast(enum_t_value)); } bool PokerTHMessage_PokerTHMessageType_Parse( - const std::string& name, PokerTHMessage_PokerTHMessageType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PokerTHMessage_PokerTHMessageType* value); enum NetGameMode : int { netGameCreated = 1, netGameStarted = 2, @@ -1043,7 +1050,7 @@ inline const std::string& NetGameMode_Name(T enum_t_value) { return NetGameMode_Name(static_cast(enum_t_value)); } bool NetGameMode_Parse( - const std::string& name, NetGameMode* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameMode* value); enum NetGameState : int { netStatePreflop = 0, netStateFlop = 1, @@ -1066,7 +1073,7 @@ inline const std::string& NetGameState_Name(T enum_t_value) { return NetGameState_Name(static_cast(enum_t_value)); } bool NetGameState_Parse( - const std::string& name, NetGameState* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameState* value); enum NetPlayerAction : int { netActionNone = 0, netActionFold = 1, @@ -1090,7 +1097,7 @@ inline const std::string& NetPlayerAction_Name(T enum_t_value) { return NetPlayerAction_Name(static_cast(enum_t_value)); } bool NetPlayerAction_Parse( - const std::string& name, NetPlayerAction* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetPlayerAction* value); enum NetPlayerState : int { netPlayerStateNormal = 0, netPlayerStateSessionInactive = 1, @@ -1110,7 +1117,7 @@ inline const std::string& NetPlayerState_Name(T enum_t_value) { return NetPlayerState_Name(static_cast(enum_t_value)); } bool NetPlayerState_Parse( - const std::string& name, NetPlayerState* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetPlayerState* value); enum NetPlayerInfoRights : int { netPlayerRightsGuest = 1, netPlayerRightsNormal = 2, @@ -1130,7 +1137,7 @@ inline const std::string& NetPlayerInfoRights_Name(T enum_t_value) { return NetPlayerInfoRights_Name(static_cast(enum_t_value)); } bool NetPlayerInfoRights_Parse( - const std::string& name, NetPlayerInfoRights* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetPlayerInfoRights* value); enum NetAvatarType : int { netAvatarImagePng = 1, netAvatarImageJpg = 2, @@ -1150,14 +1157,15 @@ inline const std::string& NetAvatarType_Name(T enum_t_value) { return NetAvatarType_Name(static_cast(enum_t_value)); } bool NetAvatarType_Parse( - const std::string& name, NetAvatarType* value); + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetAvatarType* value); // =================================================================== -class NetGameInfo PROTOBUF_FINAL : +class NetGameInfo final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:NetGameInfo) */ { public: - inline NetGameInfo() : NetGameInfo(nullptr) {}; - virtual ~NetGameInfo(); + inline NetGameInfo() : NetGameInfo(nullptr) {} + ~NetGameInfo() override; + explicit constexpr NetGameInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); NetGameInfo(const NetGameInfo& from); NetGameInfo(NetGameInfo&& from) noexcept @@ -1170,8 +1178,13 @@ class NetGameInfo PROTOBUF_FINAL : return *this; } inline NetGameInfo& operator=(NetGameInfo&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -1185,9 +1198,9 @@ class NetGameInfo PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const NetGameInfo& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const NetGameInfo& default_instance() { + return *internal_default_instance(); + } static inline const NetGameInfo* internal_default_instance() { return reinterpret_cast( &_NetGameInfo_default_instance_); @@ -1200,7 +1213,12 @@ class NetGameInfo PROTOBUF_FINAL : } inline void Swap(NetGameInfo* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1208,21 +1226,16 @@ class NetGameInfo PROTOBUF_FINAL : } void UnsafeArenaSwap(NetGameInfo* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline NetGameInfo* New() const final { - return CreateMaybeMessage(nullptr); - } - - NetGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + NetGameInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const NetGameInfo& from); void MergeFrom(const NetGameInfo& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -1230,22 +1243,24 @@ class NetGameInfo PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(NetGameInfo* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "NetGameInfo"; } protected: - explicit NetGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit NetGameInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -1280,7 +1295,7 @@ class NetGameInfo PROTOBUF_FINAL : "Incorrect type passed to function NetGameType_Name."); return NetGameInfo_NetGameType_Name(enum_t_value); } - static inline bool NetGameType_Parse(const std::string& name, + static inline bool NetGameType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NetGameType* value) { return NetGameInfo_NetGameType_Parse(name, value); } @@ -1306,7 +1321,7 @@ class NetGameInfo PROTOBUF_FINAL : "Incorrect type passed to function RaiseIntervalMode_Name."); return NetGameInfo_RaiseIntervalMode_Name(enum_t_value); } - static inline bool RaiseIntervalMode_Parse(const std::string& name, + static inline bool RaiseIntervalMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RaiseIntervalMode* value) { return NetGameInfo_RaiseIntervalMode_Parse(name, value); } @@ -1334,7 +1349,7 @@ class NetGameInfo PROTOBUF_FINAL : "Incorrect type passed to function EndRaiseMode_Name."); return NetGameInfo_EndRaiseMode_Name(enum_t_value); } - static inline bool EndRaiseMode_Parse(const std::string& name, + static inline bool EndRaiseMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EndRaiseMode* value) { return NetGameInfo_EndRaiseMode_Parse(name, value); } @@ -1353,6 +1368,10 @@ class NetGameInfo PROTOBUF_FINAL : kPlayerActionTimeoutFieldNumber = 11, kFirstSmallBlindFieldNumber = 12, kStartMoneyFieldNumber = 13, + kAllowLateRegFieldNumber = 16, + kAllowReentriesFieldNumber = 17, + kNumReentriesFieldNumber = 18, + kMaxTimeLateRegFieldNumber = 19, kNetGameTypeFieldNumber = 2, kRaiseIntervalModeFieldNumber = 4, kEndRaiseModeFieldNumber = 7, @@ -1365,19 +1384,19 @@ class NetGameInfo PROTOBUF_FINAL : public: void clear_manualblinds(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_manualblinds(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_manualblinds(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_manualblinds() const; - void _internal_add_manualblinds(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_manualblinds(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_manualblinds(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 manualblinds(int index) const; - void set_manualblinds(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_manualblinds(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t manualblinds(int index) const; + void set_manualblinds(int index, uint32_t value); + void add_manualblinds(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& manualblinds() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_manualblinds(); // required string gameName = 1; @@ -1387,25 +1406,14 @@ class NetGameInfo PROTOBUF_FINAL : public: void clear_gamename(); const std::string& gamename() const; - void set_gamename(const std::string& value); - void set_gamename(std::string&& value); - void set_gamename(const char* value); - void set_gamename(const char* value, size_t size); + template + void set_gamename(ArgT0&& arg0, ArgT... args); std::string* mutable_gamename(); - std::string* release_gamename(); + PROTOBUF_NODISCARD std::string* release_gamename(); void set_allocated_gamename(std::string* gamename); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_gamename(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_gamename( - std::string* gamename); private: const std::string& _internal_gamename() const; - void _internal_set_gamename(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_gamename(const std::string& value); std::string* _internal_mutable_gamename(); public: @@ -1415,11 +1423,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_maxnumplayers() const; public: void clear_maxnumplayers(); - ::PROTOBUF_NAMESPACE_ID::uint32 maxnumplayers() const; - void set_maxnumplayers(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t maxnumplayers() const; + void set_maxnumplayers(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_maxnumplayers() const; - void _internal_set_maxnumplayers(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_maxnumplayers() const; + void _internal_set_maxnumplayers(uint32_t value); public: // optional uint32 raiseEveryHands = 5; @@ -1428,11 +1436,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_raiseeveryhands() const; public: void clear_raiseeveryhands(); - ::PROTOBUF_NAMESPACE_ID::uint32 raiseeveryhands() const; - void set_raiseeveryhands(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t raiseeveryhands() const; + void set_raiseeveryhands(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_raiseeveryhands() const; - void _internal_set_raiseeveryhands(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_raiseeveryhands() const; + void _internal_set_raiseeveryhands(uint32_t value); public: // optional uint32 raiseEveryMinutes = 6; @@ -1441,11 +1449,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_raiseeveryminutes() const; public: void clear_raiseeveryminutes(); - ::PROTOBUF_NAMESPACE_ID::uint32 raiseeveryminutes() const; - void set_raiseeveryminutes(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t raiseeveryminutes() const; + void set_raiseeveryminutes(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_raiseeveryminutes() const; - void _internal_set_raiseeveryminutes(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_raiseeveryminutes() const; + void _internal_set_raiseeveryminutes(uint32_t value); public: // optional uint32 endRaiseSmallBlindValue = 8; @@ -1454,11 +1462,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_endraisesmallblindvalue() const; public: void clear_endraisesmallblindvalue(); - ::PROTOBUF_NAMESPACE_ID::uint32 endraisesmallblindvalue() const; - void set_endraisesmallblindvalue(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t endraisesmallblindvalue() const; + void set_endraisesmallblindvalue(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_endraisesmallblindvalue() const; - void _internal_set_endraisesmallblindvalue(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_endraisesmallblindvalue() const; + void _internal_set_endraisesmallblindvalue(uint32_t value); public: // required uint32 proposedGuiSpeed = 9; @@ -1467,11 +1475,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_proposedguispeed() const; public: void clear_proposedguispeed(); - ::PROTOBUF_NAMESPACE_ID::uint32 proposedguispeed() const; - void set_proposedguispeed(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t proposedguispeed() const; + void set_proposedguispeed(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_proposedguispeed() const; - void _internal_set_proposedguispeed(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_proposedguispeed() const; + void _internal_set_proposedguispeed(uint32_t value); public: // required uint32 delayBetweenHands = 10; @@ -1480,11 +1488,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_delaybetweenhands() const; public: void clear_delaybetweenhands(); - ::PROTOBUF_NAMESPACE_ID::uint32 delaybetweenhands() const; - void set_delaybetweenhands(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t delaybetweenhands() const; + void set_delaybetweenhands(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_delaybetweenhands() const; - void _internal_set_delaybetweenhands(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_delaybetweenhands() const; + void _internal_set_delaybetweenhands(uint32_t value); public: // required uint32 playerActionTimeout = 11; @@ -1493,11 +1501,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_playeractiontimeout() const; public: void clear_playeractiontimeout(); - ::PROTOBUF_NAMESPACE_ID::uint32 playeractiontimeout() const; - void set_playeractiontimeout(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playeractiontimeout() const; + void set_playeractiontimeout(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playeractiontimeout() const; - void _internal_set_playeractiontimeout(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playeractiontimeout() const; + void _internal_set_playeractiontimeout(uint32_t value); public: // required uint32 firstSmallBlind = 12; @@ -1506,11 +1514,11 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_firstsmallblind() const; public: void clear_firstsmallblind(); - ::PROTOBUF_NAMESPACE_ID::uint32 firstsmallblind() const; - void set_firstsmallblind(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t firstsmallblind() const; + void set_firstsmallblind(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_firstsmallblind() const; - void _internal_set_firstsmallblind(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_firstsmallblind() const; + void _internal_set_firstsmallblind(uint32_t value); public: // required uint32 startMoney = 13; @@ -1519,11 +1527,63 @@ class NetGameInfo PROTOBUF_FINAL : bool _internal_has_startmoney() const; public: void clear_startmoney(); - ::PROTOBUF_NAMESPACE_ID::uint32 startmoney() const; - void set_startmoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t startmoney() const; + void set_startmoney(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_startmoney() const; - void _internal_set_startmoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_startmoney() const; + void _internal_set_startmoney(uint32_t value); + public: + + // optional bool allowLateReg = 16 [default = false]; + bool has_allowlatereg() const; + private: + bool _internal_has_allowlatereg() const; + public: + void clear_allowlatereg(); + bool allowlatereg() const; + void set_allowlatereg(bool value); + private: + bool _internal_allowlatereg() const; + void _internal_set_allowlatereg(bool value); + public: + + // optional bool allowReentries = 17 [default = false]; + bool has_allowreentries() const; + private: + bool _internal_has_allowreentries() const; + public: + void clear_allowreentries(); + bool allowreentries() const; + void set_allowreentries(bool value); + private: + bool _internal_allowreentries() const; + void _internal_set_allowreentries(bool value); + public: + + // optional uint32 numReentries = 18 [default = 0]; + bool has_numreentries() const; + private: + bool _internal_has_numreentries() const; + public: + void clear_numreentries(); + uint32_t numreentries() const; + void set_numreentries(uint32_t value); + private: + uint32_t _internal_numreentries() const; + void _internal_set_numreentries(uint32_t value); + public: + + // optional uint32 maxTimeLateReg = 19 [default = 0]; + bool has_maxtimelatereg() const; + private: + bool _internal_has_maxtimelatereg() const; + public: + void clear_maxtimelatereg(); + uint32_t maxtimelatereg() const; + void set_maxtimelatereg(uint32_t value); + private: + uint32_t _internal_maxtimelatereg() const; + void _internal_set_maxtimelatereg(uint32_t value); public: // required .NetGameInfo.NetGameType netGameType = 2; @@ -1590,18 +1650,22 @@ class NetGameInfo PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > manualblinds_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > manualblinds_; mutable std::atomic _manualblinds_cached_byte_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gamename_; - ::PROTOBUF_NAMESPACE_ID::uint32 maxnumplayers_; - ::PROTOBUF_NAMESPACE_ID::uint32 raiseeveryhands_; - ::PROTOBUF_NAMESPACE_ID::uint32 raiseeveryminutes_; - ::PROTOBUF_NAMESPACE_ID::uint32 endraisesmallblindvalue_; - ::PROTOBUF_NAMESPACE_ID::uint32 proposedguispeed_; - ::PROTOBUF_NAMESPACE_ID::uint32 delaybetweenhands_; - ::PROTOBUF_NAMESPACE_ID::uint32 playeractiontimeout_; - ::PROTOBUF_NAMESPACE_ID::uint32 firstsmallblind_; - ::PROTOBUF_NAMESPACE_ID::uint32 startmoney_; + uint32_t maxnumplayers_; + uint32_t raiseeveryhands_; + uint32_t raiseeveryminutes_; + uint32_t endraisesmallblindvalue_; + uint32_t proposedguispeed_; + uint32_t delaybetweenhands_; + uint32_t playeractiontimeout_; + uint32_t firstsmallblind_; + uint32_t startmoney_; + bool allowlatereg_; + bool allowreentries_; + uint32_t numreentries_; + uint32_t maxtimelatereg_; int netgametype_; int raiseintervalmode_; int endraisemode_; @@ -1610,11 +1674,12 @@ class NetGameInfo PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class PlayerResult PROTOBUF_FINAL : +class PlayerResult final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayerResult) */ { public: - inline PlayerResult() : PlayerResult(nullptr) {}; - virtual ~PlayerResult(); + inline PlayerResult() : PlayerResult(nullptr) {} + ~PlayerResult() override; + explicit constexpr PlayerResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayerResult(const PlayerResult& from); PlayerResult(PlayerResult&& from) noexcept @@ -1627,8 +1692,13 @@ class PlayerResult PROTOBUF_FINAL : return *this; } inline PlayerResult& operator=(PlayerResult&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -1642,9 +1712,9 @@ class PlayerResult PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayerResult& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayerResult& default_instance() { + return *internal_default_instance(); + } static inline const PlayerResult* internal_default_instance() { return reinterpret_cast( &_PlayerResult_default_instance_); @@ -1657,7 +1727,12 @@ class PlayerResult PROTOBUF_FINAL : } inline void Swap(PlayerResult* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1665,21 +1740,16 @@ class PlayerResult PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayerResult* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayerResult* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayerResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayerResult* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayerResult& from); void MergeFrom(const PlayerResult& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -1687,22 +1757,24 @@ class PlayerResult PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayerResult* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayerResult"; } protected: - explicit PlayerResult(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayerResult(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -1730,19 +1802,19 @@ class PlayerResult PROTOBUF_FINAL : public: void clear_besthandposition(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_besthandposition(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_besthandposition(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_besthandposition() const; - void _internal_add_besthandposition(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_besthandposition(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_besthandposition(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 besthandposition(int index) const; - void set_besthandposition(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_besthandposition(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t besthandposition(int index) const; + void set_besthandposition(int index, uint32_t value); + void add_besthandposition(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& besthandposition() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_besthandposition(); // required uint32 playerId = 1; @@ -1751,11 +1823,11 @@ class PlayerResult PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required uint32 resultCard1 = 2; @@ -1764,11 +1836,11 @@ class PlayerResult PROTOBUF_FINAL : bool _internal_has_resultcard1() const; public: void clear_resultcard1(); - ::PROTOBUF_NAMESPACE_ID::uint32 resultcard1() const; - void set_resultcard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t resultcard1() const; + void set_resultcard1(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_resultcard1() const; - void _internal_set_resultcard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_resultcard1() const; + void _internal_set_resultcard1(uint32_t value); public: // required uint32 resultCard2 = 3; @@ -1777,11 +1849,11 @@ class PlayerResult PROTOBUF_FINAL : bool _internal_has_resultcard2() const; public: void clear_resultcard2(); - ::PROTOBUF_NAMESPACE_ID::uint32 resultcard2() const; - void set_resultcard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t resultcard2() const; + void set_resultcard2(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_resultcard2() const; - void _internal_set_resultcard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_resultcard2() const; + void _internal_set_resultcard2(uint32_t value); public: // required uint32 moneyWon = 5; @@ -1790,11 +1862,11 @@ class PlayerResult PROTOBUF_FINAL : bool _internal_has_moneywon() const; public: void clear_moneywon(); - ::PROTOBUF_NAMESPACE_ID::uint32 moneywon() const; - void set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t moneywon() const; + void set_moneywon(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_moneywon() const; - void _internal_set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_moneywon() const; + void _internal_set_moneywon(uint32_t value); public: // required uint32 playerMoney = 6; @@ -1803,11 +1875,11 @@ class PlayerResult PROTOBUF_FINAL : bool _internal_has_playermoney() const; public: void clear_playermoney(); - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney() const; - void set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playermoney() const; + void set_playermoney(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playermoney() const; - void _internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playermoney() const; + void _internal_set_playermoney(uint32_t value); public: // optional uint32 cardsValue = 7; @@ -1816,11 +1888,11 @@ class PlayerResult PROTOBUF_FINAL : bool _internal_has_cardsvalue() const; public: void clear_cardsvalue(); - ::PROTOBUF_NAMESPACE_ID::uint32 cardsvalue() const; - void set_cardsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t cardsvalue() const; + void set_cardsvalue(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_cardsvalue() const; - void _internal_set_cardsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_cardsvalue() const; + void _internal_set_cardsvalue(uint32_t value); public: // @@protoc_insertion_point(class_scope:PlayerResult) @@ -1835,23 +1907,24 @@ class PlayerResult PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > besthandposition_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > besthandposition_; mutable std::atomic _besthandposition_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 resultcard1_; - ::PROTOBUF_NAMESPACE_ID::uint32 resultcard2_; - ::PROTOBUF_NAMESPACE_ID::uint32 moneywon_; - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney_; - ::PROTOBUF_NAMESPACE_ID::uint32 cardsvalue_; + uint32_t playerid_; + uint32_t resultcard1_; + uint32_t resultcard2_; + uint32_t moneywon_; + uint32_t playermoney_; + uint32_t cardsvalue_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AnnounceMessage_Version PROTOBUF_FINAL : +class AnnounceMessage_Version final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AnnounceMessage.Version) */ { public: - inline AnnounceMessage_Version() : AnnounceMessage_Version(nullptr) {}; - virtual ~AnnounceMessage_Version(); + inline AnnounceMessage_Version() : AnnounceMessage_Version(nullptr) {} + ~AnnounceMessage_Version() override; + explicit constexpr AnnounceMessage_Version(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AnnounceMessage_Version(const AnnounceMessage_Version& from); AnnounceMessage_Version(AnnounceMessage_Version&& from) noexcept @@ -1864,8 +1937,13 @@ class AnnounceMessage_Version PROTOBUF_FINAL : return *this; } inline AnnounceMessage_Version& operator=(AnnounceMessage_Version&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -1879,9 +1957,9 @@ class AnnounceMessage_Version PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AnnounceMessage_Version& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AnnounceMessage_Version& default_instance() { + return *internal_default_instance(); + } static inline const AnnounceMessage_Version* internal_default_instance() { return reinterpret_cast( &_AnnounceMessage_Version_default_instance_); @@ -1894,7 +1972,12 @@ class AnnounceMessage_Version PROTOBUF_FINAL : } inline void Swap(AnnounceMessage_Version* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -1902,21 +1985,16 @@ class AnnounceMessage_Version PROTOBUF_FINAL : } void UnsafeArenaSwap(AnnounceMessage_Version* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AnnounceMessage_Version* New() const final { - return CreateMaybeMessage(nullptr); - } - - AnnounceMessage_Version* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AnnounceMessage_Version* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AnnounceMessage_Version& from); void MergeFrom(const AnnounceMessage_Version& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -1924,22 +2002,24 @@ class AnnounceMessage_Version PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AnnounceMessage_Version* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AnnounceMessage.Version"; } protected: - explicit AnnounceMessage_Version(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AnnounceMessage_Version(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -1961,11 +2041,11 @@ class AnnounceMessage_Version PROTOBUF_FINAL : bool _internal_has_majorversion() const; public: void clear_majorversion(); - ::PROTOBUF_NAMESPACE_ID::uint32 majorversion() const; - void set_majorversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t majorversion() const; + void set_majorversion(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_majorversion() const; - void _internal_set_majorversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_majorversion() const; + void _internal_set_majorversion(uint32_t value); public: // required uint32 minorVersion = 2; @@ -1974,11 +2054,11 @@ class AnnounceMessage_Version PROTOBUF_FINAL : bool _internal_has_minorversion() const; public: void clear_minorversion(); - ::PROTOBUF_NAMESPACE_ID::uint32 minorversion() const; - void set_minorversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t minorversion() const; + void set_minorversion(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_minorversion() const; - void _internal_set_minorversion(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_minorversion() const; + void _internal_set_minorversion(uint32_t value); public: // @@protoc_insertion_point(class_scope:AnnounceMessage.Version) @@ -1993,17 +2073,18 @@ class AnnounceMessage_Version PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 majorversion_; - ::PROTOBUF_NAMESPACE_ID::uint32 minorversion_; + uint32_t majorversion_; + uint32_t minorversion_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AnnounceMessage PROTOBUF_FINAL : +class AnnounceMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AnnounceMessage) */ { public: - inline AnnounceMessage() : AnnounceMessage(nullptr) {}; - virtual ~AnnounceMessage(); + inline AnnounceMessage() : AnnounceMessage(nullptr) {} + ~AnnounceMessage() override; + explicit constexpr AnnounceMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AnnounceMessage(const AnnounceMessage& from); AnnounceMessage(AnnounceMessage&& from) noexcept @@ -2016,8 +2097,13 @@ class AnnounceMessage PROTOBUF_FINAL : return *this; } inline AnnounceMessage& operator=(AnnounceMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -2031,9 +2117,9 @@ class AnnounceMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AnnounceMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AnnounceMessage& default_instance() { + return *internal_default_instance(); + } static inline const AnnounceMessage* internal_default_instance() { return reinterpret_cast( &_AnnounceMessage_default_instance_); @@ -2046,7 +2132,12 @@ class AnnounceMessage PROTOBUF_FINAL : } inline void Swap(AnnounceMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2054,21 +2145,16 @@ class AnnounceMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AnnounceMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AnnounceMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AnnounceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AnnounceMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AnnounceMessage& from); void MergeFrom(const AnnounceMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -2076,22 +2162,24 @@ class AnnounceMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AnnounceMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AnnounceMessage"; } protected: - explicit AnnounceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AnnounceMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -2126,7 +2214,7 @@ class AnnounceMessage PROTOBUF_FINAL : "Incorrect type passed to function ServerType_Name."); return AnnounceMessage_ServerType_Name(enum_t_value); } - static inline bool ServerType_Parse(const std::string& name, + static inline bool ServerType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ServerType* value) { return AnnounceMessage_ServerType_Parse(name, value); } @@ -2147,7 +2235,7 @@ class AnnounceMessage PROTOBUF_FINAL : public: void clear_protocolversion(); const ::AnnounceMessage_Version& protocolversion() const; - ::AnnounceMessage_Version* release_protocolversion(); + PROTOBUF_NODISCARD ::AnnounceMessage_Version* release_protocolversion(); ::AnnounceMessage_Version* mutable_protocolversion(); void set_allocated_protocolversion(::AnnounceMessage_Version* protocolversion); private: @@ -2165,7 +2253,7 @@ class AnnounceMessage PROTOBUF_FINAL : public: void clear_latestgameversion(); const ::AnnounceMessage_Version& latestgameversion() const; - ::AnnounceMessage_Version* release_latestgameversion(); + PROTOBUF_NODISCARD ::AnnounceMessage_Version* release_latestgameversion(); ::AnnounceMessage_Version* mutable_latestgameversion(); void set_allocated_latestgameversion(::AnnounceMessage_Version* latestgameversion); private: @@ -2182,11 +2270,11 @@ class AnnounceMessage PROTOBUF_FINAL : bool _internal_has_latestbetarevision() const; public: void clear_latestbetarevision(); - ::PROTOBUF_NAMESPACE_ID::uint32 latestbetarevision() const; - void set_latestbetarevision(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t latestbetarevision() const; + void set_latestbetarevision(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_latestbetarevision() const; - void _internal_set_latestbetarevision(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_latestbetarevision() const; + void _internal_set_latestbetarevision(uint32_t value); public: // required .AnnounceMessage.ServerType serverType = 4; @@ -2208,11 +2296,11 @@ class AnnounceMessage PROTOBUF_FINAL : bool _internal_has_numplayersonserver() const; public: void clear_numplayersonserver(); - ::PROTOBUF_NAMESPACE_ID::uint32 numplayersonserver() const; - void set_numplayersonserver(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t numplayersonserver() const; + void set_numplayersonserver(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_numplayersonserver() const; - void _internal_set_numplayersonserver(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_numplayersonserver() const; + void _internal_set_numplayersonserver(uint32_t value); public: // @@protoc_insertion_point(class_scope:AnnounceMessage) @@ -2229,18 +2317,19 @@ class AnnounceMessage PROTOBUF_FINAL : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::AnnounceMessage_Version* protocolversion_; ::AnnounceMessage_Version* latestgameversion_; - ::PROTOBUF_NAMESPACE_ID::uint32 latestbetarevision_; + uint32_t latestbetarevision_; int servertype_; - ::PROTOBUF_NAMESPACE_ID::uint32 numplayersonserver_; + uint32_t numplayersonserver_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class InitMessage PROTOBUF_FINAL : +class InitMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:InitMessage) */ { public: - inline InitMessage() : InitMessage(nullptr) {}; - virtual ~InitMessage(); + inline InitMessage() : InitMessage(nullptr) {} + ~InitMessage() override; + explicit constexpr InitMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); InitMessage(const InitMessage& from); InitMessage(InitMessage&& from) noexcept @@ -2253,8 +2342,13 @@ class InitMessage PROTOBUF_FINAL : return *this; } inline InitMessage& operator=(InitMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -2268,9 +2362,9 @@ class InitMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const InitMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const InitMessage& default_instance() { + return *internal_default_instance(); + } static inline const InitMessage* internal_default_instance() { return reinterpret_cast( &_InitMessage_default_instance_); @@ -2283,7 +2377,12 @@ class InitMessage PROTOBUF_FINAL : } inline void Swap(InitMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2291,21 +2390,16 @@ class InitMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(InitMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline InitMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - InitMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + InitMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const InitMessage& from); void MergeFrom(const InitMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -2313,22 +2407,24 @@ class InitMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(InitMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "InitMessage"; } protected: - explicit InitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit InitMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -2361,7 +2457,7 @@ class InitMessage PROTOBUF_FINAL : "Incorrect type passed to function LoginType_Name."); return InitMessage_LoginType_Name(enum_t_value); } - static inline bool LoginType_Parse(const std::string& name, + static inline bool LoginType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LoginType* value) { return InitMessage_LoginType_Parse(name, value); } @@ -2385,25 +2481,14 @@ class InitMessage PROTOBUF_FINAL : public: void clear_mylastsessionid(); const std::string& mylastsessionid() const; - void set_mylastsessionid(const std::string& value); - void set_mylastsessionid(std::string&& value); - void set_mylastsessionid(const char* value); - void set_mylastsessionid(const void* value, size_t size); + template + void set_mylastsessionid(ArgT0&& arg0, ArgT... args); std::string* mutable_mylastsessionid(); - std::string* release_mylastsessionid(); + PROTOBUF_NODISCARD std::string* release_mylastsessionid(); void set_allocated_mylastsessionid(std::string* mylastsessionid); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_mylastsessionid(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_mylastsessionid( - std::string* mylastsessionid); private: const std::string& _internal_mylastsessionid() const; - void _internal_set_mylastsessionid(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mylastsessionid(const std::string& value); std::string* _internal_mutable_mylastsessionid(); public: @@ -2414,25 +2499,14 @@ class InitMessage PROTOBUF_FINAL : public: void clear_authserverpassword(); const std::string& authserverpassword() const; - void set_authserverpassword(const std::string& value); - void set_authserverpassword(std::string&& value); - void set_authserverpassword(const char* value); - void set_authserverpassword(const char* value, size_t size); + template + void set_authserverpassword(ArgT0&& arg0, ArgT... args); std::string* mutable_authserverpassword(); - std::string* release_authserverpassword(); + PROTOBUF_NODISCARD std::string* release_authserverpassword(); void set_allocated_authserverpassword(std::string* authserverpassword); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_authserverpassword(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_authserverpassword( - std::string* authserverpassword); private: const std::string& _internal_authserverpassword() const; - void _internal_set_authserverpassword(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_authserverpassword(const std::string& value); std::string* _internal_mutable_authserverpassword(); public: @@ -2443,25 +2517,14 @@ class InitMessage PROTOBUF_FINAL : public: void clear_nickname(); const std::string& nickname() const; - void set_nickname(const std::string& value); - void set_nickname(std::string&& value); - void set_nickname(const char* value); - void set_nickname(const char* value, size_t size); + template + void set_nickname(ArgT0&& arg0, ArgT... args); std::string* mutable_nickname(); - std::string* release_nickname(); + PROTOBUF_NODISCARD std::string* release_nickname(); void set_allocated_nickname(std::string* nickname); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_nickname(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_nickname( - std::string* nickname); private: const std::string& _internal_nickname() const; - void _internal_set_nickname(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_nickname(const std::string& value); std::string* _internal_mutable_nickname(); public: @@ -2472,25 +2535,14 @@ class InitMessage PROTOBUF_FINAL : public: void clear_clientuserdata(); const std::string& clientuserdata() const; - void set_clientuserdata(const std::string& value); - void set_clientuserdata(std::string&& value); - void set_clientuserdata(const char* value); - void set_clientuserdata(const void* value, size_t size); + template + void set_clientuserdata(ArgT0&& arg0, ArgT... args); std::string* mutable_clientuserdata(); - std::string* release_clientuserdata(); + PROTOBUF_NODISCARD std::string* release_clientuserdata(); void set_allocated_clientuserdata(std::string* clientuserdata); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_clientuserdata(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_clientuserdata( - std::string* clientuserdata); private: const std::string& _internal_clientuserdata() const; - void _internal_set_clientuserdata(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_clientuserdata(const std::string& value); std::string* _internal_mutable_clientuserdata(); public: @@ -2501,25 +2553,14 @@ class InitMessage PROTOBUF_FINAL : public: void clear_avatarhash(); const std::string& avatarhash() const; - void set_avatarhash(const std::string& value); - void set_avatarhash(std::string&& value); - void set_avatarhash(const char* value); - void set_avatarhash(const void* value, size_t size); + template + void set_avatarhash(ArgT0&& arg0, ArgT... args); std::string* mutable_avatarhash(); - std::string* release_avatarhash(); + PROTOBUF_NODISCARD std::string* release_avatarhash(); void set_allocated_avatarhash(std::string* avatarhash); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_avatarhash(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_avatarhash( - std::string* avatarhash); private: const std::string& _internal_avatarhash() const; - void _internal_set_avatarhash(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_avatarhash(const std::string& value); std::string* _internal_mutable_avatarhash(); public: @@ -2530,7 +2571,7 @@ class InitMessage PROTOBUF_FINAL : public: void clear_requestedversion(); const ::AnnounceMessage_Version& requestedversion() const; - ::AnnounceMessage_Version* release_requestedversion(); + PROTOBUF_NODISCARD ::AnnounceMessage_Version* release_requestedversion(); ::AnnounceMessage_Version* mutable_requestedversion(); void set_allocated_requestedversion(::AnnounceMessage_Version* requestedversion); private: @@ -2547,11 +2588,11 @@ class InitMessage PROTOBUF_FINAL : bool _internal_has_buildid() const; public: void clear_buildid(); - ::PROTOBUF_NAMESPACE_ID::uint32 buildid() const; - void set_buildid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t buildid() const; + void set_buildid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_buildid() const; - void _internal_set_buildid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_buildid() const; + void _internal_set_buildid(uint32_t value); public: // required .InitMessage.LoginType login = 5; @@ -2585,17 +2626,18 @@ class InitMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr clientuserdata_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr avatarhash_; ::AnnounceMessage_Version* requestedversion_; - ::PROTOBUF_NAMESPACE_ID::uint32 buildid_; + uint32_t buildid_; int login_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AuthServerChallengeMessage PROTOBUF_FINAL : +class AuthServerChallengeMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AuthServerChallengeMessage) */ { public: - inline AuthServerChallengeMessage() : AuthServerChallengeMessage(nullptr) {}; - virtual ~AuthServerChallengeMessage(); + inline AuthServerChallengeMessage() : AuthServerChallengeMessage(nullptr) {} + ~AuthServerChallengeMessage() override; + explicit constexpr AuthServerChallengeMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AuthServerChallengeMessage(const AuthServerChallengeMessage& from); AuthServerChallengeMessage(AuthServerChallengeMessage&& from) noexcept @@ -2608,8 +2650,13 @@ class AuthServerChallengeMessage PROTOBUF_FINAL : return *this; } inline AuthServerChallengeMessage& operator=(AuthServerChallengeMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -2623,9 +2670,9 @@ class AuthServerChallengeMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AuthServerChallengeMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AuthServerChallengeMessage& default_instance() { + return *internal_default_instance(); + } static inline const AuthServerChallengeMessage* internal_default_instance() { return reinterpret_cast( &_AuthServerChallengeMessage_default_instance_); @@ -2638,7 +2685,12 @@ class AuthServerChallengeMessage PROTOBUF_FINAL : } inline void Swap(AuthServerChallengeMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2646,21 +2698,16 @@ class AuthServerChallengeMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AuthServerChallengeMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AuthServerChallengeMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AuthServerChallengeMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AuthServerChallengeMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AuthServerChallengeMessage& from); void MergeFrom(const AuthServerChallengeMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -2668,22 +2715,24 @@ class AuthServerChallengeMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AuthServerChallengeMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AuthServerChallengeMessage"; } protected: - explicit AuthServerChallengeMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AuthServerChallengeMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -2705,25 +2754,14 @@ class AuthServerChallengeMessage PROTOBUF_FINAL : public: void clear_serverchallenge(); const std::string& serverchallenge() const; - void set_serverchallenge(const std::string& value); - void set_serverchallenge(std::string&& value); - void set_serverchallenge(const char* value); - void set_serverchallenge(const void* value, size_t size); + template + void set_serverchallenge(ArgT0&& arg0, ArgT... args); std::string* mutable_serverchallenge(); - std::string* release_serverchallenge(); + PROTOBUF_NODISCARD std::string* release_serverchallenge(); void set_allocated_serverchallenge(std::string* serverchallenge); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_serverchallenge(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_serverchallenge( - std::string* serverchallenge); private: const std::string& _internal_serverchallenge() const; - void _internal_set_serverchallenge(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_serverchallenge(const std::string& value); std::string* _internal_mutable_serverchallenge(); public: @@ -2741,11 +2779,12 @@ class AuthServerChallengeMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class AuthClientResponseMessage PROTOBUF_FINAL : +class AuthClientResponseMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AuthClientResponseMessage) */ { public: - inline AuthClientResponseMessage() : AuthClientResponseMessage(nullptr) {}; - virtual ~AuthClientResponseMessage(); + inline AuthClientResponseMessage() : AuthClientResponseMessage(nullptr) {} + ~AuthClientResponseMessage() override; + explicit constexpr AuthClientResponseMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AuthClientResponseMessage(const AuthClientResponseMessage& from); AuthClientResponseMessage(AuthClientResponseMessage&& from) noexcept @@ -2758,8 +2797,13 @@ class AuthClientResponseMessage PROTOBUF_FINAL : return *this; } inline AuthClientResponseMessage& operator=(AuthClientResponseMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -2773,9 +2817,9 @@ class AuthClientResponseMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AuthClientResponseMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AuthClientResponseMessage& default_instance() { + return *internal_default_instance(); + } static inline const AuthClientResponseMessage* internal_default_instance() { return reinterpret_cast( &_AuthClientResponseMessage_default_instance_); @@ -2788,7 +2832,12 @@ class AuthClientResponseMessage PROTOBUF_FINAL : } inline void Swap(AuthClientResponseMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2796,21 +2845,16 @@ class AuthClientResponseMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AuthClientResponseMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AuthClientResponseMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AuthClientResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AuthClientResponseMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AuthClientResponseMessage& from); void MergeFrom(const AuthClientResponseMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -2818,22 +2862,24 @@ class AuthClientResponseMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AuthClientResponseMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AuthClientResponseMessage"; } protected: - explicit AuthClientResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AuthClientResponseMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -2855,25 +2901,14 @@ class AuthClientResponseMessage PROTOBUF_FINAL : public: void clear_clientresponse(); const std::string& clientresponse() const; - void set_clientresponse(const std::string& value); - void set_clientresponse(std::string&& value); - void set_clientresponse(const char* value); - void set_clientresponse(const void* value, size_t size); + template + void set_clientresponse(ArgT0&& arg0, ArgT... args); std::string* mutable_clientresponse(); - std::string* release_clientresponse(); + PROTOBUF_NODISCARD std::string* release_clientresponse(); void set_allocated_clientresponse(std::string* clientresponse); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_clientresponse(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_clientresponse( - std::string* clientresponse); private: const std::string& _internal_clientresponse() const; - void _internal_set_clientresponse(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_clientresponse(const std::string& value); std::string* _internal_mutable_clientresponse(); public: @@ -2891,11 +2926,12 @@ class AuthClientResponseMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class AuthServerVerificationMessage PROTOBUF_FINAL : +class AuthServerVerificationMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AuthServerVerificationMessage) */ { public: - inline AuthServerVerificationMessage() : AuthServerVerificationMessage(nullptr) {}; - virtual ~AuthServerVerificationMessage(); + inline AuthServerVerificationMessage() : AuthServerVerificationMessage(nullptr) {} + ~AuthServerVerificationMessage() override; + explicit constexpr AuthServerVerificationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AuthServerVerificationMessage(const AuthServerVerificationMessage& from); AuthServerVerificationMessage(AuthServerVerificationMessage&& from) noexcept @@ -2908,8 +2944,13 @@ class AuthServerVerificationMessage PROTOBUF_FINAL : return *this; } inline AuthServerVerificationMessage& operator=(AuthServerVerificationMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -2923,9 +2964,9 @@ class AuthServerVerificationMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AuthServerVerificationMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AuthServerVerificationMessage& default_instance() { + return *internal_default_instance(); + } static inline const AuthServerVerificationMessage* internal_default_instance() { return reinterpret_cast( &_AuthServerVerificationMessage_default_instance_); @@ -2938,7 +2979,12 @@ class AuthServerVerificationMessage PROTOBUF_FINAL : } inline void Swap(AuthServerVerificationMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -2946,21 +2992,16 @@ class AuthServerVerificationMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AuthServerVerificationMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AuthServerVerificationMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AuthServerVerificationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AuthServerVerificationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AuthServerVerificationMessage& from); void MergeFrom(const AuthServerVerificationMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -2968,22 +3009,24 @@ class AuthServerVerificationMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AuthServerVerificationMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AuthServerVerificationMessage"; } protected: - explicit AuthServerVerificationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AuthServerVerificationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -3005,25 +3048,14 @@ class AuthServerVerificationMessage PROTOBUF_FINAL : public: void clear_serververification(); const std::string& serververification() const; - void set_serververification(const std::string& value); - void set_serververification(std::string&& value); - void set_serververification(const char* value); - void set_serververification(const void* value, size_t size); + template + void set_serververification(ArgT0&& arg0, ArgT... args); std::string* mutable_serververification(); - std::string* release_serververification(); + PROTOBUF_NODISCARD std::string* release_serververification(); void set_allocated_serververification(std::string* serververification); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_serververification(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_serververification( - std::string* serververification); private: const std::string& _internal_serververification() const; - void _internal_set_serververification(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_serververification(const std::string& value); std::string* _internal_mutable_serververification(); public: @@ -3041,11 +3073,12 @@ class AuthServerVerificationMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class InitAckMessage PROTOBUF_FINAL : +class InitAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:InitAckMessage) */ { public: - inline InitAckMessage() : InitAckMessage(nullptr) {}; - virtual ~InitAckMessage(); + inline InitAckMessage() : InitAckMessage(nullptr) {} + ~InitAckMessage() override; + explicit constexpr InitAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); InitAckMessage(const InitAckMessage& from); InitAckMessage(InitAckMessage&& from) noexcept @@ -3058,8 +3091,13 @@ class InitAckMessage PROTOBUF_FINAL : return *this; } inline InitAckMessage& operator=(InitAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -3073,9 +3111,9 @@ class InitAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const InitAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const InitAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const InitAckMessage* internal_default_instance() { return reinterpret_cast( &_InitAckMessage_default_instance_); @@ -3088,7 +3126,12 @@ class InitAckMessage PROTOBUF_FINAL : } inline void Swap(InitAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3096,21 +3139,16 @@ class InitAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(InitAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline InitAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - InitAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + InitAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const InitAckMessage& from); void MergeFrom(const InitAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -3118,22 +3156,24 @@ class InitAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(InitAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "InitAckMessage"; } protected: - explicit InitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit InitAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -3158,25 +3198,14 @@ class InitAckMessage PROTOBUF_FINAL : public: void clear_yoursessionid(); const std::string& yoursessionid() const; - void set_yoursessionid(const std::string& value); - void set_yoursessionid(std::string&& value); - void set_yoursessionid(const char* value); - void set_yoursessionid(const void* value, size_t size); + template + void set_yoursessionid(ArgT0&& arg0, ArgT... args); std::string* mutable_yoursessionid(); - std::string* release_yoursessionid(); + PROTOBUF_NODISCARD std::string* release_yoursessionid(); void set_allocated_yoursessionid(std::string* yoursessionid); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_yoursessionid(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_yoursessionid( - std::string* yoursessionid); private: const std::string& _internal_yoursessionid() const; - void _internal_set_yoursessionid(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_yoursessionid(const std::string& value); std::string* _internal_mutable_yoursessionid(); public: @@ -3187,25 +3216,14 @@ class InitAckMessage PROTOBUF_FINAL : public: void clear_youravatarhash(); const std::string& youravatarhash() const; - void set_youravatarhash(const std::string& value); - void set_youravatarhash(std::string&& value); - void set_youravatarhash(const char* value); - void set_youravatarhash(const void* value, size_t size); + template + void set_youravatarhash(ArgT0&& arg0, ArgT... args); std::string* mutable_youravatarhash(); - std::string* release_youravatarhash(); + PROTOBUF_NODISCARD std::string* release_youravatarhash(); void set_allocated_youravatarhash(std::string* youravatarhash); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_youravatarhash(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_youravatarhash( - std::string* youravatarhash); private: const std::string& _internal_youravatarhash() const; - void _internal_set_youravatarhash(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_youravatarhash(const std::string& value); std::string* _internal_mutable_youravatarhash(); public: @@ -3215,11 +3233,11 @@ class InitAckMessage PROTOBUF_FINAL : bool _internal_has_yourplayerid() const; public: void clear_yourplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 yourplayerid() const; - void set_yourplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t yourplayerid() const; + void set_yourplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_yourplayerid() const; - void _internal_set_yourplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_yourplayerid() const; + void _internal_set_yourplayerid(uint32_t value); public: // optional uint32 rejoinGameId = 4; @@ -3228,11 +3246,11 @@ class InitAckMessage PROTOBUF_FINAL : bool _internal_has_rejoingameid() const; public: void clear_rejoingameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 rejoingameid() const; - void set_rejoingameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t rejoingameid() const; + void set_rejoingameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_rejoingameid() const; - void _internal_set_rejoingameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_rejoingameid() const; + void _internal_set_rejoingameid(uint32_t value); public: // @@protoc_insertion_point(class_scope:InitAckMessage) @@ -3249,17 +3267,18 @@ class InitAckMessage PROTOBUF_FINAL : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr yoursessionid_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr youravatarhash_; - ::PROTOBUF_NAMESPACE_ID::uint32 yourplayerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 rejoingameid_; + uint32_t yourplayerid_; + uint32_t rejoingameid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AvatarRequestMessage PROTOBUF_FINAL : +class AvatarRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AvatarRequestMessage) */ { public: - inline AvatarRequestMessage() : AvatarRequestMessage(nullptr) {}; - virtual ~AvatarRequestMessage(); + inline AvatarRequestMessage() : AvatarRequestMessage(nullptr) {} + ~AvatarRequestMessage() override; + explicit constexpr AvatarRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AvatarRequestMessage(const AvatarRequestMessage& from); AvatarRequestMessage(AvatarRequestMessage&& from) noexcept @@ -3272,8 +3291,13 @@ class AvatarRequestMessage PROTOBUF_FINAL : return *this; } inline AvatarRequestMessage& operator=(AvatarRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -3287,9 +3311,9 @@ class AvatarRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AvatarRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AvatarRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const AvatarRequestMessage* internal_default_instance() { return reinterpret_cast( &_AvatarRequestMessage_default_instance_); @@ -3302,7 +3326,12 @@ class AvatarRequestMessage PROTOBUF_FINAL : } inline void Swap(AvatarRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3310,21 +3339,16 @@ class AvatarRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AvatarRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AvatarRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AvatarRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AvatarRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AvatarRequestMessage& from); void MergeFrom(const AvatarRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -3332,22 +3356,24 @@ class AvatarRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AvatarRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AvatarRequestMessage"; } protected: - explicit AvatarRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AvatarRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -3370,25 +3396,14 @@ class AvatarRequestMessage PROTOBUF_FINAL : public: void clear_avatarhash(); const std::string& avatarhash() const; - void set_avatarhash(const std::string& value); - void set_avatarhash(std::string&& value); - void set_avatarhash(const char* value); - void set_avatarhash(const void* value, size_t size); + template + void set_avatarhash(ArgT0&& arg0, ArgT... args); std::string* mutable_avatarhash(); - std::string* release_avatarhash(); + PROTOBUF_NODISCARD std::string* release_avatarhash(); void set_allocated_avatarhash(std::string* avatarhash); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_avatarhash(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_avatarhash( - std::string* avatarhash); private: const std::string& _internal_avatarhash() const; - void _internal_set_avatarhash(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_avatarhash(const std::string& value); std::string* _internal_mutable_avatarhash(); public: @@ -3398,11 +3413,11 @@ class AvatarRequestMessage PROTOBUF_FINAL : bool _internal_has_requestid() const; public: void clear_requestid(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestid() const; - void set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestid() const; + void set_requestid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestid() const; - void _internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestid() const; + void _internal_set_requestid(uint32_t value); public: // @@protoc_insertion_point(class_scope:AvatarRequestMessage) @@ -3418,16 +3433,17 @@ class AvatarRequestMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr avatarhash_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestid_; + uint32_t requestid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AvatarHeaderMessage PROTOBUF_FINAL : +class AvatarHeaderMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AvatarHeaderMessage) */ { public: - inline AvatarHeaderMessage() : AvatarHeaderMessage(nullptr) {}; - virtual ~AvatarHeaderMessage(); + inline AvatarHeaderMessage() : AvatarHeaderMessage(nullptr) {} + ~AvatarHeaderMessage() override; + explicit constexpr AvatarHeaderMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AvatarHeaderMessage(const AvatarHeaderMessage& from); AvatarHeaderMessage(AvatarHeaderMessage&& from) noexcept @@ -3440,8 +3456,13 @@ class AvatarHeaderMessage PROTOBUF_FINAL : return *this; } inline AvatarHeaderMessage& operator=(AvatarHeaderMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -3455,9 +3476,9 @@ class AvatarHeaderMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AvatarHeaderMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AvatarHeaderMessage& default_instance() { + return *internal_default_instance(); + } static inline const AvatarHeaderMessage* internal_default_instance() { return reinterpret_cast( &_AvatarHeaderMessage_default_instance_); @@ -3470,7 +3491,12 @@ class AvatarHeaderMessage PROTOBUF_FINAL : } inline void Swap(AvatarHeaderMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3478,21 +3504,16 @@ class AvatarHeaderMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AvatarHeaderMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AvatarHeaderMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AvatarHeaderMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AvatarHeaderMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AvatarHeaderMessage& from); void MergeFrom(const AvatarHeaderMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -3500,22 +3521,24 @@ class AvatarHeaderMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AvatarHeaderMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AvatarHeaderMessage"; } protected: - explicit AvatarHeaderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AvatarHeaderMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -3538,11 +3561,11 @@ class AvatarHeaderMessage PROTOBUF_FINAL : bool _internal_has_requestid() const; public: void clear_requestid(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestid() const; - void set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestid() const; + void set_requestid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestid() const; - void _internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestid() const; + void _internal_set_requestid(uint32_t value); public: // required uint32 avatarSize = 3; @@ -3551,11 +3574,11 @@ class AvatarHeaderMessage PROTOBUF_FINAL : bool _internal_has_avatarsize() const; public: void clear_avatarsize(); - ::PROTOBUF_NAMESPACE_ID::uint32 avatarsize() const; - void set_avatarsize(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t avatarsize() const; + void set_avatarsize(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_avatarsize() const; - void _internal_set_avatarsize(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_avatarsize() const; + void _internal_set_avatarsize(uint32_t value); public: // required .NetAvatarType avatarType = 2; @@ -3583,18 +3606,19 @@ class AvatarHeaderMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestid_; - ::PROTOBUF_NAMESPACE_ID::uint32 avatarsize_; + uint32_t requestid_; + uint32_t avatarsize_; int avatartype_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AvatarDataMessage PROTOBUF_FINAL : +class AvatarDataMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AvatarDataMessage) */ { public: - inline AvatarDataMessage() : AvatarDataMessage(nullptr) {}; - virtual ~AvatarDataMessage(); + inline AvatarDataMessage() : AvatarDataMessage(nullptr) {} + ~AvatarDataMessage() override; + explicit constexpr AvatarDataMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AvatarDataMessage(const AvatarDataMessage& from); AvatarDataMessage(AvatarDataMessage&& from) noexcept @@ -3607,8 +3631,13 @@ class AvatarDataMessage PROTOBUF_FINAL : return *this; } inline AvatarDataMessage& operator=(AvatarDataMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -3622,9 +3651,9 @@ class AvatarDataMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AvatarDataMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AvatarDataMessage& default_instance() { + return *internal_default_instance(); + } static inline const AvatarDataMessage* internal_default_instance() { return reinterpret_cast( &_AvatarDataMessage_default_instance_); @@ -3637,7 +3666,12 @@ class AvatarDataMessage PROTOBUF_FINAL : } inline void Swap(AvatarDataMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3645,21 +3679,16 @@ class AvatarDataMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AvatarDataMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AvatarDataMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AvatarDataMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AvatarDataMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AvatarDataMessage& from); void MergeFrom(const AvatarDataMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -3667,22 +3696,24 @@ class AvatarDataMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AvatarDataMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AvatarDataMessage"; } protected: - explicit AvatarDataMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AvatarDataMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -3705,25 +3736,14 @@ class AvatarDataMessage PROTOBUF_FINAL : public: void clear_avatarblock(); const std::string& avatarblock() const; - void set_avatarblock(const std::string& value); - void set_avatarblock(std::string&& value); - void set_avatarblock(const char* value); - void set_avatarblock(const void* value, size_t size); + template + void set_avatarblock(ArgT0&& arg0, ArgT... args); std::string* mutable_avatarblock(); - std::string* release_avatarblock(); + PROTOBUF_NODISCARD std::string* release_avatarblock(); void set_allocated_avatarblock(std::string* avatarblock); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_avatarblock(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_avatarblock( - std::string* avatarblock); private: const std::string& _internal_avatarblock() const; - void _internal_set_avatarblock(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_avatarblock(const std::string& value); std::string* _internal_mutable_avatarblock(); public: @@ -3733,11 +3753,11 @@ class AvatarDataMessage PROTOBUF_FINAL : bool _internal_has_requestid() const; public: void clear_requestid(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestid() const; - void set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestid() const; + void set_requestid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestid() const; - void _internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestid() const; + void _internal_set_requestid(uint32_t value); public: // @@protoc_insertion_point(class_scope:AvatarDataMessage) @@ -3753,16 +3773,17 @@ class AvatarDataMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr avatarblock_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestid_; + uint32_t requestid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AvatarEndMessage PROTOBUF_FINAL : +class AvatarEndMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AvatarEndMessage) */ { public: - inline AvatarEndMessage() : AvatarEndMessage(nullptr) {}; - virtual ~AvatarEndMessage(); + inline AvatarEndMessage() : AvatarEndMessage(nullptr) {} + ~AvatarEndMessage() override; + explicit constexpr AvatarEndMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AvatarEndMessage(const AvatarEndMessage& from); AvatarEndMessage(AvatarEndMessage&& from) noexcept @@ -3775,8 +3796,13 @@ class AvatarEndMessage PROTOBUF_FINAL : return *this; } inline AvatarEndMessage& operator=(AvatarEndMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -3790,9 +3816,9 @@ class AvatarEndMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AvatarEndMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AvatarEndMessage& default_instance() { + return *internal_default_instance(); + } static inline const AvatarEndMessage* internal_default_instance() { return reinterpret_cast( &_AvatarEndMessage_default_instance_); @@ -3805,7 +3831,12 @@ class AvatarEndMessage PROTOBUF_FINAL : } inline void Swap(AvatarEndMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3813,21 +3844,16 @@ class AvatarEndMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AvatarEndMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AvatarEndMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AvatarEndMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AvatarEndMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AvatarEndMessage& from); void MergeFrom(const AvatarEndMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -3835,22 +3861,24 @@ class AvatarEndMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AvatarEndMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AvatarEndMessage"; } protected: - explicit AvatarEndMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AvatarEndMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -3871,11 +3899,11 @@ class AvatarEndMessage PROTOBUF_FINAL : bool _internal_has_requestid() const; public: void clear_requestid(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestid() const; - void set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestid() const; + void set_requestid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestid() const; - void _internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestid() const; + void _internal_set_requestid(uint32_t value); public: // @@protoc_insertion_point(class_scope:AvatarEndMessage) @@ -3887,16 +3915,17 @@ class AvatarEndMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestid_; + uint32_t requestid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class UnknownAvatarMessage PROTOBUF_FINAL : +class UnknownAvatarMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:UnknownAvatarMessage) */ { public: - inline UnknownAvatarMessage() : UnknownAvatarMessage(nullptr) {}; - virtual ~UnknownAvatarMessage(); + inline UnknownAvatarMessage() : UnknownAvatarMessage(nullptr) {} + ~UnknownAvatarMessage() override; + explicit constexpr UnknownAvatarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); UnknownAvatarMessage(const UnknownAvatarMessage& from); UnknownAvatarMessage(UnknownAvatarMessage&& from) noexcept @@ -3909,8 +3938,13 @@ class UnknownAvatarMessage PROTOBUF_FINAL : return *this; } inline UnknownAvatarMessage& operator=(UnknownAvatarMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -3924,9 +3958,9 @@ class UnknownAvatarMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const UnknownAvatarMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const UnknownAvatarMessage& default_instance() { + return *internal_default_instance(); + } static inline const UnknownAvatarMessage* internal_default_instance() { return reinterpret_cast( &_UnknownAvatarMessage_default_instance_); @@ -3939,7 +3973,12 @@ class UnknownAvatarMessage PROTOBUF_FINAL : } inline void Swap(UnknownAvatarMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -3947,21 +3986,16 @@ class UnknownAvatarMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(UnknownAvatarMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline UnknownAvatarMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - UnknownAvatarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + UnknownAvatarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const UnknownAvatarMessage& from); void MergeFrom(const UnknownAvatarMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -3969,22 +4003,24 @@ class UnknownAvatarMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(UnknownAvatarMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "UnknownAvatarMessage"; } protected: - explicit UnknownAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit UnknownAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -4005,11 +4041,11 @@ class UnknownAvatarMessage PROTOBUF_FINAL : bool _internal_has_requestid() const; public: void clear_requestid(); - ::PROTOBUF_NAMESPACE_ID::uint32 requestid() const; - void set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t requestid() const; + void set_requestid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_requestid() const; - void _internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_requestid() const; + void _internal_set_requestid(uint32_t value); public: // @@protoc_insertion_point(class_scope:UnknownAvatarMessage) @@ -4021,16 +4057,17 @@ class UnknownAvatarMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 requestid_; + uint32_t requestid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class PlayerListMessage PROTOBUF_FINAL : +class PlayerListMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayerListMessage) */ { public: - inline PlayerListMessage() : PlayerListMessage(nullptr) {}; - virtual ~PlayerListMessage(); + inline PlayerListMessage() : PlayerListMessage(nullptr) {} + ~PlayerListMessage() override; + explicit constexpr PlayerListMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayerListMessage(const PlayerListMessage& from); PlayerListMessage(PlayerListMessage&& from) noexcept @@ -4043,8 +4080,13 @@ class PlayerListMessage PROTOBUF_FINAL : return *this; } inline PlayerListMessage& operator=(PlayerListMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -4058,9 +4100,9 @@ class PlayerListMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayerListMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayerListMessage& default_instance() { + return *internal_default_instance(); + } static inline const PlayerListMessage* internal_default_instance() { return reinterpret_cast( &_PlayerListMessage_default_instance_); @@ -4073,7 +4115,12 @@ class PlayerListMessage PROTOBUF_FINAL : } inline void Swap(PlayerListMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4081,21 +4128,16 @@ class PlayerListMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayerListMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayerListMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayerListMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayerListMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayerListMessage& from); void MergeFrom(const PlayerListMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -4103,22 +4145,24 @@ class PlayerListMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayerListMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayerListMessage"; } protected: - explicit PlayerListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayerListMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -4149,7 +4193,7 @@ class PlayerListMessage PROTOBUF_FINAL : "Incorrect type passed to function PlayerListNotification_Name."); return PlayerListMessage_PlayerListNotification_Name(enum_t_value); } - static inline bool PlayerListNotification_Parse(const std::string& name, + static inline bool PlayerListNotification_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayerListNotification* value) { return PlayerListMessage_PlayerListNotification_Parse(name, value); } @@ -4166,11 +4210,11 @@ class PlayerListMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; @@ -4198,17 +4242,18 @@ class PlayerListMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t playerid_; int playerlistnotification_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameListNewMessage PROTOBUF_FINAL : +class GameListNewMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameListNewMessage) */ { public: - inline GameListNewMessage() : GameListNewMessage(nullptr) {}; - virtual ~GameListNewMessage(); + inline GameListNewMessage() : GameListNewMessage(nullptr) {} + ~GameListNewMessage() override; + explicit constexpr GameListNewMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameListNewMessage(const GameListNewMessage& from); GameListNewMessage(GameListNewMessage&& from) noexcept @@ -4221,8 +4266,13 @@ class GameListNewMessage PROTOBUF_FINAL : return *this; } inline GameListNewMessage& operator=(GameListNewMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -4236,9 +4286,9 @@ class GameListNewMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameListNewMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameListNewMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameListNewMessage* internal_default_instance() { return reinterpret_cast( &_GameListNewMessage_default_instance_); @@ -4251,7 +4301,12 @@ class GameListNewMessage PROTOBUF_FINAL : } inline void Swap(GameListNewMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4259,21 +4314,16 @@ class GameListNewMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameListNewMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameListNewMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameListNewMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameListNewMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameListNewMessage& from); void MergeFrom(const GameListNewMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -4281,22 +4331,24 @@ class GameListNewMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameListNewMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameListNewMessage"; } protected: - explicit GameListNewMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameListNewMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -4324,19 +4376,19 @@ class GameListNewMessage PROTOBUF_FINAL : public: void clear_playerids(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_playerids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_playerids() const; - void _internal_add_playerids(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_playerids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_playerids(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 playerids(int index) const; - void set_playerids(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_playerids(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t playerids(int index) const; + void set_playerids(int index, uint32_t value); + void add_playerids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& playerids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_playerids(); // repeated uint32 spectatorIds = 7 [packed = true]; @@ -4346,19 +4398,19 @@ class GameListNewMessage PROTOBUF_FINAL : public: void clear_spectatorids(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_spectatorids(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_spectatorids(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_spectatorids() const; - void _internal_add_spectatorids(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_spectatorids(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_spectatorids(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 spectatorids(int index) const; - void set_spectatorids(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_spectatorids(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t spectatorids(int index) const; + void set_spectatorids(int index, uint32_t value); + void add_spectatorids(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& spectatorids() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_spectatorids(); // required .NetGameInfo gameInfo = 6; @@ -4368,7 +4420,7 @@ class GameListNewMessage PROTOBUF_FINAL : public: void clear_gameinfo(); const ::NetGameInfo& gameinfo() const; - ::NetGameInfo* release_gameinfo(); + PROTOBUF_NODISCARD ::NetGameInfo* release_gameinfo(); ::NetGameInfo* mutable_gameinfo(); void set_allocated_gameinfo(::NetGameInfo* gameinfo); private: @@ -4385,11 +4437,11 @@ class GameListNewMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required bool isPrivate = 3; @@ -4411,11 +4463,11 @@ class GameListNewMessage PROTOBUF_FINAL : bool _internal_has_adminplayerid() const; public: void clear_adminplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 adminplayerid() const; - void set_adminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t adminplayerid() const; + void set_adminplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_adminplayerid() const; - void _internal_set_adminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_adminplayerid() const; + void _internal_set_adminplayerid(uint32_t value); public: // required .NetGameMode gameMode = 2; @@ -4443,24 +4495,25 @@ class GameListNewMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > playerids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > playerids_; mutable std::atomic _playerids_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > spectatorids_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > spectatorids_; mutable std::atomic _spectatorids_cached_byte_size_; ::NetGameInfo* gameinfo_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; bool isprivate_; - ::PROTOBUF_NAMESPACE_ID::uint32 adminplayerid_; + uint32_t adminplayerid_; int gamemode_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameListUpdateMessage PROTOBUF_FINAL : +class GameListUpdateMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameListUpdateMessage) */ { public: - inline GameListUpdateMessage() : GameListUpdateMessage(nullptr) {}; - virtual ~GameListUpdateMessage(); + inline GameListUpdateMessage() : GameListUpdateMessage(nullptr) {} + ~GameListUpdateMessage() override; + explicit constexpr GameListUpdateMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameListUpdateMessage(const GameListUpdateMessage& from); GameListUpdateMessage(GameListUpdateMessage&& from) noexcept @@ -4473,8 +4526,13 @@ class GameListUpdateMessage PROTOBUF_FINAL : return *this; } inline GameListUpdateMessage& operator=(GameListUpdateMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -4488,9 +4546,9 @@ class GameListUpdateMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameListUpdateMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameListUpdateMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameListUpdateMessage* internal_default_instance() { return reinterpret_cast( &_GameListUpdateMessage_default_instance_); @@ -4503,7 +4561,12 @@ class GameListUpdateMessage PROTOBUF_FINAL : } inline void Swap(GameListUpdateMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4511,21 +4574,16 @@ class GameListUpdateMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameListUpdateMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameListUpdateMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameListUpdateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameListUpdateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameListUpdateMessage& from); void MergeFrom(const GameListUpdateMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -4533,22 +4591,24 @@ class GameListUpdateMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameListUpdateMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameListUpdateMessage"; } protected: - explicit GameListUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameListUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -4570,11 +4630,11 @@ class GameListUpdateMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required .NetGameMode gameMode = 2; @@ -4602,17 +4662,18 @@ class GameListUpdateMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; int gamemode_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameListPlayerJoinedMessage PROTOBUF_FINAL : +class GameListPlayerJoinedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameListPlayerJoinedMessage) */ { public: - inline GameListPlayerJoinedMessage() : GameListPlayerJoinedMessage(nullptr) {}; - virtual ~GameListPlayerJoinedMessage(); + inline GameListPlayerJoinedMessage() : GameListPlayerJoinedMessage(nullptr) {} + ~GameListPlayerJoinedMessage() override; + explicit constexpr GameListPlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameListPlayerJoinedMessage(const GameListPlayerJoinedMessage& from); GameListPlayerJoinedMessage(GameListPlayerJoinedMessage&& from) noexcept @@ -4625,8 +4686,13 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : return *this; } inline GameListPlayerJoinedMessage& operator=(GameListPlayerJoinedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -4640,9 +4706,9 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameListPlayerJoinedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameListPlayerJoinedMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameListPlayerJoinedMessage* internal_default_instance() { return reinterpret_cast( &_GameListPlayerJoinedMessage_default_instance_); @@ -4655,7 +4721,12 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : } inline void Swap(GameListPlayerJoinedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4663,21 +4734,16 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameListPlayerJoinedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameListPlayerJoinedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameListPlayerJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameListPlayerJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameListPlayerJoinedMessage& from); void MergeFrom(const GameListPlayerJoinedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -4685,22 +4751,24 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameListPlayerJoinedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameListPlayerJoinedMessage"; } protected: - explicit GameListPlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameListPlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -4722,11 +4790,11 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -4735,11 +4803,11 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameListPlayerJoinedMessage) @@ -4754,17 +4822,18 @@ class GameListPlayerJoinedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameListPlayerLeftMessage PROTOBUF_FINAL : +class GameListPlayerLeftMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameListPlayerLeftMessage) */ { public: - inline GameListPlayerLeftMessage() : GameListPlayerLeftMessage(nullptr) {}; - virtual ~GameListPlayerLeftMessage(); + inline GameListPlayerLeftMessage() : GameListPlayerLeftMessage(nullptr) {} + ~GameListPlayerLeftMessage() override; + explicit constexpr GameListPlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameListPlayerLeftMessage(const GameListPlayerLeftMessage& from); GameListPlayerLeftMessage(GameListPlayerLeftMessage&& from) noexcept @@ -4777,8 +4846,13 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : return *this; } inline GameListPlayerLeftMessage& operator=(GameListPlayerLeftMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -4792,9 +4866,9 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameListPlayerLeftMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameListPlayerLeftMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameListPlayerLeftMessage* internal_default_instance() { return reinterpret_cast( &_GameListPlayerLeftMessage_default_instance_); @@ -4807,7 +4881,12 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : } inline void Swap(GameListPlayerLeftMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4815,21 +4894,16 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameListPlayerLeftMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameListPlayerLeftMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameListPlayerLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameListPlayerLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameListPlayerLeftMessage& from); void MergeFrom(const GameListPlayerLeftMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -4837,22 +4911,24 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameListPlayerLeftMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameListPlayerLeftMessage"; } protected: - explicit GameListPlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameListPlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -4874,11 +4950,11 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -4887,11 +4963,11 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameListPlayerLeftMessage) @@ -4906,17 +4982,18 @@ class GameListPlayerLeftMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameListSpectatorJoinedMessage PROTOBUF_FINAL : +class GameListSpectatorJoinedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameListSpectatorJoinedMessage) */ { public: - inline GameListSpectatorJoinedMessage() : GameListSpectatorJoinedMessage(nullptr) {}; - virtual ~GameListSpectatorJoinedMessage(); + inline GameListSpectatorJoinedMessage() : GameListSpectatorJoinedMessage(nullptr) {} + ~GameListSpectatorJoinedMessage() override; + explicit constexpr GameListSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameListSpectatorJoinedMessage(const GameListSpectatorJoinedMessage& from); GameListSpectatorJoinedMessage(GameListSpectatorJoinedMessage&& from) noexcept @@ -4929,8 +5006,13 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : return *this; } inline GameListSpectatorJoinedMessage& operator=(GameListSpectatorJoinedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -4944,9 +5026,9 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameListSpectatorJoinedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameListSpectatorJoinedMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameListSpectatorJoinedMessage* internal_default_instance() { return reinterpret_cast( &_GameListSpectatorJoinedMessage_default_instance_); @@ -4959,7 +5041,12 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : } inline void Swap(GameListSpectatorJoinedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -4967,21 +5054,16 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameListSpectatorJoinedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameListSpectatorJoinedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameListSpectatorJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameListSpectatorJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameListSpectatorJoinedMessage& from); void MergeFrom(const GameListSpectatorJoinedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -4989,22 +5071,24 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameListSpectatorJoinedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameListSpectatorJoinedMessage"; } protected: - explicit GameListSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameListSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -5026,11 +5110,11 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -5039,11 +5123,11 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameListSpectatorJoinedMessage) @@ -5058,17 +5142,18 @@ class GameListSpectatorJoinedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameListSpectatorLeftMessage PROTOBUF_FINAL : +class GameListSpectatorLeftMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameListSpectatorLeftMessage) */ { public: - inline GameListSpectatorLeftMessage() : GameListSpectatorLeftMessage(nullptr) {}; - virtual ~GameListSpectatorLeftMessage(); + inline GameListSpectatorLeftMessage() : GameListSpectatorLeftMessage(nullptr) {} + ~GameListSpectatorLeftMessage() override; + explicit constexpr GameListSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameListSpectatorLeftMessage(const GameListSpectatorLeftMessage& from); GameListSpectatorLeftMessage(GameListSpectatorLeftMessage&& from) noexcept @@ -5081,8 +5166,13 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : return *this; } inline GameListSpectatorLeftMessage& operator=(GameListSpectatorLeftMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -5096,9 +5186,9 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameListSpectatorLeftMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameListSpectatorLeftMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameListSpectatorLeftMessage* internal_default_instance() { return reinterpret_cast( &_GameListSpectatorLeftMessage_default_instance_); @@ -5111,7 +5201,12 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : } inline void Swap(GameListSpectatorLeftMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5119,21 +5214,16 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameListSpectatorLeftMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameListSpectatorLeftMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameListSpectatorLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameListSpectatorLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameListSpectatorLeftMessage& from); void MergeFrom(const GameListSpectatorLeftMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -5141,22 +5231,24 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameListSpectatorLeftMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameListSpectatorLeftMessage"; } protected: - explicit GameListSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameListSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -5178,11 +5270,11 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -5191,11 +5283,11 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameListSpectatorLeftMessage) @@ -5210,17 +5302,18 @@ class GameListSpectatorLeftMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameListAdminChangedMessage PROTOBUF_FINAL : +class GameListAdminChangedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameListAdminChangedMessage) */ { public: - inline GameListAdminChangedMessage() : GameListAdminChangedMessage(nullptr) {}; - virtual ~GameListAdminChangedMessage(); + inline GameListAdminChangedMessage() : GameListAdminChangedMessage(nullptr) {} + ~GameListAdminChangedMessage() override; + explicit constexpr GameListAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameListAdminChangedMessage(const GameListAdminChangedMessage& from); GameListAdminChangedMessage(GameListAdminChangedMessage&& from) noexcept @@ -5233,8 +5326,13 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : return *this; } inline GameListAdminChangedMessage& operator=(GameListAdminChangedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -5248,9 +5346,9 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameListAdminChangedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameListAdminChangedMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameListAdminChangedMessage* internal_default_instance() { return reinterpret_cast( &_GameListAdminChangedMessage_default_instance_); @@ -5263,7 +5361,12 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : } inline void Swap(GameListAdminChangedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5271,21 +5374,16 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameListAdminChangedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameListAdminChangedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameListAdminChangedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameListAdminChangedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameListAdminChangedMessage& from); void MergeFrom(const GameListAdminChangedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -5293,22 +5391,24 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameListAdminChangedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameListAdminChangedMessage"; } protected: - explicit GameListAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameListAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -5330,11 +5430,11 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 newAdminPlayerId = 2; @@ -5343,11 +5443,11 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : bool _internal_has_newadminplayerid() const; public: void clear_newadminplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 newadminplayerid() const; - void set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t newadminplayerid() const; + void set_newadminplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_newadminplayerid() const; - void _internal_set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_newadminplayerid() const; + void _internal_set_newadminplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameListAdminChangedMessage) @@ -5362,17 +5462,18 @@ class GameListAdminChangedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 newadminplayerid_; + uint32_t gameid_; + uint32_t newadminplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class PlayerInfoRequestMessage PROTOBUF_FINAL : +class PlayerInfoRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayerInfoRequestMessage) */ { public: - inline PlayerInfoRequestMessage() : PlayerInfoRequestMessage(nullptr) {}; - virtual ~PlayerInfoRequestMessage(); + inline PlayerInfoRequestMessage() : PlayerInfoRequestMessage(nullptr) {} + ~PlayerInfoRequestMessage() override; + explicit constexpr PlayerInfoRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayerInfoRequestMessage(const PlayerInfoRequestMessage& from); PlayerInfoRequestMessage(PlayerInfoRequestMessage&& from) noexcept @@ -5385,8 +5486,13 @@ class PlayerInfoRequestMessage PROTOBUF_FINAL : return *this; } inline PlayerInfoRequestMessage& operator=(PlayerInfoRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -5400,9 +5506,9 @@ class PlayerInfoRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayerInfoRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayerInfoRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const PlayerInfoRequestMessage* internal_default_instance() { return reinterpret_cast( &_PlayerInfoRequestMessage_default_instance_); @@ -5415,7 +5521,12 @@ class PlayerInfoRequestMessage PROTOBUF_FINAL : } inline void Swap(PlayerInfoRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5423,21 +5534,16 @@ class PlayerInfoRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayerInfoRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayerInfoRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayerInfoRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayerInfoRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayerInfoRequestMessage& from); void MergeFrom(const PlayerInfoRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -5445,22 +5551,24 @@ class PlayerInfoRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayerInfoRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayerInfoRequestMessage"; } protected: - explicit PlayerInfoRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayerInfoRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -5482,19 +5590,19 @@ class PlayerInfoRequestMessage PROTOBUF_FINAL : public: void clear_playerid(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_playerid(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_playerid() const; - void _internal_add_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_playerid(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_playerid(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 playerid(int index) const; - void set_playerid(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t playerid(int index) const; + void set_playerid(int index, uint32_t value); + void add_playerid(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& playerid() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_playerid(); // @@protoc_insertion_point(class_scope:PlayerInfoRequestMessage) @@ -5504,18 +5612,19 @@ class PlayerInfoRequestMessage PROTOBUF_FINAL : template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > playerid_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > playerid_; mutable std::atomic _playerid_cached_byte_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : +class PlayerInfoReplyMessage_PlayerInfoData_AvatarData final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) */ { public: - inline PlayerInfoReplyMessage_PlayerInfoData_AvatarData() : PlayerInfoReplyMessage_PlayerInfoData_AvatarData(nullptr) {}; - virtual ~PlayerInfoReplyMessage_PlayerInfoData_AvatarData(); + inline PlayerInfoReplyMessage_PlayerInfoData_AvatarData() : PlayerInfoReplyMessage_PlayerInfoData_AvatarData(nullptr) {} + ~PlayerInfoReplyMessage_PlayerInfoData_AvatarData() override; + explicit constexpr PlayerInfoReplyMessage_PlayerInfoData_AvatarData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayerInfoReplyMessage_PlayerInfoData_AvatarData(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from); PlayerInfoReplyMessage_PlayerInfoData_AvatarData(PlayerInfoReplyMessage_PlayerInfoData_AvatarData&& from) noexcept @@ -5528,8 +5637,13 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : return *this; } inline PlayerInfoReplyMessage_PlayerInfoData_AvatarData& operator=(PlayerInfoReplyMessage_PlayerInfoData_AvatarData&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -5543,9 +5657,9 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& default_instance() { + return *internal_default_instance(); + } static inline const PlayerInfoReplyMessage_PlayerInfoData_AvatarData* internal_default_instance() { return reinterpret_cast( &_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_default_instance_); @@ -5558,7 +5672,12 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : } inline void Swap(PlayerInfoReplyMessage_PlayerInfoData_AvatarData* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5566,21 +5685,16 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayerInfoReplyMessage_PlayerInfoData_AvatarData* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayerInfoReplyMessage_PlayerInfoData_AvatarData* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayerInfoReplyMessage_PlayerInfoData_AvatarData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayerInfoReplyMessage_PlayerInfoData_AvatarData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from); void MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData_AvatarData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -5588,22 +5702,24 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayerInfoReplyMessage_PlayerInfoData_AvatarData* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayerInfoReplyMessage.PlayerInfoData.AvatarData"; } protected: - explicit PlayerInfoReplyMessage_PlayerInfoData_AvatarData(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayerInfoReplyMessage_PlayerInfoData_AvatarData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -5626,25 +5742,14 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : public: void clear_avatarhash(); const std::string& avatarhash() const; - void set_avatarhash(const std::string& value); - void set_avatarhash(std::string&& value); - void set_avatarhash(const char* value); - void set_avatarhash(const void* value, size_t size); + template + void set_avatarhash(ArgT0&& arg0, ArgT... args); std::string* mutable_avatarhash(); - std::string* release_avatarhash(); + PROTOBUF_NODISCARD std::string* release_avatarhash(); void set_allocated_avatarhash(std::string* avatarhash); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_avatarhash(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_avatarhash( - std::string* avatarhash); private: const std::string& _internal_avatarhash() const; - void _internal_set_avatarhash(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_avatarhash(const std::string& value); std::string* _internal_mutable_avatarhash(); public: @@ -5679,11 +5784,12 @@ class PlayerInfoReplyMessage_PlayerInfoData_AvatarData PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : +class PlayerInfoReplyMessage_PlayerInfoData final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayerInfoReplyMessage.PlayerInfoData) */ { public: - inline PlayerInfoReplyMessage_PlayerInfoData() : PlayerInfoReplyMessage_PlayerInfoData(nullptr) {}; - virtual ~PlayerInfoReplyMessage_PlayerInfoData(); + inline PlayerInfoReplyMessage_PlayerInfoData() : PlayerInfoReplyMessage_PlayerInfoData(nullptr) {} + ~PlayerInfoReplyMessage_PlayerInfoData() override; + explicit constexpr PlayerInfoReplyMessage_PlayerInfoData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayerInfoReplyMessage_PlayerInfoData(const PlayerInfoReplyMessage_PlayerInfoData& from); PlayerInfoReplyMessage_PlayerInfoData(PlayerInfoReplyMessage_PlayerInfoData&& from) noexcept @@ -5696,8 +5802,13 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : return *this; } inline PlayerInfoReplyMessage_PlayerInfoData& operator=(PlayerInfoReplyMessage_PlayerInfoData&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -5711,9 +5822,9 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayerInfoReplyMessage_PlayerInfoData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayerInfoReplyMessage_PlayerInfoData& default_instance() { + return *internal_default_instance(); + } static inline const PlayerInfoReplyMessage_PlayerInfoData* internal_default_instance() { return reinterpret_cast( &_PlayerInfoReplyMessage_PlayerInfoData_default_instance_); @@ -5726,7 +5837,12 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : } inline void Swap(PlayerInfoReplyMessage_PlayerInfoData* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5734,21 +5850,16 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayerInfoReplyMessage_PlayerInfoData* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayerInfoReplyMessage_PlayerInfoData* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayerInfoReplyMessage_PlayerInfoData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayerInfoReplyMessage_PlayerInfoData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayerInfoReplyMessage_PlayerInfoData& from); void MergeFrom(const PlayerInfoReplyMessage_PlayerInfoData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -5756,22 +5867,24 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayerInfoReplyMessage_PlayerInfoData* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayerInfoReplyMessage.PlayerInfoData"; } protected: - explicit PlayerInfoReplyMessage_PlayerInfoData(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayerInfoReplyMessage_PlayerInfoData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -5799,25 +5912,14 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : public: void clear_playername(); const std::string& playername() const; - void set_playername(const std::string& value); - void set_playername(std::string&& value); - void set_playername(const char* value); - void set_playername(const char* value, size_t size); + template + void set_playername(ArgT0&& arg0, ArgT... args); std::string* mutable_playername(); - std::string* release_playername(); + PROTOBUF_NODISCARD std::string* release_playername(); void set_allocated_playername(std::string* playername); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_playername(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_playername( - std::string* playername); private: const std::string& _internal_playername() const; - void _internal_set_playername(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_playername(const std::string& value); std::string* _internal_mutable_playername(); public: @@ -5828,25 +5930,14 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : public: void clear_countrycode(); const std::string& countrycode() const; - void set_countrycode(const std::string& value); - void set_countrycode(std::string&& value); - void set_countrycode(const char* value); - void set_countrycode(const char* value, size_t size); + template + void set_countrycode(ArgT0&& arg0, ArgT... args); std::string* mutable_countrycode(); - std::string* release_countrycode(); + PROTOBUF_NODISCARD std::string* release_countrycode(); void set_allocated_countrycode(std::string* countrycode); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_countrycode(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_countrycode( - std::string* countrycode); private: const std::string& _internal_countrycode() const; - void _internal_set_countrycode(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_countrycode(const std::string& value); std::string* _internal_mutable_countrycode(); public: @@ -5857,7 +5948,7 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : public: void clear_avatardata(); const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& avatardata() const; - ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* release_avatardata(); + PROTOBUF_NODISCARD ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* release_avatardata(); ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* mutable_avatardata(); void set_allocated_avatardata(::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* avatardata); private: @@ -5915,11 +6006,12 @@ class PlayerInfoReplyMessage_PlayerInfoData PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class PlayerInfoReplyMessage PROTOBUF_FINAL : +class PlayerInfoReplyMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayerInfoReplyMessage) */ { public: - inline PlayerInfoReplyMessage() : PlayerInfoReplyMessage(nullptr) {}; - virtual ~PlayerInfoReplyMessage(); + inline PlayerInfoReplyMessage() : PlayerInfoReplyMessage(nullptr) {} + ~PlayerInfoReplyMessage() override; + explicit constexpr PlayerInfoReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayerInfoReplyMessage(const PlayerInfoReplyMessage& from); PlayerInfoReplyMessage(PlayerInfoReplyMessage&& from) noexcept @@ -5932,8 +6024,13 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : return *this; } inline PlayerInfoReplyMessage& operator=(PlayerInfoReplyMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -5947,9 +6044,9 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayerInfoReplyMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayerInfoReplyMessage& default_instance() { + return *internal_default_instance(); + } static inline const PlayerInfoReplyMessage* internal_default_instance() { return reinterpret_cast( &_PlayerInfoReplyMessage_default_instance_); @@ -5962,7 +6059,12 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : } inline void Swap(PlayerInfoReplyMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -5970,21 +6072,16 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayerInfoReplyMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayerInfoReplyMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayerInfoReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayerInfoReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayerInfoReplyMessage& from); void MergeFrom(const PlayerInfoReplyMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -5992,22 +6089,24 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayerInfoReplyMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayerInfoReplyMessage"; } protected: - explicit PlayerInfoReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayerInfoReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -6032,7 +6131,7 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : public: void clear_playerinfodata(); const ::PlayerInfoReplyMessage_PlayerInfoData& playerinfodata() const; - ::PlayerInfoReplyMessage_PlayerInfoData* release_playerinfodata(); + PROTOBUF_NODISCARD ::PlayerInfoReplyMessage_PlayerInfoData* release_playerinfodata(); ::PlayerInfoReplyMessage_PlayerInfoData* mutable_playerinfodata(); void set_allocated_playerinfodata(::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata); private: @@ -6049,11 +6148,11 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage) @@ -6066,16 +6165,17 @@ class PlayerInfoReplyMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class SubscriptionRequestMessage PROTOBUF_FINAL : +class SubscriptionRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:SubscriptionRequestMessage) */ { public: - inline SubscriptionRequestMessage() : SubscriptionRequestMessage(nullptr) {}; - virtual ~SubscriptionRequestMessage(); + inline SubscriptionRequestMessage() : SubscriptionRequestMessage(nullptr) {} + ~SubscriptionRequestMessage() override; + explicit constexpr SubscriptionRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); SubscriptionRequestMessage(const SubscriptionRequestMessage& from); SubscriptionRequestMessage(SubscriptionRequestMessage&& from) noexcept @@ -6088,8 +6188,13 @@ class SubscriptionRequestMessage PROTOBUF_FINAL : return *this; } inline SubscriptionRequestMessage& operator=(SubscriptionRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -6103,9 +6208,9 @@ class SubscriptionRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const SubscriptionRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const SubscriptionRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const SubscriptionRequestMessage* internal_default_instance() { return reinterpret_cast( &_SubscriptionRequestMessage_default_instance_); @@ -6118,7 +6223,12 @@ class SubscriptionRequestMessage PROTOBUF_FINAL : } inline void Swap(SubscriptionRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6126,21 +6236,16 @@ class SubscriptionRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(SubscriptionRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline SubscriptionRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - SubscriptionRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + SubscriptionRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const SubscriptionRequestMessage& from); void MergeFrom(const SubscriptionRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -6148,22 +6253,24 @@ class SubscriptionRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(SubscriptionRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "SubscriptionRequestMessage"; } protected: - explicit SubscriptionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit SubscriptionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -6194,7 +6301,7 @@ class SubscriptionRequestMessage PROTOBUF_FINAL : "Incorrect type passed to function SubscriptionAction_Name."); return SubscriptionRequestMessage_SubscriptionAction_Name(enum_t_value); } - static inline bool SubscriptionAction_Parse(const std::string& name, + static inline bool SubscriptionAction_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SubscriptionAction* value) { return SubscriptionRequestMessage_SubscriptionAction_Parse(name, value); } @@ -6231,11 +6338,12 @@ class SubscriptionRequestMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class JoinExistingGameMessage PROTOBUF_FINAL : +class JoinExistingGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:JoinExistingGameMessage) */ { public: - inline JoinExistingGameMessage() : JoinExistingGameMessage(nullptr) {}; - virtual ~JoinExistingGameMessage(); + inline JoinExistingGameMessage() : JoinExistingGameMessage(nullptr) {} + ~JoinExistingGameMessage() override; + explicit constexpr JoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); JoinExistingGameMessage(const JoinExistingGameMessage& from); JoinExistingGameMessage(JoinExistingGameMessage&& from) noexcept @@ -6248,8 +6356,13 @@ class JoinExistingGameMessage PROTOBUF_FINAL : return *this; } inline JoinExistingGameMessage& operator=(JoinExistingGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -6263,9 +6376,9 @@ class JoinExistingGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const JoinExistingGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const JoinExistingGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const JoinExistingGameMessage* internal_default_instance() { return reinterpret_cast( &_JoinExistingGameMessage_default_instance_); @@ -6278,7 +6391,12 @@ class JoinExistingGameMessage PROTOBUF_FINAL : } inline void Swap(JoinExistingGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6286,21 +6404,16 @@ class JoinExistingGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(JoinExistingGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline JoinExistingGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - JoinExistingGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + JoinExistingGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const JoinExistingGameMessage& from); void MergeFrom(const JoinExistingGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -6308,22 +6421,24 @@ class JoinExistingGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(JoinExistingGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "JoinExistingGameMessage"; } protected: - explicit JoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit JoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -6348,25 +6463,14 @@ class JoinExistingGameMessage PROTOBUF_FINAL : public: void clear_password(); const std::string& password() const; - void set_password(const std::string& value); - void set_password(std::string&& value); - void set_password(const char* value); - void set_password(const char* value, size_t size); + template + void set_password(ArgT0&& arg0, ArgT... args); std::string* mutable_password(); - std::string* release_password(); + PROTOBUF_NODISCARD std::string* release_password(); void set_allocated_password(std::string* password); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_password(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_password( - std::string* password); private: const std::string& _internal_password() const; - void _internal_set_password(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value); std::string* _internal_mutable_password(); public: @@ -6376,11 +6480,11 @@ class JoinExistingGameMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // optional bool autoLeave = 3 [default = false]; @@ -6419,18 +6523,19 @@ class JoinExistingGameMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr password_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; bool autoleave_; bool spectateonly_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class JoinNewGameMessage PROTOBUF_FINAL : +class JoinNewGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:JoinNewGameMessage) */ { public: - inline JoinNewGameMessage() : JoinNewGameMessage(nullptr) {}; - virtual ~JoinNewGameMessage(); + inline JoinNewGameMessage() : JoinNewGameMessage(nullptr) {} + ~JoinNewGameMessage() override; + explicit constexpr JoinNewGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); JoinNewGameMessage(const JoinNewGameMessage& from); JoinNewGameMessage(JoinNewGameMessage&& from) noexcept @@ -6443,8 +6548,13 @@ class JoinNewGameMessage PROTOBUF_FINAL : return *this; } inline JoinNewGameMessage& operator=(JoinNewGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -6458,9 +6568,9 @@ class JoinNewGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const JoinNewGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const JoinNewGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const JoinNewGameMessage* internal_default_instance() { return reinterpret_cast( &_JoinNewGameMessage_default_instance_); @@ -6473,7 +6583,12 @@ class JoinNewGameMessage PROTOBUF_FINAL : } inline void Swap(JoinNewGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6481,21 +6596,16 @@ class JoinNewGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(JoinNewGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline JoinNewGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - JoinNewGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + JoinNewGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const JoinNewGameMessage& from); void MergeFrom(const JoinNewGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -6503,22 +6613,24 @@ class JoinNewGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(JoinNewGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "JoinNewGameMessage"; } protected: - explicit JoinNewGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit JoinNewGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -6542,25 +6654,14 @@ class JoinNewGameMessage PROTOBUF_FINAL : public: void clear_password(); const std::string& password() const; - void set_password(const std::string& value); - void set_password(std::string&& value); - void set_password(const char* value); - void set_password(const char* value, size_t size); + template + void set_password(ArgT0&& arg0, ArgT... args); std::string* mutable_password(); - std::string* release_password(); + PROTOBUF_NODISCARD std::string* release_password(); void set_allocated_password(std::string* password); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_password(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_password( - std::string* password); private: const std::string& _internal_password() const; - void _internal_set_password(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_password(const std::string& value); std::string* _internal_mutable_password(); public: @@ -6571,7 +6672,7 @@ class JoinNewGameMessage PROTOBUF_FINAL : public: void clear_gameinfo(); const ::NetGameInfo& gameinfo() const; - ::NetGameInfo* release_gameinfo(); + PROTOBUF_NODISCARD ::NetGameInfo* release_gameinfo(); ::NetGameInfo* mutable_gameinfo(); void set_allocated_gameinfo(::NetGameInfo* gameinfo); private: @@ -6611,11 +6712,12 @@ class JoinNewGameMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class RejoinExistingGameMessage PROTOBUF_FINAL : +class RejoinExistingGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:RejoinExistingGameMessage) */ { public: - inline RejoinExistingGameMessage() : RejoinExistingGameMessage(nullptr) {}; - virtual ~RejoinExistingGameMessage(); + inline RejoinExistingGameMessage() : RejoinExistingGameMessage(nullptr) {} + ~RejoinExistingGameMessage() override; + explicit constexpr RejoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RejoinExistingGameMessage(const RejoinExistingGameMessage& from); RejoinExistingGameMessage(RejoinExistingGameMessage&& from) noexcept @@ -6628,8 +6730,13 @@ class RejoinExistingGameMessage PROTOBUF_FINAL : return *this; } inline RejoinExistingGameMessage& operator=(RejoinExistingGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -6643,9 +6750,9 @@ class RejoinExistingGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const RejoinExistingGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const RejoinExistingGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const RejoinExistingGameMessage* internal_default_instance() { return reinterpret_cast( &_RejoinExistingGameMessage_default_instance_); @@ -6658,7 +6765,12 @@ class RejoinExistingGameMessage PROTOBUF_FINAL : } inline void Swap(RejoinExistingGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6666,21 +6778,16 @@ class RejoinExistingGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(RejoinExistingGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline RejoinExistingGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - RejoinExistingGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + RejoinExistingGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const RejoinExistingGameMessage& from); void MergeFrom(const RejoinExistingGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -6688,22 +6795,24 @@ class RejoinExistingGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(RejoinExistingGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RejoinExistingGameMessage"; } protected: - explicit RejoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit RejoinExistingGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -6725,11 +6834,11 @@ class RejoinExistingGameMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // optional bool autoLeave = 2; @@ -6754,17 +6863,18 @@ class RejoinExistingGameMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; bool autoleave_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class JoinGameAckMessage PROTOBUF_FINAL : +class JoinGameAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:JoinGameAckMessage) */ { public: - inline JoinGameAckMessage() : JoinGameAckMessage(nullptr) {}; - virtual ~JoinGameAckMessage(); + inline JoinGameAckMessage() : JoinGameAckMessage(nullptr) {} + ~JoinGameAckMessage() override; + explicit constexpr JoinGameAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); JoinGameAckMessage(const JoinGameAckMessage& from); JoinGameAckMessage(JoinGameAckMessage&& from) noexcept @@ -6777,8 +6887,13 @@ class JoinGameAckMessage PROTOBUF_FINAL : return *this; } inline JoinGameAckMessage& operator=(JoinGameAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -6792,9 +6907,9 @@ class JoinGameAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const JoinGameAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const JoinGameAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const JoinGameAckMessage* internal_default_instance() { return reinterpret_cast( &_JoinGameAckMessage_default_instance_); @@ -6807,7 +6922,12 @@ class JoinGameAckMessage PROTOBUF_FINAL : } inline void Swap(JoinGameAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -6815,21 +6935,16 @@ class JoinGameAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(JoinGameAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline JoinGameAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - JoinGameAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + JoinGameAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const JoinGameAckMessage& from); void MergeFrom(const JoinGameAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -6837,22 +6952,24 @@ class JoinGameAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(JoinGameAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "JoinGameAckMessage"; } protected: - explicit JoinGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit JoinGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -6877,7 +6994,7 @@ class JoinGameAckMessage PROTOBUF_FINAL : public: void clear_gameinfo(); const ::NetGameInfo& gameinfo() const; - ::NetGameInfo* release_gameinfo(); + PROTOBUF_NODISCARD ::NetGameInfo* release_gameinfo(); ::NetGameInfo* mutable_gameinfo(); void set_allocated_gameinfo(::NetGameInfo* gameinfo); private: @@ -6894,11 +7011,11 @@ class JoinGameAckMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required bool areYouGameAdmin = 2; @@ -6940,18 +7057,19 @@ class JoinGameAckMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::NetGameInfo* gameinfo_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; bool areyougameadmin_; bool spectateonly_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class JoinGameFailedMessage PROTOBUF_FINAL : +class JoinGameFailedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:JoinGameFailedMessage) */ { public: - inline JoinGameFailedMessage() : JoinGameFailedMessage(nullptr) {}; - virtual ~JoinGameFailedMessage(); + inline JoinGameFailedMessage() : JoinGameFailedMessage(nullptr) {} + ~JoinGameFailedMessage() override; + explicit constexpr JoinGameFailedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); JoinGameFailedMessage(const JoinGameFailedMessage& from); JoinGameFailedMessage(JoinGameFailedMessage&& from) noexcept @@ -6964,8 +7082,13 @@ class JoinGameFailedMessage PROTOBUF_FINAL : return *this; } inline JoinGameFailedMessage& operator=(JoinGameFailedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -6979,9 +7102,9 @@ class JoinGameFailedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const JoinGameFailedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const JoinGameFailedMessage& default_instance() { + return *internal_default_instance(); + } static inline const JoinGameFailedMessage* internal_default_instance() { return reinterpret_cast( &_JoinGameFailedMessage_default_instance_); @@ -6994,7 +7117,12 @@ class JoinGameFailedMessage PROTOBUF_FINAL : } inline void Swap(JoinGameFailedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7002,21 +7130,16 @@ class JoinGameFailedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(JoinGameFailedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline JoinGameFailedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - JoinGameFailedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + JoinGameFailedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const JoinGameFailedMessage& from); void MergeFrom(const JoinGameFailedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -7024,22 +7147,24 @@ class JoinGameFailedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(JoinGameFailedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "JoinGameFailedMessage"; } protected: - explicit JoinGameFailedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit JoinGameFailedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -7090,7 +7215,7 @@ class JoinGameFailedMessage PROTOBUF_FINAL : "Incorrect type passed to function JoinGameFailureReason_Name."); return JoinGameFailedMessage_JoinGameFailureReason_Name(enum_t_value); } - static inline bool JoinGameFailureReason_Parse(const std::string& name, + static inline bool JoinGameFailureReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, JoinGameFailureReason* value) { return JoinGameFailedMessage_JoinGameFailureReason_Parse(name, value); } @@ -7107,11 +7232,11 @@ class JoinGameFailedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; @@ -7139,17 +7264,18 @@ class JoinGameFailedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; int joingamefailurereason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GamePlayerJoinedMessage PROTOBUF_FINAL : +class GamePlayerJoinedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GamePlayerJoinedMessage) */ { public: - inline GamePlayerJoinedMessage() : GamePlayerJoinedMessage(nullptr) {}; - virtual ~GamePlayerJoinedMessage(); + inline GamePlayerJoinedMessage() : GamePlayerJoinedMessage(nullptr) {} + ~GamePlayerJoinedMessage() override; + explicit constexpr GamePlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GamePlayerJoinedMessage(const GamePlayerJoinedMessage& from); GamePlayerJoinedMessage(GamePlayerJoinedMessage&& from) noexcept @@ -7162,8 +7288,13 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : return *this; } inline GamePlayerJoinedMessage& operator=(GamePlayerJoinedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -7177,9 +7308,9 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GamePlayerJoinedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GamePlayerJoinedMessage& default_instance() { + return *internal_default_instance(); + } static inline const GamePlayerJoinedMessage* internal_default_instance() { return reinterpret_cast( &_GamePlayerJoinedMessage_default_instance_); @@ -7192,7 +7323,12 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : } inline void Swap(GamePlayerJoinedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7200,21 +7336,16 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GamePlayerJoinedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GamePlayerJoinedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GamePlayerJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GamePlayerJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GamePlayerJoinedMessage& from); void MergeFrom(const GamePlayerJoinedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -7222,22 +7353,24 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GamePlayerJoinedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GamePlayerJoinedMessage"; } protected: - explicit GamePlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GamePlayerJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -7260,11 +7393,11 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -7273,11 +7406,11 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required bool isGameAdmin = 3; @@ -7305,18 +7438,19 @@ class GamePlayerJoinedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; bool isgameadmin_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GamePlayerLeftMessage PROTOBUF_FINAL : +class GamePlayerLeftMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GamePlayerLeftMessage) */ { public: - inline GamePlayerLeftMessage() : GamePlayerLeftMessage(nullptr) {}; - virtual ~GamePlayerLeftMessage(); + inline GamePlayerLeftMessage() : GamePlayerLeftMessage(nullptr) {} + ~GamePlayerLeftMessage() override; + explicit constexpr GamePlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GamePlayerLeftMessage(const GamePlayerLeftMessage& from); GamePlayerLeftMessage(GamePlayerLeftMessage&& from) noexcept @@ -7329,8 +7463,13 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : return *this; } inline GamePlayerLeftMessage& operator=(GamePlayerLeftMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -7344,9 +7483,9 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GamePlayerLeftMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GamePlayerLeftMessage& default_instance() { + return *internal_default_instance(); + } static inline const GamePlayerLeftMessage* internal_default_instance() { return reinterpret_cast( &_GamePlayerLeftMessage_default_instance_); @@ -7359,7 +7498,12 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : } inline void Swap(GamePlayerLeftMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7367,21 +7511,16 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GamePlayerLeftMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GamePlayerLeftMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GamePlayerLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GamePlayerLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GamePlayerLeftMessage& from); void MergeFrom(const GamePlayerLeftMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -7389,22 +7528,24 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GamePlayerLeftMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GamePlayerLeftMessage"; } protected: - explicit GamePlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GamePlayerLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -7437,7 +7578,7 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : "Incorrect type passed to function GamePlayerLeftReason_Name."); return GamePlayerLeftMessage_GamePlayerLeftReason_Name(enum_t_value); } - static inline bool GamePlayerLeftReason_Parse(const std::string& name, + static inline bool GamePlayerLeftReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GamePlayerLeftReason* value) { return GamePlayerLeftMessage_GamePlayerLeftReason_Parse(name, value); } @@ -7455,11 +7596,11 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -7468,11 +7609,11 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; @@ -7500,18 +7641,19 @@ class GamePlayerLeftMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int gameplayerleftreason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameSpectatorJoinedMessage PROTOBUF_FINAL : +class GameSpectatorJoinedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameSpectatorJoinedMessage) */ { public: - inline GameSpectatorJoinedMessage() : GameSpectatorJoinedMessage(nullptr) {}; - virtual ~GameSpectatorJoinedMessage(); + inline GameSpectatorJoinedMessage() : GameSpectatorJoinedMessage(nullptr) {} + ~GameSpectatorJoinedMessage() override; + explicit constexpr GameSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameSpectatorJoinedMessage(const GameSpectatorJoinedMessage& from); GameSpectatorJoinedMessage(GameSpectatorJoinedMessage&& from) noexcept @@ -7524,8 +7666,13 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : return *this; } inline GameSpectatorJoinedMessage& operator=(GameSpectatorJoinedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -7539,9 +7686,9 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameSpectatorJoinedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameSpectatorJoinedMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameSpectatorJoinedMessage* internal_default_instance() { return reinterpret_cast( &_GameSpectatorJoinedMessage_default_instance_); @@ -7554,7 +7701,12 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : } inline void Swap(GameSpectatorJoinedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7562,21 +7714,16 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameSpectatorJoinedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameSpectatorJoinedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameSpectatorJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameSpectatorJoinedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameSpectatorJoinedMessage& from); void MergeFrom(const GameSpectatorJoinedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -7584,22 +7731,24 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameSpectatorJoinedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameSpectatorJoinedMessage"; } protected: - explicit GameSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameSpectatorJoinedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -7621,11 +7770,11 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -7634,11 +7783,11 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) @@ -7653,17 +7802,18 @@ class GameSpectatorJoinedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameSpectatorLeftMessage PROTOBUF_FINAL : +class GameSpectatorLeftMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameSpectatorLeftMessage) */ { public: - inline GameSpectatorLeftMessage() : GameSpectatorLeftMessage(nullptr) {}; - virtual ~GameSpectatorLeftMessage(); + inline GameSpectatorLeftMessage() : GameSpectatorLeftMessage(nullptr) {} + ~GameSpectatorLeftMessage() override; + explicit constexpr GameSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameSpectatorLeftMessage(const GameSpectatorLeftMessage& from); GameSpectatorLeftMessage(GameSpectatorLeftMessage&& from) noexcept @@ -7676,8 +7826,13 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : return *this; } inline GameSpectatorLeftMessage& operator=(GameSpectatorLeftMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -7691,9 +7846,9 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameSpectatorLeftMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameSpectatorLeftMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameSpectatorLeftMessage* internal_default_instance() { return reinterpret_cast( &_GameSpectatorLeftMessage_default_instance_); @@ -7706,7 +7861,12 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : } inline void Swap(GameSpectatorLeftMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7714,21 +7874,16 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameSpectatorLeftMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameSpectatorLeftMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameSpectatorLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameSpectatorLeftMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameSpectatorLeftMessage& from); void MergeFrom(const GameSpectatorLeftMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -7736,22 +7891,24 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameSpectatorLeftMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameSpectatorLeftMessage"; } protected: - explicit GameSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameSpectatorLeftMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -7774,11 +7931,11 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -7787,11 +7944,11 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; @@ -7819,18 +7976,19 @@ class GameSpectatorLeftMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int gamespectatorleftreason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameAdminChangedMessage PROTOBUF_FINAL : +class GameAdminChangedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameAdminChangedMessage) */ { public: - inline GameAdminChangedMessage() : GameAdminChangedMessage(nullptr) {}; - virtual ~GameAdminChangedMessage(); + inline GameAdminChangedMessage() : GameAdminChangedMessage(nullptr) {} + ~GameAdminChangedMessage() override; + explicit constexpr GameAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameAdminChangedMessage(const GameAdminChangedMessage& from); GameAdminChangedMessage(GameAdminChangedMessage&& from) noexcept @@ -7843,8 +8001,13 @@ class GameAdminChangedMessage PROTOBUF_FINAL : return *this; } inline GameAdminChangedMessage& operator=(GameAdminChangedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -7858,9 +8021,9 @@ class GameAdminChangedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameAdminChangedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameAdminChangedMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameAdminChangedMessage* internal_default_instance() { return reinterpret_cast( &_GameAdminChangedMessage_default_instance_); @@ -7873,7 +8036,12 @@ class GameAdminChangedMessage PROTOBUF_FINAL : } inline void Swap(GameAdminChangedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -7881,21 +8049,16 @@ class GameAdminChangedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameAdminChangedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameAdminChangedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameAdminChangedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameAdminChangedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameAdminChangedMessage& from); void MergeFrom(const GameAdminChangedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -7903,22 +8066,24 @@ class GameAdminChangedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameAdminChangedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameAdminChangedMessage"; } protected: - explicit GameAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameAdminChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -7940,11 +8105,11 @@ class GameAdminChangedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 newAdminPlayerId = 2; @@ -7953,11 +8118,11 @@ class GameAdminChangedMessage PROTOBUF_FINAL : bool _internal_has_newadminplayerid() const; public: void clear_newadminplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 newadminplayerid() const; - void set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t newadminplayerid() const; + void set_newadminplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_newadminplayerid() const; - void _internal_set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_newadminplayerid() const; + void _internal_set_newadminplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) @@ -7972,17 +8137,18 @@ class GameAdminChangedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 newadminplayerid_; + uint32_t gameid_; + uint32_t newadminplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class RemovedFromGameMessage PROTOBUF_FINAL : +class RemovedFromGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:RemovedFromGameMessage) */ { public: - inline RemovedFromGameMessage() : RemovedFromGameMessage(nullptr) {}; - virtual ~RemovedFromGameMessage(); + inline RemovedFromGameMessage() : RemovedFromGameMessage(nullptr) {} + ~RemovedFromGameMessage() override; + explicit constexpr RemovedFromGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RemovedFromGameMessage(const RemovedFromGameMessage& from); RemovedFromGameMessage(RemovedFromGameMessage&& from) noexcept @@ -7995,8 +8161,13 @@ class RemovedFromGameMessage PROTOBUF_FINAL : return *this; } inline RemovedFromGameMessage& operator=(RemovedFromGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -8010,9 +8181,9 @@ class RemovedFromGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const RemovedFromGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const RemovedFromGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const RemovedFromGameMessage* internal_default_instance() { return reinterpret_cast( &_RemovedFromGameMessage_default_instance_); @@ -8025,7 +8196,12 @@ class RemovedFromGameMessage PROTOBUF_FINAL : } inline void Swap(RemovedFromGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8033,21 +8209,16 @@ class RemovedFromGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(RemovedFromGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline RemovedFromGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - RemovedFromGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + RemovedFromGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const RemovedFromGameMessage& from); void MergeFrom(const RemovedFromGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -8055,22 +8226,24 @@ class RemovedFromGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(RemovedFromGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RemovedFromGameMessage"; } protected: - explicit RemovedFromGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit RemovedFromGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -8111,7 +8284,7 @@ class RemovedFromGameMessage PROTOBUF_FINAL : "Incorrect type passed to function RemovedFromGameReason_Name."); return RemovedFromGameMessage_RemovedFromGameReason_Name(enum_t_value); } - static inline bool RemovedFromGameReason_Parse(const std::string& name, + static inline bool RemovedFromGameReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RemovedFromGameReason* value) { return RemovedFromGameMessage_RemovedFromGameReason_Parse(name, value); } @@ -8128,11 +8301,11 @@ class RemovedFromGameMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; @@ -8160,17 +8333,18 @@ class RemovedFromGameMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; int removedfromgamereason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class KickPlayerRequestMessage PROTOBUF_FINAL : +class KickPlayerRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:KickPlayerRequestMessage) */ { public: - inline KickPlayerRequestMessage() : KickPlayerRequestMessage(nullptr) {}; - virtual ~KickPlayerRequestMessage(); + inline KickPlayerRequestMessage() : KickPlayerRequestMessage(nullptr) {} + ~KickPlayerRequestMessage() override; + explicit constexpr KickPlayerRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); KickPlayerRequestMessage(const KickPlayerRequestMessage& from); KickPlayerRequestMessage(KickPlayerRequestMessage&& from) noexcept @@ -8183,8 +8357,13 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : return *this; } inline KickPlayerRequestMessage& operator=(KickPlayerRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -8198,9 +8377,9 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const KickPlayerRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const KickPlayerRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const KickPlayerRequestMessage* internal_default_instance() { return reinterpret_cast( &_KickPlayerRequestMessage_default_instance_); @@ -8213,7 +8392,12 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : } inline void Swap(KickPlayerRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8221,21 +8405,16 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(KickPlayerRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline KickPlayerRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - KickPlayerRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + KickPlayerRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const KickPlayerRequestMessage& from); void MergeFrom(const KickPlayerRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -8243,22 +8422,24 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(KickPlayerRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "KickPlayerRequestMessage"; } protected: - explicit KickPlayerRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit KickPlayerRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -8280,11 +8461,11 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -8293,11 +8474,11 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) @@ -8312,17 +8493,18 @@ class KickPlayerRequestMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class LeaveGameRequestMessage PROTOBUF_FINAL : +class LeaveGameRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:LeaveGameRequestMessage) */ { public: - inline LeaveGameRequestMessage() : LeaveGameRequestMessage(nullptr) {}; - virtual ~LeaveGameRequestMessage(); + inline LeaveGameRequestMessage() : LeaveGameRequestMessage(nullptr) {} + ~LeaveGameRequestMessage() override; + explicit constexpr LeaveGameRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); LeaveGameRequestMessage(const LeaveGameRequestMessage& from); LeaveGameRequestMessage(LeaveGameRequestMessage&& from) noexcept @@ -8335,8 +8517,13 @@ class LeaveGameRequestMessage PROTOBUF_FINAL : return *this; } inline LeaveGameRequestMessage& operator=(LeaveGameRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -8350,9 +8537,9 @@ class LeaveGameRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const LeaveGameRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const LeaveGameRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const LeaveGameRequestMessage* internal_default_instance() { return reinterpret_cast( &_LeaveGameRequestMessage_default_instance_); @@ -8365,7 +8552,12 @@ class LeaveGameRequestMessage PROTOBUF_FINAL : } inline void Swap(LeaveGameRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8373,21 +8565,16 @@ class LeaveGameRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(LeaveGameRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline LeaveGameRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - LeaveGameRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + LeaveGameRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const LeaveGameRequestMessage& from); void MergeFrom(const LeaveGameRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -8395,22 +8582,24 @@ class LeaveGameRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(LeaveGameRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "LeaveGameRequestMessage"; } protected: - explicit LeaveGameRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit LeaveGameRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -8431,11 +8620,11 @@ class LeaveGameRequestMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) @@ -8447,16 +8636,17 @@ class LeaveGameRequestMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class InvitePlayerToGameMessage PROTOBUF_FINAL : +class InvitePlayerToGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:InvitePlayerToGameMessage) */ { public: - inline InvitePlayerToGameMessage() : InvitePlayerToGameMessage(nullptr) {}; - virtual ~InvitePlayerToGameMessage(); + inline InvitePlayerToGameMessage() : InvitePlayerToGameMessage(nullptr) {} + ~InvitePlayerToGameMessage() override; + explicit constexpr InvitePlayerToGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); InvitePlayerToGameMessage(const InvitePlayerToGameMessage& from); InvitePlayerToGameMessage(InvitePlayerToGameMessage&& from) noexcept @@ -8469,8 +8659,13 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : return *this; } inline InvitePlayerToGameMessage& operator=(InvitePlayerToGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -8484,9 +8679,9 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const InvitePlayerToGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const InvitePlayerToGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const InvitePlayerToGameMessage* internal_default_instance() { return reinterpret_cast( &_InvitePlayerToGameMessage_default_instance_); @@ -8499,7 +8694,12 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : } inline void Swap(InvitePlayerToGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8507,21 +8707,16 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(InvitePlayerToGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline InvitePlayerToGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - InvitePlayerToGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + InvitePlayerToGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const InvitePlayerToGameMessage& from); void MergeFrom(const InvitePlayerToGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -8529,22 +8724,24 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(InvitePlayerToGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "InvitePlayerToGameMessage"; } protected: - explicit InvitePlayerToGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit InvitePlayerToGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -8566,11 +8763,11 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -8579,11 +8776,11 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:InvitePlayerToGameMessage) @@ -8598,17 +8795,18 @@ class InvitePlayerToGameMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class InviteNotifyMessage PROTOBUF_FINAL : +class InviteNotifyMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:InviteNotifyMessage) */ { public: - inline InviteNotifyMessage() : InviteNotifyMessage(nullptr) {}; - virtual ~InviteNotifyMessage(); + inline InviteNotifyMessage() : InviteNotifyMessage(nullptr) {} + ~InviteNotifyMessage() override; + explicit constexpr InviteNotifyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); InviteNotifyMessage(const InviteNotifyMessage& from); InviteNotifyMessage(InviteNotifyMessage&& from) noexcept @@ -8621,8 +8819,13 @@ class InviteNotifyMessage PROTOBUF_FINAL : return *this; } inline InviteNotifyMessage& operator=(InviteNotifyMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -8636,9 +8839,9 @@ class InviteNotifyMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const InviteNotifyMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const InviteNotifyMessage& default_instance() { + return *internal_default_instance(); + } static inline const InviteNotifyMessage* internal_default_instance() { return reinterpret_cast( &_InviteNotifyMessage_default_instance_); @@ -8651,7 +8854,12 @@ class InviteNotifyMessage PROTOBUF_FINAL : } inline void Swap(InviteNotifyMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8659,21 +8867,16 @@ class InviteNotifyMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(InviteNotifyMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline InviteNotifyMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - InviteNotifyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + InviteNotifyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const InviteNotifyMessage& from); void MergeFrom(const InviteNotifyMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -8681,22 +8884,24 @@ class InviteNotifyMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(InviteNotifyMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "InviteNotifyMessage"; } protected: - explicit InviteNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit InviteNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -8719,11 +8924,11 @@ class InviteNotifyMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerIdWho = 2; @@ -8732,11 +8937,11 @@ class InviteNotifyMessage PROTOBUF_FINAL : bool _internal_has_playeridwho() const; public: void clear_playeridwho(); - ::PROTOBUF_NAMESPACE_ID::uint32 playeridwho() const; - void set_playeridwho(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playeridwho() const; + void set_playeridwho(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playeridwho() const; - void _internal_set_playeridwho(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playeridwho() const; + void _internal_set_playeridwho(uint32_t value); public: // required uint32 playerIdByWhom = 3; @@ -8745,11 +8950,11 @@ class InviteNotifyMessage PROTOBUF_FINAL : bool _internal_has_playeridbywhom() const; public: void clear_playeridbywhom(); - ::PROTOBUF_NAMESPACE_ID::uint32 playeridbywhom() const; - void set_playeridbywhom(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playeridbywhom() const; + void set_playeridbywhom(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playeridbywhom() const; - void _internal_set_playeridbywhom(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playeridbywhom() const; + void _internal_set_playeridbywhom(uint32_t value); public: // @@protoc_insertion_point(class_scope:InviteNotifyMessage) @@ -8764,18 +8969,19 @@ class InviteNotifyMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playeridwho_; - ::PROTOBUF_NAMESPACE_ID::uint32 playeridbywhom_; + uint32_t gameid_; + uint32_t playeridwho_; + uint32_t playeridbywhom_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class RejectGameInvitationMessage PROTOBUF_FINAL : +class RejectGameInvitationMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:RejectGameInvitationMessage) */ { public: - inline RejectGameInvitationMessage() : RejectGameInvitationMessage(nullptr) {}; - virtual ~RejectGameInvitationMessage(); + inline RejectGameInvitationMessage() : RejectGameInvitationMessage(nullptr) {} + ~RejectGameInvitationMessage() override; + explicit constexpr RejectGameInvitationMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RejectGameInvitationMessage(const RejectGameInvitationMessage& from); RejectGameInvitationMessage(RejectGameInvitationMessage&& from) noexcept @@ -8788,8 +8994,13 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : return *this; } inline RejectGameInvitationMessage& operator=(RejectGameInvitationMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -8803,9 +9014,9 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const RejectGameInvitationMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const RejectGameInvitationMessage& default_instance() { + return *internal_default_instance(); + } static inline const RejectGameInvitationMessage* internal_default_instance() { return reinterpret_cast( &_RejectGameInvitationMessage_default_instance_); @@ -8818,7 +9029,12 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : } inline void Swap(RejectGameInvitationMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -8826,21 +9042,16 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(RejectGameInvitationMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline RejectGameInvitationMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - RejectGameInvitationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + RejectGameInvitationMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const RejectGameInvitationMessage& from); void MergeFrom(const RejectGameInvitationMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -8848,22 +9059,24 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(RejectGameInvitationMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RejectGameInvitationMessage"; } protected: - explicit RejectGameInvitationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit RejectGameInvitationMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -8894,7 +9107,7 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : "Incorrect type passed to function RejectGameInvReason_Name."); return RejectGameInvitationMessage_RejectGameInvReason_Name(enum_t_value); } - static inline bool RejectGameInvReason_Parse(const std::string& name, + static inline bool RejectGameInvReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RejectGameInvReason* value) { return RejectGameInvitationMessage_RejectGameInvReason_Parse(name, value); } @@ -8911,11 +9124,11 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; @@ -8943,17 +9156,18 @@ class RejectGameInvitationMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; int myrejectreason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class RejectInvNotifyMessage PROTOBUF_FINAL : +class RejectInvNotifyMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:RejectInvNotifyMessage) */ { public: - inline RejectInvNotifyMessage() : RejectInvNotifyMessage(nullptr) {}; - virtual ~RejectInvNotifyMessage(); + inline RejectInvNotifyMessage() : RejectInvNotifyMessage(nullptr) {} + ~RejectInvNotifyMessage() override; + explicit constexpr RejectInvNotifyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); RejectInvNotifyMessage(const RejectInvNotifyMessage& from); RejectInvNotifyMessage(RejectInvNotifyMessage&& from) noexcept @@ -8966,8 +9180,13 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : return *this; } inline RejectInvNotifyMessage& operator=(RejectInvNotifyMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -8981,9 +9200,9 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const RejectInvNotifyMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const RejectInvNotifyMessage& default_instance() { + return *internal_default_instance(); + } static inline const RejectInvNotifyMessage* internal_default_instance() { return reinterpret_cast( &_RejectInvNotifyMessage_default_instance_); @@ -8996,7 +9215,12 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : } inline void Swap(RejectInvNotifyMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9004,21 +9228,16 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(RejectInvNotifyMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline RejectInvNotifyMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - RejectInvNotifyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + RejectInvNotifyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const RejectInvNotifyMessage& from); void MergeFrom(const RejectInvNotifyMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -9026,22 +9245,24 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(RejectInvNotifyMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "RejectInvNotifyMessage"; } protected: - explicit RejectInvNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit RejectInvNotifyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -9064,11 +9285,11 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -9077,11 +9298,11 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; @@ -9109,18 +9330,19 @@ class RejectInvNotifyMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int playerrejectreason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class StartEventMessage PROTOBUF_FINAL : +class StartEventMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:StartEventMessage) */ { public: - inline StartEventMessage() : StartEventMessage(nullptr) {}; - virtual ~StartEventMessage(); + inline StartEventMessage() : StartEventMessage(nullptr) {} + ~StartEventMessage() override; + explicit constexpr StartEventMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StartEventMessage(const StartEventMessage& from); StartEventMessage(StartEventMessage&& from) noexcept @@ -9133,8 +9355,13 @@ class StartEventMessage PROTOBUF_FINAL : return *this; } inline StartEventMessage& operator=(StartEventMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -9148,9 +9375,9 @@ class StartEventMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const StartEventMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const StartEventMessage& default_instance() { + return *internal_default_instance(); + } static inline const StartEventMessage* internal_default_instance() { return reinterpret_cast( &_StartEventMessage_default_instance_); @@ -9163,7 +9390,12 @@ class StartEventMessage PROTOBUF_FINAL : } inline void Swap(StartEventMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9171,21 +9403,16 @@ class StartEventMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(StartEventMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline StartEventMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - StartEventMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + StartEventMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const StartEventMessage& from); void MergeFrom(const StartEventMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -9193,22 +9420,24 @@ class StartEventMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(StartEventMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "StartEventMessage"; } protected: - explicit StartEventMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit StartEventMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -9223,6 +9452,8 @@ class StartEventMessage PROTOBUF_FINAL : StartEventMessage_StartEventType_startEvent; static constexpr StartEventType rejoinEvent = StartEventMessage_StartEventType_rejoinEvent; + static constexpr StartEventType reentryEvent = + StartEventMessage_StartEventType_reentryEvent; static inline bool StartEventType_IsValid(int value) { return StartEventMessage_StartEventType_IsValid(value); } @@ -9239,7 +9470,7 @@ class StartEventMessage PROTOBUF_FINAL : "Incorrect type passed to function StartEventType_Name."); return StartEventMessage_StartEventType_Name(enum_t_value); } - static inline bool StartEventType_Parse(const std::string& name, + static inline bool StartEventType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StartEventType* value) { return StartEventMessage_StartEventType_Parse(name, value); } @@ -9257,11 +9488,11 @@ class StartEventMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required .StartEventMessage.StartEventType startEventType = 2; @@ -9302,18 +9533,19 @@ class StartEventMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; int starteventtype_; bool fillwithcomputerplayers_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class StartEventAckMessage PROTOBUF_FINAL : +class StartEventAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:StartEventAckMessage) */ { public: - inline StartEventAckMessage() : StartEventAckMessage(nullptr) {}; - virtual ~StartEventAckMessage(); + inline StartEventAckMessage() : StartEventAckMessage(nullptr) {} + ~StartEventAckMessage() override; + explicit constexpr StartEventAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StartEventAckMessage(const StartEventAckMessage& from); StartEventAckMessage(StartEventAckMessage&& from) noexcept @@ -9326,8 +9558,13 @@ class StartEventAckMessage PROTOBUF_FINAL : return *this; } inline StartEventAckMessage& operator=(StartEventAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -9341,9 +9578,9 @@ class StartEventAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const StartEventAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const StartEventAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const StartEventAckMessage* internal_default_instance() { return reinterpret_cast( &_StartEventAckMessage_default_instance_); @@ -9356,7 +9593,12 @@ class StartEventAckMessage PROTOBUF_FINAL : } inline void Swap(StartEventAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9364,21 +9606,16 @@ class StartEventAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(StartEventAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline StartEventAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - StartEventAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + StartEventAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const StartEventAckMessage& from); void MergeFrom(const StartEventAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -9386,22 +9623,24 @@ class StartEventAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(StartEventAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "StartEventAckMessage"; } protected: - explicit StartEventAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit StartEventAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -9422,11 +9661,11 @@ class StartEventAckMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // @@protoc_insertion_point(class_scope:StartEventAckMessage) @@ -9438,16 +9677,17 @@ class StartEventAckMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameStartInitialMessage PROTOBUF_FINAL : +class GameStartInitialMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameStartInitialMessage) */ { public: - inline GameStartInitialMessage() : GameStartInitialMessage(nullptr) {}; - virtual ~GameStartInitialMessage(); + inline GameStartInitialMessage() : GameStartInitialMessage(nullptr) {} + ~GameStartInitialMessage() override; + explicit constexpr GameStartInitialMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameStartInitialMessage(const GameStartInitialMessage& from); GameStartInitialMessage(GameStartInitialMessage&& from) noexcept @@ -9460,8 +9700,13 @@ class GameStartInitialMessage PROTOBUF_FINAL : return *this; } inline GameStartInitialMessage& operator=(GameStartInitialMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -9475,9 +9720,9 @@ class GameStartInitialMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameStartInitialMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameStartInitialMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameStartInitialMessage* internal_default_instance() { return reinterpret_cast( &_GameStartInitialMessage_default_instance_); @@ -9490,7 +9735,12 @@ class GameStartInitialMessage PROTOBUF_FINAL : } inline void Swap(GameStartInitialMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9498,21 +9748,16 @@ class GameStartInitialMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameStartInitialMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameStartInitialMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameStartInitialMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameStartInitialMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameStartInitialMessage& from); void MergeFrom(const GameStartInitialMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -9520,22 +9765,24 @@ class GameStartInitialMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameStartInitialMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameStartInitialMessage"; } protected: - explicit GameStartInitialMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameStartInitialMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -9559,19 +9806,19 @@ class GameStartInitialMessage PROTOBUF_FINAL : public: void clear_playerseats(); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerseats(int index) const; - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t _internal_playerseats(int index) const; + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& _internal_playerseats() const; - void _internal_add_playerseats(::PROTOBUF_NAMESPACE_ID::uint32 value); - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + void _internal_add_playerseats(uint32_t value); + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* _internal_mutable_playerseats(); public: - ::PROTOBUF_NAMESPACE_ID::uint32 playerseats(int index) const; - void set_playerseats(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value); - void add_playerseats(::PROTOBUF_NAMESPACE_ID::uint32 value); - const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& + uint32_t playerseats(int index) const; + void set_playerseats(int index, uint32_t value); + void add_playerseats(uint32_t value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& playerseats() const; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* mutable_playerseats(); // required uint32 gameId = 1; @@ -9580,11 +9827,11 @@ class GameStartInitialMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 startDealerPlayerId = 2; @@ -9593,11 +9840,11 @@ class GameStartInitialMessage PROTOBUF_FINAL : bool _internal_has_startdealerplayerid() const; public: void clear_startdealerplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 startdealerplayerid() const; - void set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t startdealerplayerid() const; + void set_startdealerplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_startdealerplayerid() const; - void _internal_set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_startdealerplayerid() const; + void _internal_set_startdealerplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameStartInitialMessage) @@ -9612,19 +9859,20 @@ class GameStartInitialMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 > playerseats_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > playerseats_; mutable std::atomic _playerseats_cached_byte_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 startdealerplayerid_; + uint32_t gameid_; + uint32_t startdealerplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : +class GameStartRejoinMessage_RejoinPlayerData final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameStartRejoinMessage.RejoinPlayerData) */ { public: - inline GameStartRejoinMessage_RejoinPlayerData() : GameStartRejoinMessage_RejoinPlayerData(nullptr) {}; - virtual ~GameStartRejoinMessage_RejoinPlayerData(); + inline GameStartRejoinMessage_RejoinPlayerData() : GameStartRejoinMessage_RejoinPlayerData(nullptr) {} + ~GameStartRejoinMessage_RejoinPlayerData() override; + explicit constexpr GameStartRejoinMessage_RejoinPlayerData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameStartRejoinMessage_RejoinPlayerData(const GameStartRejoinMessage_RejoinPlayerData& from); GameStartRejoinMessage_RejoinPlayerData(GameStartRejoinMessage_RejoinPlayerData&& from) noexcept @@ -9637,8 +9885,13 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : return *this; } inline GameStartRejoinMessage_RejoinPlayerData& operator=(GameStartRejoinMessage_RejoinPlayerData&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -9652,9 +9905,9 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameStartRejoinMessage_RejoinPlayerData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameStartRejoinMessage_RejoinPlayerData& default_instance() { + return *internal_default_instance(); + } static inline const GameStartRejoinMessage_RejoinPlayerData* internal_default_instance() { return reinterpret_cast( &_GameStartRejoinMessage_RejoinPlayerData_default_instance_); @@ -9667,7 +9920,12 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : } inline void Swap(GameStartRejoinMessage_RejoinPlayerData* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9675,21 +9933,16 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : } void UnsafeArenaSwap(GameStartRejoinMessage_RejoinPlayerData* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameStartRejoinMessage_RejoinPlayerData* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameStartRejoinMessage_RejoinPlayerData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameStartRejoinMessage_RejoinPlayerData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameStartRejoinMessage_RejoinPlayerData& from); void MergeFrom(const GameStartRejoinMessage_RejoinPlayerData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -9697,22 +9950,24 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameStartRejoinMessage_RejoinPlayerData* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameStartRejoinMessage.RejoinPlayerData"; } protected: - explicit GameStartRejoinMessage_RejoinPlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameStartRejoinMessage_RejoinPlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -9734,11 +9989,11 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required uint32 playerMoney = 2; @@ -9747,11 +10002,11 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : bool _internal_has_playermoney() const; public: void clear_playermoney(); - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney() const; - void set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playermoney() const; + void set_playermoney(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playermoney() const; - void _internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playermoney() const; + void _internal_set_playermoney(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameStartRejoinMessage.RejoinPlayerData) @@ -9766,17 +10021,18 @@ class GameStartRejoinMessage_RejoinPlayerData PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney_; + uint32_t playerid_; + uint32_t playermoney_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class GameStartRejoinMessage PROTOBUF_FINAL : +class GameStartRejoinMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameStartRejoinMessage) */ { public: - inline GameStartRejoinMessage() : GameStartRejoinMessage(nullptr) {}; - virtual ~GameStartRejoinMessage(); + inline GameStartRejoinMessage() : GameStartRejoinMessage(nullptr) {} + ~GameStartRejoinMessage() override; + explicit constexpr GameStartRejoinMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); GameStartRejoinMessage(const GameStartRejoinMessage& from); GameStartRejoinMessage(GameStartRejoinMessage&& from) noexcept @@ -9789,8 +10045,13 @@ class GameStartRejoinMessage PROTOBUF_FINAL : return *this; } inline GameStartRejoinMessage& operator=(GameStartRejoinMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -9804,9 +10065,9 @@ class GameStartRejoinMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const GameStartRejoinMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const GameStartRejoinMessage& default_instance() { + return *internal_default_instance(); + } static inline const GameStartRejoinMessage* internal_default_instance() { return reinterpret_cast( &_GameStartRejoinMessage_default_instance_); @@ -9819,7 +10080,12 @@ class GameStartRejoinMessage PROTOBUF_FINAL : } inline void Swap(GameStartRejoinMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -9827,21 +10093,16 @@ class GameStartRejoinMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(GameStartRejoinMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline GameStartRejoinMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - GameStartRejoinMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + GameStartRejoinMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const GameStartRejoinMessage& from); void MergeFrom(const GameStartRejoinMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -9849,22 +10110,24 @@ class GameStartRejoinMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GameStartRejoinMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "GameStartRejoinMessage"; } protected: - explicit GameStartRejoinMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit GameStartRejoinMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -9908,11 +10171,11 @@ class GameStartRejoinMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 startDealerPlayerId = 2; @@ -9921,11 +10184,11 @@ class GameStartRejoinMessage PROTOBUF_FINAL : bool _internal_has_startdealerplayerid() const; public: void clear_startdealerplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 startdealerplayerid() const; - void set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t startdealerplayerid() const; + void set_startdealerplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_startdealerplayerid() const; - void _internal_set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_startdealerplayerid() const; + void _internal_set_startdealerplayerid(uint32_t value); public: // required uint32 handNum = 3; @@ -9934,11 +10197,11 @@ class GameStartRejoinMessage PROTOBUF_FINAL : bool _internal_has_handnum() const; public: void clear_handnum(); - ::PROTOBUF_NAMESPACE_ID::uint32 handnum() const; - void set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t handnum() const; + void set_handnum(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_handnum() const; - void _internal_set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_handnum() const; + void _internal_set_handnum(uint32_t value); public: // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) @@ -9954,32 +10217,38 @@ class GameStartRejoinMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData > rejoinplayerdata_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 startdealerplayerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 handnum_; + uint32_t gameid_; + uint32_t startdealerplayerid_; + uint32_t handnum_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class HandStartMessage_PlainCards PROTOBUF_FINAL : - public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:HandStartMessage.PlainCards) */ { +class GameStartReentryMessage_ReentryPlayerData final : + public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameStartReentryMessage.ReentryPlayerData) */ { public: - inline HandStartMessage_PlainCards() : HandStartMessage_PlainCards(nullptr) {}; - virtual ~HandStartMessage_PlainCards(); + inline GameStartReentryMessage_ReentryPlayerData() : GameStartReentryMessage_ReentryPlayerData(nullptr) {} + ~GameStartReentryMessage_ReentryPlayerData() override; + explicit constexpr GameStartReentryMessage_ReentryPlayerData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - HandStartMessage_PlainCards(const HandStartMessage_PlainCards& from); - HandStartMessage_PlainCards(HandStartMessage_PlainCards&& from) noexcept - : HandStartMessage_PlainCards() { + GameStartReentryMessage_ReentryPlayerData(const GameStartReentryMessage_ReentryPlayerData& from); + GameStartReentryMessage_ReentryPlayerData(GameStartReentryMessage_ReentryPlayerData&& from) noexcept + : GameStartReentryMessage_ReentryPlayerData() { *this = ::std::move(from); } - inline HandStartMessage_PlainCards& operator=(const HandStartMessage_PlainCards& from) { + inline GameStartReentryMessage_ReentryPlayerData& operator=(const GameStartReentryMessage_ReentryPlayerData& from) { CopyFrom(from); return *this; } - inline HandStartMessage_PlainCards& operator=(HandStartMessage_PlainCards&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + inline GameStartReentryMessage_ReentryPlayerData& operator=(GameStartReentryMessage_ReentryPlayerData&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -9993,22 +10262,384 @@ class HandStartMessage_PlainCards PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const HandStartMessage_PlainCards& default_instance(); + static const GameStartReentryMessage_ReentryPlayerData& default_instance() { + return *internal_default_instance(); + } + static inline const GameStartReentryMessage_ReentryPlayerData* internal_default_instance() { + return reinterpret_cast( + &_GameStartReentryMessage_ReentryPlayerData_default_instance_); + } + static constexpr int kIndexInFileMessages = + 49; - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + friend void swap(GameStartReentryMessage_ReentryPlayerData& a, GameStartReentryMessage_ReentryPlayerData& b) { + a.Swap(&b); + } + inline void Swap(GameStartReentryMessage_ReentryPlayerData* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GameStartReentryMessage_ReentryPlayerData* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GameStartReentryMessage_ReentryPlayerData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; + void CopyFrom(const GameStartReentryMessage_ReentryPlayerData& from); + void MergeFrom(const GameStartReentryMessage_ReentryPlayerData& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + void InternalSwap(GameStartReentryMessage_ReentryPlayerData* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "GameStartReentryMessage.ReentryPlayerData"; + } + protected: + explicit GameStartReentryMessage_ReentryPlayerData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + std::string GetTypeName() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kPlayerIdFieldNumber = 1, + kPlayerMoneyFieldNumber = 2, + }; + // required uint32 playerId = 1; + bool has_playerid() const; + private: + bool _internal_has_playerid() const; + public: + void clear_playerid(); + uint32_t playerid() const; + void set_playerid(uint32_t value); + private: + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); + public: + + // required uint32 playerMoney = 2; + bool has_playermoney() const; + private: + bool _internal_has_playermoney() const; + public: + void clear_playermoney(); + uint32_t playermoney() const; + void set_playermoney(uint32_t value); + private: + uint32_t _internal_playermoney() const; + void _internal_set_playermoney(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:GameStartReentryMessage.ReentryPlayerData) + private: + class _Internal; + + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t playerid_; + uint32_t playermoney_; + friend struct ::TableStruct_pokerth_2eproto; +}; +// ------------------------------------------------------------------- + +class GameStartReentryMessage final : + public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:GameStartReentryMessage) */ { + public: + inline GameStartReentryMessage() : GameStartReentryMessage(nullptr) {} + ~GameStartReentryMessage() override; + explicit constexpr GameStartReentryMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + GameStartReentryMessage(const GameStartReentryMessage& from); + GameStartReentryMessage(GameStartReentryMessage&& from) noexcept + : GameStartReentryMessage() { + *this = ::std::move(from); + } + + inline GameStartReentryMessage& operator=(const GameStartReentryMessage& from) { + CopyFrom(from); + return *this; + } + inline GameStartReentryMessage& operator=(GameStartReentryMessage&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const std::string& unknown_fields() const { + return _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString); + } + inline std::string* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const GameStartReentryMessage& default_instance() { + return *internal_default_instance(); + } + static inline const GameStartReentryMessage* internal_default_instance() { + return reinterpret_cast( + &_GameStartReentryMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = + 50; + + friend void swap(GameStartReentryMessage& a, GameStartReentryMessage& b) { + a.Swap(&b); + } + inline void Swap(GameStartReentryMessage* other) { + if (other == this) return; + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP + InternalSwap(other); + } else { + ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(GameStartReentryMessage* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + GameStartReentryMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; + void CopyFrom(const GameStartReentryMessage& from); + void MergeFrom(const GameStartReentryMessage& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const; + void InternalSwap(GameStartReentryMessage* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "GameStartReentryMessage"; + } + protected: + explicit GameStartReentryMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); + private: + static void ArenaDtor(void* object); + inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); + public: + + std::string GetTypeName() const final; + + // nested types ---------------------------------------------------- + + typedef GameStartReentryMessage_ReentryPlayerData ReentryPlayerData; + + // accessors ------------------------------------------------------- + + enum : int { + kReentryPlayerDataFieldNumber = 4, + kGameIdFieldNumber = 1, + kStartDealerPlayerIdFieldNumber = 2, + kHandNumFieldNumber = 3, + }; + // repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + int reentryplayerdata_size() const; + private: + int _internal_reentryplayerdata_size() const; + public: + void clear_reentryplayerdata(); + ::GameStartReentryMessage_ReentryPlayerData* mutable_reentryplayerdata(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartReentryMessage_ReentryPlayerData >* + mutable_reentryplayerdata(); + private: + const ::GameStartReentryMessage_ReentryPlayerData& _internal_reentryplayerdata(int index) const; + ::GameStartReentryMessage_ReentryPlayerData* _internal_add_reentryplayerdata(); + public: + const ::GameStartReentryMessage_ReentryPlayerData& reentryplayerdata(int index) const; + ::GameStartReentryMessage_ReentryPlayerData* add_reentryplayerdata(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartReentryMessage_ReentryPlayerData >& + reentryplayerdata() const; + + // required uint32 gameId = 1; + bool has_gameid() const; + private: + bool _internal_has_gameid() const; + public: + void clear_gameid(); + uint32_t gameid() const; + void set_gameid(uint32_t value); + private: + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); + public: + + // required uint32 startDealerPlayerId = 2; + bool has_startdealerplayerid() const; + private: + bool _internal_has_startdealerplayerid() const; + public: + void clear_startdealerplayerid(); + uint32_t startdealerplayerid() const; + void set_startdealerplayerid(uint32_t value); + private: + uint32_t _internal_startdealerplayerid() const; + void _internal_set_startdealerplayerid(uint32_t value); + public: + + // required uint32 handNum = 3; + bool has_handnum() const; + private: + bool _internal_has_handnum() const; + public: + void clear_handnum(); + uint32_t handnum() const; + void set_handnum(uint32_t value); + private: + uint32_t _internal_handnum() const; + void _internal_set_handnum(uint32_t value); + public: + + // @@protoc_insertion_point(class_scope:GameStartReentryMessage) + private: + class _Internal; + + // helper for ByteSizeLong() + size_t RequiredFieldsByteSizeFallback() const; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartReentryMessage_ReentryPlayerData > reentryplayerdata_; + uint32_t gameid_; + uint32_t startdealerplayerid_; + uint32_t handnum_; + friend struct ::TableStruct_pokerth_2eproto; +}; +// ------------------------------------------------------------------- + +class HandStartMessage_PlainCards final : + public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:HandStartMessage.PlainCards) */ { + public: + inline HandStartMessage_PlainCards() : HandStartMessage_PlainCards(nullptr) {} + ~HandStartMessage_PlainCards() override; + explicit constexpr HandStartMessage_PlainCards(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + HandStartMessage_PlainCards(const HandStartMessage_PlainCards& from); + HandStartMessage_PlainCards(HandStartMessage_PlainCards&& from) noexcept + : HandStartMessage_PlainCards() { + *this = ::std::move(from); + } + + inline HandStartMessage_PlainCards& operator=(const HandStartMessage_PlainCards& from) { + CopyFrom(from); + return *this; + } + inline HandStartMessage_PlainCards& operator=(HandStartMessage_PlainCards&& from) noexcept { + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const std::string& unknown_fields() const { + return _internal_metadata_.unknown_fields(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString); + } + inline std::string* mutable_unknown_fields() { + return _internal_metadata_.mutable_unknown_fields(); + } + + static const HandStartMessage_PlainCards& default_instance() { + return *internal_default_instance(); + } static inline const HandStartMessage_PlainCards* internal_default_instance() { return reinterpret_cast( &_HandStartMessage_PlainCards_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 51; friend void swap(HandStartMessage_PlainCards& a, HandStartMessage_PlainCards& b) { a.Swap(&b); } inline void Swap(HandStartMessage_PlainCards* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10016,21 +10647,16 @@ class HandStartMessage_PlainCards PROTOBUF_FINAL : } void UnsafeArenaSwap(HandStartMessage_PlainCards* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline HandStartMessage_PlainCards* New() const final { - return CreateMaybeMessage(nullptr); - } - - HandStartMessage_PlainCards* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HandStartMessage_PlainCards* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const HandStartMessage_PlainCards& from); void MergeFrom(const HandStartMessage_PlainCards& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -10038,22 +10664,24 @@ class HandStartMessage_PlainCards PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(HandStartMessage_PlainCards* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "HandStartMessage.PlainCards"; } protected: - explicit HandStartMessage_PlainCards(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit HandStartMessage_PlainCards(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -10075,11 +10703,11 @@ class HandStartMessage_PlainCards PROTOBUF_FINAL : bool _internal_has_plaincard1() const; public: void clear_plaincard1(); - ::PROTOBUF_NAMESPACE_ID::uint32 plaincard1() const; - void set_plaincard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t plaincard1() const; + void set_plaincard1(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_plaincard1() const; - void _internal_set_plaincard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_plaincard1() const; + void _internal_set_plaincard1(uint32_t value); public: // required uint32 plainCard2 = 2; @@ -10088,11 +10716,11 @@ class HandStartMessage_PlainCards PROTOBUF_FINAL : bool _internal_has_plaincard2() const; public: void clear_plaincard2(); - ::PROTOBUF_NAMESPACE_ID::uint32 plaincard2() const; - void set_plaincard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t plaincard2() const; + void set_plaincard2(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_plaincard2() const; - void _internal_set_plaincard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_plaincard2() const; + void _internal_set_plaincard2(uint32_t value); public: // @@protoc_insertion_point(class_scope:HandStartMessage.PlainCards) @@ -10107,17 +10735,18 @@ class HandStartMessage_PlainCards PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 plaincard1_; - ::PROTOBUF_NAMESPACE_ID::uint32 plaincard2_; + uint32_t plaincard1_; + uint32_t plaincard2_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class HandStartMessage PROTOBUF_FINAL : +class HandStartMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:HandStartMessage) */ { public: - inline HandStartMessage() : HandStartMessage(nullptr) {}; - virtual ~HandStartMessage(); + inline HandStartMessage() : HandStartMessage(nullptr) {} + ~HandStartMessage() override; + explicit constexpr HandStartMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); HandStartMessage(const HandStartMessage& from); HandStartMessage(HandStartMessage&& from) noexcept @@ -10130,8 +10759,13 @@ class HandStartMessage PROTOBUF_FINAL : return *this; } inline HandStartMessage& operator=(HandStartMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -10145,22 +10779,27 @@ class HandStartMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const HandStartMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const HandStartMessage& default_instance() { + return *internal_default_instance(); + } static inline const HandStartMessage* internal_default_instance() { return reinterpret_cast( &_HandStartMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 52; friend void swap(HandStartMessage& a, HandStartMessage& b) { a.Swap(&b); } inline void Swap(HandStartMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10168,21 +10807,16 @@ class HandStartMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(HandStartMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline HandStartMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - HandStartMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + HandStartMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const HandStartMessage& from); void MergeFrom(const HandStartMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -10190,22 +10824,24 @@ class HandStartMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(HandStartMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "HandStartMessage"; } protected: - explicit HandStartMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit HandStartMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -10251,25 +10887,14 @@ class HandStartMessage PROTOBUF_FINAL : public: void clear_encryptedcards(); const std::string& encryptedcards() const; - void set_encryptedcards(const std::string& value); - void set_encryptedcards(std::string&& value); - void set_encryptedcards(const char* value); - void set_encryptedcards(const void* value, size_t size); + template + void set_encryptedcards(ArgT0&& arg0, ArgT... args); std::string* mutable_encryptedcards(); - std::string* release_encryptedcards(); + PROTOBUF_NODISCARD std::string* release_encryptedcards(); void set_allocated_encryptedcards(std::string* encryptedcards); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_encryptedcards(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_encryptedcards( - std::string* encryptedcards); private: const std::string& _internal_encryptedcards() const; - void _internal_set_encryptedcards(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_encryptedcards(const std::string& value); std::string* _internal_mutable_encryptedcards(); public: @@ -10280,7 +10905,7 @@ class HandStartMessage PROTOBUF_FINAL : public: void clear_plaincards(); const ::HandStartMessage_PlainCards& plaincards() const; - ::HandStartMessage_PlainCards* release_plaincards(); + PROTOBUF_NODISCARD ::HandStartMessage_PlainCards* release_plaincards(); ::HandStartMessage_PlainCards* mutable_plaincards(); void set_allocated_plaincards(::HandStartMessage_PlainCards* plaincards); private: @@ -10297,11 +10922,11 @@ class HandStartMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 smallBlind = 4; @@ -10310,11 +10935,11 @@ class HandStartMessage PROTOBUF_FINAL : bool _internal_has_smallblind() const; public: void clear_smallblind(); - ::PROTOBUF_NAMESPACE_ID::uint32 smallblind() const; - void set_smallblind(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t smallblind() const; + void set_smallblind(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_smallblind() const; - void _internal_set_smallblind(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_smallblind() const; + void _internal_set_smallblind(uint32_t value); public: // optional uint32 dealerPlayerId = 6; @@ -10323,11 +10948,11 @@ class HandStartMessage PROTOBUF_FINAL : bool _internal_has_dealerplayerid() const; public: void clear_dealerplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 dealerplayerid() const; - void set_dealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t dealerplayerid() const; + void set_dealerplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_dealerplayerid() const; - void _internal_set_dealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_dealerplayerid() const; + void _internal_set_dealerplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:HandStartMessage) @@ -10345,18 +10970,19 @@ class HandStartMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::RepeatedField seatstates_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encryptedcards_; ::HandStartMessage_PlainCards* plaincards_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 smallblind_; - ::PROTOBUF_NAMESPACE_ID::uint32 dealerplayerid_; + uint32_t gameid_; + uint32_t smallblind_; + uint32_t dealerplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class PlayersTurnMessage PROTOBUF_FINAL : +class PlayersTurnMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayersTurnMessage) */ { public: - inline PlayersTurnMessage() : PlayersTurnMessage(nullptr) {}; - virtual ~PlayersTurnMessage(); + inline PlayersTurnMessage() : PlayersTurnMessage(nullptr) {} + ~PlayersTurnMessage() override; + explicit constexpr PlayersTurnMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayersTurnMessage(const PlayersTurnMessage& from); PlayersTurnMessage(PlayersTurnMessage&& from) noexcept @@ -10369,8 +10995,13 @@ class PlayersTurnMessage PROTOBUF_FINAL : return *this; } inline PlayersTurnMessage& operator=(PlayersTurnMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -10384,22 +11015,27 @@ class PlayersTurnMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayersTurnMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayersTurnMessage& default_instance() { + return *internal_default_instance(); + } static inline const PlayersTurnMessage* internal_default_instance() { return reinterpret_cast( &_PlayersTurnMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 53; friend void swap(PlayersTurnMessage& a, PlayersTurnMessage& b) { a.Swap(&b); } inline void Swap(PlayersTurnMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10407,21 +11043,16 @@ class PlayersTurnMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayersTurnMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayersTurnMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayersTurnMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayersTurnMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayersTurnMessage& from); void MergeFrom(const PlayersTurnMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -10429,22 +11060,24 @@ class PlayersTurnMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayersTurnMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayersTurnMessage"; } protected: - explicit PlayersTurnMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayersTurnMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -10467,11 +11100,11 @@ class PlayersTurnMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -10480,11 +11113,11 @@ class PlayersTurnMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .NetGameState gameState = 3; @@ -10512,18 +11145,19 @@ class PlayersTurnMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int gamestate_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class MyActionRequestMessage PROTOBUF_FINAL : +class MyActionRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:MyActionRequestMessage) */ { public: - inline MyActionRequestMessage() : MyActionRequestMessage(nullptr) {}; - virtual ~MyActionRequestMessage(); + inline MyActionRequestMessage() : MyActionRequestMessage(nullptr) {} + ~MyActionRequestMessage() override; + explicit constexpr MyActionRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); MyActionRequestMessage(const MyActionRequestMessage& from); MyActionRequestMessage(MyActionRequestMessage&& from) noexcept @@ -10536,8 +11170,13 @@ class MyActionRequestMessage PROTOBUF_FINAL : return *this; } inline MyActionRequestMessage& operator=(MyActionRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -10551,22 +11190,27 @@ class MyActionRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const MyActionRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const MyActionRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const MyActionRequestMessage* internal_default_instance() { return reinterpret_cast( &_MyActionRequestMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 54; friend void swap(MyActionRequestMessage& a, MyActionRequestMessage& b) { a.Swap(&b); } inline void Swap(MyActionRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10574,21 +11218,16 @@ class MyActionRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(MyActionRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline MyActionRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - MyActionRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + MyActionRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const MyActionRequestMessage& from); void MergeFrom(const MyActionRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -10596,22 +11235,24 @@ class MyActionRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(MyActionRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "MyActionRequestMessage"; } protected: - explicit MyActionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit MyActionRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -10636,11 +11277,11 @@ class MyActionRequestMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 handNum = 2; @@ -10649,11 +11290,11 @@ class MyActionRequestMessage PROTOBUF_FINAL : bool _internal_has_handnum() const; public: void clear_handnum(); - ::PROTOBUF_NAMESPACE_ID::uint32 handnum() const; - void set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t handnum() const; + void set_handnum(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_handnum() const; - void _internal_set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_handnum() const; + void _internal_set_handnum(uint32_t value); public: // required .NetGameState gameState = 3; @@ -10688,11 +11329,11 @@ class MyActionRequestMessage PROTOBUF_FINAL : bool _internal_has_myrelativebet() const; public: void clear_myrelativebet(); - ::PROTOBUF_NAMESPACE_ID::uint32 myrelativebet() const; - void set_myrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t myrelativebet() const; + void set_myrelativebet(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_myrelativebet() const; - void _internal_set_myrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_myrelativebet() const; + void _internal_set_myrelativebet(uint32_t value); public: // @@protoc_insertion_point(class_scope:MyActionRequestMessage) @@ -10707,20 +11348,21 @@ class MyActionRequestMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 handnum_; + uint32_t gameid_; + uint32_t handnum_; int gamestate_; int myaction_; - ::PROTOBUF_NAMESPACE_ID::uint32 myrelativebet_; + uint32_t myrelativebet_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class YourActionRejectedMessage PROTOBUF_FINAL : +class YourActionRejectedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:YourActionRejectedMessage) */ { public: - inline YourActionRejectedMessage() : YourActionRejectedMessage(nullptr) {}; - virtual ~YourActionRejectedMessage(); + inline YourActionRejectedMessage() : YourActionRejectedMessage(nullptr) {} + ~YourActionRejectedMessage() override; + explicit constexpr YourActionRejectedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); YourActionRejectedMessage(const YourActionRejectedMessage& from); YourActionRejectedMessage(YourActionRejectedMessage&& from) noexcept @@ -10733,8 +11375,13 @@ class YourActionRejectedMessage PROTOBUF_FINAL : return *this; } inline YourActionRejectedMessage& operator=(YourActionRejectedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -10748,22 +11395,27 @@ class YourActionRejectedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const YourActionRejectedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const YourActionRejectedMessage& default_instance() { + return *internal_default_instance(); + } static inline const YourActionRejectedMessage* internal_default_instance() { return reinterpret_cast( &_YourActionRejectedMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 55; friend void swap(YourActionRejectedMessage& a, YourActionRejectedMessage& b) { a.Swap(&b); } inline void Swap(YourActionRejectedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10771,21 +11423,16 @@ class YourActionRejectedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(YourActionRejectedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline YourActionRejectedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - YourActionRejectedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + YourActionRejectedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const YourActionRejectedMessage& from); void MergeFrom(const YourActionRejectedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -10793,22 +11440,24 @@ class YourActionRejectedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(YourActionRejectedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "YourActionRejectedMessage"; } protected: - explicit YourActionRejectedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit YourActionRejectedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -10841,7 +11490,7 @@ class YourActionRejectedMessage PROTOBUF_FINAL : "Incorrect type passed to function RejectionReason_Name."); return YourActionRejectedMessage_RejectionReason_Name(enum_t_value); } - static inline bool RejectionReason_Parse(const std::string& name, + static inline bool RejectionReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RejectionReason* value) { return YourActionRejectedMessage_RejectionReason_Parse(name, value); } @@ -10861,11 +11510,11 @@ class YourActionRejectedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required .NetGameState gameState = 2; @@ -10900,11 +11549,11 @@ class YourActionRejectedMessage PROTOBUF_FINAL : bool _internal_has_yourrelativebet() const; public: void clear_yourrelativebet(); - ::PROTOBUF_NAMESPACE_ID::uint32 yourrelativebet() const; - void set_yourrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t yourrelativebet() const; + void set_yourrelativebet(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_yourrelativebet() const; - void _internal_set_yourrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_yourrelativebet() const; + void _internal_set_yourrelativebet(uint32_t value); public: // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; @@ -10932,20 +11581,21 @@ class YourActionRejectedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; int gamestate_; int youraction_; - ::PROTOBUF_NAMESPACE_ID::uint32 yourrelativebet_; + uint32_t yourrelativebet_; int rejectionreason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class PlayersActionDoneMessage PROTOBUF_FINAL : +class PlayersActionDoneMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayersActionDoneMessage) */ { public: - inline PlayersActionDoneMessage() : PlayersActionDoneMessage(nullptr) {}; - virtual ~PlayersActionDoneMessage(); + inline PlayersActionDoneMessage() : PlayersActionDoneMessage(nullptr) {} + ~PlayersActionDoneMessage() override; + explicit constexpr PlayersActionDoneMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayersActionDoneMessage(const PlayersActionDoneMessage& from); PlayersActionDoneMessage(PlayersActionDoneMessage&& from) noexcept @@ -10958,8 +11608,13 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : return *this; } inline PlayersActionDoneMessage& operator=(PlayersActionDoneMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -10973,22 +11628,27 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayersActionDoneMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayersActionDoneMessage& default_instance() { + return *internal_default_instance(); + } static inline const PlayersActionDoneMessage* internal_default_instance() { return reinterpret_cast( &_PlayersActionDoneMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 54; + 56; friend void swap(PlayersActionDoneMessage& a, PlayersActionDoneMessage& b) { a.Swap(&b); } inline void Swap(PlayersActionDoneMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -10996,21 +11656,16 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayersActionDoneMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayersActionDoneMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayersActionDoneMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayersActionDoneMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayersActionDoneMessage& from); void MergeFrom(const PlayersActionDoneMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -11018,22 +11673,24 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayersActionDoneMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayersActionDoneMessage"; } protected: - explicit PlayersActionDoneMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayersActionDoneMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -11061,11 +11718,11 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -11074,11 +11731,11 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .NetGameState gameState = 3; @@ -11113,11 +11770,11 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : bool _internal_has_totalplayerbet() const; public: void clear_totalplayerbet(); - ::PROTOBUF_NAMESPACE_ID::uint32 totalplayerbet() const; - void set_totalplayerbet(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t totalplayerbet() const; + void set_totalplayerbet(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_totalplayerbet() const; - void _internal_set_totalplayerbet(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_totalplayerbet() const; + void _internal_set_totalplayerbet(uint32_t value); public: // required uint32 playerMoney = 6; @@ -11126,11 +11783,11 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : bool _internal_has_playermoney() const; public: void clear_playermoney(); - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney() const; - void set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playermoney() const; + void set_playermoney(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playermoney() const; - void _internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playermoney() const; + void _internal_set_playermoney(uint32_t value); public: // required uint32 highestSet = 7; @@ -11139,11 +11796,11 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : bool _internal_has_highestset() const; public: void clear_highestset(); - ::PROTOBUF_NAMESPACE_ID::uint32 highestset() const; - void set_highestset(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t highestset() const; + void set_highestset(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_highestset() const; - void _internal_set_highestset(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_highestset() const; + void _internal_set_highestset(uint32_t value); public: // required uint32 minimumRaise = 8; @@ -11152,11 +11809,11 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : bool _internal_has_minimumraise() const; public: void clear_minimumraise(); - ::PROTOBUF_NAMESPACE_ID::uint32 minimumraise() const; - void set_minimumraise(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t minimumraise() const; + void set_minimumraise(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_minimumraise() const; - void _internal_set_minimumraise(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_minimumraise() const; + void _internal_set_minimumraise(uint32_t value); public: // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) @@ -11171,23 +11828,24 @@ class PlayersActionDoneMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int gamestate_; int playeraction_; - ::PROTOBUF_NAMESPACE_ID::uint32 totalplayerbet_; - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney_; - ::PROTOBUF_NAMESPACE_ID::uint32 highestset_; - ::PROTOBUF_NAMESPACE_ID::uint32 minimumraise_; + uint32_t totalplayerbet_; + uint32_t playermoney_; + uint32_t highestset_; + uint32_t minimumraise_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class DealFlopCardsMessage PROTOBUF_FINAL : +class DealFlopCardsMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:DealFlopCardsMessage) */ { public: - inline DealFlopCardsMessage() : DealFlopCardsMessage(nullptr) {}; - virtual ~DealFlopCardsMessage(); + inline DealFlopCardsMessage() : DealFlopCardsMessage(nullptr) {} + ~DealFlopCardsMessage() override; + explicit constexpr DealFlopCardsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DealFlopCardsMessage(const DealFlopCardsMessage& from); DealFlopCardsMessage(DealFlopCardsMessage&& from) noexcept @@ -11200,8 +11858,13 @@ class DealFlopCardsMessage PROTOBUF_FINAL : return *this; } inline DealFlopCardsMessage& operator=(DealFlopCardsMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -11215,22 +11878,27 @@ class DealFlopCardsMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const DealFlopCardsMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const DealFlopCardsMessage& default_instance() { + return *internal_default_instance(); + } static inline const DealFlopCardsMessage* internal_default_instance() { return reinterpret_cast( &_DealFlopCardsMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 55; + 57; friend void swap(DealFlopCardsMessage& a, DealFlopCardsMessage& b) { a.Swap(&b); } inline void Swap(DealFlopCardsMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11238,21 +11906,16 @@ class DealFlopCardsMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(DealFlopCardsMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline DealFlopCardsMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - DealFlopCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DealFlopCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const DealFlopCardsMessage& from); void MergeFrom(const DealFlopCardsMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -11260,22 +11923,24 @@ class DealFlopCardsMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(DealFlopCardsMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "DealFlopCardsMessage"; } protected: - explicit DealFlopCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit DealFlopCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -11299,11 +11964,11 @@ class DealFlopCardsMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 flopCard1 = 2; @@ -11312,11 +11977,11 @@ class DealFlopCardsMessage PROTOBUF_FINAL : bool _internal_has_flopcard1() const; public: void clear_flopcard1(); - ::PROTOBUF_NAMESPACE_ID::uint32 flopcard1() const; - void set_flopcard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t flopcard1() const; + void set_flopcard1(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_flopcard1() const; - void _internal_set_flopcard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_flopcard1() const; + void _internal_set_flopcard1(uint32_t value); public: // required uint32 flopCard2 = 3; @@ -11325,11 +11990,11 @@ class DealFlopCardsMessage PROTOBUF_FINAL : bool _internal_has_flopcard2() const; public: void clear_flopcard2(); - ::PROTOBUF_NAMESPACE_ID::uint32 flopcard2() const; - void set_flopcard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t flopcard2() const; + void set_flopcard2(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_flopcard2() const; - void _internal_set_flopcard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_flopcard2() const; + void _internal_set_flopcard2(uint32_t value); public: // required uint32 flopCard3 = 4; @@ -11338,11 +12003,11 @@ class DealFlopCardsMessage PROTOBUF_FINAL : bool _internal_has_flopcard3() const; public: void clear_flopcard3(); - ::PROTOBUF_NAMESPACE_ID::uint32 flopcard3() const; - void set_flopcard3(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t flopcard3() const; + void set_flopcard3(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_flopcard3() const; - void _internal_set_flopcard3(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_flopcard3() const; + void _internal_set_flopcard3(uint32_t value); public: // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) @@ -11357,19 +12022,20 @@ class DealFlopCardsMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 flopcard1_; - ::PROTOBUF_NAMESPACE_ID::uint32 flopcard2_; - ::PROTOBUF_NAMESPACE_ID::uint32 flopcard3_; + uint32_t gameid_; + uint32_t flopcard1_; + uint32_t flopcard2_; + uint32_t flopcard3_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class DealTurnCardMessage PROTOBUF_FINAL : +class DealTurnCardMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:DealTurnCardMessage) */ { public: - inline DealTurnCardMessage() : DealTurnCardMessage(nullptr) {}; - virtual ~DealTurnCardMessage(); + inline DealTurnCardMessage() : DealTurnCardMessage(nullptr) {} + ~DealTurnCardMessage() override; + explicit constexpr DealTurnCardMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DealTurnCardMessage(const DealTurnCardMessage& from); DealTurnCardMessage(DealTurnCardMessage&& from) noexcept @@ -11382,8 +12048,13 @@ class DealTurnCardMessage PROTOBUF_FINAL : return *this; } inline DealTurnCardMessage& operator=(DealTurnCardMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -11397,22 +12068,27 @@ class DealTurnCardMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const DealTurnCardMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const DealTurnCardMessage& default_instance() { + return *internal_default_instance(); + } static inline const DealTurnCardMessage* internal_default_instance() { return reinterpret_cast( &_DealTurnCardMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 56; + 58; friend void swap(DealTurnCardMessage& a, DealTurnCardMessage& b) { a.Swap(&b); } inline void Swap(DealTurnCardMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11420,21 +12096,16 @@ class DealTurnCardMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(DealTurnCardMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline DealTurnCardMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - DealTurnCardMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DealTurnCardMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const DealTurnCardMessage& from); void MergeFrom(const DealTurnCardMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -11442,22 +12113,24 @@ class DealTurnCardMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(DealTurnCardMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "DealTurnCardMessage"; } protected: - explicit DealTurnCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit DealTurnCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -11479,11 +12152,11 @@ class DealTurnCardMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 turnCard = 2; @@ -11492,11 +12165,11 @@ class DealTurnCardMessage PROTOBUF_FINAL : bool _internal_has_turncard() const; public: void clear_turncard(); - ::PROTOBUF_NAMESPACE_ID::uint32 turncard() const; - void set_turncard(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t turncard() const; + void set_turncard(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_turncard() const; - void _internal_set_turncard(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_turncard() const; + void _internal_set_turncard(uint32_t value); public: // @@protoc_insertion_point(class_scope:DealTurnCardMessage) @@ -11511,17 +12184,18 @@ class DealTurnCardMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 turncard_; + uint32_t gameid_; + uint32_t turncard_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class DealRiverCardMessage PROTOBUF_FINAL : +class DealRiverCardMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:DealRiverCardMessage) */ { public: - inline DealRiverCardMessage() : DealRiverCardMessage(nullptr) {}; - virtual ~DealRiverCardMessage(); + inline DealRiverCardMessage() : DealRiverCardMessage(nullptr) {} + ~DealRiverCardMessage() override; + explicit constexpr DealRiverCardMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DealRiverCardMessage(const DealRiverCardMessage& from); DealRiverCardMessage(DealRiverCardMessage&& from) noexcept @@ -11534,8 +12208,13 @@ class DealRiverCardMessage PROTOBUF_FINAL : return *this; } inline DealRiverCardMessage& operator=(DealRiverCardMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -11549,22 +12228,27 @@ class DealRiverCardMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const DealRiverCardMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const DealRiverCardMessage& default_instance() { + return *internal_default_instance(); + } static inline const DealRiverCardMessage* internal_default_instance() { return reinterpret_cast( &_DealRiverCardMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 57; + 59; friend void swap(DealRiverCardMessage& a, DealRiverCardMessage& b) { a.Swap(&b); } inline void Swap(DealRiverCardMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11572,21 +12256,16 @@ class DealRiverCardMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(DealRiverCardMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline DealRiverCardMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - DealRiverCardMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DealRiverCardMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const DealRiverCardMessage& from); void MergeFrom(const DealRiverCardMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -11594,22 +12273,24 @@ class DealRiverCardMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(DealRiverCardMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "DealRiverCardMessage"; } protected: - explicit DealRiverCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit DealRiverCardMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -11631,11 +12312,11 @@ class DealRiverCardMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 riverCard = 2; @@ -11644,11 +12325,11 @@ class DealRiverCardMessage PROTOBUF_FINAL : bool _internal_has_rivercard() const; public: void clear_rivercard(); - ::PROTOBUF_NAMESPACE_ID::uint32 rivercard() const; - void set_rivercard(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t rivercard() const; + void set_rivercard(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_rivercard() const; - void _internal_set_rivercard(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_rivercard() const; + void _internal_set_rivercard(uint32_t value); public: // @@protoc_insertion_point(class_scope:DealRiverCardMessage) @@ -11663,17 +12344,18 @@ class DealRiverCardMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 rivercard_; + uint32_t gameid_; + uint32_t rivercard_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : +class AllInShowCardsMessage_PlayerAllIn final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AllInShowCardsMessage.PlayerAllIn) */ { public: - inline AllInShowCardsMessage_PlayerAllIn() : AllInShowCardsMessage_PlayerAllIn(nullptr) {}; - virtual ~AllInShowCardsMessage_PlayerAllIn(); + inline AllInShowCardsMessage_PlayerAllIn() : AllInShowCardsMessage_PlayerAllIn(nullptr) {} + ~AllInShowCardsMessage_PlayerAllIn() override; + explicit constexpr AllInShowCardsMessage_PlayerAllIn(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AllInShowCardsMessage_PlayerAllIn(const AllInShowCardsMessage_PlayerAllIn& from); AllInShowCardsMessage_PlayerAllIn(AllInShowCardsMessage_PlayerAllIn&& from) noexcept @@ -11686,8 +12368,13 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : return *this; } inline AllInShowCardsMessage_PlayerAllIn& operator=(AllInShowCardsMessage_PlayerAllIn&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -11701,22 +12388,27 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AllInShowCardsMessage_PlayerAllIn& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AllInShowCardsMessage_PlayerAllIn& default_instance() { + return *internal_default_instance(); + } static inline const AllInShowCardsMessage_PlayerAllIn* internal_default_instance() { return reinterpret_cast( &_AllInShowCardsMessage_PlayerAllIn_default_instance_); } static constexpr int kIndexInFileMessages = - 58; + 60; friend void swap(AllInShowCardsMessage_PlayerAllIn& a, AllInShowCardsMessage_PlayerAllIn& b) { a.Swap(&b); } inline void Swap(AllInShowCardsMessage_PlayerAllIn* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11724,21 +12416,16 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : } void UnsafeArenaSwap(AllInShowCardsMessage_PlayerAllIn* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AllInShowCardsMessage_PlayerAllIn* New() const final { - return CreateMaybeMessage(nullptr); - } - - AllInShowCardsMessage_PlayerAllIn* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AllInShowCardsMessage_PlayerAllIn* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AllInShowCardsMessage_PlayerAllIn& from); void MergeFrom(const AllInShowCardsMessage_PlayerAllIn& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -11746,22 +12433,24 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AllInShowCardsMessage_PlayerAllIn* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AllInShowCardsMessage.PlayerAllIn"; } protected: - explicit AllInShowCardsMessage_PlayerAllIn(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AllInShowCardsMessage_PlayerAllIn(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -11784,11 +12473,11 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required uint32 allInCard1 = 2; @@ -11797,11 +12486,11 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : bool _internal_has_allincard1() const; public: void clear_allincard1(); - ::PROTOBUF_NAMESPACE_ID::uint32 allincard1() const; - void set_allincard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t allincard1() const; + void set_allincard1(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_allincard1() const; - void _internal_set_allincard1(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_allincard1() const; + void _internal_set_allincard1(uint32_t value); public: // required uint32 allInCard2 = 3; @@ -11810,11 +12499,11 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : bool _internal_has_allincard2() const; public: void clear_allincard2(); - ::PROTOBUF_NAMESPACE_ID::uint32 allincard2() const; - void set_allincard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t allincard2() const; + void set_allincard2(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_allincard2() const; - void _internal_set_allincard2(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_allincard2() const; + void _internal_set_allincard2(uint32_t value); public: // @@protoc_insertion_point(class_scope:AllInShowCardsMessage.PlayerAllIn) @@ -11829,18 +12518,19 @@ class AllInShowCardsMessage_PlayerAllIn PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 allincard1_; - ::PROTOBUF_NAMESPACE_ID::uint32 allincard2_; + uint32_t playerid_; + uint32_t allincard1_; + uint32_t allincard2_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AllInShowCardsMessage PROTOBUF_FINAL : +class AllInShowCardsMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AllInShowCardsMessage) */ { public: - inline AllInShowCardsMessage() : AllInShowCardsMessage(nullptr) {}; - virtual ~AllInShowCardsMessage(); + inline AllInShowCardsMessage() : AllInShowCardsMessage(nullptr) {} + ~AllInShowCardsMessage() override; + explicit constexpr AllInShowCardsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AllInShowCardsMessage(const AllInShowCardsMessage& from); AllInShowCardsMessage(AllInShowCardsMessage&& from) noexcept @@ -11853,8 +12543,13 @@ class AllInShowCardsMessage PROTOBUF_FINAL : return *this; } inline AllInShowCardsMessage& operator=(AllInShowCardsMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -11868,22 +12563,27 @@ class AllInShowCardsMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AllInShowCardsMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AllInShowCardsMessage& default_instance() { + return *internal_default_instance(); + } static inline const AllInShowCardsMessage* internal_default_instance() { return reinterpret_cast( &_AllInShowCardsMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 59; + 61; friend void swap(AllInShowCardsMessage& a, AllInShowCardsMessage& b) { a.Swap(&b); } inline void Swap(AllInShowCardsMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -11891,21 +12591,16 @@ class AllInShowCardsMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AllInShowCardsMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AllInShowCardsMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AllInShowCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AllInShowCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AllInShowCardsMessage& from); void MergeFrom(const AllInShowCardsMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -11913,22 +12608,24 @@ class AllInShowCardsMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AllInShowCardsMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AllInShowCardsMessage"; } protected: - explicit AllInShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AllInShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -11970,11 +12667,11 @@ class AllInShowCardsMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // @@protoc_insertion_point(class_scope:AllInShowCardsMessage) @@ -11987,16 +12684,17 @@ class AllInShowCardsMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn > playersallin_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class EndOfHandShowCardsMessage PROTOBUF_FINAL : +class EndOfHandShowCardsMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:EndOfHandShowCardsMessage) */ { public: - inline EndOfHandShowCardsMessage() : EndOfHandShowCardsMessage(nullptr) {}; - virtual ~EndOfHandShowCardsMessage(); + inline EndOfHandShowCardsMessage() : EndOfHandShowCardsMessage(nullptr) {} + ~EndOfHandShowCardsMessage() override; + explicit constexpr EndOfHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); EndOfHandShowCardsMessage(const EndOfHandShowCardsMessage& from); EndOfHandShowCardsMessage(EndOfHandShowCardsMessage&& from) noexcept @@ -12009,8 +12707,13 @@ class EndOfHandShowCardsMessage PROTOBUF_FINAL : return *this; } inline EndOfHandShowCardsMessage& operator=(EndOfHandShowCardsMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -12024,22 +12727,27 @@ class EndOfHandShowCardsMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const EndOfHandShowCardsMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const EndOfHandShowCardsMessage& default_instance() { + return *internal_default_instance(); + } static inline const EndOfHandShowCardsMessage* internal_default_instance() { return reinterpret_cast( &_EndOfHandShowCardsMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 60; + 62; friend void swap(EndOfHandShowCardsMessage& a, EndOfHandShowCardsMessage& b) { a.Swap(&b); } inline void Swap(EndOfHandShowCardsMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12047,21 +12755,16 @@ class EndOfHandShowCardsMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(EndOfHandShowCardsMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline EndOfHandShowCardsMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - EndOfHandShowCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + EndOfHandShowCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const EndOfHandShowCardsMessage& from); void MergeFrom(const EndOfHandShowCardsMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -12069,22 +12772,24 @@ class EndOfHandShowCardsMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(EndOfHandShowCardsMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "EndOfHandShowCardsMessage"; } protected: - explicit EndOfHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit EndOfHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -12124,11 +12829,11 @@ class EndOfHandShowCardsMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // @@protoc_insertion_point(class_scope:EndOfHandShowCardsMessage) @@ -12141,16 +12846,17 @@ class EndOfHandShowCardsMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerResult > playerresults_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; + uint32_t gameid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class EndOfHandHideCardsMessage PROTOBUF_FINAL : +class EndOfHandHideCardsMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:EndOfHandHideCardsMessage) */ { public: - inline EndOfHandHideCardsMessage() : EndOfHandHideCardsMessage(nullptr) {}; - virtual ~EndOfHandHideCardsMessage(); + inline EndOfHandHideCardsMessage() : EndOfHandHideCardsMessage(nullptr) {} + ~EndOfHandHideCardsMessage() override; + explicit constexpr EndOfHandHideCardsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); EndOfHandHideCardsMessage(const EndOfHandHideCardsMessage& from); EndOfHandHideCardsMessage(EndOfHandHideCardsMessage&& from) noexcept @@ -12163,8 +12869,13 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : return *this; } inline EndOfHandHideCardsMessage& operator=(EndOfHandHideCardsMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -12178,22 +12889,27 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const EndOfHandHideCardsMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const EndOfHandHideCardsMessage& default_instance() { + return *internal_default_instance(); + } static inline const EndOfHandHideCardsMessage* internal_default_instance() { return reinterpret_cast( &_EndOfHandHideCardsMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 61; + 63; friend void swap(EndOfHandHideCardsMessage& a, EndOfHandHideCardsMessage& b) { a.Swap(&b); } inline void Swap(EndOfHandHideCardsMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12201,21 +12917,16 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(EndOfHandHideCardsMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline EndOfHandHideCardsMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - EndOfHandHideCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + EndOfHandHideCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const EndOfHandHideCardsMessage& from); void MergeFrom(const EndOfHandHideCardsMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -12223,22 +12934,24 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(EndOfHandHideCardsMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "EndOfHandHideCardsMessage"; } protected: - explicit EndOfHandHideCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit EndOfHandHideCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -12262,11 +12975,11 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -12275,11 +12988,11 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required uint32 moneyWon = 3; @@ -12288,11 +13001,11 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : bool _internal_has_moneywon() const; public: void clear_moneywon(); - ::PROTOBUF_NAMESPACE_ID::uint32 moneywon() const; - void set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t moneywon() const; + void set_moneywon(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_moneywon() const; - void _internal_set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_moneywon() const; + void _internal_set_moneywon(uint32_t value); public: // required uint32 playerMoney = 4; @@ -12301,11 +13014,11 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : bool _internal_has_playermoney() const; public: void clear_playermoney(); - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney() const; - void set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playermoney() const; + void set_playermoney(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playermoney() const; - void _internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playermoney() const; + void _internal_set_playermoney(uint32_t value); public: // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) @@ -12320,19 +13033,20 @@ class EndOfHandHideCardsMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 moneywon_; - ::PROTOBUF_NAMESPACE_ID::uint32 playermoney_; + uint32_t gameid_; + uint32_t playerid_; + uint32_t moneywon_; + uint32_t playermoney_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ShowMyCardsRequestMessage PROTOBUF_FINAL : +class ShowMyCardsRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ShowMyCardsRequestMessage) */ { public: - inline ShowMyCardsRequestMessage() : ShowMyCardsRequestMessage(nullptr) {}; - virtual ~ShowMyCardsRequestMessage(); + inline ShowMyCardsRequestMessage() : ShowMyCardsRequestMessage(nullptr) {} + ~ShowMyCardsRequestMessage() override; + explicit constexpr ShowMyCardsRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ShowMyCardsRequestMessage(const ShowMyCardsRequestMessage& from); ShowMyCardsRequestMessage(ShowMyCardsRequestMessage&& from) noexcept @@ -12345,8 +13059,13 @@ class ShowMyCardsRequestMessage PROTOBUF_FINAL : return *this; } inline ShowMyCardsRequestMessage& operator=(ShowMyCardsRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -12360,22 +13079,27 @@ class ShowMyCardsRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ShowMyCardsRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ShowMyCardsRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const ShowMyCardsRequestMessage* internal_default_instance() { return reinterpret_cast( &_ShowMyCardsRequestMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 62; + 64; friend void swap(ShowMyCardsRequestMessage& a, ShowMyCardsRequestMessage& b) { a.Swap(&b); } inline void Swap(ShowMyCardsRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12383,21 +13107,16 @@ class ShowMyCardsRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ShowMyCardsRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ShowMyCardsRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ShowMyCardsRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ShowMyCardsRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ShowMyCardsRequestMessage& from); void MergeFrom(const ShowMyCardsRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -12405,22 +13124,24 @@ class ShowMyCardsRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ShowMyCardsRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ShowMyCardsRequestMessage"; } protected: - explicit ShowMyCardsRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ShowMyCardsRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -12444,11 +13165,12 @@ class ShowMyCardsRequestMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class AfterHandShowCardsMessage PROTOBUF_FINAL : +class AfterHandShowCardsMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AfterHandShowCardsMessage) */ { public: - inline AfterHandShowCardsMessage() : AfterHandShowCardsMessage(nullptr) {}; - virtual ~AfterHandShowCardsMessage(); + inline AfterHandShowCardsMessage() : AfterHandShowCardsMessage(nullptr) {} + ~AfterHandShowCardsMessage() override; + explicit constexpr AfterHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AfterHandShowCardsMessage(const AfterHandShowCardsMessage& from); AfterHandShowCardsMessage(AfterHandShowCardsMessage&& from) noexcept @@ -12461,8 +13183,13 @@ class AfterHandShowCardsMessage PROTOBUF_FINAL : return *this; } inline AfterHandShowCardsMessage& operator=(AfterHandShowCardsMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -12476,22 +13203,27 @@ class AfterHandShowCardsMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AfterHandShowCardsMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AfterHandShowCardsMessage& default_instance() { + return *internal_default_instance(); + } static inline const AfterHandShowCardsMessage* internal_default_instance() { return reinterpret_cast( &_AfterHandShowCardsMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 63; + 65; friend void swap(AfterHandShowCardsMessage& a, AfterHandShowCardsMessage& b) { a.Swap(&b); } inline void Swap(AfterHandShowCardsMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12499,21 +13231,16 @@ class AfterHandShowCardsMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AfterHandShowCardsMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AfterHandShowCardsMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AfterHandShowCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AfterHandShowCardsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AfterHandShowCardsMessage& from); void MergeFrom(const AfterHandShowCardsMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -12521,22 +13248,24 @@ class AfterHandShowCardsMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AfterHandShowCardsMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AfterHandShowCardsMessage"; } protected: - explicit AfterHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AfterHandShowCardsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -12558,7 +13287,7 @@ class AfterHandShowCardsMessage PROTOBUF_FINAL : public: void clear_playerresult(); const ::PlayerResult& playerresult() const; - ::PlayerResult* release_playerresult(); + PROTOBUF_NODISCARD ::PlayerResult* release_playerresult(); ::PlayerResult* mutable_playerresult(); void set_allocated_playerresult(::PlayerResult* playerresult); private: @@ -12583,11 +13312,12 @@ class AfterHandShowCardsMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class EndOfGameMessage PROTOBUF_FINAL : +class EndOfGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:EndOfGameMessage) */ { public: - inline EndOfGameMessage() : EndOfGameMessage(nullptr) {}; - virtual ~EndOfGameMessage(); + inline EndOfGameMessage() : EndOfGameMessage(nullptr) {} + ~EndOfGameMessage() override; + explicit constexpr EndOfGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); EndOfGameMessage(const EndOfGameMessage& from); EndOfGameMessage(EndOfGameMessage&& from) noexcept @@ -12600,8 +13330,13 @@ class EndOfGameMessage PROTOBUF_FINAL : return *this; } inline EndOfGameMessage& operator=(EndOfGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -12615,22 +13350,27 @@ class EndOfGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const EndOfGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const EndOfGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const EndOfGameMessage* internal_default_instance() { return reinterpret_cast( &_EndOfGameMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 64; + 66; friend void swap(EndOfGameMessage& a, EndOfGameMessage& b) { a.Swap(&b); } inline void Swap(EndOfGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12638,21 +13378,16 @@ class EndOfGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(EndOfGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline EndOfGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - EndOfGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + EndOfGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const EndOfGameMessage& from); void MergeFrom(const EndOfGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -12660,22 +13395,24 @@ class EndOfGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(EndOfGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "EndOfGameMessage"; } protected: - explicit EndOfGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit EndOfGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -12697,11 +13434,11 @@ class EndOfGameMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 winnerPlayerId = 2; @@ -12710,11 +13447,11 @@ class EndOfGameMessage PROTOBUF_FINAL : bool _internal_has_winnerplayerid() const; public: void clear_winnerplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 winnerplayerid() const; - void set_winnerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t winnerplayerid() const; + void set_winnerplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_winnerplayerid() const; - void _internal_set_winnerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_winnerplayerid() const; + void _internal_set_winnerplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:EndOfGameMessage) @@ -12729,17 +13466,18 @@ class EndOfGameMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 winnerplayerid_; + uint32_t gameid_; + uint32_t winnerplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class PlayerIdChangedMessage PROTOBUF_FINAL : +class PlayerIdChangedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PlayerIdChangedMessage) */ { public: - inline PlayerIdChangedMessage() : PlayerIdChangedMessage(nullptr) {}; - virtual ~PlayerIdChangedMessage(); + inline PlayerIdChangedMessage() : PlayerIdChangedMessage(nullptr) {} + ~PlayerIdChangedMessage() override; + explicit constexpr PlayerIdChangedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PlayerIdChangedMessage(const PlayerIdChangedMessage& from); PlayerIdChangedMessage(PlayerIdChangedMessage&& from) noexcept @@ -12752,8 +13490,13 @@ class PlayerIdChangedMessage PROTOBUF_FINAL : return *this; } inline PlayerIdChangedMessage& operator=(PlayerIdChangedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -12767,22 +13510,27 @@ class PlayerIdChangedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PlayerIdChangedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PlayerIdChangedMessage& default_instance() { + return *internal_default_instance(); + } static inline const PlayerIdChangedMessage* internal_default_instance() { return reinterpret_cast( &_PlayerIdChangedMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 65; + 67; friend void swap(PlayerIdChangedMessage& a, PlayerIdChangedMessage& b) { a.Swap(&b); } inline void Swap(PlayerIdChangedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12790,21 +13538,16 @@ class PlayerIdChangedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(PlayerIdChangedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PlayerIdChangedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - PlayerIdChangedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PlayerIdChangedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PlayerIdChangedMessage& from); void MergeFrom(const PlayerIdChangedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -12812,22 +13555,24 @@ class PlayerIdChangedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PlayerIdChangedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PlayerIdChangedMessage"; } protected: - explicit PlayerIdChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PlayerIdChangedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -12849,11 +13594,11 @@ class PlayerIdChangedMessage PROTOBUF_FINAL : bool _internal_has_oldplayerid() const; public: void clear_oldplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 oldplayerid() const; - void set_oldplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t oldplayerid() const; + void set_oldplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_oldplayerid() const; - void _internal_set_oldplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_oldplayerid() const; + void _internal_set_oldplayerid(uint32_t value); public: // required uint32 newPlayerId = 2; @@ -12862,11 +13607,11 @@ class PlayerIdChangedMessage PROTOBUF_FINAL : bool _internal_has_newplayerid() const; public: void clear_newplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 newplayerid() const; - void set_newplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t newplayerid() const; + void set_newplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_newplayerid() const; - void _internal_set_newplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_newplayerid() const; + void _internal_set_newplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:PlayerIdChangedMessage) @@ -12881,17 +13626,18 @@ class PlayerIdChangedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 oldplayerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 newplayerid_; + uint32_t oldplayerid_; + uint32_t newplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AskKickPlayerMessage PROTOBUF_FINAL : +class AskKickPlayerMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AskKickPlayerMessage) */ { public: - inline AskKickPlayerMessage() : AskKickPlayerMessage(nullptr) {}; - virtual ~AskKickPlayerMessage(); + inline AskKickPlayerMessage() : AskKickPlayerMessage(nullptr) {} + ~AskKickPlayerMessage() override; + explicit constexpr AskKickPlayerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AskKickPlayerMessage(const AskKickPlayerMessage& from); AskKickPlayerMessage(AskKickPlayerMessage&& from) noexcept @@ -12904,8 +13650,13 @@ class AskKickPlayerMessage PROTOBUF_FINAL : return *this; } inline AskKickPlayerMessage& operator=(AskKickPlayerMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -12919,22 +13670,27 @@ class AskKickPlayerMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AskKickPlayerMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AskKickPlayerMessage& default_instance() { + return *internal_default_instance(); + } static inline const AskKickPlayerMessage* internal_default_instance() { return reinterpret_cast( &_AskKickPlayerMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 66; + 68; friend void swap(AskKickPlayerMessage& a, AskKickPlayerMessage& b) { a.Swap(&b); } inline void Swap(AskKickPlayerMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -12942,21 +13698,16 @@ class AskKickPlayerMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AskKickPlayerMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AskKickPlayerMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AskKickPlayerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AskKickPlayerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AskKickPlayerMessage& from); void MergeFrom(const AskKickPlayerMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -12964,22 +13715,24 @@ class AskKickPlayerMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AskKickPlayerMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AskKickPlayerMessage"; } protected: - explicit AskKickPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AskKickPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -13001,11 +13754,11 @@ class AskKickPlayerMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -13014,11 +13767,11 @@ class AskKickPlayerMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) @@ -13033,17 +13786,18 @@ class AskKickPlayerMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AskKickDeniedMessage PROTOBUF_FINAL : +class AskKickDeniedMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AskKickDeniedMessage) */ { public: - inline AskKickDeniedMessage() : AskKickDeniedMessage(nullptr) {}; - virtual ~AskKickDeniedMessage(); + inline AskKickDeniedMessage() : AskKickDeniedMessage(nullptr) {} + ~AskKickDeniedMessage() override; + explicit constexpr AskKickDeniedMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AskKickDeniedMessage(const AskKickDeniedMessage& from); AskKickDeniedMessage(AskKickDeniedMessage&& from) noexcept @@ -13056,8 +13810,13 @@ class AskKickDeniedMessage PROTOBUF_FINAL : return *this; } inline AskKickDeniedMessage& operator=(AskKickDeniedMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -13071,22 +13830,27 @@ class AskKickDeniedMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AskKickDeniedMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AskKickDeniedMessage& default_instance() { + return *internal_default_instance(); + } static inline const AskKickDeniedMessage* internal_default_instance() { return reinterpret_cast( &_AskKickDeniedMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 67; + 69; friend void swap(AskKickDeniedMessage& a, AskKickDeniedMessage& b) { a.Swap(&b); } inline void Swap(AskKickDeniedMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13094,21 +13858,16 @@ class AskKickDeniedMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AskKickDeniedMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AskKickDeniedMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AskKickDeniedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AskKickDeniedMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AskKickDeniedMessage& from); void MergeFrom(const AskKickDeniedMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -13116,22 +13875,24 @@ class AskKickDeniedMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AskKickDeniedMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AskKickDeniedMessage"; } protected: - explicit AskKickDeniedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AskKickDeniedMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -13168,7 +13929,7 @@ class AskKickDeniedMessage PROTOBUF_FINAL : "Incorrect type passed to function KickDeniedReason_Name."); return AskKickDeniedMessage_KickDeniedReason_Name(enum_t_value); } - static inline bool KickDeniedReason_Parse(const std::string& name, + static inline bool KickDeniedReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, KickDeniedReason* value) { return AskKickDeniedMessage_KickDeniedReason_Parse(name, value); } @@ -13186,11 +13947,11 @@ class AskKickDeniedMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 playerId = 2; @@ -13199,11 +13960,11 @@ class AskKickDeniedMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; @@ -13231,18 +13992,19 @@ class AskKickDeniedMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int kickdeniedreason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class StartKickPetitionMessage PROTOBUF_FINAL : +class StartKickPetitionMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:StartKickPetitionMessage) */ { public: - inline StartKickPetitionMessage() : StartKickPetitionMessage(nullptr) {}; - virtual ~StartKickPetitionMessage(); + inline StartKickPetitionMessage() : StartKickPetitionMessage(nullptr) {} + ~StartKickPetitionMessage() override; + explicit constexpr StartKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StartKickPetitionMessage(const StartKickPetitionMessage& from); StartKickPetitionMessage(StartKickPetitionMessage&& from) noexcept @@ -13255,8 +14017,13 @@ class StartKickPetitionMessage PROTOBUF_FINAL : return *this; } inline StartKickPetitionMessage& operator=(StartKickPetitionMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -13270,22 +14037,27 @@ class StartKickPetitionMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const StartKickPetitionMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const StartKickPetitionMessage& default_instance() { + return *internal_default_instance(); + } static inline const StartKickPetitionMessage* internal_default_instance() { return reinterpret_cast( &_StartKickPetitionMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 68; + 70; friend void swap(StartKickPetitionMessage& a, StartKickPetitionMessage& b) { a.Swap(&b); } inline void Swap(StartKickPetitionMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13293,21 +14065,16 @@ class StartKickPetitionMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(StartKickPetitionMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline StartKickPetitionMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - StartKickPetitionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + StartKickPetitionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const StartKickPetitionMessage& from); void MergeFrom(const StartKickPetitionMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -13315,22 +14082,24 @@ class StartKickPetitionMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(StartKickPetitionMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "StartKickPetitionMessage"; } protected: - explicit StartKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit StartKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -13356,11 +14125,11 @@ class StartKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 petitionId = 2; @@ -13369,11 +14138,11 @@ class StartKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_petitionid() const; public: void clear_petitionid(); - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid() const; - void set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t petitionid() const; + void set_petitionid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_petitionid() const; - void _internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_petitionid() const; + void _internal_set_petitionid(uint32_t value); public: // required uint32 proposingPlayerId = 3; @@ -13382,11 +14151,11 @@ class StartKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_proposingplayerid() const; public: void clear_proposingplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 proposingplayerid() const; - void set_proposingplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t proposingplayerid() const; + void set_proposingplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_proposingplayerid() const; - void _internal_set_proposingplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_proposingplayerid() const; + void _internal_set_proposingplayerid(uint32_t value); public: // required uint32 kickPlayerId = 4; @@ -13395,11 +14164,11 @@ class StartKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_kickplayerid() const; public: void clear_kickplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 kickplayerid() const; - void set_kickplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t kickplayerid() const; + void set_kickplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_kickplayerid() const; - void _internal_set_kickplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_kickplayerid() const; + void _internal_set_kickplayerid(uint32_t value); public: // required uint32 kickTimeoutSec = 5; @@ -13408,11 +14177,11 @@ class StartKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_kicktimeoutsec() const; public: void clear_kicktimeoutsec(); - ::PROTOBUF_NAMESPACE_ID::uint32 kicktimeoutsec() const; - void set_kicktimeoutsec(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t kicktimeoutsec() const; + void set_kicktimeoutsec(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_kicktimeoutsec() const; - void _internal_set_kicktimeoutsec(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_kicktimeoutsec() const; + void _internal_set_kicktimeoutsec(uint32_t value); public: // required uint32 numVotesNeededToKick = 6; @@ -13421,11 +14190,11 @@ class StartKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_numvotesneededtokick() const; public: void clear_numvotesneededtokick(); - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesneededtokick() const; - void set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t numvotesneededtokick() const; + void set_numvotesneededtokick(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_numvotesneededtokick() const; - void _internal_set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_numvotesneededtokick() const; + void _internal_set_numvotesneededtokick(uint32_t value); public: // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) @@ -13440,21 +14209,22 @@ class StartKickPetitionMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid_; - ::PROTOBUF_NAMESPACE_ID::uint32 proposingplayerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 kickplayerid_; - ::PROTOBUF_NAMESPACE_ID::uint32 kicktimeoutsec_; - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesneededtokick_; + uint32_t gameid_; + uint32_t petitionid_; + uint32_t proposingplayerid_; + uint32_t kickplayerid_; + uint32_t kicktimeoutsec_; + uint32_t numvotesneededtokick_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class VoteKickRequestMessage PROTOBUF_FINAL : +class VoteKickRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:VoteKickRequestMessage) */ { public: - inline VoteKickRequestMessage() : VoteKickRequestMessage(nullptr) {}; - virtual ~VoteKickRequestMessage(); + inline VoteKickRequestMessage() : VoteKickRequestMessage(nullptr) {} + ~VoteKickRequestMessage() override; + explicit constexpr VoteKickRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); VoteKickRequestMessage(const VoteKickRequestMessage& from); VoteKickRequestMessage(VoteKickRequestMessage&& from) noexcept @@ -13467,8 +14237,13 @@ class VoteKickRequestMessage PROTOBUF_FINAL : return *this; } inline VoteKickRequestMessage& operator=(VoteKickRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -13482,22 +14257,27 @@ class VoteKickRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const VoteKickRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const VoteKickRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const VoteKickRequestMessage* internal_default_instance() { return reinterpret_cast( &_VoteKickRequestMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 69; + 71; friend void swap(VoteKickRequestMessage& a, VoteKickRequestMessage& b) { a.Swap(&b); } inline void Swap(VoteKickRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13505,21 +14285,16 @@ class VoteKickRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(VoteKickRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline VoteKickRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - VoteKickRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + VoteKickRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const VoteKickRequestMessage& from); void MergeFrom(const VoteKickRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -13527,22 +14302,24 @@ class VoteKickRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(VoteKickRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "VoteKickRequestMessage"; } protected: - explicit VoteKickRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit VoteKickRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -13565,11 +14342,11 @@ class VoteKickRequestMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 petitionId = 2; @@ -13578,11 +14355,11 @@ class VoteKickRequestMessage PROTOBUF_FINAL : bool _internal_has_petitionid() const; public: void clear_petitionid(); - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid() const; - void set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t petitionid() const; + void set_petitionid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_petitionid() const; - void _internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_petitionid() const; + void _internal_set_petitionid(uint32_t value); public: // required bool voteKick = 3; @@ -13610,18 +14387,19 @@ class VoteKickRequestMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid_; + uint32_t gameid_; + uint32_t petitionid_; bool votekick_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class VoteKickReplyMessage PROTOBUF_FINAL : +class VoteKickReplyMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:VoteKickReplyMessage) */ { public: - inline VoteKickReplyMessage() : VoteKickReplyMessage(nullptr) {}; - virtual ~VoteKickReplyMessage(); + inline VoteKickReplyMessage() : VoteKickReplyMessage(nullptr) {} + ~VoteKickReplyMessage() override; + explicit constexpr VoteKickReplyMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); VoteKickReplyMessage(const VoteKickReplyMessage& from); VoteKickReplyMessage(VoteKickReplyMessage&& from) noexcept @@ -13634,8 +14412,13 @@ class VoteKickReplyMessage PROTOBUF_FINAL : return *this; } inline VoteKickReplyMessage& operator=(VoteKickReplyMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -13649,22 +14432,27 @@ class VoteKickReplyMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const VoteKickReplyMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const VoteKickReplyMessage& default_instance() { + return *internal_default_instance(); + } static inline const VoteKickReplyMessage* internal_default_instance() { return reinterpret_cast( &_VoteKickReplyMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 70; + 72; friend void swap(VoteKickReplyMessage& a, VoteKickReplyMessage& b) { a.Swap(&b); } inline void Swap(VoteKickReplyMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13672,21 +14460,16 @@ class VoteKickReplyMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(VoteKickReplyMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline VoteKickReplyMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - VoteKickReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + VoteKickReplyMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const VoteKickReplyMessage& from); void MergeFrom(const VoteKickReplyMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -13694,22 +14477,24 @@ class VoteKickReplyMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(VoteKickReplyMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "VoteKickReplyMessage"; } protected: - explicit VoteKickReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit VoteKickReplyMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -13742,7 +14527,7 @@ class VoteKickReplyMessage PROTOBUF_FINAL : "Incorrect type passed to function VoteKickReplyType_Name."); return VoteKickReplyMessage_VoteKickReplyType_Name(enum_t_value); } - static inline bool VoteKickReplyType_Parse(const std::string& name, + static inline bool VoteKickReplyType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VoteKickReplyType* value) { return VoteKickReplyMessage_VoteKickReplyType_Parse(name, value); } @@ -13760,11 +14545,11 @@ class VoteKickReplyMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 petitionId = 2; @@ -13773,11 +14558,11 @@ class VoteKickReplyMessage PROTOBUF_FINAL : bool _internal_has_petitionid() const; public: void clear_petitionid(); - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid() const; - void set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t petitionid() const; + void set_petitionid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_petitionid() const; - void _internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_petitionid() const; + void _internal_set_petitionid(uint32_t value); public: // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; @@ -13805,18 +14590,19 @@ class VoteKickReplyMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid_; + uint32_t gameid_; + uint32_t petitionid_; int votekickreplytype_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class KickPetitionUpdateMessage PROTOBUF_FINAL : +class KickPetitionUpdateMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:KickPetitionUpdateMessage) */ { public: - inline KickPetitionUpdateMessage() : KickPetitionUpdateMessage(nullptr) {}; - virtual ~KickPetitionUpdateMessage(); + inline KickPetitionUpdateMessage() : KickPetitionUpdateMessage(nullptr) {} + ~KickPetitionUpdateMessage() override; + explicit constexpr KickPetitionUpdateMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); KickPetitionUpdateMessage(const KickPetitionUpdateMessage& from); KickPetitionUpdateMessage(KickPetitionUpdateMessage&& from) noexcept @@ -13829,8 +14615,13 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : return *this; } inline KickPetitionUpdateMessage& operator=(KickPetitionUpdateMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -13844,22 +14635,27 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const KickPetitionUpdateMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const KickPetitionUpdateMessage& default_instance() { + return *internal_default_instance(); + } static inline const KickPetitionUpdateMessage* internal_default_instance() { return reinterpret_cast( &_KickPetitionUpdateMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 71; + 73; friend void swap(KickPetitionUpdateMessage& a, KickPetitionUpdateMessage& b) { a.Swap(&b); } inline void Swap(KickPetitionUpdateMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -13867,21 +14663,16 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(KickPetitionUpdateMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline KickPetitionUpdateMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - KickPetitionUpdateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + KickPetitionUpdateMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const KickPetitionUpdateMessage& from); void MergeFrom(const KickPetitionUpdateMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -13889,22 +14680,24 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(KickPetitionUpdateMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "KickPetitionUpdateMessage"; } protected: - explicit KickPetitionUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit KickPetitionUpdateMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -13929,11 +14722,11 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 petitionId = 2; @@ -13942,11 +14735,11 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : bool _internal_has_petitionid() const; public: void clear_petitionid(); - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid() const; - void set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t petitionid() const; + void set_petitionid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_petitionid() const; - void _internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_petitionid() const; + void _internal_set_petitionid(uint32_t value); public: // required uint32 numVotesAgainstKicking = 3; @@ -13955,11 +14748,11 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : bool _internal_has_numvotesagainstkicking() const; public: void clear_numvotesagainstkicking(); - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesagainstkicking() const; - void set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t numvotesagainstkicking() const; + void set_numvotesagainstkicking(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_numvotesagainstkicking() const; - void _internal_set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_numvotesagainstkicking() const; + void _internal_set_numvotesagainstkicking(uint32_t value); public: // required uint32 numVotesInFavourOfKicking = 4; @@ -13968,11 +14761,11 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : bool _internal_has_numvotesinfavourofkicking() const; public: void clear_numvotesinfavourofkicking(); - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesinfavourofkicking() const; - void set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t numvotesinfavourofkicking() const; + void set_numvotesinfavourofkicking(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_numvotesinfavourofkicking() const; - void _internal_set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_numvotesinfavourofkicking() const; + void _internal_set_numvotesinfavourofkicking(uint32_t value); public: // required uint32 numVotesNeededToKick = 5; @@ -13981,11 +14774,11 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : bool _internal_has_numvotesneededtokick() const; public: void clear_numvotesneededtokick(); - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesneededtokick() const; - void set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t numvotesneededtokick() const; + void set_numvotesneededtokick(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_numvotesneededtokick() const; - void _internal_set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_numvotesneededtokick() const; + void _internal_set_numvotesneededtokick(uint32_t value); public: // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) @@ -14000,20 +14793,21 @@ class KickPetitionUpdateMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid_; - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesagainstkicking_; - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesinfavourofkicking_; - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesneededtokick_; + uint32_t gameid_; + uint32_t petitionid_; + uint32_t numvotesagainstkicking_; + uint32_t numvotesinfavourofkicking_; + uint32_t numvotesneededtokick_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class EndKickPetitionMessage PROTOBUF_FINAL : +class EndKickPetitionMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:EndKickPetitionMessage) */ { public: - inline EndKickPetitionMessage() : EndKickPetitionMessage(nullptr) {}; - virtual ~EndKickPetitionMessage(); + inline EndKickPetitionMessage() : EndKickPetitionMessage(nullptr) {} + ~EndKickPetitionMessage() override; + explicit constexpr EndKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); EndKickPetitionMessage(const EndKickPetitionMessage& from); EndKickPetitionMessage(EndKickPetitionMessage&& from) noexcept @@ -14026,8 +14820,13 @@ class EndKickPetitionMessage PROTOBUF_FINAL : return *this; } inline EndKickPetitionMessage& operator=(EndKickPetitionMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -14041,22 +14840,27 @@ class EndKickPetitionMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const EndKickPetitionMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const EndKickPetitionMessage& default_instance() { + return *internal_default_instance(); + } static inline const EndKickPetitionMessage* internal_default_instance() { return reinterpret_cast( &_EndKickPetitionMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 72; + 74; friend void swap(EndKickPetitionMessage& a, EndKickPetitionMessage& b) { a.Swap(&b); } inline void Swap(EndKickPetitionMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14064,21 +14868,16 @@ class EndKickPetitionMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(EndKickPetitionMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline EndKickPetitionMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - EndKickPetitionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + EndKickPetitionMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const EndKickPetitionMessage& from); void MergeFrom(const EndKickPetitionMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -14086,22 +14885,24 @@ class EndKickPetitionMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(EndKickPetitionMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "EndKickPetitionMessage"; } protected: - explicit EndKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit EndKickPetitionMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -14136,7 +14937,7 @@ class EndKickPetitionMessage PROTOBUF_FINAL : "Incorrect type passed to function PetitionEndReason_Name."); return EndKickPetitionMessage_PetitionEndReason_Name(enum_t_value); } - static inline bool PetitionEndReason_Parse(const std::string& name, + static inline bool PetitionEndReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PetitionEndReason* value) { return EndKickPetitionMessage_PetitionEndReason_Parse(name, value); } @@ -14157,11 +14958,11 @@ class EndKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // required uint32 petitionId = 2; @@ -14170,11 +14971,11 @@ class EndKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_petitionid() const; public: void clear_petitionid(); - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid() const; - void set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t petitionid() const; + void set_petitionid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_petitionid() const; - void _internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_petitionid() const; + void _internal_set_petitionid(uint32_t value); public: // required uint32 numVotesAgainstKicking = 3; @@ -14183,11 +14984,11 @@ class EndKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_numvotesagainstkicking() const; public: void clear_numvotesagainstkicking(); - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesagainstkicking() const; - void set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t numvotesagainstkicking() const; + void set_numvotesagainstkicking(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_numvotesagainstkicking() const; - void _internal_set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_numvotesagainstkicking() const; + void _internal_set_numvotesagainstkicking(uint32_t value); public: // required uint32 numVotesInFavourOfKicking = 4; @@ -14196,11 +14997,11 @@ class EndKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_numvotesinfavourofkicking() const; public: void clear_numvotesinfavourofkicking(); - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesinfavourofkicking() const; - void set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t numvotesinfavourofkicking() const; + void set_numvotesinfavourofkicking(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_numvotesinfavourofkicking() const; - void _internal_set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_numvotesinfavourofkicking() const; + void _internal_set_numvotesinfavourofkicking(uint32_t value); public: // required uint32 resultPlayerKicked = 5; @@ -14209,11 +15010,11 @@ class EndKickPetitionMessage PROTOBUF_FINAL : bool _internal_has_resultplayerkicked() const; public: void clear_resultplayerkicked(); - ::PROTOBUF_NAMESPACE_ID::uint32 resultplayerkicked() const; - void set_resultplayerkicked(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t resultplayerkicked() const; + void set_resultplayerkicked(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_resultplayerkicked() const; - void _internal_set_resultplayerkicked(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_resultplayerkicked() const; + void _internal_set_resultplayerkicked(uint32_t value); public: // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; @@ -14241,21 +15042,22 @@ class EndKickPetitionMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 petitionid_; - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesagainstkicking_; - ::PROTOBUF_NAMESPACE_ID::uint32 numvotesinfavourofkicking_; - ::PROTOBUF_NAMESPACE_ID::uint32 resultplayerkicked_; + uint32_t gameid_; + uint32_t petitionid_; + uint32_t numvotesagainstkicking_; + uint32_t numvotesinfavourofkicking_; + uint32_t resultplayerkicked_; int petitionendreason_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class StatisticsMessage_StatisticsData PROTOBUF_FINAL : +class StatisticsMessage_StatisticsData final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:StatisticsMessage.StatisticsData) */ { public: - inline StatisticsMessage_StatisticsData() : StatisticsMessage_StatisticsData(nullptr) {}; - virtual ~StatisticsMessage_StatisticsData(); + inline StatisticsMessage_StatisticsData() : StatisticsMessage_StatisticsData(nullptr) {} + ~StatisticsMessage_StatisticsData() override; + explicit constexpr StatisticsMessage_StatisticsData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StatisticsMessage_StatisticsData(const StatisticsMessage_StatisticsData& from); StatisticsMessage_StatisticsData(StatisticsMessage_StatisticsData&& from) noexcept @@ -14268,8 +15070,13 @@ class StatisticsMessage_StatisticsData PROTOBUF_FINAL : return *this; } inline StatisticsMessage_StatisticsData& operator=(StatisticsMessage_StatisticsData&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -14283,22 +15090,27 @@ class StatisticsMessage_StatisticsData PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const StatisticsMessage_StatisticsData& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const StatisticsMessage_StatisticsData& default_instance() { + return *internal_default_instance(); + } static inline const StatisticsMessage_StatisticsData* internal_default_instance() { return reinterpret_cast( &_StatisticsMessage_StatisticsData_default_instance_); } static constexpr int kIndexInFileMessages = - 73; + 75; friend void swap(StatisticsMessage_StatisticsData& a, StatisticsMessage_StatisticsData& b) { a.Swap(&b); } inline void Swap(StatisticsMessage_StatisticsData* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14306,21 +15118,16 @@ class StatisticsMessage_StatisticsData PROTOBUF_FINAL : } void UnsafeArenaSwap(StatisticsMessage_StatisticsData* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline StatisticsMessage_StatisticsData* New() const final { - return CreateMaybeMessage(nullptr); - } - - StatisticsMessage_StatisticsData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + StatisticsMessage_StatisticsData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const StatisticsMessage_StatisticsData& from); void MergeFrom(const StatisticsMessage_StatisticsData& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -14328,22 +15135,24 @@ class StatisticsMessage_StatisticsData PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(StatisticsMessage_StatisticsData* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "StatisticsMessage.StatisticsData"; } protected: - explicit StatisticsMessage_StatisticsData(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit StatisticsMessage_StatisticsData(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -14372,7 +15181,7 @@ class StatisticsMessage_StatisticsData PROTOBUF_FINAL : "Incorrect type passed to function StatisticsType_Name."); return StatisticsMessage_StatisticsData_StatisticsType_Name(enum_t_value); } - static inline bool StatisticsType_Parse(const std::string& name, + static inline bool StatisticsType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StatisticsType* value) { return StatisticsMessage_StatisticsData_StatisticsType_Parse(name, value); } @@ -14389,11 +15198,11 @@ class StatisticsMessage_StatisticsData PROTOBUF_FINAL : bool _internal_has_statisticsvalue() const; public: void clear_statisticsvalue(); - ::PROTOBUF_NAMESPACE_ID::uint32 statisticsvalue() const; - void set_statisticsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t statisticsvalue() const; + void set_statisticsvalue(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_statisticsvalue() const; - void _internal_set_statisticsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_statisticsvalue() const; + void _internal_set_statisticsvalue(uint32_t value); public: // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; @@ -14421,17 +15230,18 @@ class StatisticsMessage_StatisticsData PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 statisticsvalue_; + uint32_t statisticsvalue_; int statisticstype_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class StatisticsMessage PROTOBUF_FINAL : +class StatisticsMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:StatisticsMessage) */ { public: - inline StatisticsMessage() : StatisticsMessage(nullptr) {}; - virtual ~StatisticsMessage(); + inline StatisticsMessage() : StatisticsMessage(nullptr) {} + ~StatisticsMessage() override; + explicit constexpr StatisticsMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); StatisticsMessage(const StatisticsMessage& from); StatisticsMessage(StatisticsMessage&& from) noexcept @@ -14444,8 +15254,13 @@ class StatisticsMessage PROTOBUF_FINAL : return *this; } inline StatisticsMessage& operator=(StatisticsMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -14459,22 +15274,27 @@ class StatisticsMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const StatisticsMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const StatisticsMessage& default_instance() { + return *internal_default_instance(); + } static inline const StatisticsMessage* internal_default_instance() { return reinterpret_cast( &_StatisticsMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 74; + 76; friend void swap(StatisticsMessage& a, StatisticsMessage& b) { a.Swap(&b); } inline void Swap(StatisticsMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14482,21 +15302,16 @@ class StatisticsMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(StatisticsMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline StatisticsMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - StatisticsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + StatisticsMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const StatisticsMessage& from); void MergeFrom(const StatisticsMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -14504,22 +15319,24 @@ class StatisticsMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(StatisticsMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "StatisticsMessage"; } protected: - explicit StatisticsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit StatisticsMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -14567,11 +15384,12 @@ class StatisticsMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class ChatRequestMessage PROTOBUF_FINAL : +class ChatRequestMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ChatRequestMessage) */ { public: - inline ChatRequestMessage() : ChatRequestMessage(nullptr) {}; - virtual ~ChatRequestMessage(); + inline ChatRequestMessage() : ChatRequestMessage(nullptr) {} + ~ChatRequestMessage() override; + explicit constexpr ChatRequestMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ChatRequestMessage(const ChatRequestMessage& from); ChatRequestMessage(ChatRequestMessage&& from) noexcept @@ -14584,8 +15402,13 @@ class ChatRequestMessage PROTOBUF_FINAL : return *this; } inline ChatRequestMessage& operator=(ChatRequestMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -14599,22 +15422,27 @@ class ChatRequestMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ChatRequestMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ChatRequestMessage& default_instance() { + return *internal_default_instance(); + } static inline const ChatRequestMessage* internal_default_instance() { return reinterpret_cast( &_ChatRequestMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 75; + 77; friend void swap(ChatRequestMessage& a, ChatRequestMessage& b) { a.Swap(&b); } inline void Swap(ChatRequestMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14622,21 +15450,16 @@ class ChatRequestMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ChatRequestMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ChatRequestMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ChatRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ChatRequestMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ChatRequestMessage& from); void MergeFrom(const ChatRequestMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -14644,22 +15467,24 @@ class ChatRequestMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ChatRequestMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ChatRequestMessage"; } protected: - explicit ChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ChatRequestMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -14683,25 +15508,14 @@ class ChatRequestMessage PROTOBUF_FINAL : public: void clear_chattext(); const std::string& chattext() const; - void set_chattext(const std::string& value); - void set_chattext(std::string&& value); - void set_chattext(const char* value); - void set_chattext(const char* value, size_t size); + template + void set_chattext(ArgT0&& arg0, ArgT... args); std::string* mutable_chattext(); - std::string* release_chattext(); + PROTOBUF_NODISCARD std::string* release_chattext(); void set_allocated_chattext(std::string* chattext); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_chattext(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_chattext( - std::string* chattext); private: const std::string& _internal_chattext() const; - void _internal_set_chattext(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_chattext(const std::string& value); std::string* _internal_mutable_chattext(); public: @@ -14711,11 +15525,11 @@ class ChatRequestMessage PROTOBUF_FINAL : bool _internal_has_targetgameid() const; public: void clear_targetgameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 targetgameid() const; - void set_targetgameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t targetgameid() const; + void set_targetgameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_targetgameid() const; - void _internal_set_targetgameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_targetgameid() const; + void _internal_set_targetgameid(uint32_t value); public: // optional uint32 targetPlayerId = 2; @@ -14724,11 +15538,11 @@ class ChatRequestMessage PROTOBUF_FINAL : bool _internal_has_targetplayerid() const; public: void clear_targetplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 targetplayerid() const; - void set_targetplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t targetplayerid() const; + void set_targetplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_targetplayerid() const; - void _internal_set_targetplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_targetplayerid() const; + void _internal_set_targetplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:ChatRequestMessage) @@ -14741,17 +15555,18 @@ class ChatRequestMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chattext_; - ::PROTOBUF_NAMESPACE_ID::uint32 targetgameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 targetplayerid_; + uint32_t targetgameid_; + uint32_t targetplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ChatMessage PROTOBUF_FINAL : +class ChatMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ChatMessage) */ { public: - inline ChatMessage() : ChatMessage(nullptr) {}; - virtual ~ChatMessage(); + inline ChatMessage() : ChatMessage(nullptr) {} + ~ChatMessage() override; + explicit constexpr ChatMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ChatMessage(const ChatMessage& from); ChatMessage(ChatMessage&& from) noexcept @@ -14764,8 +15579,13 @@ class ChatMessage PROTOBUF_FINAL : return *this; } inline ChatMessage& operator=(ChatMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -14779,22 +15599,27 @@ class ChatMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ChatMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ChatMessage& default_instance() { + return *internal_default_instance(); + } static inline const ChatMessage* internal_default_instance() { return reinterpret_cast( &_ChatMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 76; + 78; friend void swap(ChatMessage& a, ChatMessage& b) { a.Swap(&b); } inline void Swap(ChatMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -14802,21 +15627,16 @@ class ChatMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ChatMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ChatMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ChatMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ChatMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ChatMessage& from); void MergeFrom(const ChatMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -14824,22 +15644,24 @@ class ChatMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ChatMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ChatMessage"; } protected: - explicit ChatMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ChatMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -14876,7 +15698,7 @@ class ChatMessage PROTOBUF_FINAL : "Incorrect type passed to function ChatType_Name."); return ChatMessage_ChatType_Name(enum_t_value); } - static inline bool ChatType_Parse(const std::string& name, + static inline bool ChatType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ChatType* value) { return ChatMessage_ChatType_Parse(name, value); } @@ -14896,25 +15718,14 @@ class ChatMessage PROTOBUF_FINAL : public: void clear_chattext(); const std::string& chattext() const; - void set_chattext(const std::string& value); - void set_chattext(std::string&& value); - void set_chattext(const char* value); - void set_chattext(const char* value, size_t size); + template + void set_chattext(ArgT0&& arg0, ArgT... args); std::string* mutable_chattext(); - std::string* release_chattext(); + PROTOBUF_NODISCARD std::string* release_chattext(); void set_allocated_chattext(std::string* chattext); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_chattext(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_chattext( - std::string* chattext); private: const std::string& _internal_chattext() const; - void _internal_set_chattext(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_chattext(const std::string& value); std::string* _internal_mutable_chattext(); public: @@ -14924,11 +15735,11 @@ class ChatMessage PROTOBUF_FINAL : bool _internal_has_gameid() const; public: void clear_gameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 gameid() const; - void set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t gameid() const; + void set_gameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_gameid() const; - void _internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_gameid() const; + void _internal_set_gameid(uint32_t value); public: // optional uint32 playerId = 2; @@ -14937,11 +15748,11 @@ class ChatMessage PROTOBUF_FINAL : bool _internal_has_playerid() const; public: void clear_playerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 playerid() const; - void set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t playerid() const; + void set_playerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_playerid() const; - void _internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_playerid() const; + void _internal_set_playerid(uint32_t value); public: // required .ChatMessage.ChatType chatType = 3; @@ -14970,18 +15781,19 @@ class ChatMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr chattext_; - ::PROTOBUF_NAMESPACE_ID::uint32 gameid_; - ::PROTOBUF_NAMESPACE_ID::uint32 playerid_; + uint32_t gameid_; + uint32_t playerid_; int chattype_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ChatRejectMessage PROTOBUF_FINAL : +class ChatRejectMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ChatRejectMessage) */ { public: - inline ChatRejectMessage() : ChatRejectMessage(nullptr) {}; - virtual ~ChatRejectMessage(); + inline ChatRejectMessage() : ChatRejectMessage(nullptr) {} + ~ChatRejectMessage() override; + explicit constexpr ChatRejectMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ChatRejectMessage(const ChatRejectMessage& from); ChatRejectMessage(ChatRejectMessage&& from) noexcept @@ -14994,8 +15806,13 @@ class ChatRejectMessage PROTOBUF_FINAL : return *this; } inline ChatRejectMessage& operator=(ChatRejectMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -15009,22 +15826,27 @@ class ChatRejectMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ChatRejectMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ChatRejectMessage& default_instance() { + return *internal_default_instance(); + } static inline const ChatRejectMessage* internal_default_instance() { return reinterpret_cast( &_ChatRejectMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 77; + 79; friend void swap(ChatRejectMessage& a, ChatRejectMessage& b) { a.Swap(&b); } inline void Swap(ChatRejectMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15032,21 +15854,16 @@ class ChatRejectMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ChatRejectMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ChatRejectMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ChatRejectMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ChatRejectMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ChatRejectMessage& from); void MergeFrom(const ChatRejectMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -15054,22 +15871,24 @@ class ChatRejectMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ChatRejectMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ChatRejectMessage"; } protected: - explicit ChatRejectMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ChatRejectMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -15091,25 +15910,14 @@ class ChatRejectMessage PROTOBUF_FINAL : public: void clear_chattext(); const std::string& chattext() const; - void set_chattext(const std::string& value); - void set_chattext(std::string&& value); - void set_chattext(const char* value); - void set_chattext(const char* value, size_t size); + template + void set_chattext(ArgT0&& arg0, ArgT... args); std::string* mutable_chattext(); - std::string* release_chattext(); + PROTOBUF_NODISCARD std::string* release_chattext(); void set_allocated_chattext(std::string* chattext); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_chattext(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_chattext( - std::string* chattext); private: const std::string& _internal_chattext() const; - void _internal_set_chattext(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_chattext(const std::string& value); std::string* _internal_mutable_chattext(); public: @@ -15127,11 +15935,12 @@ class ChatRejectMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class DialogMessage PROTOBUF_FINAL : +class DialogMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:DialogMessage) */ { public: - inline DialogMessage() : DialogMessage(nullptr) {}; - virtual ~DialogMessage(); + inline DialogMessage() : DialogMessage(nullptr) {} + ~DialogMessage() override; + explicit constexpr DialogMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); DialogMessage(const DialogMessage& from); DialogMessage(DialogMessage&& from) noexcept @@ -15144,8 +15953,13 @@ class DialogMessage PROTOBUF_FINAL : return *this; } inline DialogMessage& operator=(DialogMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -15159,22 +15973,27 @@ class DialogMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const DialogMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const DialogMessage& default_instance() { + return *internal_default_instance(); + } static inline const DialogMessage* internal_default_instance() { return reinterpret_cast( &_DialogMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 78; + 80; friend void swap(DialogMessage& a, DialogMessage& b) { a.Swap(&b); } inline void Swap(DialogMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15182,21 +16001,16 @@ class DialogMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(DialogMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline DialogMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - DialogMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + DialogMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const DialogMessage& from); void MergeFrom(const DialogMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -15204,22 +16018,24 @@ class DialogMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(DialogMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "DialogMessage"; } protected: - explicit DialogMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit DialogMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -15241,25 +16057,14 @@ class DialogMessage PROTOBUF_FINAL : public: void clear_notificationtext(); const std::string& notificationtext() const; - void set_notificationtext(const std::string& value); - void set_notificationtext(std::string&& value); - void set_notificationtext(const char* value); - void set_notificationtext(const char* value, size_t size); + template + void set_notificationtext(ArgT0&& arg0, ArgT... args); std::string* mutable_notificationtext(); - std::string* release_notificationtext(); + PROTOBUF_NODISCARD std::string* release_notificationtext(); void set_allocated_notificationtext(std::string* notificationtext); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_notificationtext(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_notificationtext( - std::string* notificationtext); private: const std::string& _internal_notificationtext() const; - void _internal_set_notificationtext(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_notificationtext(const std::string& value); std::string* _internal_mutable_notificationtext(); public: @@ -15277,11 +16082,12 @@ class DialogMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class TimeoutWarningMessage PROTOBUF_FINAL : +class TimeoutWarningMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:TimeoutWarningMessage) */ { public: - inline TimeoutWarningMessage() : TimeoutWarningMessage(nullptr) {}; - virtual ~TimeoutWarningMessage(); + inline TimeoutWarningMessage() : TimeoutWarningMessage(nullptr) {} + ~TimeoutWarningMessage() override; + explicit constexpr TimeoutWarningMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); TimeoutWarningMessage(const TimeoutWarningMessage& from); TimeoutWarningMessage(TimeoutWarningMessage&& from) noexcept @@ -15294,8 +16100,13 @@ class TimeoutWarningMessage PROTOBUF_FINAL : return *this; } inline TimeoutWarningMessage& operator=(TimeoutWarningMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -15309,22 +16120,27 @@ class TimeoutWarningMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const TimeoutWarningMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const TimeoutWarningMessage& default_instance() { + return *internal_default_instance(); + } static inline const TimeoutWarningMessage* internal_default_instance() { return reinterpret_cast( &_TimeoutWarningMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 79; + 81; friend void swap(TimeoutWarningMessage& a, TimeoutWarningMessage& b) { a.Swap(&b); } inline void Swap(TimeoutWarningMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15332,21 +16148,16 @@ class TimeoutWarningMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(TimeoutWarningMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline TimeoutWarningMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - TimeoutWarningMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + TimeoutWarningMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const TimeoutWarningMessage& from); void MergeFrom(const TimeoutWarningMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -15354,22 +16165,24 @@ class TimeoutWarningMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(TimeoutWarningMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "TimeoutWarningMessage"; } protected: - explicit TimeoutWarningMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit TimeoutWarningMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -15402,7 +16215,7 @@ class TimeoutWarningMessage PROTOBUF_FINAL : "Incorrect type passed to function TimeoutReason_Name."); return TimeoutWarningMessage_TimeoutReason_Name(enum_t_value); } - static inline bool TimeoutReason_Parse(const std::string& name, + static inline bool TimeoutReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TimeoutReason* value) { return TimeoutWarningMessage_TimeoutReason_Parse(name, value); } @@ -15432,11 +16245,11 @@ class TimeoutWarningMessage PROTOBUF_FINAL : bool _internal_has_remainingseconds() const; public: void clear_remainingseconds(); - ::PROTOBUF_NAMESPACE_ID::uint32 remainingseconds() const; - void set_remainingseconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t remainingseconds() const; + void set_remainingseconds(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_remainingseconds() const; - void _internal_set_remainingseconds(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_remainingseconds() const; + void _internal_set_remainingseconds(uint32_t value); public: // @@protoc_insertion_point(class_scope:TimeoutWarningMessage) @@ -15452,16 +16265,17 @@ class TimeoutWarningMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; int timeoutreason_; - ::PROTOBUF_NAMESPACE_ID::uint32 remainingseconds_; + uint32_t remainingseconds_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ResetTimeoutMessage PROTOBUF_FINAL : +class ResetTimeoutMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ResetTimeoutMessage) */ { public: - inline ResetTimeoutMessage() : ResetTimeoutMessage(nullptr) {}; - virtual ~ResetTimeoutMessage(); + inline ResetTimeoutMessage() : ResetTimeoutMessage(nullptr) {} + ~ResetTimeoutMessage() override; + explicit constexpr ResetTimeoutMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ResetTimeoutMessage(const ResetTimeoutMessage& from); ResetTimeoutMessage(ResetTimeoutMessage&& from) noexcept @@ -15474,8 +16288,13 @@ class ResetTimeoutMessage PROTOBUF_FINAL : return *this; } inline ResetTimeoutMessage& operator=(ResetTimeoutMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -15489,22 +16308,27 @@ class ResetTimeoutMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ResetTimeoutMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ResetTimeoutMessage& default_instance() { + return *internal_default_instance(); + } static inline const ResetTimeoutMessage* internal_default_instance() { return reinterpret_cast( &_ResetTimeoutMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 80; + 82; friend void swap(ResetTimeoutMessage& a, ResetTimeoutMessage& b) { a.Swap(&b); } inline void Swap(ResetTimeoutMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15512,21 +16336,16 @@ class ResetTimeoutMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ResetTimeoutMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ResetTimeoutMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ResetTimeoutMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ResetTimeoutMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ResetTimeoutMessage& from); void MergeFrom(const ResetTimeoutMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -15534,22 +16353,24 @@ class ResetTimeoutMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ResetTimeoutMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ResetTimeoutMessage"; } protected: - explicit ResetTimeoutMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ResetTimeoutMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -15573,11 +16394,12 @@ class ResetTimeoutMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class ReportAvatarMessage PROTOBUF_FINAL : +class ReportAvatarMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ReportAvatarMessage) */ { public: - inline ReportAvatarMessage() : ReportAvatarMessage(nullptr) {}; - virtual ~ReportAvatarMessage(); + inline ReportAvatarMessage() : ReportAvatarMessage(nullptr) {} + ~ReportAvatarMessage() override; + explicit constexpr ReportAvatarMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ReportAvatarMessage(const ReportAvatarMessage& from); ReportAvatarMessage(ReportAvatarMessage&& from) noexcept @@ -15590,8 +16412,13 @@ class ReportAvatarMessage PROTOBUF_FINAL : return *this; } inline ReportAvatarMessage& operator=(ReportAvatarMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -15605,22 +16432,27 @@ class ReportAvatarMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ReportAvatarMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ReportAvatarMessage& default_instance() { + return *internal_default_instance(); + } static inline const ReportAvatarMessage* internal_default_instance() { return reinterpret_cast( &_ReportAvatarMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 81; + 83; friend void swap(ReportAvatarMessage& a, ReportAvatarMessage& b) { a.Swap(&b); } inline void Swap(ReportAvatarMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15628,21 +16460,16 @@ class ReportAvatarMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ReportAvatarMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ReportAvatarMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ReportAvatarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ReportAvatarMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ReportAvatarMessage& from); void MergeFrom(const ReportAvatarMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -15650,22 +16477,24 @@ class ReportAvatarMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ReportAvatarMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ReportAvatarMessage"; } protected: - explicit ReportAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ReportAvatarMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -15688,25 +16517,14 @@ class ReportAvatarMessage PROTOBUF_FINAL : public: void clear_reportedavatarhash(); const std::string& reportedavatarhash() const; - void set_reportedavatarhash(const std::string& value); - void set_reportedavatarhash(std::string&& value); - void set_reportedavatarhash(const char* value); - void set_reportedavatarhash(const void* value, size_t size); + template + void set_reportedavatarhash(ArgT0&& arg0, ArgT... args); std::string* mutable_reportedavatarhash(); - std::string* release_reportedavatarhash(); + PROTOBUF_NODISCARD std::string* release_reportedavatarhash(); void set_allocated_reportedavatarhash(std::string* reportedavatarhash); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - std::string* unsafe_arena_release_reportedavatarhash(); - GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" - " string fields are deprecated and will be removed in a" - " future release.") - void unsafe_arena_set_allocated_reportedavatarhash( - std::string* reportedavatarhash); private: const std::string& _internal_reportedavatarhash() const; - void _internal_set_reportedavatarhash(const std::string& value); + inline PROTOBUF_ALWAYS_INLINE void _internal_set_reportedavatarhash(const std::string& value); std::string* _internal_mutable_reportedavatarhash(); public: @@ -15716,11 +16534,11 @@ class ReportAvatarMessage PROTOBUF_FINAL : bool _internal_has_reportedplayerid() const; public: void clear_reportedplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 reportedplayerid() const; - void set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t reportedplayerid() const; + void set_reportedplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_reportedplayerid() const; - void _internal_set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_reportedplayerid() const; + void _internal_set_reportedplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:ReportAvatarMessage) @@ -15736,16 +16554,17 @@ class ReportAvatarMessage PROTOBUF_FINAL : ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr reportedavatarhash_; - ::PROTOBUF_NAMESPACE_ID::uint32 reportedplayerid_; + uint32_t reportedplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ReportAvatarAckMessage PROTOBUF_FINAL : +class ReportAvatarAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ReportAvatarAckMessage) */ { public: - inline ReportAvatarAckMessage() : ReportAvatarAckMessage(nullptr) {}; - virtual ~ReportAvatarAckMessage(); + inline ReportAvatarAckMessage() : ReportAvatarAckMessage(nullptr) {} + ~ReportAvatarAckMessage() override; + explicit constexpr ReportAvatarAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ReportAvatarAckMessage(const ReportAvatarAckMessage& from); ReportAvatarAckMessage(ReportAvatarAckMessage&& from) noexcept @@ -15758,8 +16577,13 @@ class ReportAvatarAckMessage PROTOBUF_FINAL : return *this; } inline ReportAvatarAckMessage& operator=(ReportAvatarAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -15773,22 +16597,27 @@ class ReportAvatarAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ReportAvatarAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ReportAvatarAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const ReportAvatarAckMessage* internal_default_instance() { return reinterpret_cast( &_ReportAvatarAckMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 82; + 84; friend void swap(ReportAvatarAckMessage& a, ReportAvatarAckMessage& b) { a.Swap(&b); } inline void Swap(ReportAvatarAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15796,21 +16625,16 @@ class ReportAvatarAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ReportAvatarAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ReportAvatarAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ReportAvatarAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ReportAvatarAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ReportAvatarAckMessage& from); void MergeFrom(const ReportAvatarAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -15818,22 +16642,24 @@ class ReportAvatarAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ReportAvatarAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ReportAvatarAckMessage"; } protected: - explicit ReportAvatarAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ReportAvatarAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -15866,7 +16692,7 @@ class ReportAvatarAckMessage PROTOBUF_FINAL : "Incorrect type passed to function ReportAvatarResult_Name."); return ReportAvatarAckMessage_ReportAvatarResult_Name(enum_t_value); } - static inline bool ReportAvatarResult_Parse(const std::string& name, + static inline bool ReportAvatarResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportAvatarResult* value) { return ReportAvatarAckMessage_ReportAvatarResult_Parse(name, value); } @@ -15883,11 +16709,11 @@ class ReportAvatarAckMessage PROTOBUF_FINAL : bool _internal_has_reportedplayerid() const; public: void clear_reportedplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 reportedplayerid() const; - void set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t reportedplayerid() const; + void set_reportedplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_reportedplayerid() const; - void _internal_set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_reportedplayerid() const; + void _internal_set_reportedplayerid(uint32_t value); public: // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; @@ -15915,17 +16741,18 @@ class ReportAvatarAckMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 reportedplayerid_; + uint32_t reportedplayerid_; int reportavatarresult_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ReportGameMessage PROTOBUF_FINAL : +class ReportGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ReportGameMessage) */ { public: - inline ReportGameMessage() : ReportGameMessage(nullptr) {}; - virtual ~ReportGameMessage(); + inline ReportGameMessage() : ReportGameMessage(nullptr) {} + ~ReportGameMessage() override; + explicit constexpr ReportGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ReportGameMessage(const ReportGameMessage& from); ReportGameMessage(ReportGameMessage&& from) noexcept @@ -15938,8 +16765,13 @@ class ReportGameMessage PROTOBUF_FINAL : return *this; } inline ReportGameMessage& operator=(ReportGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -15953,22 +16785,27 @@ class ReportGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ReportGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ReportGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const ReportGameMessage* internal_default_instance() { return reinterpret_cast( &_ReportGameMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 83; + 85; friend void swap(ReportGameMessage& a, ReportGameMessage& b) { a.Swap(&b); } inline void Swap(ReportGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -15976,21 +16813,16 @@ class ReportGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ReportGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ReportGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ReportGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ReportGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ReportGameMessage& from); void MergeFrom(const ReportGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -15998,22 +16830,24 @@ class ReportGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ReportGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ReportGameMessage"; } protected: - explicit ReportGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ReportGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -16034,11 +16868,11 @@ class ReportGameMessage PROTOBUF_FINAL : bool _internal_has_reportedgameid() const; public: void clear_reportedgameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 reportedgameid() const; - void set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t reportedgameid() const; + void set_reportedgameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_reportedgameid() const; - void _internal_set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_reportedgameid() const; + void _internal_set_reportedgameid(uint32_t value); public: // @@protoc_insertion_point(class_scope:ReportGameMessage) @@ -16050,16 +16884,17 @@ class ReportGameMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 reportedgameid_; + uint32_t reportedgameid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ReportGameAckMessage PROTOBUF_FINAL : +class ReportGameAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ReportGameAckMessage) */ { public: - inline ReportGameAckMessage() : ReportGameAckMessage(nullptr) {}; - virtual ~ReportGameAckMessage(); + inline ReportGameAckMessage() : ReportGameAckMessage(nullptr) {} + ~ReportGameAckMessage() override; + explicit constexpr ReportGameAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ReportGameAckMessage(const ReportGameAckMessage& from); ReportGameAckMessage(ReportGameAckMessage&& from) noexcept @@ -16072,8 +16907,13 @@ class ReportGameAckMessage PROTOBUF_FINAL : return *this; } inline ReportGameAckMessage& operator=(ReportGameAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -16087,22 +16927,27 @@ class ReportGameAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ReportGameAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ReportGameAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const ReportGameAckMessage* internal_default_instance() { return reinterpret_cast( &_ReportGameAckMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 84; + 86; friend void swap(ReportGameAckMessage& a, ReportGameAckMessage& b) { a.Swap(&b); } inline void Swap(ReportGameAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16110,21 +16955,16 @@ class ReportGameAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ReportGameAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ReportGameAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ReportGameAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ReportGameAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ReportGameAckMessage& from); void MergeFrom(const ReportGameAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -16132,22 +16972,24 @@ class ReportGameAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ReportGameAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ReportGameAckMessage"; } protected: - explicit ReportGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ReportGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -16180,7 +17022,7 @@ class ReportGameAckMessage PROTOBUF_FINAL : "Incorrect type passed to function ReportGameResult_Name."); return ReportGameAckMessage_ReportGameResult_Name(enum_t_value); } - static inline bool ReportGameResult_Parse(const std::string& name, + static inline bool ReportGameResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ReportGameResult* value) { return ReportGameAckMessage_ReportGameResult_Parse(name, value); } @@ -16197,11 +17039,11 @@ class ReportGameAckMessage PROTOBUF_FINAL : bool _internal_has_reportedgameid() const; public: void clear_reportedgameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 reportedgameid() const; - void set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t reportedgameid() const; + void set_reportedgameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_reportedgameid() const; - void _internal_set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_reportedgameid() const; + void _internal_set_reportedgameid(uint32_t value); public: // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; @@ -16229,17 +17071,18 @@ class ReportGameAckMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 reportedgameid_; + uint32_t reportedgameid_; int reportgameresult_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class ErrorMessage PROTOBUF_FINAL : +class ErrorMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:ErrorMessage) */ { public: - inline ErrorMessage() : ErrorMessage(nullptr) {}; - virtual ~ErrorMessage(); + inline ErrorMessage() : ErrorMessage(nullptr) {} + ~ErrorMessage() override; + explicit constexpr ErrorMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ErrorMessage(const ErrorMessage& from); ErrorMessage(ErrorMessage&& from) noexcept @@ -16252,8 +17095,13 @@ class ErrorMessage PROTOBUF_FINAL : return *this; } inline ErrorMessage& operator=(ErrorMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -16267,22 +17115,27 @@ class ErrorMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const ErrorMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const ErrorMessage& default_instance() { + return *internal_default_instance(); + } static inline const ErrorMessage* internal_default_instance() { return reinterpret_cast( &_ErrorMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 85; + 87; friend void swap(ErrorMessage& a, ErrorMessage& b) { a.Swap(&b); } inline void Swap(ErrorMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16290,21 +17143,16 @@ class ErrorMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(ErrorMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline ErrorMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - ErrorMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + ErrorMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const ErrorMessage& from); void MergeFrom(const ErrorMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -16312,22 +17160,24 @@ class ErrorMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(ErrorMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "ErrorMessage"; } protected: - explicit ErrorMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit ErrorMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -16384,7 +17234,7 @@ class ErrorMessage PROTOBUF_FINAL : "Incorrect type passed to function ErrorReason_Name."); return ErrorMessage_ErrorReason_Name(enum_t_value); } - static inline bool ErrorReason_Parse(const std::string& name, + static inline bool ErrorReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ErrorReason* value) { return ErrorMessage_ErrorReason_Parse(name, value); } @@ -16421,11 +17271,12 @@ class ErrorMessage PROTOBUF_FINAL : }; // ------------------------------------------------------------------- -class AdminRemoveGameMessage PROTOBUF_FINAL : +class AdminRemoveGameMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AdminRemoveGameMessage) */ { public: - inline AdminRemoveGameMessage() : AdminRemoveGameMessage(nullptr) {}; - virtual ~AdminRemoveGameMessage(); + inline AdminRemoveGameMessage() : AdminRemoveGameMessage(nullptr) {} + ~AdminRemoveGameMessage() override; + explicit constexpr AdminRemoveGameMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AdminRemoveGameMessage(const AdminRemoveGameMessage& from); AdminRemoveGameMessage(AdminRemoveGameMessage&& from) noexcept @@ -16438,8 +17289,13 @@ class AdminRemoveGameMessage PROTOBUF_FINAL : return *this; } inline AdminRemoveGameMessage& operator=(AdminRemoveGameMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -16453,22 +17309,27 @@ class AdminRemoveGameMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AdminRemoveGameMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AdminRemoveGameMessage& default_instance() { + return *internal_default_instance(); + } static inline const AdminRemoveGameMessage* internal_default_instance() { return reinterpret_cast( &_AdminRemoveGameMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 86; + 88; friend void swap(AdminRemoveGameMessage& a, AdminRemoveGameMessage& b) { a.Swap(&b); } inline void Swap(AdminRemoveGameMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16476,21 +17337,16 @@ class AdminRemoveGameMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AdminRemoveGameMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AdminRemoveGameMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AdminRemoveGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AdminRemoveGameMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AdminRemoveGameMessage& from); void MergeFrom(const AdminRemoveGameMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -16498,22 +17354,24 @@ class AdminRemoveGameMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AdminRemoveGameMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AdminRemoveGameMessage"; } protected: - explicit AdminRemoveGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AdminRemoveGameMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -16534,11 +17392,11 @@ class AdminRemoveGameMessage PROTOBUF_FINAL : bool _internal_has_removegameid() const; public: void clear_removegameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 removegameid() const; - void set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t removegameid() const; + void set_removegameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_removegameid() const; - void _internal_set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_removegameid() const; + void _internal_set_removegameid(uint32_t value); public: // @@protoc_insertion_point(class_scope:AdminRemoveGameMessage) @@ -16550,16 +17408,17 @@ class AdminRemoveGameMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 removegameid_; + uint32_t removegameid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AdminRemoveGameAckMessage PROTOBUF_FINAL : +class AdminRemoveGameAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AdminRemoveGameAckMessage) */ { public: - inline AdminRemoveGameAckMessage() : AdminRemoveGameAckMessage(nullptr) {}; - virtual ~AdminRemoveGameAckMessage(); + inline AdminRemoveGameAckMessage() : AdminRemoveGameAckMessage(nullptr) {} + ~AdminRemoveGameAckMessage() override; + explicit constexpr AdminRemoveGameAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AdminRemoveGameAckMessage(const AdminRemoveGameAckMessage& from); AdminRemoveGameAckMessage(AdminRemoveGameAckMessage&& from) noexcept @@ -16572,8 +17431,13 @@ class AdminRemoveGameAckMessage PROTOBUF_FINAL : return *this; } inline AdminRemoveGameAckMessage& operator=(AdminRemoveGameAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -16587,22 +17451,27 @@ class AdminRemoveGameAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AdminRemoveGameAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AdminRemoveGameAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const AdminRemoveGameAckMessage* internal_default_instance() { return reinterpret_cast( &_AdminRemoveGameAckMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 87; + 89; friend void swap(AdminRemoveGameAckMessage& a, AdminRemoveGameAckMessage& b) { a.Swap(&b); } inline void Swap(AdminRemoveGameAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16610,21 +17479,16 @@ class AdminRemoveGameAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AdminRemoveGameAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AdminRemoveGameAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AdminRemoveGameAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AdminRemoveGameAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AdminRemoveGameAckMessage& from); void MergeFrom(const AdminRemoveGameAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -16632,22 +17496,24 @@ class AdminRemoveGameAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AdminRemoveGameAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AdminRemoveGameAckMessage"; } protected: - explicit AdminRemoveGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AdminRemoveGameAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -16678,7 +17544,7 @@ class AdminRemoveGameAckMessage PROTOBUF_FINAL : "Incorrect type passed to function AdminRemoveGameResult_Name."); return AdminRemoveGameAckMessage_AdminRemoveGameResult_Name(enum_t_value); } - static inline bool AdminRemoveGameResult_Parse(const std::string& name, + static inline bool AdminRemoveGameResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AdminRemoveGameResult* value) { return AdminRemoveGameAckMessage_AdminRemoveGameResult_Parse(name, value); } @@ -16695,11 +17561,11 @@ class AdminRemoveGameAckMessage PROTOBUF_FINAL : bool _internal_has_removegameid() const; public: void clear_removegameid(); - ::PROTOBUF_NAMESPACE_ID::uint32 removegameid() const; - void set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t removegameid() const; + void set_removegameid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_removegameid() const; - void _internal_set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_removegameid() const; + void _internal_set_removegameid(uint32_t value); public: // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; @@ -16727,17 +17593,18 @@ class AdminRemoveGameAckMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 removegameid_; + uint32_t removegameid_; int removegameresult_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AdminBanPlayerMessage PROTOBUF_FINAL : +class AdminBanPlayerMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AdminBanPlayerMessage) */ { public: - inline AdminBanPlayerMessage() : AdminBanPlayerMessage(nullptr) {}; - virtual ~AdminBanPlayerMessage(); + inline AdminBanPlayerMessage() : AdminBanPlayerMessage(nullptr) {} + ~AdminBanPlayerMessage() override; + explicit constexpr AdminBanPlayerMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AdminBanPlayerMessage(const AdminBanPlayerMessage& from); AdminBanPlayerMessage(AdminBanPlayerMessage&& from) noexcept @@ -16750,8 +17617,13 @@ class AdminBanPlayerMessage PROTOBUF_FINAL : return *this; } inline AdminBanPlayerMessage& operator=(AdminBanPlayerMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -16765,22 +17637,27 @@ class AdminBanPlayerMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AdminBanPlayerMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AdminBanPlayerMessage& default_instance() { + return *internal_default_instance(); + } static inline const AdminBanPlayerMessage* internal_default_instance() { return reinterpret_cast( &_AdminBanPlayerMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 88; + 90; friend void swap(AdminBanPlayerMessage& a, AdminBanPlayerMessage& b) { a.Swap(&b); } inline void Swap(AdminBanPlayerMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16788,21 +17665,16 @@ class AdminBanPlayerMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AdminBanPlayerMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AdminBanPlayerMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AdminBanPlayerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AdminBanPlayerMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AdminBanPlayerMessage& from); void MergeFrom(const AdminBanPlayerMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -16810,22 +17682,24 @@ class AdminBanPlayerMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AdminBanPlayerMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AdminBanPlayerMessage"; } protected: - explicit AdminBanPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AdminBanPlayerMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -16846,11 +17720,11 @@ class AdminBanPlayerMessage PROTOBUF_FINAL : bool _internal_has_banplayerid() const; public: void clear_banplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 banplayerid() const; - void set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t banplayerid() const; + void set_banplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_banplayerid() const; - void _internal_set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_banplayerid() const; + void _internal_set_banplayerid(uint32_t value); public: // @@protoc_insertion_point(class_scope:AdminBanPlayerMessage) @@ -16862,16 +17736,17 @@ class AdminBanPlayerMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 banplayerid_; + uint32_t banplayerid_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class AdminBanPlayerAckMessage PROTOBUF_FINAL : +class AdminBanPlayerAckMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:AdminBanPlayerAckMessage) */ { public: - inline AdminBanPlayerAckMessage() : AdminBanPlayerAckMessage(nullptr) {}; - virtual ~AdminBanPlayerAckMessage(); + inline AdminBanPlayerAckMessage() : AdminBanPlayerAckMessage(nullptr) {} + ~AdminBanPlayerAckMessage() override; + explicit constexpr AdminBanPlayerAckMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); AdminBanPlayerAckMessage(const AdminBanPlayerAckMessage& from); AdminBanPlayerAckMessage(AdminBanPlayerAckMessage&& from) noexcept @@ -16884,8 +17759,13 @@ class AdminBanPlayerAckMessage PROTOBUF_FINAL : return *this; } inline AdminBanPlayerAckMessage& operator=(AdminBanPlayerAckMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -16899,22 +17779,27 @@ class AdminBanPlayerAckMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const AdminBanPlayerAckMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const AdminBanPlayerAckMessage& default_instance() { + return *internal_default_instance(); + } static inline const AdminBanPlayerAckMessage* internal_default_instance() { return reinterpret_cast( &_AdminBanPlayerAckMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 89; + 91; friend void swap(AdminBanPlayerAckMessage& a, AdminBanPlayerAckMessage& b) { a.Swap(&b); } inline void Swap(AdminBanPlayerAckMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -16922,21 +17807,16 @@ class AdminBanPlayerAckMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(AdminBanPlayerAckMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline AdminBanPlayerAckMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - AdminBanPlayerAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + AdminBanPlayerAckMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const AdminBanPlayerAckMessage& from); void MergeFrom(const AdminBanPlayerAckMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -16944,22 +17824,24 @@ class AdminBanPlayerAckMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(AdminBanPlayerAckMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "AdminBanPlayerAckMessage"; } protected: - explicit AdminBanPlayerAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit AdminBanPlayerAckMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -16996,7 +17878,7 @@ class AdminBanPlayerAckMessage PROTOBUF_FINAL : "Incorrect type passed to function AdminBanPlayerResult_Name."); return AdminBanPlayerAckMessage_AdminBanPlayerResult_Name(enum_t_value); } - static inline bool AdminBanPlayerResult_Parse(const std::string& name, + static inline bool AdminBanPlayerResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AdminBanPlayerResult* value) { return AdminBanPlayerAckMessage_AdminBanPlayerResult_Parse(name, value); } @@ -17013,11 +17895,11 @@ class AdminBanPlayerAckMessage PROTOBUF_FINAL : bool _internal_has_banplayerid() const; public: void clear_banplayerid(); - ::PROTOBUF_NAMESPACE_ID::uint32 banplayerid() const; - void set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t banplayerid() const; + void set_banplayerid(uint32_t value); private: - ::PROTOBUF_NAMESPACE_ID::uint32 _internal_banplayerid() const; - void _internal_set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value); + uint32_t _internal_banplayerid() const; + void _internal_set_banplayerid(uint32_t value); public: // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; @@ -17045,17 +17927,18 @@ class AdminBanPlayerAckMessage PROTOBUF_FINAL : typedef void DestructorSkippable_; ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; - ::PROTOBUF_NAMESPACE_ID::uint32 banplayerid_; + uint32_t banplayerid_; int banplayerresult_; friend struct ::TableStruct_pokerth_2eproto; }; // ------------------------------------------------------------------- -class PokerTHMessage PROTOBUF_FINAL : +class PokerTHMessage final : public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:PokerTHMessage) */ { public: - inline PokerTHMessage() : PokerTHMessage(nullptr) {}; - virtual ~PokerTHMessage(); + inline PokerTHMessage() : PokerTHMessage(nullptr) {} + ~PokerTHMessage() override; + explicit constexpr PokerTHMessage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); PokerTHMessage(const PokerTHMessage& from); PokerTHMessage(PokerTHMessage&& from) noexcept @@ -17068,8 +17951,13 @@ class PokerTHMessage PROTOBUF_FINAL : return *this; } inline PokerTHMessage& operator=(PokerTHMessage&& from) noexcept { - if (GetArena() == from.GetArena()) { - if (this != &from) InternalSwap(&from); + if (this == &from) return *this; + if (GetOwningArena() == from.GetOwningArena() + #ifdef PROTOBUF_FORCE_COPY_IN_MOVE + && GetOwningArena() != nullptr + #endif // !PROTOBUF_FORCE_COPY_IN_MOVE + ) { + InternalSwap(&from); } else { CopyFrom(from); } @@ -17083,22 +17971,27 @@ class PokerTHMessage PROTOBUF_FINAL : return _internal_metadata_.mutable_unknown_fields(); } - static const PokerTHMessage& default_instance(); - - static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static const PokerTHMessage& default_instance() { + return *internal_default_instance(); + } static inline const PokerTHMessage* internal_default_instance() { return reinterpret_cast( &_PokerTHMessage_default_instance_); } static constexpr int kIndexInFileMessages = - 90; + 92; friend void swap(PokerTHMessage& a, PokerTHMessage& b) { a.Swap(&b); } inline void Swap(PokerTHMessage* other) { if (other == this) return; - if (GetArena() == other->GetArena()) { + #ifdef PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() != nullptr && + GetOwningArena() == other->GetOwningArena()) { + #else // PROTOBUF_FORCE_COPY_IN_SWAP + if (GetOwningArena() == other->GetOwningArena()) { + #endif // !PROTOBUF_FORCE_COPY_IN_SWAP InternalSwap(other); } else { ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); @@ -17106,21 +17999,16 @@ class PokerTHMessage PROTOBUF_FINAL : } void UnsafeArenaSwap(PokerTHMessage* other) { if (other == this) return; - GOOGLE_DCHECK(GetArena() == other->GetArena()); + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); } // implements Message ---------------------------------------------- - inline PokerTHMessage* New() const final { - return CreateMaybeMessage(nullptr); - } - - PokerTHMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + PokerTHMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { return CreateMaybeMessage(arena); } - void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) - final; + void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final; void CopyFrom(const PokerTHMessage& from); void MergeFrom(const PokerTHMessage& from); PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; @@ -17128,22 +18016,24 @@ class PokerTHMessage PROTOBUF_FINAL : size_t ByteSizeLong() const final; const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; - ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( - ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; - void DiscardUnknownFields(); + uint8_t* _InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; int GetCachedSize() const final { return _cached_size_.Get(); } private: - inline void SharedCtor(); - inline void SharedDtor(); + void SharedCtor(); + void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(PokerTHMessage* other); + + private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "PokerTHMessage"; } protected: - explicit PokerTHMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena); + explicit PokerTHMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena, + bool is_message_owned = false); private: static void ArenaDtor(void* object); inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); @@ -17316,6 +18206,8 @@ class PokerTHMessage PROTOBUF_FINAL : PokerTHMessage_PokerTHMessageType_Type_GameSpectatorJoinedMessage; static constexpr PokerTHMessageType Type_GameSpectatorLeftMessage = PokerTHMessage_PokerTHMessageType_Type_GameSpectatorLeftMessage; + static constexpr PokerTHMessageType Type_GameStartReentryMessage = + PokerTHMessage_PokerTHMessageType_Type_GameStartReentryMessage; static inline bool PokerTHMessageType_IsValid(int value) { return PokerTHMessage_PokerTHMessageType_IsValid(value); } @@ -17332,7 +18224,7 @@ class PokerTHMessage PROTOBUF_FINAL : "Incorrect type passed to function PokerTHMessageType_Name."); return PokerTHMessage_PokerTHMessageType_Name(enum_t_value); } - static inline bool PokerTHMessageType_Parse(const std::string& name, + static inline bool PokerTHMessageType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PokerTHMessageType* value) { return PokerTHMessage_PokerTHMessageType_Parse(name, value); } @@ -17421,6 +18313,7 @@ class PokerTHMessage PROTOBUF_FINAL : kGameListSpectatorLeftMessageFieldNumber = 80, kGameSpectatorJoinedMessageFieldNumber = 81, kGameSpectatorLeftMessageFieldNumber = 82, + kGameStartReentryMessageFieldNumber = 83, kMessageTypeFieldNumber = 1, }; // optional .AnnounceMessage announceMessage = 2; @@ -17430,7 +18323,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_announcemessage(); const ::AnnounceMessage& announcemessage() const; - ::AnnounceMessage* release_announcemessage(); + PROTOBUF_NODISCARD ::AnnounceMessage* release_announcemessage(); ::AnnounceMessage* mutable_announcemessage(); void set_allocated_announcemessage(::AnnounceMessage* announcemessage); private: @@ -17448,7 +18341,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_initmessage(); const ::InitMessage& initmessage() const; - ::InitMessage* release_initmessage(); + PROTOBUF_NODISCARD ::InitMessage* release_initmessage(); ::InitMessage* mutable_initmessage(); void set_allocated_initmessage(::InitMessage* initmessage); private: @@ -17466,7 +18359,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_authserverchallengemessage(); const ::AuthServerChallengeMessage& authserverchallengemessage() const; - ::AuthServerChallengeMessage* release_authserverchallengemessage(); + PROTOBUF_NODISCARD ::AuthServerChallengeMessage* release_authserverchallengemessage(); ::AuthServerChallengeMessage* mutable_authserverchallengemessage(); void set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage); private: @@ -17484,7 +18377,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_authclientresponsemessage(); const ::AuthClientResponseMessage& authclientresponsemessage() const; - ::AuthClientResponseMessage* release_authclientresponsemessage(); + PROTOBUF_NODISCARD ::AuthClientResponseMessage* release_authclientresponsemessage(); ::AuthClientResponseMessage* mutable_authclientresponsemessage(); void set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage); private: @@ -17502,7 +18395,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_authserververificationmessage(); const ::AuthServerVerificationMessage& authserververificationmessage() const; - ::AuthServerVerificationMessage* release_authserververificationmessage(); + PROTOBUF_NODISCARD ::AuthServerVerificationMessage* release_authserververificationmessage(); ::AuthServerVerificationMessage* mutable_authserververificationmessage(); void set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage); private: @@ -17520,7 +18413,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_initackmessage(); const ::InitAckMessage& initackmessage() const; - ::InitAckMessage* release_initackmessage(); + PROTOBUF_NODISCARD ::InitAckMessage* release_initackmessage(); ::InitAckMessage* mutable_initackmessage(); void set_allocated_initackmessage(::InitAckMessage* initackmessage); private: @@ -17538,7 +18431,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_avatarrequestmessage(); const ::AvatarRequestMessage& avatarrequestmessage() const; - ::AvatarRequestMessage* release_avatarrequestmessage(); + PROTOBUF_NODISCARD ::AvatarRequestMessage* release_avatarrequestmessage(); ::AvatarRequestMessage* mutable_avatarrequestmessage(); void set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage); private: @@ -17556,7 +18449,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_avatarheadermessage(); const ::AvatarHeaderMessage& avatarheadermessage() const; - ::AvatarHeaderMessage* release_avatarheadermessage(); + PROTOBUF_NODISCARD ::AvatarHeaderMessage* release_avatarheadermessage(); ::AvatarHeaderMessage* mutable_avatarheadermessage(); void set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage); private: @@ -17574,7 +18467,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_avatardatamessage(); const ::AvatarDataMessage& avatardatamessage() const; - ::AvatarDataMessage* release_avatardatamessage(); + PROTOBUF_NODISCARD ::AvatarDataMessage* release_avatardatamessage(); ::AvatarDataMessage* mutable_avatardatamessage(); void set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage); private: @@ -17592,7 +18485,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_avatarendmessage(); const ::AvatarEndMessage& avatarendmessage() const; - ::AvatarEndMessage* release_avatarendmessage(); + PROTOBUF_NODISCARD ::AvatarEndMessage* release_avatarendmessage(); ::AvatarEndMessage* mutable_avatarendmessage(); void set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage); private: @@ -17610,7 +18503,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_unknownavatarmessage(); const ::UnknownAvatarMessage& unknownavatarmessage() const; - ::UnknownAvatarMessage* release_unknownavatarmessage(); + PROTOBUF_NODISCARD ::UnknownAvatarMessage* release_unknownavatarmessage(); ::UnknownAvatarMessage* mutable_unknownavatarmessage(); void set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage); private: @@ -17628,7 +18521,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_playerlistmessage(); const ::PlayerListMessage& playerlistmessage() const; - ::PlayerListMessage* release_playerlistmessage(); + PROTOBUF_NODISCARD ::PlayerListMessage* release_playerlistmessage(); ::PlayerListMessage* mutable_playerlistmessage(); void set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage); private: @@ -17646,7 +18539,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamelistnewmessage(); const ::GameListNewMessage& gamelistnewmessage() const; - ::GameListNewMessage* release_gamelistnewmessage(); + PROTOBUF_NODISCARD ::GameListNewMessage* release_gamelistnewmessage(); ::GameListNewMessage* mutable_gamelistnewmessage(); void set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage); private: @@ -17664,7 +18557,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamelistupdatemessage(); const ::GameListUpdateMessage& gamelistupdatemessage() const; - ::GameListUpdateMessage* release_gamelistupdatemessage(); + PROTOBUF_NODISCARD ::GameListUpdateMessage* release_gamelistupdatemessage(); ::GameListUpdateMessage* mutable_gamelistupdatemessage(); void set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage); private: @@ -17682,7 +18575,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamelistplayerjoinedmessage(); const ::GameListPlayerJoinedMessage& gamelistplayerjoinedmessage() const; - ::GameListPlayerJoinedMessage* release_gamelistplayerjoinedmessage(); + PROTOBUF_NODISCARD ::GameListPlayerJoinedMessage* release_gamelistplayerjoinedmessage(); ::GameListPlayerJoinedMessage* mutable_gamelistplayerjoinedmessage(); void set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage); private: @@ -17700,7 +18593,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamelistplayerleftmessage(); const ::GameListPlayerLeftMessage& gamelistplayerleftmessage() const; - ::GameListPlayerLeftMessage* release_gamelistplayerleftmessage(); + PROTOBUF_NODISCARD ::GameListPlayerLeftMessage* release_gamelistplayerleftmessage(); ::GameListPlayerLeftMessage* mutable_gamelistplayerleftmessage(); void set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage); private: @@ -17718,7 +18611,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamelistadminchangedmessage(); const ::GameListAdminChangedMessage& gamelistadminchangedmessage() const; - ::GameListAdminChangedMessage* release_gamelistadminchangedmessage(); + PROTOBUF_NODISCARD ::GameListAdminChangedMessage* release_gamelistadminchangedmessage(); ::GameListAdminChangedMessage* mutable_gamelistadminchangedmessage(); void set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage); private: @@ -17736,7 +18629,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_playerinforequestmessage(); const ::PlayerInfoRequestMessage& playerinforequestmessage() const; - ::PlayerInfoRequestMessage* release_playerinforequestmessage(); + PROTOBUF_NODISCARD ::PlayerInfoRequestMessage* release_playerinforequestmessage(); ::PlayerInfoRequestMessage* mutable_playerinforequestmessage(); void set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage); private: @@ -17754,7 +18647,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_playerinforeplymessage(); const ::PlayerInfoReplyMessage& playerinforeplymessage() const; - ::PlayerInfoReplyMessage* release_playerinforeplymessage(); + PROTOBUF_NODISCARD ::PlayerInfoReplyMessage* release_playerinforeplymessage(); ::PlayerInfoReplyMessage* mutable_playerinforeplymessage(); void set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage); private: @@ -17772,7 +18665,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_subscriptionrequestmessage(); const ::SubscriptionRequestMessage& subscriptionrequestmessage() const; - ::SubscriptionRequestMessage* release_subscriptionrequestmessage(); + PROTOBUF_NODISCARD ::SubscriptionRequestMessage* release_subscriptionrequestmessage(); ::SubscriptionRequestMessage* mutable_subscriptionrequestmessage(); void set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage); private: @@ -17790,7 +18683,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_joinexistinggamemessage(); const ::JoinExistingGameMessage& joinexistinggamemessage() const; - ::JoinExistingGameMessage* release_joinexistinggamemessage(); + PROTOBUF_NODISCARD ::JoinExistingGameMessage* release_joinexistinggamemessage(); ::JoinExistingGameMessage* mutable_joinexistinggamemessage(); void set_allocated_joinexistinggamemessage(::JoinExistingGameMessage* joinexistinggamemessage); private: @@ -17808,7 +18701,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_joinnewgamemessage(); const ::JoinNewGameMessage& joinnewgamemessage() const; - ::JoinNewGameMessage* release_joinnewgamemessage(); + PROTOBUF_NODISCARD ::JoinNewGameMessage* release_joinnewgamemessage(); ::JoinNewGameMessage* mutable_joinnewgamemessage(); void set_allocated_joinnewgamemessage(::JoinNewGameMessage* joinnewgamemessage); private: @@ -17826,7 +18719,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_rejoinexistinggamemessage(); const ::RejoinExistingGameMessage& rejoinexistinggamemessage() const; - ::RejoinExistingGameMessage* release_rejoinexistinggamemessage(); + PROTOBUF_NODISCARD ::RejoinExistingGameMessage* release_rejoinexistinggamemessage(); ::RejoinExistingGameMessage* mutable_rejoinexistinggamemessage(); void set_allocated_rejoinexistinggamemessage(::RejoinExistingGameMessage* rejoinexistinggamemessage); private: @@ -17844,7 +18737,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_joingameackmessage(); const ::JoinGameAckMessage& joingameackmessage() const; - ::JoinGameAckMessage* release_joingameackmessage(); + PROTOBUF_NODISCARD ::JoinGameAckMessage* release_joingameackmessage(); ::JoinGameAckMessage* mutable_joingameackmessage(); void set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage); private: @@ -17862,7 +18755,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_joingamefailedmessage(); const ::JoinGameFailedMessage& joingamefailedmessage() const; - ::JoinGameFailedMessage* release_joingamefailedmessage(); + PROTOBUF_NODISCARD ::JoinGameFailedMessage* release_joingamefailedmessage(); ::JoinGameFailedMessage* mutable_joingamefailedmessage(); void set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage); private: @@ -17880,7 +18773,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gameplayerjoinedmessage(); const ::GamePlayerJoinedMessage& gameplayerjoinedmessage() const; - ::GamePlayerJoinedMessage* release_gameplayerjoinedmessage(); + PROTOBUF_NODISCARD ::GamePlayerJoinedMessage* release_gameplayerjoinedmessage(); ::GamePlayerJoinedMessage* mutable_gameplayerjoinedmessage(); void set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage); private: @@ -17898,7 +18791,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gameplayerleftmessage(); const ::GamePlayerLeftMessage& gameplayerleftmessage() const; - ::GamePlayerLeftMessage* release_gameplayerleftmessage(); + PROTOBUF_NODISCARD ::GamePlayerLeftMessage* release_gameplayerleftmessage(); ::GamePlayerLeftMessage* mutable_gameplayerleftmessage(); void set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage); private: @@ -17916,7 +18809,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gameadminchangedmessage(); const ::GameAdminChangedMessage& gameadminchangedmessage() const; - ::GameAdminChangedMessage* release_gameadminchangedmessage(); + PROTOBUF_NODISCARD ::GameAdminChangedMessage* release_gameadminchangedmessage(); ::GameAdminChangedMessage* mutable_gameadminchangedmessage(); void set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage); private: @@ -17934,7 +18827,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_removedfromgamemessage(); const ::RemovedFromGameMessage& removedfromgamemessage() const; - ::RemovedFromGameMessage* release_removedfromgamemessage(); + PROTOBUF_NODISCARD ::RemovedFromGameMessage* release_removedfromgamemessage(); ::RemovedFromGameMessage* mutable_removedfromgamemessage(); void set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage); private: @@ -17952,7 +18845,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_kickplayerrequestmessage(); const ::KickPlayerRequestMessage& kickplayerrequestmessage() const; - ::KickPlayerRequestMessage* release_kickplayerrequestmessage(); + PROTOBUF_NODISCARD ::KickPlayerRequestMessage* release_kickplayerrequestmessage(); ::KickPlayerRequestMessage* mutable_kickplayerrequestmessage(); void set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage); private: @@ -17970,7 +18863,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_leavegamerequestmessage(); const ::LeaveGameRequestMessage& leavegamerequestmessage() const; - ::LeaveGameRequestMessage* release_leavegamerequestmessage(); + PROTOBUF_NODISCARD ::LeaveGameRequestMessage* release_leavegamerequestmessage(); ::LeaveGameRequestMessage* mutable_leavegamerequestmessage(); void set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage); private: @@ -17988,7 +18881,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_inviteplayertogamemessage(); const ::InvitePlayerToGameMessage& inviteplayertogamemessage() const; - ::InvitePlayerToGameMessage* release_inviteplayertogamemessage(); + PROTOBUF_NODISCARD ::InvitePlayerToGameMessage* release_inviteplayertogamemessage(); ::InvitePlayerToGameMessage* mutable_inviteplayertogamemessage(); void set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage); private: @@ -18006,7 +18899,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_invitenotifymessage(); const ::InviteNotifyMessage& invitenotifymessage() const; - ::InviteNotifyMessage* release_invitenotifymessage(); + PROTOBUF_NODISCARD ::InviteNotifyMessage* release_invitenotifymessage(); ::InviteNotifyMessage* mutable_invitenotifymessage(); void set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage); private: @@ -18024,7 +18917,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_rejectgameinvitationmessage(); const ::RejectGameInvitationMessage& rejectgameinvitationmessage() const; - ::RejectGameInvitationMessage* release_rejectgameinvitationmessage(); + PROTOBUF_NODISCARD ::RejectGameInvitationMessage* release_rejectgameinvitationmessage(); ::RejectGameInvitationMessage* mutable_rejectgameinvitationmessage(); void set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage); private: @@ -18042,7 +18935,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_rejectinvnotifymessage(); const ::RejectInvNotifyMessage& rejectinvnotifymessage() const; - ::RejectInvNotifyMessage* release_rejectinvnotifymessage(); + PROTOBUF_NODISCARD ::RejectInvNotifyMessage* release_rejectinvnotifymessage(); ::RejectInvNotifyMessage* mutable_rejectinvnotifymessage(); void set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage); private: @@ -18060,7 +18953,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_starteventmessage(); const ::StartEventMessage& starteventmessage() const; - ::StartEventMessage* release_starteventmessage(); + PROTOBUF_NODISCARD ::StartEventMessage* release_starteventmessage(); ::StartEventMessage* mutable_starteventmessage(); void set_allocated_starteventmessage(::StartEventMessage* starteventmessage); private: @@ -18078,7 +18971,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_starteventackmessage(); const ::StartEventAckMessage& starteventackmessage() const; - ::StartEventAckMessage* release_starteventackmessage(); + PROTOBUF_NODISCARD ::StartEventAckMessage* release_starteventackmessage(); ::StartEventAckMessage* mutable_starteventackmessage(); void set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage); private: @@ -18096,7 +18989,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamestartinitialmessage(); const ::GameStartInitialMessage& gamestartinitialmessage() const; - ::GameStartInitialMessage* release_gamestartinitialmessage(); + PROTOBUF_NODISCARD ::GameStartInitialMessage* release_gamestartinitialmessage(); ::GameStartInitialMessage* mutable_gamestartinitialmessage(); void set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage); private: @@ -18114,7 +19007,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamestartrejoinmessage(); const ::GameStartRejoinMessage& gamestartrejoinmessage() const; - ::GameStartRejoinMessage* release_gamestartrejoinmessage(); + PROTOBUF_NODISCARD ::GameStartRejoinMessage* release_gamestartrejoinmessage(); ::GameStartRejoinMessage* mutable_gamestartrejoinmessage(); void set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage); private: @@ -18132,7 +19025,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_handstartmessage(); const ::HandStartMessage& handstartmessage() const; - ::HandStartMessage* release_handstartmessage(); + PROTOBUF_NODISCARD ::HandStartMessage* release_handstartmessage(); ::HandStartMessage* mutable_handstartmessage(); void set_allocated_handstartmessage(::HandStartMessage* handstartmessage); private: @@ -18150,7 +19043,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_playersturnmessage(); const ::PlayersTurnMessage& playersturnmessage() const; - ::PlayersTurnMessage* release_playersturnmessage(); + PROTOBUF_NODISCARD ::PlayersTurnMessage* release_playersturnmessage(); ::PlayersTurnMessage* mutable_playersturnmessage(); void set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage); private: @@ -18168,7 +19061,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_myactionrequestmessage(); const ::MyActionRequestMessage& myactionrequestmessage() const; - ::MyActionRequestMessage* release_myactionrequestmessage(); + PROTOBUF_NODISCARD ::MyActionRequestMessage* release_myactionrequestmessage(); ::MyActionRequestMessage* mutable_myactionrequestmessage(); void set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage); private: @@ -18186,7 +19079,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_youractionrejectedmessage(); const ::YourActionRejectedMessage& youractionrejectedmessage() const; - ::YourActionRejectedMessage* release_youractionrejectedmessage(); + PROTOBUF_NODISCARD ::YourActionRejectedMessage* release_youractionrejectedmessage(); ::YourActionRejectedMessage* mutable_youractionrejectedmessage(); void set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage); private: @@ -18204,7 +19097,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_playersactiondonemessage(); const ::PlayersActionDoneMessage& playersactiondonemessage() const; - ::PlayersActionDoneMessage* release_playersactiondonemessage(); + PROTOBUF_NODISCARD ::PlayersActionDoneMessage* release_playersactiondonemessage(); ::PlayersActionDoneMessage* mutable_playersactiondonemessage(); void set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage); private: @@ -18222,7 +19115,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_dealflopcardsmessage(); const ::DealFlopCardsMessage& dealflopcardsmessage() const; - ::DealFlopCardsMessage* release_dealflopcardsmessage(); + PROTOBUF_NODISCARD ::DealFlopCardsMessage* release_dealflopcardsmessage(); ::DealFlopCardsMessage* mutable_dealflopcardsmessage(); void set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage); private: @@ -18240,7 +19133,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_dealturncardmessage(); const ::DealTurnCardMessage& dealturncardmessage() const; - ::DealTurnCardMessage* release_dealturncardmessage(); + PROTOBUF_NODISCARD ::DealTurnCardMessage* release_dealturncardmessage(); ::DealTurnCardMessage* mutable_dealturncardmessage(); void set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage); private: @@ -18258,7 +19151,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_dealrivercardmessage(); const ::DealRiverCardMessage& dealrivercardmessage() const; - ::DealRiverCardMessage* release_dealrivercardmessage(); + PROTOBUF_NODISCARD ::DealRiverCardMessage* release_dealrivercardmessage(); ::DealRiverCardMessage* mutable_dealrivercardmessage(); void set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage); private: @@ -18276,7 +19169,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_allinshowcardsmessage(); const ::AllInShowCardsMessage& allinshowcardsmessage() const; - ::AllInShowCardsMessage* release_allinshowcardsmessage(); + PROTOBUF_NODISCARD ::AllInShowCardsMessage* release_allinshowcardsmessage(); ::AllInShowCardsMessage* mutable_allinshowcardsmessage(); void set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage); private: @@ -18294,7 +19187,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_endofhandshowcardsmessage(); const ::EndOfHandShowCardsMessage& endofhandshowcardsmessage() const; - ::EndOfHandShowCardsMessage* release_endofhandshowcardsmessage(); + PROTOBUF_NODISCARD ::EndOfHandShowCardsMessage* release_endofhandshowcardsmessage(); ::EndOfHandShowCardsMessage* mutable_endofhandshowcardsmessage(); void set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage); private: @@ -18312,7 +19205,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_endofhandhidecardsmessage(); const ::EndOfHandHideCardsMessage& endofhandhidecardsmessage() const; - ::EndOfHandHideCardsMessage* release_endofhandhidecardsmessage(); + PROTOBUF_NODISCARD ::EndOfHandHideCardsMessage* release_endofhandhidecardsmessage(); ::EndOfHandHideCardsMessage* mutable_endofhandhidecardsmessage(); void set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage); private: @@ -18330,7 +19223,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_showmycardsrequestmessage(); const ::ShowMyCardsRequestMessage& showmycardsrequestmessage() const; - ::ShowMyCardsRequestMessage* release_showmycardsrequestmessage(); + PROTOBUF_NODISCARD ::ShowMyCardsRequestMessage* release_showmycardsrequestmessage(); ::ShowMyCardsRequestMessage* mutable_showmycardsrequestmessage(); void set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage); private: @@ -18348,7 +19241,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_afterhandshowcardsmessage(); const ::AfterHandShowCardsMessage& afterhandshowcardsmessage() const; - ::AfterHandShowCardsMessage* release_afterhandshowcardsmessage(); + PROTOBUF_NODISCARD ::AfterHandShowCardsMessage* release_afterhandshowcardsmessage(); ::AfterHandShowCardsMessage* mutable_afterhandshowcardsmessage(); void set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage); private: @@ -18366,7 +19259,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_endofgamemessage(); const ::EndOfGameMessage& endofgamemessage() const; - ::EndOfGameMessage* release_endofgamemessage(); + PROTOBUF_NODISCARD ::EndOfGameMessage* release_endofgamemessage(); ::EndOfGameMessage* mutable_endofgamemessage(); void set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage); private: @@ -18384,7 +19277,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_playeridchangedmessage(); const ::PlayerIdChangedMessage& playeridchangedmessage() const; - ::PlayerIdChangedMessage* release_playeridchangedmessage(); + PROTOBUF_NODISCARD ::PlayerIdChangedMessage* release_playeridchangedmessage(); ::PlayerIdChangedMessage* mutable_playeridchangedmessage(); void set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage); private: @@ -18402,7 +19295,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_askkickplayermessage(); const ::AskKickPlayerMessage& askkickplayermessage() const; - ::AskKickPlayerMessage* release_askkickplayermessage(); + PROTOBUF_NODISCARD ::AskKickPlayerMessage* release_askkickplayermessage(); ::AskKickPlayerMessage* mutable_askkickplayermessage(); void set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage); private: @@ -18420,7 +19313,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_askkickdeniedmessage(); const ::AskKickDeniedMessage& askkickdeniedmessage() const; - ::AskKickDeniedMessage* release_askkickdeniedmessage(); + PROTOBUF_NODISCARD ::AskKickDeniedMessage* release_askkickdeniedmessage(); ::AskKickDeniedMessage* mutable_askkickdeniedmessage(); void set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage); private: @@ -18438,7 +19331,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_startkickpetitionmessage(); const ::StartKickPetitionMessage& startkickpetitionmessage() const; - ::StartKickPetitionMessage* release_startkickpetitionmessage(); + PROTOBUF_NODISCARD ::StartKickPetitionMessage* release_startkickpetitionmessage(); ::StartKickPetitionMessage* mutable_startkickpetitionmessage(); void set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage); private: @@ -18456,7 +19349,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_votekickrequestmessage(); const ::VoteKickRequestMessage& votekickrequestmessage() const; - ::VoteKickRequestMessage* release_votekickrequestmessage(); + PROTOBUF_NODISCARD ::VoteKickRequestMessage* release_votekickrequestmessage(); ::VoteKickRequestMessage* mutable_votekickrequestmessage(); void set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage); private: @@ -18474,7 +19367,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_votekickreplymessage(); const ::VoteKickReplyMessage& votekickreplymessage() const; - ::VoteKickReplyMessage* release_votekickreplymessage(); + PROTOBUF_NODISCARD ::VoteKickReplyMessage* release_votekickreplymessage(); ::VoteKickReplyMessage* mutable_votekickreplymessage(); void set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage); private: @@ -18492,7 +19385,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_kickpetitionupdatemessage(); const ::KickPetitionUpdateMessage& kickpetitionupdatemessage() const; - ::KickPetitionUpdateMessage* release_kickpetitionupdatemessage(); + PROTOBUF_NODISCARD ::KickPetitionUpdateMessage* release_kickpetitionupdatemessage(); ::KickPetitionUpdateMessage* mutable_kickpetitionupdatemessage(); void set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage); private: @@ -18510,7 +19403,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_endkickpetitionmessage(); const ::EndKickPetitionMessage& endkickpetitionmessage() const; - ::EndKickPetitionMessage* release_endkickpetitionmessage(); + PROTOBUF_NODISCARD ::EndKickPetitionMessage* release_endkickpetitionmessage(); ::EndKickPetitionMessage* mutable_endkickpetitionmessage(); void set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage); private: @@ -18528,7 +19421,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_statisticsmessage(); const ::StatisticsMessage& statisticsmessage() const; - ::StatisticsMessage* release_statisticsmessage(); + PROTOBUF_NODISCARD ::StatisticsMessage* release_statisticsmessage(); ::StatisticsMessage* mutable_statisticsmessage(); void set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage); private: @@ -18546,7 +19439,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_chatrequestmessage(); const ::ChatRequestMessage& chatrequestmessage() const; - ::ChatRequestMessage* release_chatrequestmessage(); + PROTOBUF_NODISCARD ::ChatRequestMessage* release_chatrequestmessage(); ::ChatRequestMessage* mutable_chatrequestmessage(); void set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage); private: @@ -18564,7 +19457,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_chatmessage(); const ::ChatMessage& chatmessage() const; - ::ChatMessage* release_chatmessage(); + PROTOBUF_NODISCARD ::ChatMessage* release_chatmessage(); ::ChatMessage* mutable_chatmessage(); void set_allocated_chatmessage(::ChatMessage* chatmessage); private: @@ -18582,7 +19475,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_chatrejectmessage(); const ::ChatRejectMessage& chatrejectmessage() const; - ::ChatRejectMessage* release_chatrejectmessage(); + PROTOBUF_NODISCARD ::ChatRejectMessage* release_chatrejectmessage(); ::ChatRejectMessage* mutable_chatrejectmessage(); void set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage); private: @@ -18600,7 +19493,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_dialogmessage(); const ::DialogMessage& dialogmessage() const; - ::DialogMessage* release_dialogmessage(); + PROTOBUF_NODISCARD ::DialogMessage* release_dialogmessage(); ::DialogMessage* mutable_dialogmessage(); void set_allocated_dialogmessage(::DialogMessage* dialogmessage); private: @@ -18618,7 +19511,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_timeoutwarningmessage(); const ::TimeoutWarningMessage& timeoutwarningmessage() const; - ::TimeoutWarningMessage* release_timeoutwarningmessage(); + PROTOBUF_NODISCARD ::TimeoutWarningMessage* release_timeoutwarningmessage(); ::TimeoutWarningMessage* mutable_timeoutwarningmessage(); void set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage); private: @@ -18636,7 +19529,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_resettimeoutmessage(); const ::ResetTimeoutMessage& resettimeoutmessage() const; - ::ResetTimeoutMessage* release_resettimeoutmessage(); + PROTOBUF_NODISCARD ::ResetTimeoutMessage* release_resettimeoutmessage(); ::ResetTimeoutMessage* mutable_resettimeoutmessage(); void set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage); private: @@ -18654,7 +19547,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_reportavatarmessage(); const ::ReportAvatarMessage& reportavatarmessage() const; - ::ReportAvatarMessage* release_reportavatarmessage(); + PROTOBUF_NODISCARD ::ReportAvatarMessage* release_reportavatarmessage(); ::ReportAvatarMessage* mutable_reportavatarmessage(); void set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage); private: @@ -18672,7 +19565,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_reportavatarackmessage(); const ::ReportAvatarAckMessage& reportavatarackmessage() const; - ::ReportAvatarAckMessage* release_reportavatarackmessage(); + PROTOBUF_NODISCARD ::ReportAvatarAckMessage* release_reportavatarackmessage(); ::ReportAvatarAckMessage* mutable_reportavatarackmessage(); void set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage); private: @@ -18690,7 +19583,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_reportgamemessage(); const ::ReportGameMessage& reportgamemessage() const; - ::ReportGameMessage* release_reportgamemessage(); + PROTOBUF_NODISCARD ::ReportGameMessage* release_reportgamemessage(); ::ReportGameMessage* mutable_reportgamemessage(); void set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage); private: @@ -18708,7 +19601,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_reportgameackmessage(); const ::ReportGameAckMessage& reportgameackmessage() const; - ::ReportGameAckMessage* release_reportgameackmessage(); + PROTOBUF_NODISCARD ::ReportGameAckMessage* release_reportgameackmessage(); ::ReportGameAckMessage* mutable_reportgameackmessage(); void set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage); private: @@ -18726,7 +19619,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_errormessage(); const ::ErrorMessage& errormessage() const; - ::ErrorMessage* release_errormessage(); + PROTOBUF_NODISCARD ::ErrorMessage* release_errormessage(); ::ErrorMessage* mutable_errormessage(); void set_allocated_errormessage(::ErrorMessage* errormessage); private: @@ -18744,7 +19637,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_adminremovegamemessage(); const ::AdminRemoveGameMessage& adminremovegamemessage() const; - ::AdminRemoveGameMessage* release_adminremovegamemessage(); + PROTOBUF_NODISCARD ::AdminRemoveGameMessage* release_adminremovegamemessage(); ::AdminRemoveGameMessage* mutable_adminremovegamemessage(); void set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage); private: @@ -18762,7 +19655,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_adminremovegameackmessage(); const ::AdminRemoveGameAckMessage& adminremovegameackmessage() const; - ::AdminRemoveGameAckMessage* release_adminremovegameackmessage(); + PROTOBUF_NODISCARD ::AdminRemoveGameAckMessage* release_adminremovegameackmessage(); ::AdminRemoveGameAckMessage* mutable_adminremovegameackmessage(); void set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage); private: @@ -18780,7 +19673,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_adminbanplayermessage(); const ::AdminBanPlayerMessage& adminbanplayermessage() const; - ::AdminBanPlayerMessage* release_adminbanplayermessage(); + PROTOBUF_NODISCARD ::AdminBanPlayerMessage* release_adminbanplayermessage(); ::AdminBanPlayerMessage* mutable_adminbanplayermessage(); void set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage); private: @@ -18798,7 +19691,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_adminbanplayerackmessage(); const ::AdminBanPlayerAckMessage& adminbanplayerackmessage() const; - ::AdminBanPlayerAckMessage* release_adminbanplayerackmessage(); + PROTOBUF_NODISCARD ::AdminBanPlayerAckMessage* release_adminbanplayerackmessage(); ::AdminBanPlayerAckMessage* mutable_adminbanplayerackmessage(); void set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage); private: @@ -18816,7 +19709,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamelistspectatorjoinedmessage(); const ::GameListSpectatorJoinedMessage& gamelistspectatorjoinedmessage() const; - ::GameListSpectatorJoinedMessage* release_gamelistspectatorjoinedmessage(); + PROTOBUF_NODISCARD ::GameListSpectatorJoinedMessage* release_gamelistspectatorjoinedmessage(); ::GameListSpectatorJoinedMessage* mutable_gamelistspectatorjoinedmessage(); void set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage); private: @@ -18834,7 +19727,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamelistspectatorleftmessage(); const ::GameListSpectatorLeftMessage& gamelistspectatorleftmessage() const; - ::GameListSpectatorLeftMessage* release_gamelistspectatorleftmessage(); + PROTOBUF_NODISCARD ::GameListSpectatorLeftMessage* release_gamelistspectatorleftmessage(); ::GameListSpectatorLeftMessage* mutable_gamelistspectatorleftmessage(); void set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage); private: @@ -18852,7 +19745,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamespectatorjoinedmessage(); const ::GameSpectatorJoinedMessage& gamespectatorjoinedmessage() const; - ::GameSpectatorJoinedMessage* release_gamespectatorjoinedmessage(); + PROTOBUF_NODISCARD ::GameSpectatorJoinedMessage* release_gamespectatorjoinedmessage(); ::GameSpectatorJoinedMessage* mutable_gamespectatorjoinedmessage(); void set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage); private: @@ -18870,7 +19763,7 @@ class PokerTHMessage PROTOBUF_FINAL : public: void clear_gamespectatorleftmessage(); const ::GameSpectatorLeftMessage& gamespectatorleftmessage() const; - ::GameSpectatorLeftMessage* release_gamespectatorleftmessage(); + PROTOBUF_NODISCARD ::GameSpectatorLeftMessage* release_gamespectatorleftmessage(); ::GameSpectatorLeftMessage* mutable_gamespectatorleftmessage(); void set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage); private: @@ -18881,6 +19774,24 @@ class PokerTHMessage PROTOBUF_FINAL : ::GameSpectatorLeftMessage* gamespectatorleftmessage); ::GameSpectatorLeftMessage* unsafe_arena_release_gamespectatorleftmessage(); + // optional .GameStartReentryMessage gameStartReentryMessage = 83; + bool has_gamestartreentrymessage() const; + private: + bool _internal_has_gamestartreentrymessage() const; + public: + void clear_gamestartreentrymessage(); + const ::GameStartReentryMessage& gamestartreentrymessage() const; + PROTOBUF_NODISCARD ::GameStartReentryMessage* release_gamestartreentrymessage(); + ::GameStartReentryMessage* mutable_gamestartreentrymessage(); + void set_allocated_gamestartreentrymessage(::GameStartReentryMessage* gamestartreentrymessage); + private: + const ::GameStartReentryMessage& _internal_gamestartreentrymessage() const; + ::GameStartReentryMessage* _internal_mutable_gamestartreentrymessage(); + public: + void unsafe_arena_set_allocated_gamestartreentrymessage( + ::GameStartReentryMessage* gamestartreentrymessage); + ::GameStartReentryMessage* unsafe_arena_release_gamestartreentrymessage(); + // required .PokerTHMessage.PokerTHMessageType messageType = 1; bool has_messagetype() const; private: @@ -18894,15 +19805,6 @@ class PokerTHMessage PROTOBUF_FINAL : void _internal_set_messagetype(::PokerTHMessage_PokerTHMessageType value); public: - // optional .GameStartReentryMessage gameStartReentryMessage = 83; - inline bool has_gamestartreentrymessage() const; - inline void clear_gamestartreentrymessage(); - static const int kGameStartReentryMessageFieldNumber = 83; - inline const ::GameStartReentryMessage& gamestartreentrymessage() const; - inline ::GameStartReentryMessage* mutable_gamestartreentrymessage(); - inline ::GameStartReentryMessage* release_gamestartreentrymessage(); - inline void set_allocated_gamestartreentrymessage(::GameStartReentryMessage* gamestartreentrymessage); - // @@protoc_insertion_point(class_scope:PokerTHMessage) private: class _Internal; @@ -19017,51 +19919,35 @@ inline bool NetGameInfo::has_gamename() const { return _internal_has_gamename(); } inline void NetGameInfo::clear_gamename() { - gamename_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + gamename_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& NetGameInfo::gamename() const { // @@protoc_insertion_point(field_get:NetGameInfo.gameName) return _internal_gamename(); } -inline void NetGameInfo::set_gamename(const std::string& value) { - _internal_set_gamename(value); +template +inline PROTOBUF_ALWAYS_INLINE +void NetGameInfo::set_gamename(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + gamename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:NetGameInfo.gameName) } inline std::string* NetGameInfo::mutable_gamename() { + std::string* _s = _internal_mutable_gamename(); // @@protoc_insertion_point(field_mutable:NetGameInfo.gameName) - return _internal_mutable_gamename(); + return _s; } inline const std::string& NetGameInfo::_internal_gamename() const { return gamename_.Get(); } inline void NetGameInfo::_internal_set_gamename(const std::string& value) { _has_bits_[0] |= 0x00000001u; - gamename_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void NetGameInfo::set_gamename(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - gamename_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:NetGameInfo.gameName) -} -inline void NetGameInfo::set_gamename(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - gamename_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:NetGameInfo.gameName) -} -inline void NetGameInfo::set_gamename(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - gamename_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:NetGameInfo.gameName) + gamename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* NetGameInfo::_internal_mutable_gamename() { _has_bits_[0] |= 0x00000001u; - return gamename_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return gamename_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* NetGameInfo::release_gamename() { // @@protoc_insertion_point(field_release:NetGameInfo.gameName) @@ -19069,7 +19955,13 @@ inline std::string* NetGameInfo::release_gamename() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return gamename_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = gamename_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (gamename_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + gamename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void NetGameInfo::set_allocated_gamename(std::string* gamename) { if (gamename != nullptr) { @@ -19078,32 +19970,18 @@ inline void NetGameInfo::set_allocated_gamename(std::string* gamename) { _has_bits_[0] &= ~0x00000001u; } gamename_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gamename, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:NetGameInfo.gameName) -} -inline std::string* NetGameInfo::unsafe_arena_release_gamename() { - // @@protoc_insertion_point(field_unsafe_arena_release:NetGameInfo.gameName) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return gamename_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void NetGameInfo::unsafe_arena_set_allocated_gamename( - std::string* gamename) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (gamename != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (gamename_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + gamename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - gamename_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - gamename, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:NetGameInfo.gameName) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:NetGameInfo.gameName) } // required .NetGameInfo.NetGameType netGameType = 2; inline bool NetGameInfo::_internal_has_netgametype() const { - bool value = (_has_bits_[0] & 0x00000400u) != 0; + bool value = (_has_bits_[0] & 0x00004000u) != 0; return value; } inline bool NetGameInfo::has_netgametype() const { @@ -19111,7 +19989,7 @@ inline bool NetGameInfo::has_netgametype() const { } inline void NetGameInfo::clear_netgametype() { netgametype_ = 1; - _has_bits_[0] &= ~0x00000400u; + _has_bits_[0] &= ~0x00004000u; } inline ::NetGameInfo_NetGameType NetGameInfo::_internal_netgametype() const { return static_cast< ::NetGameInfo_NetGameType >(netgametype_); @@ -19122,7 +20000,7 @@ inline ::NetGameInfo_NetGameType NetGameInfo::netgametype() const { } inline void NetGameInfo::_internal_set_netgametype(::NetGameInfo_NetGameType value) { assert(::NetGameInfo_NetGameType_IsValid(value)); - _has_bits_[0] |= 0x00000400u; + _has_bits_[0] |= 0x00004000u; netgametype_ = value; } inline void NetGameInfo::set_netgametype(::NetGameInfo_NetGameType value) { @@ -19142,25 +20020,25 @@ inline void NetGameInfo::clear_maxnumplayers() { maxnumplayers_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_maxnumplayers() const { +inline uint32_t NetGameInfo::_internal_maxnumplayers() const { return maxnumplayers_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::maxnumplayers() const { +inline uint32_t NetGameInfo::maxnumplayers() const { // @@protoc_insertion_point(field_get:NetGameInfo.maxNumPlayers) return _internal_maxnumplayers(); } -inline void NetGameInfo::_internal_set_maxnumplayers(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_maxnumplayers(uint32_t value) { _has_bits_[0] |= 0x00000002u; maxnumplayers_ = value; } -inline void NetGameInfo::set_maxnumplayers(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_maxnumplayers(uint32_t value) { _internal_set_maxnumplayers(value); // @@protoc_insertion_point(field_set:NetGameInfo.maxNumPlayers) } // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; inline bool NetGameInfo::_internal_has_raiseintervalmode() const { - bool value = (_has_bits_[0] & 0x00000800u) != 0; + bool value = (_has_bits_[0] & 0x00008000u) != 0; return value; } inline bool NetGameInfo::has_raiseintervalmode() const { @@ -19168,7 +20046,7 @@ inline bool NetGameInfo::has_raiseintervalmode() const { } inline void NetGameInfo::clear_raiseintervalmode() { raiseintervalmode_ = 1; - _has_bits_[0] &= ~0x00000800u; + _has_bits_[0] &= ~0x00008000u; } inline ::NetGameInfo_RaiseIntervalMode NetGameInfo::_internal_raiseintervalmode() const { return static_cast< ::NetGameInfo_RaiseIntervalMode >(raiseintervalmode_); @@ -19179,7 +20057,7 @@ inline ::NetGameInfo_RaiseIntervalMode NetGameInfo::raiseintervalmode() const { } inline void NetGameInfo::_internal_set_raiseintervalmode(::NetGameInfo_RaiseIntervalMode value) { assert(::NetGameInfo_RaiseIntervalMode_IsValid(value)); - _has_bits_[0] |= 0x00000800u; + _has_bits_[0] |= 0x00008000u; raiseintervalmode_ = value; } inline void NetGameInfo::set_raiseintervalmode(::NetGameInfo_RaiseIntervalMode value) { @@ -19199,18 +20077,18 @@ inline void NetGameInfo::clear_raiseeveryhands() { raiseeveryhands_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_raiseeveryhands() const { +inline uint32_t NetGameInfo::_internal_raiseeveryhands() const { return raiseeveryhands_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::raiseeveryhands() const { +inline uint32_t NetGameInfo::raiseeveryhands() const { // @@protoc_insertion_point(field_get:NetGameInfo.raiseEveryHands) return _internal_raiseeveryhands(); } -inline void NetGameInfo::_internal_set_raiseeveryhands(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_raiseeveryhands(uint32_t value) { _has_bits_[0] |= 0x00000004u; raiseeveryhands_ = value; } -inline void NetGameInfo::set_raiseeveryhands(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_raiseeveryhands(uint32_t value) { _internal_set_raiseeveryhands(value); // @@protoc_insertion_point(field_set:NetGameInfo.raiseEveryHands) } @@ -19227,25 +20105,25 @@ inline void NetGameInfo::clear_raiseeveryminutes() { raiseeveryminutes_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_raiseeveryminutes() const { +inline uint32_t NetGameInfo::_internal_raiseeveryminutes() const { return raiseeveryminutes_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::raiseeveryminutes() const { +inline uint32_t NetGameInfo::raiseeveryminutes() const { // @@protoc_insertion_point(field_get:NetGameInfo.raiseEveryMinutes) return _internal_raiseeveryminutes(); } -inline void NetGameInfo::_internal_set_raiseeveryminutes(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_raiseeveryminutes(uint32_t value) { _has_bits_[0] |= 0x00000008u; raiseeveryminutes_ = value; } -inline void NetGameInfo::set_raiseeveryminutes(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_raiseeveryminutes(uint32_t value) { _internal_set_raiseeveryminutes(value); // @@protoc_insertion_point(field_set:NetGameInfo.raiseEveryMinutes) } // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; inline bool NetGameInfo::_internal_has_endraisemode() const { - bool value = (_has_bits_[0] & 0x00001000u) != 0; + bool value = (_has_bits_[0] & 0x00010000u) != 0; return value; } inline bool NetGameInfo::has_endraisemode() const { @@ -19253,7 +20131,7 @@ inline bool NetGameInfo::has_endraisemode() const { } inline void NetGameInfo::clear_endraisemode() { endraisemode_ = 1; - _has_bits_[0] &= ~0x00001000u; + _has_bits_[0] &= ~0x00010000u; } inline ::NetGameInfo_EndRaiseMode NetGameInfo::_internal_endraisemode() const { return static_cast< ::NetGameInfo_EndRaiseMode >(endraisemode_); @@ -19264,7 +20142,7 @@ inline ::NetGameInfo_EndRaiseMode NetGameInfo::endraisemode() const { } inline void NetGameInfo::_internal_set_endraisemode(::NetGameInfo_EndRaiseMode value) { assert(::NetGameInfo_EndRaiseMode_IsValid(value)); - _has_bits_[0] |= 0x00001000u; + _has_bits_[0] |= 0x00010000u; endraisemode_ = value; } inline void NetGameInfo::set_endraisemode(::NetGameInfo_EndRaiseMode value) { @@ -19284,18 +20162,18 @@ inline void NetGameInfo::clear_endraisesmallblindvalue() { endraisesmallblindvalue_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_endraisesmallblindvalue() const { +inline uint32_t NetGameInfo::_internal_endraisesmallblindvalue() const { return endraisesmallblindvalue_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::endraisesmallblindvalue() const { +inline uint32_t NetGameInfo::endraisesmallblindvalue() const { // @@protoc_insertion_point(field_get:NetGameInfo.endRaiseSmallBlindValue) return _internal_endraisesmallblindvalue(); } -inline void NetGameInfo::_internal_set_endraisesmallblindvalue(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_endraisesmallblindvalue(uint32_t value) { _has_bits_[0] |= 0x00000010u; endraisesmallblindvalue_ = value; } -inline void NetGameInfo::set_endraisesmallblindvalue(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_endraisesmallblindvalue(uint32_t value) { _internal_set_endraisesmallblindvalue(value); // @@protoc_insertion_point(field_set:NetGameInfo.endRaiseSmallBlindValue) } @@ -19312,18 +20190,18 @@ inline void NetGameInfo::clear_proposedguispeed() { proposedguispeed_ = 0u; _has_bits_[0] &= ~0x00000020u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_proposedguispeed() const { +inline uint32_t NetGameInfo::_internal_proposedguispeed() const { return proposedguispeed_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::proposedguispeed() const { +inline uint32_t NetGameInfo::proposedguispeed() const { // @@protoc_insertion_point(field_get:NetGameInfo.proposedGuiSpeed) return _internal_proposedguispeed(); } -inline void NetGameInfo::_internal_set_proposedguispeed(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_proposedguispeed(uint32_t value) { _has_bits_[0] |= 0x00000020u; proposedguispeed_ = value; } -inline void NetGameInfo::set_proposedguispeed(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_proposedguispeed(uint32_t value) { _internal_set_proposedguispeed(value); // @@protoc_insertion_point(field_set:NetGameInfo.proposedGuiSpeed) } @@ -19340,18 +20218,18 @@ inline void NetGameInfo::clear_delaybetweenhands() { delaybetweenhands_ = 0u; _has_bits_[0] &= ~0x00000040u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_delaybetweenhands() const { +inline uint32_t NetGameInfo::_internal_delaybetweenhands() const { return delaybetweenhands_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::delaybetweenhands() const { +inline uint32_t NetGameInfo::delaybetweenhands() const { // @@protoc_insertion_point(field_get:NetGameInfo.delayBetweenHands) return _internal_delaybetweenhands(); } -inline void NetGameInfo::_internal_set_delaybetweenhands(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_delaybetweenhands(uint32_t value) { _has_bits_[0] |= 0x00000040u; delaybetweenhands_ = value; } -inline void NetGameInfo::set_delaybetweenhands(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_delaybetweenhands(uint32_t value) { _internal_set_delaybetweenhands(value); // @@protoc_insertion_point(field_set:NetGameInfo.delayBetweenHands) } @@ -19368,18 +20246,18 @@ inline void NetGameInfo::clear_playeractiontimeout() { playeractiontimeout_ = 0u; _has_bits_[0] &= ~0x00000080u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_playeractiontimeout() const { +inline uint32_t NetGameInfo::_internal_playeractiontimeout() const { return playeractiontimeout_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::playeractiontimeout() const { +inline uint32_t NetGameInfo::playeractiontimeout() const { // @@protoc_insertion_point(field_get:NetGameInfo.playerActionTimeout) return _internal_playeractiontimeout(); } -inline void NetGameInfo::_internal_set_playeractiontimeout(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_playeractiontimeout(uint32_t value) { _has_bits_[0] |= 0x00000080u; playeractiontimeout_ = value; } -inline void NetGameInfo::set_playeractiontimeout(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_playeractiontimeout(uint32_t value) { _internal_set_playeractiontimeout(value); // @@protoc_insertion_point(field_set:NetGameInfo.playerActionTimeout) } @@ -19396,18 +20274,18 @@ inline void NetGameInfo::clear_firstsmallblind() { firstsmallblind_ = 0u; _has_bits_[0] &= ~0x00000100u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_firstsmallblind() const { +inline uint32_t NetGameInfo::_internal_firstsmallblind() const { return firstsmallblind_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::firstsmallblind() const { +inline uint32_t NetGameInfo::firstsmallblind() const { // @@protoc_insertion_point(field_get:NetGameInfo.firstSmallBlind) return _internal_firstsmallblind(); } -inline void NetGameInfo::_internal_set_firstsmallblind(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_firstsmallblind(uint32_t value) { _has_bits_[0] |= 0x00000100u; firstsmallblind_ = value; } -inline void NetGameInfo::set_firstsmallblind(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_firstsmallblind(uint32_t value) { _internal_set_firstsmallblind(value); // @@protoc_insertion_point(field_set:NetGameInfo.firstSmallBlind) } @@ -19424,18 +20302,18 @@ inline void NetGameInfo::clear_startmoney() { startmoney_ = 0u; _has_bits_[0] &= ~0x00000200u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_startmoney() const { +inline uint32_t NetGameInfo::_internal_startmoney() const { return startmoney_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::startmoney() const { +inline uint32_t NetGameInfo::startmoney() const { // @@protoc_insertion_point(field_get:NetGameInfo.startMoney) return _internal_startmoney(); } -inline void NetGameInfo::_internal_set_startmoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_set_startmoney(uint32_t value) { _has_bits_[0] |= 0x00000200u; startmoney_ = value; } -inline void NetGameInfo::set_startmoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_startmoney(uint32_t value) { _internal_set_startmoney(value); // @@protoc_insertion_point(field_set:NetGameInfo.startMoney) } @@ -19450,37 +20328,38 @@ inline int NetGameInfo::manualblinds_size() const { inline void NetGameInfo::clear_manualblinds() { manualblinds_.Clear(); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::_internal_manualblinds(int index) const { +inline uint32_t NetGameInfo::_internal_manualblinds(int index) const { return manualblinds_.Get(index); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 NetGameInfo::manualblinds(int index) const { +inline uint32_t NetGameInfo::manualblinds(int index) const { // @@protoc_insertion_point(field_get:NetGameInfo.manualBlinds) return _internal_manualblinds(index); } -inline void NetGameInfo::set_manualblinds(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::set_manualblinds(int index, uint32_t value) { manualblinds_.Set(index, value); + // @@protoc_insertion_point(field_set:NetGameInfo.manualBlinds) } -inline void NetGameInfo::_internal_add_manualblinds(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::_internal_add_manualblinds(uint32_t value) { manualblinds_.Add(value); } -inline void NetGameInfo::add_manualblinds(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void NetGameInfo::add_manualblinds(uint32_t value) { _internal_add_manualblinds(value); // @@protoc_insertion_point(field_add:NetGameInfo.manualBlinds) } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& NetGameInfo::_internal_manualblinds() const { return manualblinds_; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& NetGameInfo::manualblinds() const { // @@protoc_insertion_point(field_list:NetGameInfo.manualBlinds) return _internal_manualblinds(); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* NetGameInfo::_internal_mutable_manualblinds() { return &manualblinds_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* NetGameInfo::mutable_manualblinds() { // @@protoc_insertion_point(field_mutable_list:NetGameInfo.manualBlinds) return _internal_mutable_manualblinds(); @@ -19488,7 +20367,7 @@ NetGameInfo::mutable_manualblinds() { // optional bool allowSpectators = 15 [default = true]; inline bool NetGameInfo::_internal_has_allowspectators() const { - bool value = (_has_bits_[0] & 0x00002000u) != 0; + bool value = (_has_bits_[0] & 0x00020000u) != 0; return value; } inline bool NetGameInfo::has_allowspectators() const { @@ -19496,7 +20375,7 @@ inline bool NetGameInfo::has_allowspectators() const { } inline void NetGameInfo::clear_allowspectators() { allowspectators_ = true; - _has_bits_[0] &= ~0x00002000u; + _has_bits_[0] &= ~0x00020000u; } inline bool NetGameInfo::_internal_allowspectators() const { return allowspectators_; @@ -19506,7 +20385,7 @@ inline bool NetGameInfo::allowspectators() const { return _internal_allowspectators(); } inline void NetGameInfo::_internal_set_allowspectators(bool value) { - _has_bits_[0] |= 0x00002000u; + _has_bits_[0] |= 0x00020000u; allowspectators_ = value; } inline void NetGameInfo::set_allowspectators(bool value) { @@ -19514,6 +20393,118 @@ inline void NetGameInfo::set_allowspectators(bool value) { // @@protoc_insertion_point(field_set:NetGameInfo.allowSpectators) } +// optional bool allowLateReg = 16 [default = false]; +inline bool NetGameInfo::_internal_has_allowlatereg() const { + bool value = (_has_bits_[0] & 0x00000400u) != 0; + return value; +} +inline bool NetGameInfo::has_allowlatereg() const { + return _internal_has_allowlatereg(); +} +inline void NetGameInfo::clear_allowlatereg() { + allowlatereg_ = false; + _has_bits_[0] &= ~0x00000400u; +} +inline bool NetGameInfo::_internal_allowlatereg() const { + return allowlatereg_; +} +inline bool NetGameInfo::allowlatereg() const { + // @@protoc_insertion_point(field_get:NetGameInfo.allowLateReg) + return _internal_allowlatereg(); +} +inline void NetGameInfo::_internal_set_allowlatereg(bool value) { + _has_bits_[0] |= 0x00000400u; + allowlatereg_ = value; +} +inline void NetGameInfo::set_allowlatereg(bool value) { + _internal_set_allowlatereg(value); + // @@protoc_insertion_point(field_set:NetGameInfo.allowLateReg) +} + +// optional bool allowReentries = 17 [default = false]; +inline bool NetGameInfo::_internal_has_allowreentries() const { + bool value = (_has_bits_[0] & 0x00000800u) != 0; + return value; +} +inline bool NetGameInfo::has_allowreentries() const { + return _internal_has_allowreentries(); +} +inline void NetGameInfo::clear_allowreentries() { + allowreentries_ = false; + _has_bits_[0] &= ~0x00000800u; +} +inline bool NetGameInfo::_internal_allowreentries() const { + return allowreentries_; +} +inline bool NetGameInfo::allowreentries() const { + // @@protoc_insertion_point(field_get:NetGameInfo.allowReentries) + return _internal_allowreentries(); +} +inline void NetGameInfo::_internal_set_allowreentries(bool value) { + _has_bits_[0] |= 0x00000800u; + allowreentries_ = value; +} +inline void NetGameInfo::set_allowreentries(bool value) { + _internal_set_allowreentries(value); + // @@protoc_insertion_point(field_set:NetGameInfo.allowReentries) +} + +// optional uint32 numReentries = 18 [default = 0]; +inline bool NetGameInfo::_internal_has_numreentries() const { + bool value = (_has_bits_[0] & 0x00001000u) != 0; + return value; +} +inline bool NetGameInfo::has_numreentries() const { + return _internal_has_numreentries(); +} +inline void NetGameInfo::clear_numreentries() { + numreentries_ = 0u; + _has_bits_[0] &= ~0x00001000u; +} +inline uint32_t NetGameInfo::_internal_numreentries() const { + return numreentries_; +} +inline uint32_t NetGameInfo::numreentries() const { + // @@protoc_insertion_point(field_get:NetGameInfo.numReentries) + return _internal_numreentries(); +} +inline void NetGameInfo::_internal_set_numreentries(uint32_t value) { + _has_bits_[0] |= 0x00001000u; + numreentries_ = value; +} +inline void NetGameInfo::set_numreentries(uint32_t value) { + _internal_set_numreentries(value); + // @@protoc_insertion_point(field_set:NetGameInfo.numReentries) +} + +// optional uint32 maxTimeLateReg = 19 [default = 0]; +inline bool NetGameInfo::_internal_has_maxtimelatereg() const { + bool value = (_has_bits_[0] & 0x00002000u) != 0; + return value; +} +inline bool NetGameInfo::has_maxtimelatereg() const { + return _internal_has_maxtimelatereg(); +} +inline void NetGameInfo::clear_maxtimelatereg() { + maxtimelatereg_ = 0u; + _has_bits_[0] &= ~0x00002000u; +} +inline uint32_t NetGameInfo::_internal_maxtimelatereg() const { + return maxtimelatereg_; +} +inline uint32_t NetGameInfo::maxtimelatereg() const { + // @@protoc_insertion_point(field_get:NetGameInfo.maxTimeLateReg) + return _internal_maxtimelatereg(); +} +inline void NetGameInfo::_internal_set_maxtimelatereg(uint32_t value) { + _has_bits_[0] |= 0x00002000u; + maxtimelatereg_ = value; +} +inline void NetGameInfo::set_maxtimelatereg(uint32_t value) { + _internal_set_maxtimelatereg(value); + // @@protoc_insertion_point(field_set:NetGameInfo.maxTimeLateReg) +} + // ------------------------------------------------------------------- // PlayerResult @@ -19530,18 +20521,18 @@ inline void PlayerResult::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::_internal_playerid() const { +inline uint32_t PlayerResult::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::playerid() const { +inline uint32_t PlayerResult::playerid() const { // @@protoc_insertion_point(field_get:PlayerResult.playerId) return _internal_playerid(); } -inline void PlayerResult::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; playerid_ = value; } -inline void PlayerResult::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:PlayerResult.playerId) } @@ -19558,18 +20549,18 @@ inline void PlayerResult::clear_resultcard1() { resultcard1_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::_internal_resultcard1() const { +inline uint32_t PlayerResult::_internal_resultcard1() const { return resultcard1_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::resultcard1() const { +inline uint32_t PlayerResult::resultcard1() const { // @@protoc_insertion_point(field_get:PlayerResult.resultCard1) return _internal_resultcard1(); } -inline void PlayerResult::_internal_set_resultcard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::_internal_set_resultcard1(uint32_t value) { _has_bits_[0] |= 0x00000002u; resultcard1_ = value; } -inline void PlayerResult::set_resultcard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::set_resultcard1(uint32_t value) { _internal_set_resultcard1(value); // @@protoc_insertion_point(field_set:PlayerResult.resultCard1) } @@ -19586,18 +20577,18 @@ inline void PlayerResult::clear_resultcard2() { resultcard2_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::_internal_resultcard2() const { +inline uint32_t PlayerResult::_internal_resultcard2() const { return resultcard2_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::resultcard2() const { +inline uint32_t PlayerResult::resultcard2() const { // @@protoc_insertion_point(field_get:PlayerResult.resultCard2) return _internal_resultcard2(); } -inline void PlayerResult::_internal_set_resultcard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::_internal_set_resultcard2(uint32_t value) { _has_bits_[0] |= 0x00000004u; resultcard2_ = value; } -inline void PlayerResult::set_resultcard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::set_resultcard2(uint32_t value) { _internal_set_resultcard2(value); // @@protoc_insertion_point(field_set:PlayerResult.resultCard2) } @@ -19612,37 +20603,38 @@ inline int PlayerResult::besthandposition_size() const { inline void PlayerResult::clear_besthandposition() { besthandposition_.Clear(); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::_internal_besthandposition(int index) const { +inline uint32_t PlayerResult::_internal_besthandposition(int index) const { return besthandposition_.Get(index); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::besthandposition(int index) const { +inline uint32_t PlayerResult::besthandposition(int index) const { // @@protoc_insertion_point(field_get:PlayerResult.bestHandPosition) return _internal_besthandposition(index); } -inline void PlayerResult::set_besthandposition(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::set_besthandposition(int index, uint32_t value) { besthandposition_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerResult.bestHandPosition) } -inline void PlayerResult::_internal_add_besthandposition(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::_internal_add_besthandposition(uint32_t value) { besthandposition_.Add(value); } -inline void PlayerResult::add_besthandposition(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::add_besthandposition(uint32_t value) { _internal_add_besthandposition(value); // @@protoc_insertion_point(field_add:PlayerResult.bestHandPosition) } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& PlayerResult::_internal_besthandposition() const { return besthandposition_; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& PlayerResult::besthandposition() const { // @@protoc_insertion_point(field_list:PlayerResult.bestHandPosition) return _internal_besthandposition(); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* PlayerResult::_internal_mutable_besthandposition() { return &besthandposition_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* PlayerResult::mutable_besthandposition() { // @@protoc_insertion_point(field_mutable_list:PlayerResult.bestHandPosition) return _internal_mutable_besthandposition(); @@ -19660,18 +20652,18 @@ inline void PlayerResult::clear_moneywon() { moneywon_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::_internal_moneywon() const { +inline uint32_t PlayerResult::_internal_moneywon() const { return moneywon_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::moneywon() const { +inline uint32_t PlayerResult::moneywon() const { // @@protoc_insertion_point(field_get:PlayerResult.moneyWon) return _internal_moneywon(); } -inline void PlayerResult::_internal_set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::_internal_set_moneywon(uint32_t value) { _has_bits_[0] |= 0x00000008u; moneywon_ = value; } -inline void PlayerResult::set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::set_moneywon(uint32_t value) { _internal_set_moneywon(value); // @@protoc_insertion_point(field_set:PlayerResult.moneyWon) } @@ -19688,18 +20680,18 @@ inline void PlayerResult::clear_playermoney() { playermoney_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::_internal_playermoney() const { +inline uint32_t PlayerResult::_internal_playermoney() const { return playermoney_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::playermoney() const { +inline uint32_t PlayerResult::playermoney() const { // @@protoc_insertion_point(field_get:PlayerResult.playerMoney) return _internal_playermoney(); } -inline void PlayerResult::_internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::_internal_set_playermoney(uint32_t value) { _has_bits_[0] |= 0x00000010u; playermoney_ = value; } -inline void PlayerResult::set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::set_playermoney(uint32_t value) { _internal_set_playermoney(value); // @@protoc_insertion_point(field_set:PlayerResult.playerMoney) } @@ -19716,18 +20708,18 @@ inline void PlayerResult::clear_cardsvalue() { cardsvalue_ = 0u; _has_bits_[0] &= ~0x00000020u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::_internal_cardsvalue() const { +inline uint32_t PlayerResult::_internal_cardsvalue() const { return cardsvalue_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerResult::cardsvalue() const { +inline uint32_t PlayerResult::cardsvalue() const { // @@protoc_insertion_point(field_get:PlayerResult.cardsValue) return _internal_cardsvalue(); } -inline void PlayerResult::_internal_set_cardsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::_internal_set_cardsvalue(uint32_t value) { _has_bits_[0] |= 0x00000020u; cardsvalue_ = value; } -inline void PlayerResult::set_cardsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerResult::set_cardsvalue(uint32_t value) { _internal_set_cardsvalue(value); // @@protoc_insertion_point(field_set:PlayerResult.cardsValue) } @@ -19748,18 +20740,18 @@ inline void AnnounceMessage_Version::clear_majorversion() { majorversion_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage_Version::_internal_majorversion() const { +inline uint32_t AnnounceMessage_Version::_internal_majorversion() const { return majorversion_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage_Version::majorversion() const { +inline uint32_t AnnounceMessage_Version::majorversion() const { // @@protoc_insertion_point(field_get:AnnounceMessage.Version.majorVersion) return _internal_majorversion(); } -inline void AnnounceMessage_Version::_internal_set_majorversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage_Version::_internal_set_majorversion(uint32_t value) { _has_bits_[0] |= 0x00000001u; majorversion_ = value; } -inline void AnnounceMessage_Version::set_majorversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage_Version::set_majorversion(uint32_t value) { _internal_set_majorversion(value); // @@protoc_insertion_point(field_set:AnnounceMessage.Version.majorVersion) } @@ -19776,18 +20768,18 @@ inline void AnnounceMessage_Version::clear_minorversion() { minorversion_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage_Version::_internal_minorversion() const { +inline uint32_t AnnounceMessage_Version::_internal_minorversion() const { return minorversion_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage_Version::minorversion() const { +inline uint32_t AnnounceMessage_Version::minorversion() const { // @@protoc_insertion_point(field_get:AnnounceMessage.Version.minorVersion) return _internal_minorversion(); } -inline void AnnounceMessage_Version::_internal_set_minorversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage_Version::_internal_set_minorversion(uint32_t value) { _has_bits_[0] |= 0x00000002u; minorversion_ = value; } -inline void AnnounceMessage_Version::set_minorversion(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage_Version::set_minorversion(uint32_t value) { _internal_set_minorversion(value); // @@protoc_insertion_point(field_set:AnnounceMessage.Version.minorVersion) } @@ -19811,8 +20803,8 @@ inline void AnnounceMessage::clear_protocolversion() { } inline const ::AnnounceMessage_Version& AnnounceMessage::_internal_protocolversion() const { const ::AnnounceMessage_Version* p = protocolversion_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AnnounceMessage_Version_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AnnounceMessage_Version_default_instance_); } inline const ::AnnounceMessage_Version& AnnounceMessage::protocolversion() const { // @@protoc_insertion_point(field_get:AnnounceMessage.protocolVersion) @@ -19820,7 +20812,7 @@ inline const ::AnnounceMessage_Version& AnnounceMessage::protocolversion() const } inline void AnnounceMessage::unsafe_arena_set_allocated_protocolversion( ::AnnounceMessage_Version* protocolversion) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(protocolversion_); } protocolversion_ = protocolversion; @@ -19832,10 +20824,18 @@ inline void AnnounceMessage::unsafe_arena_set_allocated_protocolversion( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AnnounceMessage.protocolVersion) } inline ::AnnounceMessage_Version* AnnounceMessage::release_protocolversion() { - auto temp = unsafe_arena_release_protocolversion(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000001u; + ::AnnounceMessage_Version* temp = protocolversion_; + protocolversion_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AnnounceMessage_Version* AnnounceMessage::unsafe_arena_release_protocolversion() { @@ -19848,23 +20848,24 @@ inline ::AnnounceMessage_Version* AnnounceMessage::unsafe_arena_release_protocol inline ::AnnounceMessage_Version* AnnounceMessage::_internal_mutable_protocolversion() { _has_bits_[0] |= 0x00000001u; if (protocolversion_ == nullptr) { - auto* p = CreateMaybeMessage<::AnnounceMessage_Version>(GetArena()); + auto* p = CreateMaybeMessage<::AnnounceMessage_Version>(GetArenaForAllocation()); protocolversion_ = p; } return protocolversion_; } inline ::AnnounceMessage_Version* AnnounceMessage::mutable_protocolversion() { + ::AnnounceMessage_Version* _msg = _internal_mutable_protocolversion(); // @@protoc_insertion_point(field_mutable:AnnounceMessage.protocolVersion) - return _internal_mutable_protocolversion(); + return _msg; } inline void AnnounceMessage::set_allocated_protocolversion(::AnnounceMessage_Version* protocolversion) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete protocolversion_; } if (protocolversion) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(protocolversion); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AnnounceMessage_Version>::GetOwningArena(protocolversion); if (message_arena != submessage_arena) { protocolversion = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, protocolversion, submessage_arena); @@ -19892,8 +20893,8 @@ inline void AnnounceMessage::clear_latestgameversion() { } inline const ::AnnounceMessage_Version& AnnounceMessage::_internal_latestgameversion() const { const ::AnnounceMessage_Version* p = latestgameversion_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AnnounceMessage_Version_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AnnounceMessage_Version_default_instance_); } inline const ::AnnounceMessage_Version& AnnounceMessage::latestgameversion() const { // @@protoc_insertion_point(field_get:AnnounceMessage.latestGameVersion) @@ -19901,7 +20902,7 @@ inline const ::AnnounceMessage_Version& AnnounceMessage::latestgameversion() con } inline void AnnounceMessage::unsafe_arena_set_allocated_latestgameversion( ::AnnounceMessage_Version* latestgameversion) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(latestgameversion_); } latestgameversion_ = latestgameversion; @@ -19913,10 +20914,18 @@ inline void AnnounceMessage::unsafe_arena_set_allocated_latestgameversion( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AnnounceMessage.latestGameVersion) } inline ::AnnounceMessage_Version* AnnounceMessage::release_latestgameversion() { - auto temp = unsafe_arena_release_latestgameversion(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000002u; + ::AnnounceMessage_Version* temp = latestgameversion_; + latestgameversion_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AnnounceMessage_Version* AnnounceMessage::unsafe_arena_release_latestgameversion() { @@ -19929,23 +20938,24 @@ inline ::AnnounceMessage_Version* AnnounceMessage::unsafe_arena_release_latestga inline ::AnnounceMessage_Version* AnnounceMessage::_internal_mutable_latestgameversion() { _has_bits_[0] |= 0x00000002u; if (latestgameversion_ == nullptr) { - auto* p = CreateMaybeMessage<::AnnounceMessage_Version>(GetArena()); + auto* p = CreateMaybeMessage<::AnnounceMessage_Version>(GetArenaForAllocation()); latestgameversion_ = p; } return latestgameversion_; } inline ::AnnounceMessage_Version* AnnounceMessage::mutable_latestgameversion() { + ::AnnounceMessage_Version* _msg = _internal_mutable_latestgameversion(); // @@protoc_insertion_point(field_mutable:AnnounceMessage.latestGameVersion) - return _internal_mutable_latestgameversion(); + return _msg; } inline void AnnounceMessage::set_allocated_latestgameversion(::AnnounceMessage_Version* latestgameversion) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete latestgameversion_; } if (latestgameversion) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(latestgameversion); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AnnounceMessage_Version>::GetOwningArena(latestgameversion); if (message_arena != submessage_arena) { latestgameversion = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, latestgameversion, submessage_arena); @@ -19970,18 +20980,18 @@ inline void AnnounceMessage::clear_latestbetarevision() { latestbetarevision_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage::_internal_latestbetarevision() const { +inline uint32_t AnnounceMessage::_internal_latestbetarevision() const { return latestbetarevision_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage::latestbetarevision() const { +inline uint32_t AnnounceMessage::latestbetarevision() const { // @@protoc_insertion_point(field_get:AnnounceMessage.latestBetaRevision) return _internal_latestbetarevision(); } -inline void AnnounceMessage::_internal_set_latestbetarevision(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage::_internal_set_latestbetarevision(uint32_t value) { _has_bits_[0] |= 0x00000004u; latestbetarevision_ = value; } -inline void AnnounceMessage::set_latestbetarevision(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage::set_latestbetarevision(uint32_t value) { _internal_set_latestbetarevision(value); // @@protoc_insertion_point(field_set:AnnounceMessage.latestBetaRevision) } @@ -20027,18 +21037,18 @@ inline void AnnounceMessage::clear_numplayersonserver() { numplayersonserver_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage::_internal_numplayersonserver() const { +inline uint32_t AnnounceMessage::_internal_numplayersonserver() const { return numplayersonserver_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AnnounceMessage::numplayersonserver() const { +inline uint32_t AnnounceMessage::numplayersonserver() const { // @@protoc_insertion_point(field_get:AnnounceMessage.numPlayersOnServer) return _internal_numplayersonserver(); } -inline void AnnounceMessage::_internal_set_numplayersonserver(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage::_internal_set_numplayersonserver(uint32_t value) { _has_bits_[0] |= 0x00000010u; numplayersonserver_ = value; } -inline void AnnounceMessage::set_numplayersonserver(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AnnounceMessage::set_numplayersonserver(uint32_t value) { _internal_set_numplayersonserver(value); // @@protoc_insertion_point(field_set:AnnounceMessage.numPlayersOnServer) } @@ -20062,8 +21072,8 @@ inline void InitMessage::clear_requestedversion() { } inline const ::AnnounceMessage_Version& InitMessage::_internal_requestedversion() const { const ::AnnounceMessage_Version* p = requestedversion_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AnnounceMessage_Version_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AnnounceMessage_Version_default_instance_); } inline const ::AnnounceMessage_Version& InitMessage::requestedversion() const { // @@protoc_insertion_point(field_get:InitMessage.requestedVersion) @@ -20071,7 +21081,7 @@ inline const ::AnnounceMessage_Version& InitMessage::requestedversion() const { } inline void InitMessage::unsafe_arena_set_allocated_requestedversion( ::AnnounceMessage_Version* requestedversion) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(requestedversion_); } requestedversion_ = requestedversion; @@ -20083,10 +21093,18 @@ inline void InitMessage::unsafe_arena_set_allocated_requestedversion( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitMessage.requestedVersion) } inline ::AnnounceMessage_Version* InitMessage::release_requestedversion() { - auto temp = unsafe_arena_release_requestedversion(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000020u; + ::AnnounceMessage_Version* temp = requestedversion_; + requestedversion_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AnnounceMessage_Version* InitMessage::unsafe_arena_release_requestedversion() { @@ -20099,23 +21117,24 @@ inline ::AnnounceMessage_Version* InitMessage::unsafe_arena_release_requestedver inline ::AnnounceMessage_Version* InitMessage::_internal_mutable_requestedversion() { _has_bits_[0] |= 0x00000020u; if (requestedversion_ == nullptr) { - auto* p = CreateMaybeMessage<::AnnounceMessage_Version>(GetArena()); + auto* p = CreateMaybeMessage<::AnnounceMessage_Version>(GetArenaForAllocation()); requestedversion_ = p; } return requestedversion_; } inline ::AnnounceMessage_Version* InitMessage::mutable_requestedversion() { + ::AnnounceMessage_Version* _msg = _internal_mutable_requestedversion(); // @@protoc_insertion_point(field_mutable:InitMessage.requestedVersion) - return _internal_mutable_requestedversion(); + return _msg; } inline void InitMessage::set_allocated_requestedversion(::AnnounceMessage_Version* requestedversion) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete requestedversion_; } if (requestedversion) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(requestedversion); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AnnounceMessage_Version>::GetOwningArena(requestedversion); if (message_arena != submessage_arena) { requestedversion = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, requestedversion, submessage_arena); @@ -20140,18 +21159,18 @@ inline void InitMessage::clear_buildid() { buildid_ = 0u; _has_bits_[0] &= ~0x00000040u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InitMessage::_internal_buildid() const { +inline uint32_t InitMessage::_internal_buildid() const { return buildid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InitMessage::buildid() const { +inline uint32_t InitMessage::buildid() const { // @@protoc_insertion_point(field_get:InitMessage.buildId) return _internal_buildid(); } -inline void InitMessage::_internal_set_buildid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InitMessage::_internal_set_buildid(uint32_t value) { _has_bits_[0] |= 0x00000040u; buildid_ = value; } -inline void InitMessage::set_buildid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InitMessage::set_buildid(uint32_t value) { _internal_set_buildid(value); // @@protoc_insertion_point(field_set:InitMessage.buildId) } @@ -20165,51 +21184,35 @@ inline bool InitMessage::has_mylastsessionid() const { return _internal_has_mylastsessionid(); } inline void InitMessage::clear_mylastsessionid() { - mylastsessionid_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + mylastsessionid_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& InitMessage::mylastsessionid() const { // @@protoc_insertion_point(field_get:InitMessage.myLastSessionId) return _internal_mylastsessionid(); } -inline void InitMessage::set_mylastsessionid(const std::string& value) { - _internal_set_mylastsessionid(value); +template +inline PROTOBUF_ALWAYS_INLINE +void InitMessage::set_mylastsessionid(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + mylastsessionid_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:InitMessage.myLastSessionId) } inline std::string* InitMessage::mutable_mylastsessionid() { + std::string* _s = _internal_mutable_mylastsessionid(); // @@protoc_insertion_point(field_mutable:InitMessage.myLastSessionId) - return _internal_mutable_mylastsessionid(); + return _s; } inline const std::string& InitMessage::_internal_mylastsessionid() const { return mylastsessionid_.Get(); } inline void InitMessage::_internal_set_mylastsessionid(const std::string& value) { _has_bits_[0] |= 0x00000001u; - mylastsessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void InitMessage::set_mylastsessionid(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - mylastsessionid_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:InitMessage.myLastSessionId) -} -inline void InitMessage::set_mylastsessionid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - mylastsessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:InitMessage.myLastSessionId) -} -inline void InitMessage::set_mylastsessionid(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - mylastsessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:InitMessage.myLastSessionId) + mylastsessionid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* InitMessage::_internal_mutable_mylastsessionid() { _has_bits_[0] |= 0x00000001u; - return mylastsessionid_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return mylastsessionid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* InitMessage::release_mylastsessionid() { // @@protoc_insertion_point(field_release:InitMessage.myLastSessionId) @@ -20217,7 +21220,13 @@ inline std::string* InitMessage::release_mylastsessionid() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return mylastsessionid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = mylastsessionid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (mylastsessionid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + mylastsessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void InitMessage::set_allocated_mylastsessionid(std::string* mylastsessionid) { if (mylastsessionid != nullptr) { @@ -20226,27 +21235,13 @@ inline void InitMessage::set_allocated_mylastsessionid(std::string* mylastsessio _has_bits_[0] &= ~0x00000001u; } mylastsessionid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), mylastsessionid, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:InitMessage.myLastSessionId) -} -inline std::string* InitMessage::unsafe_arena_release_mylastsessionid() { - // @@protoc_insertion_point(field_unsafe_arena_release:InitMessage.myLastSessionId) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return mylastsessionid_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void InitMessage::unsafe_arena_set_allocated_mylastsessionid( - std::string* mylastsessionid) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (mylastsessionid != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (mylastsessionid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + mylastsessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - mylastsessionid_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - mylastsessionid, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitMessage.myLastSessionId) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:InitMessage.myLastSessionId) } // optional string authServerPassword = 4; @@ -20258,51 +21253,35 @@ inline bool InitMessage::has_authserverpassword() const { return _internal_has_authserverpassword(); } inline void InitMessage::clear_authserverpassword() { - authserverpassword_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + authserverpassword_.ClearToEmpty(); _has_bits_[0] &= ~0x00000002u; } inline const std::string& InitMessage::authserverpassword() const { // @@protoc_insertion_point(field_get:InitMessage.authServerPassword) return _internal_authserverpassword(); } -inline void InitMessage::set_authserverpassword(const std::string& value) { - _internal_set_authserverpassword(value); +template +inline PROTOBUF_ALWAYS_INLINE +void InitMessage::set_authserverpassword(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000002u; + authserverpassword_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:InitMessage.authServerPassword) } inline std::string* InitMessage::mutable_authserverpassword() { + std::string* _s = _internal_mutable_authserverpassword(); // @@protoc_insertion_point(field_mutable:InitMessage.authServerPassword) - return _internal_mutable_authserverpassword(); + return _s; } inline const std::string& InitMessage::_internal_authserverpassword() const { return authserverpassword_.Get(); } inline void InitMessage::_internal_set_authserverpassword(const std::string& value) { _has_bits_[0] |= 0x00000002u; - authserverpassword_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void InitMessage::set_authserverpassword(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - authserverpassword_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:InitMessage.authServerPassword) -} -inline void InitMessage::set_authserverpassword(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - authserverpassword_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:InitMessage.authServerPassword) -} -inline void InitMessage::set_authserverpassword(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - authserverpassword_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:InitMessage.authServerPassword) + authserverpassword_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* InitMessage::_internal_mutable_authserverpassword() { _has_bits_[0] |= 0x00000002u; - return authserverpassword_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return authserverpassword_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* InitMessage::release_authserverpassword() { // @@protoc_insertion_point(field_release:InitMessage.authServerPassword) @@ -20310,7 +21289,13 @@ inline std::string* InitMessage::release_authserverpassword() { return nullptr; } _has_bits_[0] &= ~0x00000002u; - return authserverpassword_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = authserverpassword_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (authserverpassword_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + authserverpassword_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void InitMessage::set_allocated_authserverpassword(std::string* authserverpassword) { if (authserverpassword != nullptr) { @@ -20319,27 +21304,13 @@ inline void InitMessage::set_allocated_authserverpassword(std::string* authserve _has_bits_[0] &= ~0x00000002u; } authserverpassword_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), authserverpassword, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:InitMessage.authServerPassword) -} -inline std::string* InitMessage::unsafe_arena_release_authserverpassword() { - // @@protoc_insertion_point(field_unsafe_arena_release:InitMessage.authServerPassword) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return authserverpassword_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void InitMessage::unsafe_arena_set_allocated_authserverpassword( - std::string* authserverpassword) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (authserverpassword != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (authserverpassword_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + authserverpassword_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - authserverpassword_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - authserverpassword, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitMessage.authServerPassword) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:InitMessage.authServerPassword) } // required .InitMessage.LoginType login = 5; @@ -20380,51 +21351,35 @@ inline bool InitMessage::has_nickname() const { return _internal_has_nickname(); } inline void InitMessage::clear_nickname() { - nickname_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + nickname_.ClearToEmpty(); _has_bits_[0] &= ~0x00000004u; } inline const std::string& InitMessage::nickname() const { // @@protoc_insertion_point(field_get:InitMessage.nickName) return _internal_nickname(); } -inline void InitMessage::set_nickname(const std::string& value) { - _internal_set_nickname(value); +template +inline PROTOBUF_ALWAYS_INLINE +void InitMessage::set_nickname(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000004u; + nickname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:InitMessage.nickName) } inline std::string* InitMessage::mutable_nickname() { + std::string* _s = _internal_mutable_nickname(); // @@protoc_insertion_point(field_mutable:InitMessage.nickName) - return _internal_mutable_nickname(); + return _s; } inline const std::string& InitMessage::_internal_nickname() const { return nickname_.Get(); } inline void InitMessage::_internal_set_nickname(const std::string& value) { _has_bits_[0] |= 0x00000004u; - nickname_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void InitMessage::set_nickname(std::string&& value) { - _has_bits_[0] |= 0x00000004u; - nickname_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:InitMessage.nickName) -} -inline void InitMessage::set_nickname(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000004u; - nickname_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:InitMessage.nickName) -} -inline void InitMessage::set_nickname(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000004u; - nickname_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:InitMessage.nickName) + nickname_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* InitMessage::_internal_mutable_nickname() { _has_bits_[0] |= 0x00000004u; - return nickname_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return nickname_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* InitMessage::release_nickname() { // @@protoc_insertion_point(field_release:InitMessage.nickName) @@ -20432,7 +21387,13 @@ inline std::string* InitMessage::release_nickname() { return nullptr; } _has_bits_[0] &= ~0x00000004u; - return nickname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = nickname_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (nickname_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + nickname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void InitMessage::set_allocated_nickname(std::string* nickname) { if (nickname != nullptr) { @@ -20441,27 +21402,13 @@ inline void InitMessage::set_allocated_nickname(std::string* nickname) { _has_bits_[0] &= ~0x00000004u; } nickname_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), nickname, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:InitMessage.nickName) -} -inline std::string* InitMessage::unsafe_arena_release_nickname() { - // @@protoc_insertion_point(field_unsafe_arena_release:InitMessage.nickName) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000004u; - return nickname_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void InitMessage::unsafe_arena_set_allocated_nickname( - std::string* nickname) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (nickname != nullptr) { - _has_bits_[0] |= 0x00000004u; - } else { - _has_bits_[0] &= ~0x00000004u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (nickname_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + nickname_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - nickname_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - nickname, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitMessage.nickName) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:InitMessage.nickName) } // optional bytes clientUserData = 7; @@ -20473,51 +21420,35 @@ inline bool InitMessage::has_clientuserdata() const { return _internal_has_clientuserdata(); } inline void InitMessage::clear_clientuserdata() { - clientuserdata_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clientuserdata_.ClearToEmpty(); _has_bits_[0] &= ~0x00000008u; } inline const std::string& InitMessage::clientuserdata() const { // @@protoc_insertion_point(field_get:InitMessage.clientUserData) return _internal_clientuserdata(); } -inline void InitMessage::set_clientuserdata(const std::string& value) { - _internal_set_clientuserdata(value); +template +inline PROTOBUF_ALWAYS_INLINE +void InitMessage::set_clientuserdata(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000008u; + clientuserdata_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:InitMessage.clientUserData) } inline std::string* InitMessage::mutable_clientuserdata() { + std::string* _s = _internal_mutable_clientuserdata(); // @@protoc_insertion_point(field_mutable:InitMessage.clientUserData) - return _internal_mutable_clientuserdata(); + return _s; } inline const std::string& InitMessage::_internal_clientuserdata() const { return clientuserdata_.Get(); } inline void InitMessage::_internal_set_clientuserdata(const std::string& value) { _has_bits_[0] |= 0x00000008u; - clientuserdata_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void InitMessage::set_clientuserdata(std::string&& value) { - _has_bits_[0] |= 0x00000008u; - clientuserdata_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:InitMessage.clientUserData) -} -inline void InitMessage::set_clientuserdata(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000008u; - clientuserdata_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:InitMessage.clientUserData) -} -inline void InitMessage::set_clientuserdata(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000008u; - clientuserdata_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:InitMessage.clientUserData) + clientuserdata_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* InitMessage::_internal_mutable_clientuserdata() { _has_bits_[0] |= 0x00000008u; - return clientuserdata_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return clientuserdata_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* InitMessage::release_clientuserdata() { // @@protoc_insertion_point(field_release:InitMessage.clientUserData) @@ -20525,7 +21456,13 @@ inline std::string* InitMessage::release_clientuserdata() { return nullptr; } _has_bits_[0] &= ~0x00000008u; - return clientuserdata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = clientuserdata_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (clientuserdata_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + clientuserdata_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void InitMessage::set_allocated_clientuserdata(std::string* clientuserdata) { if (clientuserdata != nullptr) { @@ -20534,27 +21471,13 @@ inline void InitMessage::set_allocated_clientuserdata(std::string* clientuserdat _has_bits_[0] &= ~0x00000008u; } clientuserdata_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), clientuserdata, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:InitMessage.clientUserData) -} -inline std::string* InitMessage::unsafe_arena_release_clientuserdata() { - // @@protoc_insertion_point(field_unsafe_arena_release:InitMessage.clientUserData) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000008u; - return clientuserdata_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void InitMessage::unsafe_arena_set_allocated_clientuserdata( - std::string* clientuserdata) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (clientuserdata != nullptr) { - _has_bits_[0] |= 0x00000008u; - } else { - _has_bits_[0] &= ~0x00000008u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (clientuserdata_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + clientuserdata_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - clientuserdata_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - clientuserdata, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitMessage.clientUserData) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:InitMessage.clientUserData) } // optional bytes avatarHash = 8; @@ -20566,51 +21489,35 @@ inline bool InitMessage::has_avatarhash() const { return _internal_has_avatarhash(); } inline void InitMessage::clear_avatarhash() { - avatarhash_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + avatarhash_.ClearToEmpty(); _has_bits_[0] &= ~0x00000010u; } inline const std::string& InitMessage::avatarhash() const { // @@protoc_insertion_point(field_get:InitMessage.avatarHash) return _internal_avatarhash(); } -inline void InitMessage::set_avatarhash(const std::string& value) { - _internal_set_avatarhash(value); +template +inline PROTOBUF_ALWAYS_INLINE +void InitMessage::set_avatarhash(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000010u; + avatarhash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:InitMessage.avatarHash) } inline std::string* InitMessage::mutable_avatarhash() { + std::string* _s = _internal_mutable_avatarhash(); // @@protoc_insertion_point(field_mutable:InitMessage.avatarHash) - return _internal_mutable_avatarhash(); + return _s; } inline const std::string& InitMessage::_internal_avatarhash() const { return avatarhash_.Get(); } inline void InitMessage::_internal_set_avatarhash(const std::string& value) { _has_bits_[0] |= 0x00000010u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void InitMessage::set_avatarhash(std::string&& value) { - _has_bits_[0] |= 0x00000010u; - avatarhash_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:InitMessage.avatarHash) -} -inline void InitMessage::set_avatarhash(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000010u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:InitMessage.avatarHash) -} -inline void InitMessage::set_avatarhash(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000010u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:InitMessage.avatarHash) + avatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* InitMessage::_internal_mutable_avatarhash() { _has_bits_[0] |= 0x00000010u; - return avatarhash_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return avatarhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* InitMessage::release_avatarhash() { // @@protoc_insertion_point(field_release:InitMessage.avatarHash) @@ -20618,7 +21525,13 @@ inline std::string* InitMessage::release_avatarhash() { return nullptr; } _has_bits_[0] &= ~0x00000010u; - return avatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = avatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void InitMessage::set_allocated_avatarhash(std::string* avatarhash) { if (avatarhash != nullptr) { @@ -20627,27 +21540,13 @@ inline void InitMessage::set_allocated_avatarhash(std::string* avatarhash) { _has_bits_[0] &= ~0x00000010u; } avatarhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), avatarhash, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:InitMessage.avatarHash) -} -inline std::string* InitMessage::unsafe_arena_release_avatarhash() { - // @@protoc_insertion_point(field_unsafe_arena_release:InitMessage.avatarHash) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000010u; - return avatarhash_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void InitMessage::unsafe_arena_set_allocated_avatarhash( - std::string* avatarhash) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (avatarhash != nullptr) { - _has_bits_[0] |= 0x00000010u; - } else { - _has_bits_[0] &= ~0x00000010u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - avatarhash_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - avatarhash, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitMessage.avatarHash) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:InitMessage.avatarHash) } // ------------------------------------------------------------------- @@ -20663,51 +21562,35 @@ inline bool AuthServerChallengeMessage::has_serverchallenge() const { return _internal_has_serverchallenge(); } inline void AuthServerChallengeMessage::clear_serverchallenge() { - serverchallenge_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + serverchallenge_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& AuthServerChallengeMessage::serverchallenge() const { // @@protoc_insertion_point(field_get:AuthServerChallengeMessage.serverChallenge) return _internal_serverchallenge(); } -inline void AuthServerChallengeMessage::set_serverchallenge(const std::string& value) { - _internal_set_serverchallenge(value); +template +inline PROTOBUF_ALWAYS_INLINE +void AuthServerChallengeMessage::set_serverchallenge(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + serverchallenge_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:AuthServerChallengeMessage.serverChallenge) } inline std::string* AuthServerChallengeMessage::mutable_serverchallenge() { + std::string* _s = _internal_mutable_serverchallenge(); // @@protoc_insertion_point(field_mutable:AuthServerChallengeMessage.serverChallenge) - return _internal_mutable_serverchallenge(); + return _s; } inline const std::string& AuthServerChallengeMessage::_internal_serverchallenge() const { return serverchallenge_.Get(); } inline void AuthServerChallengeMessage::_internal_set_serverchallenge(const std::string& value) { _has_bits_[0] |= 0x00000001u; - serverchallenge_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void AuthServerChallengeMessage::set_serverchallenge(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - serverchallenge_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:AuthServerChallengeMessage.serverChallenge) -} -inline void AuthServerChallengeMessage::set_serverchallenge(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - serverchallenge_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:AuthServerChallengeMessage.serverChallenge) -} -inline void AuthServerChallengeMessage::set_serverchallenge(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - serverchallenge_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:AuthServerChallengeMessage.serverChallenge) + serverchallenge_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* AuthServerChallengeMessage::_internal_mutable_serverchallenge() { _has_bits_[0] |= 0x00000001u; - return serverchallenge_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return serverchallenge_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* AuthServerChallengeMessage::release_serverchallenge() { // @@protoc_insertion_point(field_release:AuthServerChallengeMessage.serverChallenge) @@ -20715,7 +21598,13 @@ inline std::string* AuthServerChallengeMessage::release_serverchallenge() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return serverchallenge_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = serverchallenge_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (serverchallenge_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + serverchallenge_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void AuthServerChallengeMessage::set_allocated_serverchallenge(std::string* serverchallenge) { if (serverchallenge != nullptr) { @@ -20724,27 +21613,13 @@ inline void AuthServerChallengeMessage::set_allocated_serverchallenge(std::strin _has_bits_[0] &= ~0x00000001u; } serverchallenge_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serverchallenge, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:AuthServerChallengeMessage.serverChallenge) -} -inline std::string* AuthServerChallengeMessage::unsafe_arena_release_serverchallenge() { - // @@protoc_insertion_point(field_unsafe_arena_release:AuthServerChallengeMessage.serverChallenge) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return serverchallenge_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void AuthServerChallengeMessage::unsafe_arena_set_allocated_serverchallenge( - std::string* serverchallenge) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (serverchallenge != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (serverchallenge_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + serverchallenge_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - serverchallenge_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - serverchallenge, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AuthServerChallengeMessage.serverChallenge) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:AuthServerChallengeMessage.serverChallenge) } // ------------------------------------------------------------------- @@ -20760,51 +21635,35 @@ inline bool AuthClientResponseMessage::has_clientresponse() const { return _internal_has_clientresponse(); } inline void AuthClientResponseMessage::clear_clientresponse() { - clientresponse_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + clientresponse_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& AuthClientResponseMessage::clientresponse() const { // @@protoc_insertion_point(field_get:AuthClientResponseMessage.clientResponse) return _internal_clientresponse(); } -inline void AuthClientResponseMessage::set_clientresponse(const std::string& value) { - _internal_set_clientresponse(value); +template +inline PROTOBUF_ALWAYS_INLINE +void AuthClientResponseMessage::set_clientresponse(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + clientresponse_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:AuthClientResponseMessage.clientResponse) } inline std::string* AuthClientResponseMessage::mutable_clientresponse() { + std::string* _s = _internal_mutable_clientresponse(); // @@protoc_insertion_point(field_mutable:AuthClientResponseMessage.clientResponse) - return _internal_mutable_clientresponse(); + return _s; } inline const std::string& AuthClientResponseMessage::_internal_clientresponse() const { return clientresponse_.Get(); } inline void AuthClientResponseMessage::_internal_set_clientresponse(const std::string& value) { _has_bits_[0] |= 0x00000001u; - clientresponse_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void AuthClientResponseMessage::set_clientresponse(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - clientresponse_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:AuthClientResponseMessage.clientResponse) -} -inline void AuthClientResponseMessage::set_clientresponse(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - clientresponse_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:AuthClientResponseMessage.clientResponse) -} -inline void AuthClientResponseMessage::set_clientresponse(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - clientresponse_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:AuthClientResponseMessage.clientResponse) + clientresponse_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* AuthClientResponseMessage::_internal_mutable_clientresponse() { _has_bits_[0] |= 0x00000001u; - return clientresponse_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return clientresponse_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* AuthClientResponseMessage::release_clientresponse() { // @@protoc_insertion_point(field_release:AuthClientResponseMessage.clientResponse) @@ -20812,7 +21671,13 @@ inline std::string* AuthClientResponseMessage::release_clientresponse() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return clientresponse_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = clientresponse_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (clientresponse_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + clientresponse_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void AuthClientResponseMessage::set_allocated_clientresponse(std::string* clientresponse) { if (clientresponse != nullptr) { @@ -20821,27 +21686,13 @@ inline void AuthClientResponseMessage::set_allocated_clientresponse(std::string* _has_bits_[0] &= ~0x00000001u; } clientresponse_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), clientresponse, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:AuthClientResponseMessage.clientResponse) -} -inline std::string* AuthClientResponseMessage::unsafe_arena_release_clientresponse() { - // @@protoc_insertion_point(field_unsafe_arena_release:AuthClientResponseMessage.clientResponse) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return clientresponse_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void AuthClientResponseMessage::unsafe_arena_set_allocated_clientresponse( - std::string* clientresponse) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (clientresponse != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (clientresponse_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + clientresponse_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - clientresponse_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - clientresponse, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AuthClientResponseMessage.clientResponse) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:AuthClientResponseMessage.clientResponse) } // ------------------------------------------------------------------- @@ -20857,51 +21708,35 @@ inline bool AuthServerVerificationMessage::has_serververification() const { return _internal_has_serververification(); } inline void AuthServerVerificationMessage::clear_serververification() { - serververification_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + serververification_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& AuthServerVerificationMessage::serververification() const { // @@protoc_insertion_point(field_get:AuthServerVerificationMessage.serverVerification) return _internal_serververification(); } -inline void AuthServerVerificationMessage::set_serververification(const std::string& value) { - _internal_set_serververification(value); +template +inline PROTOBUF_ALWAYS_INLINE +void AuthServerVerificationMessage::set_serververification(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + serververification_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:AuthServerVerificationMessage.serverVerification) } inline std::string* AuthServerVerificationMessage::mutable_serververification() { + std::string* _s = _internal_mutable_serververification(); // @@protoc_insertion_point(field_mutable:AuthServerVerificationMessage.serverVerification) - return _internal_mutable_serververification(); + return _s; } inline const std::string& AuthServerVerificationMessage::_internal_serververification() const { return serververification_.Get(); } inline void AuthServerVerificationMessage::_internal_set_serververification(const std::string& value) { _has_bits_[0] |= 0x00000001u; - serververification_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void AuthServerVerificationMessage::set_serververification(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - serververification_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:AuthServerVerificationMessage.serverVerification) -} -inline void AuthServerVerificationMessage::set_serververification(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - serververification_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:AuthServerVerificationMessage.serverVerification) -} -inline void AuthServerVerificationMessage::set_serververification(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - serververification_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:AuthServerVerificationMessage.serverVerification) + serververification_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* AuthServerVerificationMessage::_internal_mutable_serververification() { _has_bits_[0] |= 0x00000001u; - return serververification_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return serververification_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* AuthServerVerificationMessage::release_serververification() { // @@protoc_insertion_point(field_release:AuthServerVerificationMessage.serverVerification) @@ -20909,7 +21744,13 @@ inline std::string* AuthServerVerificationMessage::release_serververification() return nullptr; } _has_bits_[0] &= ~0x00000001u; - return serververification_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = serververification_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (serververification_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + serververification_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void AuthServerVerificationMessage::set_allocated_serververification(std::string* serververification) { if (serververification != nullptr) { @@ -20918,27 +21759,13 @@ inline void AuthServerVerificationMessage::set_allocated_serververification(std: _has_bits_[0] &= ~0x00000001u; } serververification_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serververification, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:AuthServerVerificationMessage.serverVerification) -} -inline std::string* AuthServerVerificationMessage::unsafe_arena_release_serververification() { - // @@protoc_insertion_point(field_unsafe_arena_release:AuthServerVerificationMessage.serverVerification) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return serververification_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void AuthServerVerificationMessage::unsafe_arena_set_allocated_serververification( - std::string* serververification) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (serververification != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (serververification_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + serververification_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - serververification_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - serververification, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AuthServerVerificationMessage.serverVerification) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:AuthServerVerificationMessage.serverVerification) } // ------------------------------------------------------------------- @@ -20954,51 +21781,35 @@ inline bool InitAckMessage::has_yoursessionid() const { return _internal_has_yoursessionid(); } inline void InitAckMessage::clear_yoursessionid() { - yoursessionid_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + yoursessionid_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& InitAckMessage::yoursessionid() const { // @@protoc_insertion_point(field_get:InitAckMessage.yourSessionId) return _internal_yoursessionid(); } -inline void InitAckMessage::set_yoursessionid(const std::string& value) { - _internal_set_yoursessionid(value); +template +inline PROTOBUF_ALWAYS_INLINE +void InitAckMessage::set_yoursessionid(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + yoursessionid_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:InitAckMessage.yourSessionId) } inline std::string* InitAckMessage::mutable_yoursessionid() { + std::string* _s = _internal_mutable_yoursessionid(); // @@protoc_insertion_point(field_mutable:InitAckMessage.yourSessionId) - return _internal_mutable_yoursessionid(); + return _s; } inline const std::string& InitAckMessage::_internal_yoursessionid() const { return yoursessionid_.Get(); } inline void InitAckMessage::_internal_set_yoursessionid(const std::string& value) { _has_bits_[0] |= 0x00000001u; - yoursessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void InitAckMessage::set_yoursessionid(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - yoursessionid_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:InitAckMessage.yourSessionId) -} -inline void InitAckMessage::set_yoursessionid(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - yoursessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:InitAckMessage.yourSessionId) -} -inline void InitAckMessage::set_yoursessionid(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - yoursessionid_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:InitAckMessage.yourSessionId) + yoursessionid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* InitAckMessage::_internal_mutable_yoursessionid() { _has_bits_[0] |= 0x00000001u; - return yoursessionid_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return yoursessionid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* InitAckMessage::release_yoursessionid() { // @@protoc_insertion_point(field_release:InitAckMessage.yourSessionId) @@ -21006,7 +21817,13 @@ inline std::string* InitAckMessage::release_yoursessionid() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return yoursessionid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = yoursessionid_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (yoursessionid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + yoursessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void InitAckMessage::set_allocated_yoursessionid(std::string* yoursessionid) { if (yoursessionid != nullptr) { @@ -21015,27 +21832,13 @@ inline void InitAckMessage::set_allocated_yoursessionid(std::string* yoursession _has_bits_[0] &= ~0x00000001u; } yoursessionid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), yoursessionid, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:InitAckMessage.yourSessionId) -} -inline std::string* InitAckMessage::unsafe_arena_release_yoursessionid() { - // @@protoc_insertion_point(field_unsafe_arena_release:InitAckMessage.yourSessionId) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return yoursessionid_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void InitAckMessage::unsafe_arena_set_allocated_yoursessionid( - std::string* yoursessionid) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (yoursessionid != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (yoursessionid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + yoursessionid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - yoursessionid_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - yoursessionid, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitAckMessage.yourSessionId) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:InitAckMessage.yourSessionId) } // required uint32 yourPlayerId = 2; @@ -21050,18 +21853,18 @@ inline void InitAckMessage::clear_yourplayerid() { yourplayerid_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InitAckMessage::_internal_yourplayerid() const { +inline uint32_t InitAckMessage::_internal_yourplayerid() const { return yourplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InitAckMessage::yourplayerid() const { +inline uint32_t InitAckMessage::yourplayerid() const { // @@protoc_insertion_point(field_get:InitAckMessage.yourPlayerId) return _internal_yourplayerid(); } -inline void InitAckMessage::_internal_set_yourplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InitAckMessage::_internal_set_yourplayerid(uint32_t value) { _has_bits_[0] |= 0x00000004u; yourplayerid_ = value; } -inline void InitAckMessage::set_yourplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InitAckMessage::set_yourplayerid(uint32_t value) { _internal_set_yourplayerid(value); // @@protoc_insertion_point(field_set:InitAckMessage.yourPlayerId) } @@ -21075,51 +21878,35 @@ inline bool InitAckMessage::has_youravatarhash() const { return _internal_has_youravatarhash(); } inline void InitAckMessage::clear_youravatarhash() { - youravatarhash_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + youravatarhash_.ClearToEmpty(); _has_bits_[0] &= ~0x00000002u; } inline const std::string& InitAckMessage::youravatarhash() const { // @@protoc_insertion_point(field_get:InitAckMessage.yourAvatarHash) return _internal_youravatarhash(); } -inline void InitAckMessage::set_youravatarhash(const std::string& value) { - _internal_set_youravatarhash(value); +template +inline PROTOBUF_ALWAYS_INLINE +void InitAckMessage::set_youravatarhash(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000002u; + youravatarhash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:InitAckMessage.yourAvatarHash) } inline std::string* InitAckMessage::mutable_youravatarhash() { + std::string* _s = _internal_mutable_youravatarhash(); // @@protoc_insertion_point(field_mutable:InitAckMessage.yourAvatarHash) - return _internal_mutable_youravatarhash(); + return _s; } inline const std::string& InitAckMessage::_internal_youravatarhash() const { return youravatarhash_.Get(); } inline void InitAckMessage::_internal_set_youravatarhash(const std::string& value) { _has_bits_[0] |= 0x00000002u; - youravatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void InitAckMessage::set_youravatarhash(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - youravatarhash_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:InitAckMessage.yourAvatarHash) -} -inline void InitAckMessage::set_youravatarhash(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - youravatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:InitAckMessage.yourAvatarHash) -} -inline void InitAckMessage::set_youravatarhash(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - youravatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:InitAckMessage.yourAvatarHash) + youravatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* InitAckMessage::_internal_mutable_youravatarhash() { _has_bits_[0] |= 0x00000002u; - return youravatarhash_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return youravatarhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* InitAckMessage::release_youravatarhash() { // @@protoc_insertion_point(field_release:InitAckMessage.yourAvatarHash) @@ -21127,7 +21914,13 @@ inline std::string* InitAckMessage::release_youravatarhash() { return nullptr; } _has_bits_[0] &= ~0x00000002u; - return youravatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = youravatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (youravatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + youravatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void InitAckMessage::set_allocated_youravatarhash(std::string* youravatarhash) { if (youravatarhash != nullptr) { @@ -21136,27 +21929,13 @@ inline void InitAckMessage::set_allocated_youravatarhash(std::string* youravatar _has_bits_[0] &= ~0x00000002u; } youravatarhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), youravatarhash, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:InitAckMessage.yourAvatarHash) -} -inline std::string* InitAckMessage::unsafe_arena_release_youravatarhash() { - // @@protoc_insertion_point(field_unsafe_arena_release:InitAckMessage.yourAvatarHash) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return youravatarhash_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void InitAckMessage::unsafe_arena_set_allocated_youravatarhash( - std::string* youravatarhash) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (youravatarhash != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (youravatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + youravatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - youravatarhash_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - youravatarhash, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:InitAckMessage.yourAvatarHash) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:InitAckMessage.yourAvatarHash) } // optional uint32 rejoinGameId = 4; @@ -21171,18 +21950,18 @@ inline void InitAckMessage::clear_rejoingameid() { rejoingameid_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InitAckMessage::_internal_rejoingameid() const { +inline uint32_t InitAckMessage::_internal_rejoingameid() const { return rejoingameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InitAckMessage::rejoingameid() const { +inline uint32_t InitAckMessage::rejoingameid() const { // @@protoc_insertion_point(field_get:InitAckMessage.rejoinGameId) return _internal_rejoingameid(); } -inline void InitAckMessage::_internal_set_rejoingameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InitAckMessage::_internal_set_rejoingameid(uint32_t value) { _has_bits_[0] |= 0x00000008u; rejoingameid_ = value; } -inline void InitAckMessage::set_rejoingameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InitAckMessage::set_rejoingameid(uint32_t value) { _internal_set_rejoingameid(value); // @@protoc_insertion_point(field_set:InitAckMessage.rejoinGameId) } @@ -21203,18 +21982,18 @@ inline void AvatarRequestMessage::clear_requestid() { requestid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarRequestMessage::_internal_requestid() const { +inline uint32_t AvatarRequestMessage::_internal_requestid() const { return requestid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarRequestMessage::requestid() const { +inline uint32_t AvatarRequestMessage::requestid() const { // @@protoc_insertion_point(field_get:AvatarRequestMessage.requestId) return _internal_requestid(); } -inline void AvatarRequestMessage::_internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarRequestMessage::_internal_set_requestid(uint32_t value) { _has_bits_[0] |= 0x00000002u; requestid_ = value; } -inline void AvatarRequestMessage::set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarRequestMessage::set_requestid(uint32_t value) { _internal_set_requestid(value); // @@protoc_insertion_point(field_set:AvatarRequestMessage.requestId) } @@ -21228,51 +22007,35 @@ inline bool AvatarRequestMessage::has_avatarhash() const { return _internal_has_avatarhash(); } inline void AvatarRequestMessage::clear_avatarhash() { - avatarhash_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + avatarhash_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& AvatarRequestMessage::avatarhash() const { // @@protoc_insertion_point(field_get:AvatarRequestMessage.avatarHash) return _internal_avatarhash(); } -inline void AvatarRequestMessage::set_avatarhash(const std::string& value) { - _internal_set_avatarhash(value); +template +inline PROTOBUF_ALWAYS_INLINE +void AvatarRequestMessage::set_avatarhash(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + avatarhash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:AvatarRequestMessage.avatarHash) } inline std::string* AvatarRequestMessage::mutable_avatarhash() { + std::string* _s = _internal_mutable_avatarhash(); // @@protoc_insertion_point(field_mutable:AvatarRequestMessage.avatarHash) - return _internal_mutable_avatarhash(); + return _s; } inline const std::string& AvatarRequestMessage::_internal_avatarhash() const { return avatarhash_.Get(); } inline void AvatarRequestMessage::_internal_set_avatarhash(const std::string& value) { _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void AvatarRequestMessage::set_avatarhash(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:AvatarRequestMessage.avatarHash) -} -inline void AvatarRequestMessage::set_avatarhash(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:AvatarRequestMessage.avatarHash) -} -inline void AvatarRequestMessage::set_avatarhash(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:AvatarRequestMessage.avatarHash) + avatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* AvatarRequestMessage::_internal_mutable_avatarhash() { _has_bits_[0] |= 0x00000001u; - return avatarhash_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return avatarhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* AvatarRequestMessage::release_avatarhash() { // @@protoc_insertion_point(field_release:AvatarRequestMessage.avatarHash) @@ -21280,7 +22043,13 @@ inline std::string* AvatarRequestMessage::release_avatarhash() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return avatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = avatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void AvatarRequestMessage::set_allocated_avatarhash(std::string* avatarhash) { if (avatarhash != nullptr) { @@ -21289,27 +22058,13 @@ inline void AvatarRequestMessage::set_allocated_avatarhash(std::string* avatarha _has_bits_[0] &= ~0x00000001u; } avatarhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), avatarhash, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:AvatarRequestMessage.avatarHash) -} -inline std::string* AvatarRequestMessage::unsafe_arena_release_avatarhash() { - // @@protoc_insertion_point(field_unsafe_arena_release:AvatarRequestMessage.avatarHash) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return avatarhash_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void AvatarRequestMessage::unsafe_arena_set_allocated_avatarhash( - std::string* avatarhash) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (avatarhash != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - avatarhash_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - avatarhash, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AvatarRequestMessage.avatarHash) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:AvatarRequestMessage.avatarHash) } // ------------------------------------------------------------------- @@ -21328,18 +22083,18 @@ inline void AvatarHeaderMessage::clear_requestid() { requestid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarHeaderMessage::_internal_requestid() const { +inline uint32_t AvatarHeaderMessage::_internal_requestid() const { return requestid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarHeaderMessage::requestid() const { +inline uint32_t AvatarHeaderMessage::requestid() const { // @@protoc_insertion_point(field_get:AvatarHeaderMessage.requestId) return _internal_requestid(); } -inline void AvatarHeaderMessage::_internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarHeaderMessage::_internal_set_requestid(uint32_t value) { _has_bits_[0] |= 0x00000001u; requestid_ = value; } -inline void AvatarHeaderMessage::set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarHeaderMessage::set_requestid(uint32_t value) { _internal_set_requestid(value); // @@protoc_insertion_point(field_set:AvatarHeaderMessage.requestId) } @@ -21385,18 +22140,18 @@ inline void AvatarHeaderMessage::clear_avatarsize() { avatarsize_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarHeaderMessage::_internal_avatarsize() const { +inline uint32_t AvatarHeaderMessage::_internal_avatarsize() const { return avatarsize_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarHeaderMessage::avatarsize() const { +inline uint32_t AvatarHeaderMessage::avatarsize() const { // @@protoc_insertion_point(field_get:AvatarHeaderMessage.avatarSize) return _internal_avatarsize(); } -inline void AvatarHeaderMessage::_internal_set_avatarsize(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarHeaderMessage::_internal_set_avatarsize(uint32_t value) { _has_bits_[0] |= 0x00000002u; avatarsize_ = value; } -inline void AvatarHeaderMessage::set_avatarsize(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarHeaderMessage::set_avatarsize(uint32_t value) { _internal_set_avatarsize(value); // @@protoc_insertion_point(field_set:AvatarHeaderMessage.avatarSize) } @@ -21417,18 +22172,18 @@ inline void AvatarDataMessage::clear_requestid() { requestid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarDataMessage::_internal_requestid() const { +inline uint32_t AvatarDataMessage::_internal_requestid() const { return requestid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarDataMessage::requestid() const { +inline uint32_t AvatarDataMessage::requestid() const { // @@protoc_insertion_point(field_get:AvatarDataMessage.requestId) return _internal_requestid(); } -inline void AvatarDataMessage::_internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarDataMessage::_internal_set_requestid(uint32_t value) { _has_bits_[0] |= 0x00000002u; requestid_ = value; } -inline void AvatarDataMessage::set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarDataMessage::set_requestid(uint32_t value) { _internal_set_requestid(value); // @@protoc_insertion_point(field_set:AvatarDataMessage.requestId) } @@ -21442,51 +22197,35 @@ inline bool AvatarDataMessage::has_avatarblock() const { return _internal_has_avatarblock(); } inline void AvatarDataMessage::clear_avatarblock() { - avatarblock_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + avatarblock_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& AvatarDataMessage::avatarblock() const { // @@protoc_insertion_point(field_get:AvatarDataMessage.avatarBlock) return _internal_avatarblock(); } -inline void AvatarDataMessage::set_avatarblock(const std::string& value) { - _internal_set_avatarblock(value); +template +inline PROTOBUF_ALWAYS_INLINE +void AvatarDataMessage::set_avatarblock(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + avatarblock_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:AvatarDataMessage.avatarBlock) } inline std::string* AvatarDataMessage::mutable_avatarblock() { + std::string* _s = _internal_mutable_avatarblock(); // @@protoc_insertion_point(field_mutable:AvatarDataMessage.avatarBlock) - return _internal_mutable_avatarblock(); + return _s; } inline const std::string& AvatarDataMessage::_internal_avatarblock() const { return avatarblock_.Get(); } inline void AvatarDataMessage::_internal_set_avatarblock(const std::string& value) { _has_bits_[0] |= 0x00000001u; - avatarblock_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void AvatarDataMessage::set_avatarblock(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - avatarblock_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:AvatarDataMessage.avatarBlock) -} -inline void AvatarDataMessage::set_avatarblock(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - avatarblock_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:AvatarDataMessage.avatarBlock) -} -inline void AvatarDataMessage::set_avatarblock(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - avatarblock_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:AvatarDataMessage.avatarBlock) + avatarblock_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* AvatarDataMessage::_internal_mutable_avatarblock() { _has_bits_[0] |= 0x00000001u; - return avatarblock_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return avatarblock_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* AvatarDataMessage::release_avatarblock() { // @@protoc_insertion_point(field_release:AvatarDataMessage.avatarBlock) @@ -21494,7 +22233,13 @@ inline std::string* AvatarDataMessage::release_avatarblock() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return avatarblock_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = avatarblock_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarblock_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarblock_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void AvatarDataMessage::set_allocated_avatarblock(std::string* avatarblock) { if (avatarblock != nullptr) { @@ -21503,27 +22248,13 @@ inline void AvatarDataMessage::set_allocated_avatarblock(std::string* avatarbloc _has_bits_[0] &= ~0x00000001u; } avatarblock_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), avatarblock, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:AvatarDataMessage.avatarBlock) -} -inline std::string* AvatarDataMessage::unsafe_arena_release_avatarblock() { - // @@protoc_insertion_point(field_unsafe_arena_release:AvatarDataMessage.avatarBlock) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return avatarblock_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void AvatarDataMessage::unsafe_arena_set_allocated_avatarblock( - std::string* avatarblock) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (avatarblock != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarblock_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarblock_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - avatarblock_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - avatarblock, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AvatarDataMessage.avatarBlock) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:AvatarDataMessage.avatarBlock) } // ------------------------------------------------------------------- @@ -21542,18 +22273,18 @@ inline void AvatarEndMessage::clear_requestid() { requestid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarEndMessage::_internal_requestid() const { +inline uint32_t AvatarEndMessage::_internal_requestid() const { return requestid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AvatarEndMessage::requestid() const { +inline uint32_t AvatarEndMessage::requestid() const { // @@protoc_insertion_point(field_get:AvatarEndMessage.requestId) return _internal_requestid(); } -inline void AvatarEndMessage::_internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarEndMessage::_internal_set_requestid(uint32_t value) { _has_bits_[0] |= 0x00000001u; requestid_ = value; } -inline void AvatarEndMessage::set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AvatarEndMessage::set_requestid(uint32_t value) { _internal_set_requestid(value); // @@protoc_insertion_point(field_set:AvatarEndMessage.requestId) } @@ -21574,18 +22305,18 @@ inline void UnknownAvatarMessage::clear_requestid() { requestid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 UnknownAvatarMessage::_internal_requestid() const { +inline uint32_t UnknownAvatarMessage::_internal_requestid() const { return requestid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 UnknownAvatarMessage::requestid() const { +inline uint32_t UnknownAvatarMessage::requestid() const { // @@protoc_insertion_point(field_get:UnknownAvatarMessage.requestId) return _internal_requestid(); } -inline void UnknownAvatarMessage::_internal_set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void UnknownAvatarMessage::_internal_set_requestid(uint32_t value) { _has_bits_[0] |= 0x00000001u; requestid_ = value; } -inline void UnknownAvatarMessage::set_requestid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void UnknownAvatarMessage::set_requestid(uint32_t value) { _internal_set_requestid(value); // @@protoc_insertion_point(field_set:UnknownAvatarMessage.requestId) } @@ -21606,18 +22337,18 @@ inline void PlayerListMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerListMessage::_internal_playerid() const { +inline uint32_t PlayerListMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerListMessage::playerid() const { +inline uint32_t PlayerListMessage::playerid() const { // @@protoc_insertion_point(field_get:PlayerListMessage.playerId) return _internal_playerid(); } -inline void PlayerListMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerListMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; playerid_ = value; } -inline void PlayerListMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerListMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:PlayerListMessage.playerId) } @@ -21667,18 +22398,18 @@ inline void GameListNewMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::_internal_gameid() const { +inline uint32_t GameListNewMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::gameid() const { +inline uint32_t GameListNewMessage::gameid() const { // @@protoc_insertion_point(field_get:GameListNewMessage.gameId) return _internal_gameid(); } -inline void GameListNewMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000002u; gameid_ = value; } -inline void GameListNewMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameListNewMessage.gameId) } @@ -21750,37 +22481,38 @@ inline int GameListNewMessage::playerids_size() const { inline void GameListNewMessage::clear_playerids() { playerids_.Clear(); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::_internal_playerids(int index) const { +inline uint32_t GameListNewMessage::_internal_playerids(int index) const { return playerids_.Get(index); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::playerids(int index) const { +inline uint32_t GameListNewMessage::playerids(int index) const { // @@protoc_insertion_point(field_get:GameListNewMessage.playerIds) return _internal_playerids(index); } -inline void GameListNewMessage::set_playerids(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::set_playerids(int index, uint32_t value) { playerids_.Set(index, value); + // @@protoc_insertion_point(field_set:GameListNewMessage.playerIds) } -inline void GameListNewMessage::_internal_add_playerids(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::_internal_add_playerids(uint32_t value) { playerids_.Add(value); } -inline void GameListNewMessage::add_playerids(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::add_playerids(uint32_t value) { _internal_add_playerids(value); // @@protoc_insertion_point(field_add:GameListNewMessage.playerIds) } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& GameListNewMessage::_internal_playerids() const { return playerids_; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& GameListNewMessage::playerids() const { // @@protoc_insertion_point(field_list:GameListNewMessage.playerIds) return _internal_playerids(); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* GameListNewMessage::_internal_mutable_playerids() { return &playerids_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* GameListNewMessage::mutable_playerids() { // @@protoc_insertion_point(field_mutable_list:GameListNewMessage.playerIds) return _internal_mutable_playerids(); @@ -21798,18 +22530,18 @@ inline void GameListNewMessage::clear_adminplayerid() { adminplayerid_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::_internal_adminplayerid() const { +inline uint32_t GameListNewMessage::_internal_adminplayerid() const { return adminplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::adminplayerid() const { +inline uint32_t GameListNewMessage::adminplayerid() const { // @@protoc_insertion_point(field_get:GameListNewMessage.adminPlayerId) return _internal_adminplayerid(); } -inline void GameListNewMessage::_internal_set_adminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::_internal_set_adminplayerid(uint32_t value) { _has_bits_[0] |= 0x00000008u; adminplayerid_ = value; } -inline void GameListNewMessage::set_adminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::set_adminplayerid(uint32_t value) { _internal_set_adminplayerid(value); // @@protoc_insertion_point(field_set:GameListNewMessage.adminPlayerId) } @@ -21829,8 +22561,8 @@ inline void GameListNewMessage::clear_gameinfo() { } inline const ::NetGameInfo& GameListNewMessage::_internal_gameinfo() const { const ::NetGameInfo* p = gameinfo_; - return p != nullptr ? *p : *reinterpret_cast( - &::_NetGameInfo_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_NetGameInfo_default_instance_); } inline const ::NetGameInfo& GameListNewMessage::gameinfo() const { // @@protoc_insertion_point(field_get:GameListNewMessage.gameInfo) @@ -21838,7 +22570,7 @@ inline const ::NetGameInfo& GameListNewMessage::gameinfo() const { } inline void GameListNewMessage::unsafe_arena_set_allocated_gameinfo( ::NetGameInfo* gameinfo) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gameinfo_); } gameinfo_ = gameinfo; @@ -21850,10 +22582,18 @@ inline void GameListNewMessage::unsafe_arena_set_allocated_gameinfo( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:GameListNewMessage.gameInfo) } inline ::NetGameInfo* GameListNewMessage::release_gameinfo() { - auto temp = unsafe_arena_release_gameinfo(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000001u; + ::NetGameInfo* temp = gameinfo_; + gameinfo_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::NetGameInfo* GameListNewMessage::unsafe_arena_release_gameinfo() { @@ -21866,23 +22606,24 @@ inline ::NetGameInfo* GameListNewMessage::unsafe_arena_release_gameinfo() { inline ::NetGameInfo* GameListNewMessage::_internal_mutable_gameinfo() { _has_bits_[0] |= 0x00000001u; if (gameinfo_ == nullptr) { - auto* p = CreateMaybeMessage<::NetGameInfo>(GetArena()); + auto* p = CreateMaybeMessage<::NetGameInfo>(GetArenaForAllocation()); gameinfo_ = p; } return gameinfo_; } inline ::NetGameInfo* GameListNewMessage::mutable_gameinfo() { + ::NetGameInfo* _msg = _internal_mutable_gameinfo(); // @@protoc_insertion_point(field_mutable:GameListNewMessage.gameInfo) - return _internal_mutable_gameinfo(); + return _msg; } inline void GameListNewMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gameinfo_; } if (gameinfo) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gameinfo); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::NetGameInfo>::GetOwningArena(gameinfo); if (message_arena != submessage_arena) { gameinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gameinfo, submessage_arena); @@ -21905,37 +22646,38 @@ inline int GameListNewMessage::spectatorids_size() const { inline void GameListNewMessage::clear_spectatorids() { spectatorids_.Clear(); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::_internal_spectatorids(int index) const { +inline uint32_t GameListNewMessage::_internal_spectatorids(int index) const { return spectatorids_.Get(index); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListNewMessage::spectatorids(int index) const { +inline uint32_t GameListNewMessage::spectatorids(int index) const { // @@protoc_insertion_point(field_get:GameListNewMessage.spectatorIds) return _internal_spectatorids(index); } -inline void GameListNewMessage::set_spectatorids(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::set_spectatorids(int index, uint32_t value) { spectatorids_.Set(index, value); + // @@protoc_insertion_point(field_set:GameListNewMessage.spectatorIds) } -inline void GameListNewMessage::_internal_add_spectatorids(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::_internal_add_spectatorids(uint32_t value) { spectatorids_.Add(value); } -inline void GameListNewMessage::add_spectatorids(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListNewMessage::add_spectatorids(uint32_t value) { _internal_add_spectatorids(value); // @@protoc_insertion_point(field_add:GameListNewMessage.spectatorIds) } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& GameListNewMessage::_internal_spectatorids() const { return spectatorids_; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& GameListNewMessage::spectatorids() const { // @@protoc_insertion_point(field_list:GameListNewMessage.spectatorIds) return _internal_spectatorids(); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* GameListNewMessage::_internal_mutable_spectatorids() { return &spectatorids_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* GameListNewMessage::mutable_spectatorids() { // @@protoc_insertion_point(field_mutable_list:GameListNewMessage.spectatorIds) return _internal_mutable_spectatorids(); @@ -21957,18 +22699,18 @@ inline void GameListUpdateMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListUpdateMessage::_internal_gameid() const { +inline uint32_t GameListUpdateMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListUpdateMessage::gameid() const { +inline uint32_t GameListUpdateMessage::gameid() const { // @@protoc_insertion_point(field_get:GameListUpdateMessage.gameId) return _internal_gameid(); } -inline void GameListUpdateMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListUpdateMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameListUpdateMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListUpdateMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameListUpdateMessage.gameId) } @@ -22018,18 +22760,18 @@ inline void GameListPlayerJoinedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerJoinedMessage::_internal_gameid() const { +inline uint32_t GameListPlayerJoinedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerJoinedMessage::gameid() const { +inline uint32_t GameListPlayerJoinedMessage::gameid() const { // @@protoc_insertion_point(field_get:GameListPlayerJoinedMessage.gameId) return _internal_gameid(); } -inline void GameListPlayerJoinedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerJoinedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameListPlayerJoinedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerJoinedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameListPlayerJoinedMessage.gameId) } @@ -22046,18 +22788,18 @@ inline void GameListPlayerJoinedMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerJoinedMessage::_internal_playerid() const { +inline uint32_t GameListPlayerJoinedMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerJoinedMessage::playerid() const { +inline uint32_t GameListPlayerJoinedMessage::playerid() const { // @@protoc_insertion_point(field_get:GameListPlayerJoinedMessage.playerId) return _internal_playerid(); } -inline void GameListPlayerJoinedMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerJoinedMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GameListPlayerJoinedMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerJoinedMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GameListPlayerJoinedMessage.playerId) } @@ -22078,18 +22820,18 @@ inline void GameListPlayerLeftMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerLeftMessage::_internal_gameid() const { +inline uint32_t GameListPlayerLeftMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerLeftMessage::gameid() const { +inline uint32_t GameListPlayerLeftMessage::gameid() const { // @@protoc_insertion_point(field_get:GameListPlayerLeftMessage.gameId) return _internal_gameid(); } -inline void GameListPlayerLeftMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerLeftMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameListPlayerLeftMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerLeftMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameListPlayerLeftMessage.gameId) } @@ -22106,18 +22848,18 @@ inline void GameListPlayerLeftMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerLeftMessage::_internal_playerid() const { +inline uint32_t GameListPlayerLeftMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListPlayerLeftMessage::playerid() const { +inline uint32_t GameListPlayerLeftMessage::playerid() const { // @@protoc_insertion_point(field_get:GameListPlayerLeftMessage.playerId) return _internal_playerid(); } -inline void GameListPlayerLeftMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerLeftMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GameListPlayerLeftMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListPlayerLeftMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GameListPlayerLeftMessage.playerId) } @@ -22138,18 +22880,18 @@ inline void GameListSpectatorJoinedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorJoinedMessage::_internal_gameid() const { +inline uint32_t GameListSpectatorJoinedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorJoinedMessage::gameid() const { +inline uint32_t GameListSpectatorJoinedMessage::gameid() const { // @@protoc_insertion_point(field_get:GameListSpectatorJoinedMessage.gameId) return _internal_gameid(); } -inline void GameListSpectatorJoinedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorJoinedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameListSpectatorJoinedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorJoinedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameListSpectatorJoinedMessage.gameId) } @@ -22166,18 +22908,18 @@ inline void GameListSpectatorJoinedMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorJoinedMessage::_internal_playerid() const { +inline uint32_t GameListSpectatorJoinedMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorJoinedMessage::playerid() const { +inline uint32_t GameListSpectatorJoinedMessage::playerid() const { // @@protoc_insertion_point(field_get:GameListSpectatorJoinedMessage.playerId) return _internal_playerid(); } -inline void GameListSpectatorJoinedMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorJoinedMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GameListSpectatorJoinedMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorJoinedMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GameListSpectatorJoinedMessage.playerId) } @@ -22198,18 +22940,18 @@ inline void GameListSpectatorLeftMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorLeftMessage::_internal_gameid() const { +inline uint32_t GameListSpectatorLeftMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorLeftMessage::gameid() const { +inline uint32_t GameListSpectatorLeftMessage::gameid() const { // @@protoc_insertion_point(field_get:GameListSpectatorLeftMessage.gameId) return _internal_gameid(); } -inline void GameListSpectatorLeftMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorLeftMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameListSpectatorLeftMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorLeftMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameListSpectatorLeftMessage.gameId) } @@ -22226,18 +22968,18 @@ inline void GameListSpectatorLeftMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorLeftMessage::_internal_playerid() const { +inline uint32_t GameListSpectatorLeftMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListSpectatorLeftMessage::playerid() const { +inline uint32_t GameListSpectatorLeftMessage::playerid() const { // @@protoc_insertion_point(field_get:GameListSpectatorLeftMessage.playerId) return _internal_playerid(); } -inline void GameListSpectatorLeftMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorLeftMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GameListSpectatorLeftMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListSpectatorLeftMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GameListSpectatorLeftMessage.playerId) } @@ -22258,18 +23000,18 @@ inline void GameListAdminChangedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListAdminChangedMessage::_internal_gameid() const { +inline uint32_t GameListAdminChangedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListAdminChangedMessage::gameid() const { +inline uint32_t GameListAdminChangedMessage::gameid() const { // @@protoc_insertion_point(field_get:GameListAdminChangedMessage.gameId) return _internal_gameid(); } -inline void GameListAdminChangedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListAdminChangedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameListAdminChangedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListAdminChangedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameListAdminChangedMessage.gameId) } @@ -22286,18 +23028,18 @@ inline void GameListAdminChangedMessage::clear_newadminplayerid() { newadminplayerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListAdminChangedMessage::_internal_newadminplayerid() const { +inline uint32_t GameListAdminChangedMessage::_internal_newadminplayerid() const { return newadminplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameListAdminChangedMessage::newadminplayerid() const { +inline uint32_t GameListAdminChangedMessage::newadminplayerid() const { // @@protoc_insertion_point(field_get:GameListAdminChangedMessage.newAdminPlayerId) return _internal_newadminplayerid(); } -inline void GameListAdminChangedMessage::_internal_set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListAdminChangedMessage::_internal_set_newadminplayerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; newadminplayerid_ = value; } -inline void GameListAdminChangedMessage::set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameListAdminChangedMessage::set_newadminplayerid(uint32_t value) { _internal_set_newadminplayerid(value); // @@protoc_insertion_point(field_set:GameListAdminChangedMessage.newAdminPlayerId) } @@ -22316,37 +23058,38 @@ inline int PlayerInfoRequestMessage::playerid_size() const { inline void PlayerInfoRequestMessage::clear_playerid() { playerid_.Clear(); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerInfoRequestMessage::_internal_playerid(int index) const { +inline uint32_t PlayerInfoRequestMessage::_internal_playerid(int index) const { return playerid_.Get(index); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerInfoRequestMessage::playerid(int index) const { +inline uint32_t PlayerInfoRequestMessage::playerid(int index) const { // @@protoc_insertion_point(field_get:PlayerInfoRequestMessage.playerId) return _internal_playerid(index); } -inline void PlayerInfoRequestMessage::set_playerid(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerInfoRequestMessage::set_playerid(int index, uint32_t value) { playerid_.Set(index, value); + // @@protoc_insertion_point(field_set:PlayerInfoRequestMessage.playerId) } -inline void PlayerInfoRequestMessage::_internal_add_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerInfoRequestMessage::_internal_add_playerid(uint32_t value) { playerid_.Add(value); } -inline void PlayerInfoRequestMessage::add_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerInfoRequestMessage::add_playerid(uint32_t value) { _internal_add_playerid(value); // @@protoc_insertion_point(field_add:PlayerInfoRequestMessage.playerId) } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& PlayerInfoRequestMessage::_internal_playerid() const { return playerid_; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& PlayerInfoRequestMessage::playerid() const { // @@protoc_insertion_point(field_list:PlayerInfoRequestMessage.playerId) return _internal_playerid(); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* PlayerInfoRequestMessage::_internal_mutable_playerid() { return &playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* PlayerInfoRequestMessage::mutable_playerid() { // @@protoc_insertion_point(field_mutable_list:PlayerInfoRequestMessage.playerId) return _internal_mutable_playerid(); @@ -22394,51 +23137,35 @@ inline bool PlayerInfoReplyMessage_PlayerInfoData_AvatarData::has_avatarhash() c return _internal_has_avatarhash(); } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::clear_avatarhash() { - avatarhash_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + avatarhash_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& PlayerInfoReplyMessage_PlayerInfoData_AvatarData::avatarhash() const { // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) return _internal_avatarhash(); } -inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(const std::string& value) { - _internal_set_avatarhash(value); +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + avatarhash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) } inline std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::mutable_avatarhash() { + std::string* _s = _internal_mutable_avatarhash(); // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) - return _internal_mutable_avatarhash(); + return _s; } inline const std::string& PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_internal_avatarhash() const { return avatarhash_.Get(); } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_internal_set_avatarhash(const std::string& value) { _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) -} -inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) -} -inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_avatarhash(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - avatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) + avatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::_internal_mutable_avatarhash() { _has_bits_[0] |= 0x00000001u; - return avatarhash_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return avatarhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::release_avatarhash() { // @@protoc_insertion_point(field_release:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) @@ -22446,7 +23173,13 @@ inline std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::release_av return nullptr; } _has_bits_[0] &= ~0x00000001u; - return avatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = avatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_allocated_avatarhash(std::string* avatarhash) { if (avatarhash != nullptr) { @@ -22455,27 +23188,13 @@ inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::set_allocated_avat _has_bits_[0] &= ~0x00000001u; } avatarhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), avatarhash, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) -} -inline std::string* PlayerInfoReplyMessage_PlayerInfoData_AvatarData::unsafe_arena_release_avatarhash() { - // @@protoc_insertion_point(field_unsafe_arena_release:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return avatarhash_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void PlayerInfoReplyMessage_PlayerInfoData_AvatarData::unsafe_arena_set_allocated_avatarhash( - std::string* avatarhash) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (avatarhash != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (avatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + avatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - avatarhash_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - avatarhash, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.AvatarData.avatarHash) } // ------------------------------------------------------------------- @@ -22491,51 +23210,35 @@ inline bool PlayerInfoReplyMessage_PlayerInfoData::has_playername() const { return _internal_has_playername(); } inline void PlayerInfoReplyMessage_PlayerInfoData::clear_playername() { - playername_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + playername_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& PlayerInfoReplyMessage_PlayerInfoData::playername() const { // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.playerName) return _internal_playername(); } -inline void PlayerInfoReplyMessage_PlayerInfoData::set_playername(const std::string& value) { - _internal_set_playername(value); +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerInfoReplyMessage_PlayerInfoData::set_playername(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + playername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.playerName) } inline std::string* PlayerInfoReplyMessage_PlayerInfoData::mutable_playername() { + std::string* _s = _internal_mutable_playername(); // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.playerName) - return _internal_mutable_playername(); + return _s; } inline const std::string& PlayerInfoReplyMessage_PlayerInfoData::_internal_playername() const { return playername_.Get(); } inline void PlayerInfoReplyMessage_PlayerInfoData::_internal_set_playername(const std::string& value) { _has_bits_[0] |= 0x00000001u; - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void PlayerInfoReplyMessage_PlayerInfoData::set_playername(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - playername_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:PlayerInfoReplyMessage.PlayerInfoData.playerName) -} -inline void PlayerInfoReplyMessage_PlayerInfoData::set_playername(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:PlayerInfoReplyMessage.PlayerInfoData.playerName) -} -inline void PlayerInfoReplyMessage_PlayerInfoData::set_playername(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - playername_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:PlayerInfoReplyMessage.PlayerInfoData.playerName) + playername_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* PlayerInfoReplyMessage_PlayerInfoData::_internal_mutable_playername() { _has_bits_[0] |= 0x00000001u; - return playername_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return playername_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* PlayerInfoReplyMessage_PlayerInfoData::release_playername() { // @@protoc_insertion_point(field_release:PlayerInfoReplyMessage.PlayerInfoData.playerName) @@ -22543,7 +23246,13 @@ inline std::string* PlayerInfoReplyMessage_PlayerInfoData::release_playername() return nullptr; } _has_bits_[0] &= ~0x00000001u; - return playername_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = playername_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (playername_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_playername(std::string* playername) { if (playername != nullptr) { @@ -22552,27 +23261,13 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_playername(std: _has_bits_[0] &= ~0x00000001u; } playername_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), playername, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.playerName) -} -inline std::string* PlayerInfoReplyMessage_PlayerInfoData::unsafe_arena_release_playername() { - // @@protoc_insertion_point(field_unsafe_arena_release:PlayerInfoReplyMessage.PlayerInfoData.playerName) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return playername_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void PlayerInfoReplyMessage_PlayerInfoData::unsafe_arena_set_allocated_playername( - std::string* playername) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (playername != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (playername_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + playername_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - playername_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - playername, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.playerName) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.playerName) } // required bool isHuman = 2; @@ -22641,51 +23336,35 @@ inline bool PlayerInfoReplyMessage_PlayerInfoData::has_countrycode() const { return _internal_has_countrycode(); } inline void PlayerInfoReplyMessage_PlayerInfoData::clear_countrycode() { - countrycode_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + countrycode_.ClearToEmpty(); _has_bits_[0] &= ~0x00000002u; } inline const std::string& PlayerInfoReplyMessage_PlayerInfoData::countrycode() const { // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.countryCode) return _internal_countrycode(); } -inline void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(const std::string& value) { - _internal_set_countrycode(value); +template +inline PROTOBUF_ALWAYS_INLINE +void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000002u; + countrycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.PlayerInfoData.countryCode) } inline std::string* PlayerInfoReplyMessage_PlayerInfoData::mutable_countrycode() { + std::string* _s = _internal_mutable_countrycode(); // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.countryCode) - return _internal_mutable_countrycode(); + return _s; } inline const std::string& PlayerInfoReplyMessage_PlayerInfoData::_internal_countrycode() const { return countrycode_.Get(); } inline void PlayerInfoReplyMessage_PlayerInfoData::_internal_set_countrycode(const std::string& value) { _has_bits_[0] |= 0x00000002u; - countrycode_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(std::string&& value) { - _has_bits_[0] |= 0x00000002u; - countrycode_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:PlayerInfoReplyMessage.PlayerInfoData.countryCode) -} -inline void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000002u; - countrycode_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:PlayerInfoReplyMessage.PlayerInfoData.countryCode) -} -inline void PlayerInfoReplyMessage_PlayerInfoData::set_countrycode(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000002u; - countrycode_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:PlayerInfoReplyMessage.PlayerInfoData.countryCode) + countrycode_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* PlayerInfoReplyMessage_PlayerInfoData::_internal_mutable_countrycode() { _has_bits_[0] |= 0x00000002u; - return countrycode_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return countrycode_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* PlayerInfoReplyMessage_PlayerInfoData::release_countrycode() { // @@protoc_insertion_point(field_release:PlayerInfoReplyMessage.PlayerInfoData.countryCode) @@ -22693,7 +23372,13 @@ inline std::string* PlayerInfoReplyMessage_PlayerInfoData::release_countrycode() return nullptr; } _has_bits_[0] &= ~0x00000002u; - return countrycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = countrycode_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (countrycode_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + countrycode_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_countrycode(std::string* countrycode) { if (countrycode != nullptr) { @@ -22702,27 +23387,13 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_countrycode(std _has_bits_[0] &= ~0x00000002u; } countrycode_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), countrycode, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.countryCode) -} -inline std::string* PlayerInfoReplyMessage_PlayerInfoData::unsafe_arena_release_countrycode() { - // @@protoc_insertion_point(field_unsafe_arena_release:PlayerInfoReplyMessage.PlayerInfoData.countryCode) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000002u; - return countrycode_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void PlayerInfoReplyMessage_PlayerInfoData::unsafe_arena_set_allocated_countrycode( - std::string* countrycode) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (countrycode != nullptr) { - _has_bits_[0] |= 0x00000002u; - } else { - _has_bits_[0] &= ~0x00000002u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (countrycode_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + countrycode_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - countrycode_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - countrycode, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.countryCode) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.countryCode) } // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; @@ -22740,8 +23411,8 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::clear_avatardata() { } inline const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData::_internal_avatardata() const { const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* p = avatardata_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_default_instance_); } inline const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReplyMessage_PlayerInfoData::avatardata() const { // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.PlayerInfoData.avatarData) @@ -22749,7 +23420,7 @@ inline const ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData& PlayerInfoReply } inline void PlayerInfoReplyMessage_PlayerInfoData::unsafe_arena_set_allocated_avatardata( ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* avatardata) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(avatardata_); } avatardata_ = avatardata; @@ -22761,10 +23432,18 @@ inline void PlayerInfoReplyMessage_PlayerInfoData::unsafe_arena_set_allocated_av // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PlayerInfoReplyMessage.PlayerInfoData.avatarData) } inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData::release_avatardata() { - auto temp = unsafe_arena_release_avatardata(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000004u; + ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* temp = avatardata_; + avatardata_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData::unsafe_arena_release_avatardata() { @@ -22777,23 +23456,24 @@ inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessag inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData::_internal_mutable_avatardata() { _has_bits_[0] |= 0x00000004u; if (avatardata_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerInfoReplyMessage_PlayerInfoData_AvatarData>(GetArena()); + auto* p = CreateMaybeMessage<::PlayerInfoReplyMessage_PlayerInfoData_AvatarData>(GetArenaForAllocation()); avatardata_ = p; } return avatardata_; } inline ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* PlayerInfoReplyMessage_PlayerInfoData::mutable_avatardata() { + ::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* _msg = _internal_mutable_avatardata(); // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.PlayerInfoData.avatarData) - return _internal_mutable_avatardata(); + return _msg; } inline void PlayerInfoReplyMessage_PlayerInfoData::set_allocated_avatardata(::PlayerInfoReplyMessage_PlayerInfoData_AvatarData* avatardata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete avatardata_; } if (avatardata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(avatardata); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayerInfoReplyMessage_PlayerInfoData_AvatarData>::GetOwningArena(avatardata); if (message_arena != submessage_arena) { avatardata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, avatardata, submessage_arena); @@ -22822,18 +23502,18 @@ inline void PlayerInfoReplyMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerInfoReplyMessage::_internal_playerid() const { +inline uint32_t PlayerInfoReplyMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerInfoReplyMessage::playerid() const { +inline uint32_t PlayerInfoReplyMessage::playerid() const { // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.playerId) return _internal_playerid(); } -inline void PlayerInfoReplyMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerInfoReplyMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void PlayerInfoReplyMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerInfoReplyMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:PlayerInfoReplyMessage.playerId) } @@ -22853,8 +23533,8 @@ inline void PlayerInfoReplyMessage::clear_playerinfodata() { } inline const ::PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage::_internal_playerinfodata() const { const ::PlayerInfoReplyMessage_PlayerInfoData* p = playerinfodata_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayerInfoReplyMessage_PlayerInfoData_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerInfoReplyMessage_PlayerInfoData_default_instance_); } inline const ::PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage::playerinfodata() const { // @@protoc_insertion_point(field_get:PlayerInfoReplyMessage.playerInfoData) @@ -22862,7 +23542,7 @@ inline const ::PlayerInfoReplyMessage_PlayerInfoData& PlayerInfoReplyMessage::pl } inline void PlayerInfoReplyMessage::unsafe_arena_set_allocated_playerinfodata( ::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playerinfodata_); } playerinfodata_ = playerinfodata; @@ -22874,10 +23554,18 @@ inline void PlayerInfoReplyMessage::unsafe_arena_set_allocated_playerinfodata( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PlayerInfoReplyMessage.playerInfoData) } inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::release_playerinfodata() { - auto temp = unsafe_arena_release_playerinfodata(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000001u; + ::PlayerInfoReplyMessage_PlayerInfoData* temp = playerinfodata_; + playerinfodata_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::unsafe_arena_release_playerinfodata() { @@ -22890,23 +23578,24 @@ inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::unsafe_a inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::_internal_mutable_playerinfodata() { _has_bits_[0] |= 0x00000001u; if (playerinfodata_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerInfoReplyMessage_PlayerInfoData>(GetArena()); + auto* p = CreateMaybeMessage<::PlayerInfoReplyMessage_PlayerInfoData>(GetArenaForAllocation()); playerinfodata_ = p; } return playerinfodata_; } inline ::PlayerInfoReplyMessage_PlayerInfoData* PlayerInfoReplyMessage::mutable_playerinfodata() { + ::PlayerInfoReplyMessage_PlayerInfoData* _msg = _internal_mutable_playerinfodata(); // @@protoc_insertion_point(field_mutable:PlayerInfoReplyMessage.playerInfoData) - return _internal_mutable_playerinfodata(); + return _msg; } inline void PlayerInfoReplyMessage::set_allocated_playerinfodata(::PlayerInfoReplyMessage_PlayerInfoData* playerinfodata) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playerinfodata_; } if (playerinfodata) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playerinfodata); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayerInfoReplyMessage_PlayerInfoData>::GetOwningArena(playerinfodata); if (message_arena != submessage_arena) { playerinfodata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playerinfodata, submessage_arena); @@ -22968,18 +23657,18 @@ inline void JoinExistingGameMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 JoinExistingGameMessage::_internal_gameid() const { +inline uint32_t JoinExistingGameMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 JoinExistingGameMessage::gameid() const { +inline uint32_t JoinExistingGameMessage::gameid() const { // @@protoc_insertion_point(field_get:JoinExistingGameMessage.gameId) return _internal_gameid(); } -inline void JoinExistingGameMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void JoinExistingGameMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000002u; gameid_ = value; } -inline void JoinExistingGameMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void JoinExistingGameMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:JoinExistingGameMessage.gameId) } @@ -22993,51 +23682,35 @@ inline bool JoinExistingGameMessage::has_password() const { return _internal_has_password(); } inline void JoinExistingGameMessage::clear_password() { - password_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + password_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& JoinExistingGameMessage::password() const { // @@protoc_insertion_point(field_get:JoinExistingGameMessage.password) return _internal_password(); } -inline void JoinExistingGameMessage::set_password(const std::string& value) { - _internal_set_password(value); +template +inline PROTOBUF_ALWAYS_INLINE +void JoinExistingGameMessage::set_password(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:JoinExistingGameMessage.password) } inline std::string* JoinExistingGameMessage::mutable_password() { + std::string* _s = _internal_mutable_password(); // @@protoc_insertion_point(field_mutable:JoinExistingGameMessage.password) - return _internal_mutable_password(); + return _s; } inline const std::string& JoinExistingGameMessage::_internal_password() const { return password_.Get(); } inline void JoinExistingGameMessage::_internal_set_password(const std::string& value) { _has_bits_[0] |= 0x00000001u; - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void JoinExistingGameMessage::set_password(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - password_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:JoinExistingGameMessage.password) -} -inline void JoinExistingGameMessage::set_password(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:JoinExistingGameMessage.password) -} -inline void JoinExistingGameMessage::set_password(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:JoinExistingGameMessage.password) + password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* JoinExistingGameMessage::_internal_mutable_password() { _has_bits_[0] |= 0x00000001u; - return password_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* JoinExistingGameMessage::release_password() { // @@protoc_insertion_point(field_release:JoinExistingGameMessage.password) @@ -23045,7 +23718,13 @@ inline std::string* JoinExistingGameMessage::release_password() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void JoinExistingGameMessage::set_allocated_password(std::string* password) { if (password != nullptr) { @@ -23054,27 +23733,13 @@ inline void JoinExistingGameMessage::set_allocated_password(std::string* passwor _has_bits_[0] &= ~0x00000001u; } password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:JoinExistingGameMessage.password) -} -inline std::string* JoinExistingGameMessage::unsafe_arena_release_password() { - // @@protoc_insertion_point(field_unsafe_arena_release:JoinExistingGameMessage.password) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return password_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void JoinExistingGameMessage::unsafe_arena_set_allocated_password( - std::string* password) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (password != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - password_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - password, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:JoinExistingGameMessage.password) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:JoinExistingGameMessage.password) } // optional bool autoLeave = 3 [default = false]; @@ -23152,8 +23817,8 @@ inline void JoinNewGameMessage::clear_gameinfo() { } inline const ::NetGameInfo& JoinNewGameMessage::_internal_gameinfo() const { const ::NetGameInfo* p = gameinfo_; - return p != nullptr ? *p : *reinterpret_cast( - &::_NetGameInfo_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_NetGameInfo_default_instance_); } inline const ::NetGameInfo& JoinNewGameMessage::gameinfo() const { // @@protoc_insertion_point(field_get:JoinNewGameMessage.gameInfo) @@ -23161,7 +23826,7 @@ inline const ::NetGameInfo& JoinNewGameMessage::gameinfo() const { } inline void JoinNewGameMessage::unsafe_arena_set_allocated_gameinfo( ::NetGameInfo* gameinfo) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gameinfo_); } gameinfo_ = gameinfo; @@ -23173,10 +23838,18 @@ inline void JoinNewGameMessage::unsafe_arena_set_allocated_gameinfo( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:JoinNewGameMessage.gameInfo) } inline ::NetGameInfo* JoinNewGameMessage::release_gameinfo() { - auto temp = unsafe_arena_release_gameinfo(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000002u; + ::NetGameInfo* temp = gameinfo_; + gameinfo_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::NetGameInfo* JoinNewGameMessage::unsafe_arena_release_gameinfo() { @@ -23189,23 +23862,24 @@ inline ::NetGameInfo* JoinNewGameMessage::unsafe_arena_release_gameinfo() { inline ::NetGameInfo* JoinNewGameMessage::_internal_mutable_gameinfo() { _has_bits_[0] |= 0x00000002u; if (gameinfo_ == nullptr) { - auto* p = CreateMaybeMessage<::NetGameInfo>(GetArena()); + auto* p = CreateMaybeMessage<::NetGameInfo>(GetArenaForAllocation()); gameinfo_ = p; } return gameinfo_; } inline ::NetGameInfo* JoinNewGameMessage::mutable_gameinfo() { + ::NetGameInfo* _msg = _internal_mutable_gameinfo(); // @@protoc_insertion_point(field_mutable:JoinNewGameMessage.gameInfo) - return _internal_mutable_gameinfo(); + return _msg; } inline void JoinNewGameMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gameinfo_; } if (gameinfo) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gameinfo); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::NetGameInfo>::GetOwningArena(gameinfo); if (message_arena != submessage_arena) { gameinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gameinfo, submessage_arena); @@ -23227,51 +23901,35 @@ inline bool JoinNewGameMessage::has_password() const { return _internal_has_password(); } inline void JoinNewGameMessage::clear_password() { - password_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + password_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& JoinNewGameMessage::password() const { // @@protoc_insertion_point(field_get:JoinNewGameMessage.password) return _internal_password(); } -inline void JoinNewGameMessage::set_password(const std::string& value) { - _internal_set_password(value); +template +inline PROTOBUF_ALWAYS_INLINE +void JoinNewGameMessage::set_password(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:JoinNewGameMessage.password) } inline std::string* JoinNewGameMessage::mutable_password() { + std::string* _s = _internal_mutable_password(); // @@protoc_insertion_point(field_mutable:JoinNewGameMessage.password) - return _internal_mutable_password(); + return _s; } inline const std::string& JoinNewGameMessage::_internal_password() const { return password_.Get(); } inline void JoinNewGameMessage::_internal_set_password(const std::string& value) { _has_bits_[0] |= 0x00000001u; - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void JoinNewGameMessage::set_password(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - password_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:JoinNewGameMessage.password) -} -inline void JoinNewGameMessage::set_password(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:JoinNewGameMessage.password) -} -inline void JoinNewGameMessage::set_password(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - password_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:JoinNewGameMessage.password) + password_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* JoinNewGameMessage::_internal_mutable_password() { _has_bits_[0] |= 0x00000001u; - return password_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return password_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* JoinNewGameMessage::release_password() { // @@protoc_insertion_point(field_release:JoinNewGameMessage.password) @@ -23279,7 +23937,13 @@ inline std::string* JoinNewGameMessage::release_password() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = password_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void JoinNewGameMessage::set_allocated_password(std::string* password) { if (password != nullptr) { @@ -23288,27 +23952,13 @@ inline void JoinNewGameMessage::set_allocated_password(std::string* password) { _has_bits_[0] &= ~0x00000001u; } password_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), password, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:JoinNewGameMessage.password) -} -inline std::string* JoinNewGameMessage::unsafe_arena_release_password() { - // @@protoc_insertion_point(field_unsafe_arena_release:JoinNewGameMessage.password) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return password_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void JoinNewGameMessage::unsafe_arena_set_allocated_password( - std::string* password) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (password != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (password_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + password_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - password_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - password, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:JoinNewGameMessage.password) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:JoinNewGameMessage.password) } // optional bool autoLeave = 3; @@ -23355,18 +24005,18 @@ inline void RejoinExistingGameMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejoinExistingGameMessage::_internal_gameid() const { +inline uint32_t RejoinExistingGameMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejoinExistingGameMessage::gameid() const { +inline uint32_t RejoinExistingGameMessage::gameid() const { // @@protoc_insertion_point(field_get:RejoinExistingGameMessage.gameId) return _internal_gameid(); } -inline void RejoinExistingGameMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejoinExistingGameMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void RejoinExistingGameMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejoinExistingGameMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:RejoinExistingGameMessage.gameId) } @@ -23415,18 +24065,18 @@ inline void JoinGameAckMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 JoinGameAckMessage::_internal_gameid() const { +inline uint32_t JoinGameAckMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 JoinGameAckMessage::gameid() const { +inline uint32_t JoinGameAckMessage::gameid() const { // @@protoc_insertion_point(field_get:JoinGameAckMessage.gameId) return _internal_gameid(); } -inline void JoinGameAckMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void JoinGameAckMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000002u; gameid_ = value; } -inline void JoinGameAckMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void JoinGameAckMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:JoinGameAckMessage.gameId) } @@ -23474,8 +24124,8 @@ inline void JoinGameAckMessage::clear_gameinfo() { } inline const ::NetGameInfo& JoinGameAckMessage::_internal_gameinfo() const { const ::NetGameInfo* p = gameinfo_; - return p != nullptr ? *p : *reinterpret_cast( - &::_NetGameInfo_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_NetGameInfo_default_instance_); } inline const ::NetGameInfo& JoinGameAckMessage::gameinfo() const { // @@protoc_insertion_point(field_get:JoinGameAckMessage.gameInfo) @@ -23483,7 +24133,7 @@ inline const ::NetGameInfo& JoinGameAckMessage::gameinfo() const { } inline void JoinGameAckMessage::unsafe_arena_set_allocated_gameinfo( ::NetGameInfo* gameinfo) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gameinfo_); } gameinfo_ = gameinfo; @@ -23495,10 +24145,18 @@ inline void JoinGameAckMessage::unsafe_arena_set_allocated_gameinfo( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:JoinGameAckMessage.gameInfo) } inline ::NetGameInfo* JoinGameAckMessage::release_gameinfo() { - auto temp = unsafe_arena_release_gameinfo(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000001u; + ::NetGameInfo* temp = gameinfo_; + gameinfo_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::NetGameInfo* JoinGameAckMessage::unsafe_arena_release_gameinfo() { @@ -23511,23 +24169,24 @@ inline ::NetGameInfo* JoinGameAckMessage::unsafe_arena_release_gameinfo() { inline ::NetGameInfo* JoinGameAckMessage::_internal_mutable_gameinfo() { _has_bits_[0] |= 0x00000001u; if (gameinfo_ == nullptr) { - auto* p = CreateMaybeMessage<::NetGameInfo>(GetArena()); + auto* p = CreateMaybeMessage<::NetGameInfo>(GetArenaForAllocation()); gameinfo_ = p; } return gameinfo_; } inline ::NetGameInfo* JoinGameAckMessage::mutable_gameinfo() { + ::NetGameInfo* _msg = _internal_mutable_gameinfo(); // @@protoc_insertion_point(field_mutable:JoinGameAckMessage.gameInfo) - return _internal_mutable_gameinfo(); + return _msg; } inline void JoinGameAckMessage::set_allocated_gameinfo(::NetGameInfo* gameinfo) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gameinfo_; } if (gameinfo) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gameinfo); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::NetGameInfo>::GetOwningArena(gameinfo); if (message_arena != submessage_arena) { gameinfo = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gameinfo, submessage_arena); @@ -23584,18 +24243,18 @@ inline void JoinGameFailedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 JoinGameFailedMessage::_internal_gameid() const { +inline uint32_t JoinGameFailedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 JoinGameFailedMessage::gameid() const { +inline uint32_t JoinGameFailedMessage::gameid() const { // @@protoc_insertion_point(field_get:JoinGameFailedMessage.gameId) return _internal_gameid(); } -inline void JoinGameFailedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void JoinGameFailedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void JoinGameFailedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void JoinGameFailedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:JoinGameFailedMessage.gameId) } @@ -23645,18 +24304,18 @@ inline void GamePlayerJoinedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerJoinedMessage::_internal_gameid() const { +inline uint32_t GamePlayerJoinedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerJoinedMessage::gameid() const { +inline uint32_t GamePlayerJoinedMessage::gameid() const { // @@protoc_insertion_point(field_get:GamePlayerJoinedMessage.gameId) return _internal_gameid(); } -inline void GamePlayerJoinedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerJoinedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GamePlayerJoinedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerJoinedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GamePlayerJoinedMessage.gameId) } @@ -23673,18 +24332,18 @@ inline void GamePlayerJoinedMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerJoinedMessage::_internal_playerid() const { +inline uint32_t GamePlayerJoinedMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerJoinedMessage::playerid() const { +inline uint32_t GamePlayerJoinedMessage::playerid() const { // @@protoc_insertion_point(field_get:GamePlayerJoinedMessage.playerId) return _internal_playerid(); } -inline void GamePlayerJoinedMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerJoinedMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GamePlayerJoinedMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerJoinedMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GamePlayerJoinedMessage.playerId) } @@ -23733,18 +24392,18 @@ inline void GamePlayerLeftMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerLeftMessage::_internal_gameid() const { +inline uint32_t GamePlayerLeftMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerLeftMessage::gameid() const { +inline uint32_t GamePlayerLeftMessage::gameid() const { // @@protoc_insertion_point(field_get:GamePlayerLeftMessage.gameId) return _internal_gameid(); } -inline void GamePlayerLeftMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerLeftMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GamePlayerLeftMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerLeftMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GamePlayerLeftMessage.gameId) } @@ -23761,18 +24420,18 @@ inline void GamePlayerLeftMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerLeftMessage::_internal_playerid() const { +inline uint32_t GamePlayerLeftMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GamePlayerLeftMessage::playerid() const { +inline uint32_t GamePlayerLeftMessage::playerid() const { // @@protoc_insertion_point(field_get:GamePlayerLeftMessage.playerId) return _internal_playerid(); } -inline void GamePlayerLeftMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerLeftMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GamePlayerLeftMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GamePlayerLeftMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GamePlayerLeftMessage.playerId) } @@ -23822,18 +24481,18 @@ inline void GameSpectatorJoinedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorJoinedMessage::_internal_gameid() const { +inline uint32_t GameSpectatorJoinedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorJoinedMessage::gameid() const { +inline uint32_t GameSpectatorJoinedMessage::gameid() const { // @@protoc_insertion_point(field_get:GameSpectatorJoinedMessage.gameId) return _internal_gameid(); } -inline void GameSpectatorJoinedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorJoinedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameSpectatorJoinedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorJoinedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameSpectatorJoinedMessage.gameId) } @@ -23850,18 +24509,18 @@ inline void GameSpectatorJoinedMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorJoinedMessage::_internal_playerid() const { +inline uint32_t GameSpectatorJoinedMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorJoinedMessage::playerid() const { +inline uint32_t GameSpectatorJoinedMessage::playerid() const { // @@protoc_insertion_point(field_get:GameSpectatorJoinedMessage.playerId) return _internal_playerid(); } -inline void GameSpectatorJoinedMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorJoinedMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GameSpectatorJoinedMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorJoinedMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GameSpectatorJoinedMessage.playerId) } @@ -23882,18 +24541,18 @@ inline void GameSpectatorLeftMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorLeftMessage::_internal_gameid() const { +inline uint32_t GameSpectatorLeftMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorLeftMessage::gameid() const { +inline uint32_t GameSpectatorLeftMessage::gameid() const { // @@protoc_insertion_point(field_get:GameSpectatorLeftMessage.gameId) return _internal_gameid(); } -inline void GameSpectatorLeftMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorLeftMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameSpectatorLeftMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorLeftMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameSpectatorLeftMessage.gameId) } @@ -23910,18 +24569,18 @@ inline void GameSpectatorLeftMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorLeftMessage::_internal_playerid() const { +inline uint32_t GameSpectatorLeftMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameSpectatorLeftMessage::playerid() const { +inline uint32_t GameSpectatorLeftMessage::playerid() const { // @@protoc_insertion_point(field_get:GameSpectatorLeftMessage.playerId) return _internal_playerid(); } -inline void GameSpectatorLeftMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorLeftMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void GameSpectatorLeftMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameSpectatorLeftMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GameSpectatorLeftMessage.playerId) } @@ -23971,18 +24630,18 @@ inline void GameAdminChangedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameAdminChangedMessage::_internal_gameid() const { +inline uint32_t GameAdminChangedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameAdminChangedMessage::gameid() const { +inline uint32_t GameAdminChangedMessage::gameid() const { // @@protoc_insertion_point(field_get:GameAdminChangedMessage.gameId) return _internal_gameid(); } -inline void GameAdminChangedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameAdminChangedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameAdminChangedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameAdminChangedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameAdminChangedMessage.gameId) } @@ -23999,18 +24658,18 @@ inline void GameAdminChangedMessage::clear_newadminplayerid() { newadminplayerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameAdminChangedMessage::_internal_newadminplayerid() const { +inline uint32_t GameAdminChangedMessage::_internal_newadminplayerid() const { return newadminplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameAdminChangedMessage::newadminplayerid() const { +inline uint32_t GameAdminChangedMessage::newadminplayerid() const { // @@protoc_insertion_point(field_get:GameAdminChangedMessage.newAdminPlayerId) return _internal_newadminplayerid(); } -inline void GameAdminChangedMessage::_internal_set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameAdminChangedMessage::_internal_set_newadminplayerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; newadminplayerid_ = value; } -inline void GameAdminChangedMessage::set_newadminplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameAdminChangedMessage::set_newadminplayerid(uint32_t value) { _internal_set_newadminplayerid(value); // @@protoc_insertion_point(field_set:GameAdminChangedMessage.newAdminPlayerId) } @@ -24031,18 +24690,18 @@ inline void RemovedFromGameMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RemovedFromGameMessage::_internal_gameid() const { +inline uint32_t RemovedFromGameMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RemovedFromGameMessage::gameid() const { +inline uint32_t RemovedFromGameMessage::gameid() const { // @@protoc_insertion_point(field_get:RemovedFromGameMessage.gameId) return _internal_gameid(); } -inline void RemovedFromGameMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RemovedFromGameMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void RemovedFromGameMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RemovedFromGameMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:RemovedFromGameMessage.gameId) } @@ -24092,18 +24751,18 @@ inline void KickPlayerRequestMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPlayerRequestMessage::_internal_gameid() const { +inline uint32_t KickPlayerRequestMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPlayerRequestMessage::gameid() const { +inline uint32_t KickPlayerRequestMessage::gameid() const { // @@protoc_insertion_point(field_get:KickPlayerRequestMessage.gameId) return _internal_gameid(); } -inline void KickPlayerRequestMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPlayerRequestMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void KickPlayerRequestMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPlayerRequestMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:KickPlayerRequestMessage.gameId) } @@ -24120,18 +24779,18 @@ inline void KickPlayerRequestMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPlayerRequestMessage::_internal_playerid() const { +inline uint32_t KickPlayerRequestMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPlayerRequestMessage::playerid() const { +inline uint32_t KickPlayerRequestMessage::playerid() const { // @@protoc_insertion_point(field_get:KickPlayerRequestMessage.playerId) return _internal_playerid(); } -inline void KickPlayerRequestMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPlayerRequestMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void KickPlayerRequestMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPlayerRequestMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:KickPlayerRequestMessage.playerId) } @@ -24152,18 +24811,18 @@ inline void LeaveGameRequestMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 LeaveGameRequestMessage::_internal_gameid() const { +inline uint32_t LeaveGameRequestMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 LeaveGameRequestMessage::gameid() const { +inline uint32_t LeaveGameRequestMessage::gameid() const { // @@protoc_insertion_point(field_get:LeaveGameRequestMessage.gameId) return _internal_gameid(); } -inline void LeaveGameRequestMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void LeaveGameRequestMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void LeaveGameRequestMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void LeaveGameRequestMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:LeaveGameRequestMessage.gameId) } @@ -24184,18 +24843,18 @@ inline void InvitePlayerToGameMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InvitePlayerToGameMessage::_internal_gameid() const { +inline uint32_t InvitePlayerToGameMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InvitePlayerToGameMessage::gameid() const { +inline uint32_t InvitePlayerToGameMessage::gameid() const { // @@protoc_insertion_point(field_get:InvitePlayerToGameMessage.gameId) return _internal_gameid(); } -inline void InvitePlayerToGameMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InvitePlayerToGameMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void InvitePlayerToGameMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InvitePlayerToGameMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:InvitePlayerToGameMessage.gameId) } @@ -24212,18 +24871,18 @@ inline void InvitePlayerToGameMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InvitePlayerToGameMessage::_internal_playerid() const { +inline uint32_t InvitePlayerToGameMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InvitePlayerToGameMessage::playerid() const { +inline uint32_t InvitePlayerToGameMessage::playerid() const { // @@protoc_insertion_point(field_get:InvitePlayerToGameMessage.playerId) return _internal_playerid(); } -inline void InvitePlayerToGameMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InvitePlayerToGameMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void InvitePlayerToGameMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InvitePlayerToGameMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:InvitePlayerToGameMessage.playerId) } @@ -24244,18 +24903,18 @@ inline void InviteNotifyMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InviteNotifyMessage::_internal_gameid() const { +inline uint32_t InviteNotifyMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InviteNotifyMessage::gameid() const { +inline uint32_t InviteNotifyMessage::gameid() const { // @@protoc_insertion_point(field_get:InviteNotifyMessage.gameId) return _internal_gameid(); } -inline void InviteNotifyMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InviteNotifyMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void InviteNotifyMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InviteNotifyMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:InviteNotifyMessage.gameId) } @@ -24272,18 +24931,18 @@ inline void InviteNotifyMessage::clear_playeridwho() { playeridwho_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InviteNotifyMessage::_internal_playeridwho() const { +inline uint32_t InviteNotifyMessage::_internal_playeridwho() const { return playeridwho_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InviteNotifyMessage::playeridwho() const { +inline uint32_t InviteNotifyMessage::playeridwho() const { // @@protoc_insertion_point(field_get:InviteNotifyMessage.playerIdWho) return _internal_playeridwho(); } -inline void InviteNotifyMessage::_internal_set_playeridwho(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InviteNotifyMessage::_internal_set_playeridwho(uint32_t value) { _has_bits_[0] |= 0x00000002u; playeridwho_ = value; } -inline void InviteNotifyMessage::set_playeridwho(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InviteNotifyMessage::set_playeridwho(uint32_t value) { _internal_set_playeridwho(value); // @@protoc_insertion_point(field_set:InviteNotifyMessage.playerIdWho) } @@ -24300,18 +24959,18 @@ inline void InviteNotifyMessage::clear_playeridbywhom() { playeridbywhom_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InviteNotifyMessage::_internal_playeridbywhom() const { +inline uint32_t InviteNotifyMessage::_internal_playeridbywhom() const { return playeridbywhom_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 InviteNotifyMessage::playeridbywhom() const { +inline uint32_t InviteNotifyMessage::playeridbywhom() const { // @@protoc_insertion_point(field_get:InviteNotifyMessage.playerIdByWhom) return _internal_playeridbywhom(); } -inline void InviteNotifyMessage::_internal_set_playeridbywhom(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InviteNotifyMessage::_internal_set_playeridbywhom(uint32_t value) { _has_bits_[0] |= 0x00000004u; playeridbywhom_ = value; } -inline void InviteNotifyMessage::set_playeridbywhom(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void InviteNotifyMessage::set_playeridbywhom(uint32_t value) { _internal_set_playeridbywhom(value); // @@protoc_insertion_point(field_set:InviteNotifyMessage.playerIdByWhom) } @@ -24332,18 +24991,18 @@ inline void RejectGameInvitationMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejectGameInvitationMessage::_internal_gameid() const { +inline uint32_t RejectGameInvitationMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejectGameInvitationMessage::gameid() const { +inline uint32_t RejectGameInvitationMessage::gameid() const { // @@protoc_insertion_point(field_get:RejectGameInvitationMessage.gameId) return _internal_gameid(); } -inline void RejectGameInvitationMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejectGameInvitationMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void RejectGameInvitationMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejectGameInvitationMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:RejectGameInvitationMessage.gameId) } @@ -24393,18 +25052,18 @@ inline void RejectInvNotifyMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejectInvNotifyMessage::_internal_gameid() const { +inline uint32_t RejectInvNotifyMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejectInvNotifyMessage::gameid() const { +inline uint32_t RejectInvNotifyMessage::gameid() const { // @@protoc_insertion_point(field_get:RejectInvNotifyMessage.gameId) return _internal_gameid(); } -inline void RejectInvNotifyMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejectInvNotifyMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void RejectInvNotifyMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejectInvNotifyMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:RejectInvNotifyMessage.gameId) } @@ -24421,18 +25080,18 @@ inline void RejectInvNotifyMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejectInvNotifyMessage::_internal_playerid() const { +inline uint32_t RejectInvNotifyMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 RejectInvNotifyMessage::playerid() const { +inline uint32_t RejectInvNotifyMessage::playerid() const { // @@protoc_insertion_point(field_get:RejectInvNotifyMessage.playerId) return _internal_playerid(); } -inline void RejectInvNotifyMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejectInvNotifyMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void RejectInvNotifyMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void RejectInvNotifyMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:RejectInvNotifyMessage.playerId) } @@ -24482,18 +25141,18 @@ inline void StartEventMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartEventMessage::_internal_gameid() const { +inline uint32_t StartEventMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartEventMessage::gameid() const { +inline uint32_t StartEventMessage::gameid() const { // @@protoc_insertion_point(field_get:StartEventMessage.gameId) return _internal_gameid(); } -inline void StartEventMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartEventMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void StartEventMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartEventMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:StartEventMessage.gameId) } @@ -24571,18 +25230,18 @@ inline void StartEventAckMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartEventAckMessage::_internal_gameid() const { +inline uint32_t StartEventAckMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartEventAckMessage::gameid() const { +inline uint32_t StartEventAckMessage::gameid() const { // @@protoc_insertion_point(field_get:StartEventAckMessage.gameId) return _internal_gameid(); } -inline void StartEventAckMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartEventAckMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void StartEventAckMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartEventAckMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:StartEventAckMessage.gameId) } @@ -24603,18 +25262,18 @@ inline void GameStartInitialMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartInitialMessage::_internal_gameid() const { +inline uint32_t GameStartInitialMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartInitialMessage::gameid() const { +inline uint32_t GameStartInitialMessage::gameid() const { // @@protoc_insertion_point(field_get:GameStartInitialMessage.gameId) return _internal_gameid(); } -inline void GameStartInitialMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartInitialMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameStartInitialMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartInitialMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameStartInitialMessage.gameId) } @@ -24631,18 +25290,18 @@ inline void GameStartInitialMessage::clear_startdealerplayerid() { startdealerplayerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartInitialMessage::_internal_startdealerplayerid() const { +inline uint32_t GameStartInitialMessage::_internal_startdealerplayerid() const { return startdealerplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartInitialMessage::startdealerplayerid() const { +inline uint32_t GameStartInitialMessage::startdealerplayerid() const { // @@protoc_insertion_point(field_get:GameStartInitialMessage.startDealerPlayerId) return _internal_startdealerplayerid(); } -inline void GameStartInitialMessage::_internal_set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartInitialMessage::_internal_set_startdealerplayerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; startdealerplayerid_ = value; } -inline void GameStartInitialMessage::set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartInitialMessage::set_startdealerplayerid(uint32_t value) { _internal_set_startdealerplayerid(value); // @@protoc_insertion_point(field_set:GameStartInitialMessage.startDealerPlayerId) } @@ -24657,37 +25316,38 @@ inline int GameStartInitialMessage::playerseats_size() const { inline void GameStartInitialMessage::clear_playerseats() { playerseats_.Clear(); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartInitialMessage::_internal_playerseats(int index) const { +inline uint32_t GameStartInitialMessage::_internal_playerseats(int index) const { return playerseats_.Get(index); } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartInitialMessage::playerseats(int index) const { +inline uint32_t GameStartInitialMessage::playerseats(int index) const { // @@protoc_insertion_point(field_get:GameStartInitialMessage.playerSeats) return _internal_playerseats(index); } -inline void GameStartInitialMessage::set_playerseats(int index, ::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartInitialMessage::set_playerseats(int index, uint32_t value) { playerseats_.Set(index, value); + // @@protoc_insertion_point(field_set:GameStartInitialMessage.playerSeats) } -inline void GameStartInitialMessage::_internal_add_playerseats(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartInitialMessage::_internal_add_playerseats(uint32_t value) { playerseats_.Add(value); } -inline void GameStartInitialMessage::add_playerseats(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartInitialMessage::add_playerseats(uint32_t value) { _internal_add_playerseats(value); // @@protoc_insertion_point(field_add:GameStartInitialMessage.playerSeats) } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& GameStartInitialMessage::_internal_playerseats() const { return playerseats_; } -inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >& +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >& GameStartInitialMessage::playerseats() const { // @@protoc_insertion_point(field_list:GameStartInitialMessage.playerSeats) return _internal_playerseats(); } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* GameStartInitialMessage::_internal_mutable_playerseats() { return &playerseats_; } -inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint32 >* +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >* GameStartInitialMessage::mutable_playerseats() { // @@protoc_insertion_point(field_mutable_list:GameStartInitialMessage.playerSeats) return _internal_mutable_playerseats(); @@ -24709,18 +25369,18 @@ inline void GameStartRejoinMessage_RejoinPlayerData::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage_RejoinPlayerData::_internal_playerid() const { +inline uint32_t GameStartRejoinMessage_RejoinPlayerData::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage_RejoinPlayerData::playerid() const { +inline uint32_t GameStartRejoinMessage_RejoinPlayerData::playerid() const { // @@protoc_insertion_point(field_get:GameStartRejoinMessage.RejoinPlayerData.playerId) return _internal_playerid(); } -inline void GameStartRejoinMessage_RejoinPlayerData::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage_RejoinPlayerData::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; playerid_ = value; } -inline void GameStartRejoinMessage_RejoinPlayerData::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage_RejoinPlayerData::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:GameStartRejoinMessage.RejoinPlayerData.playerId) } @@ -24737,18 +25397,18 @@ inline void GameStartRejoinMessage_RejoinPlayerData::clear_playermoney() { playermoney_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage_RejoinPlayerData::_internal_playermoney() const { +inline uint32_t GameStartRejoinMessage_RejoinPlayerData::_internal_playermoney() const { return playermoney_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage_RejoinPlayerData::playermoney() const { +inline uint32_t GameStartRejoinMessage_RejoinPlayerData::playermoney() const { // @@protoc_insertion_point(field_get:GameStartRejoinMessage.RejoinPlayerData.playerMoney) return _internal_playermoney(); } -inline void GameStartRejoinMessage_RejoinPlayerData::_internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage_RejoinPlayerData::_internal_set_playermoney(uint32_t value) { _has_bits_[0] |= 0x00000002u; playermoney_ = value; } -inline void GameStartRejoinMessage_RejoinPlayerData::set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage_RejoinPlayerData::set_playermoney(uint32_t value) { _internal_set_playermoney(value); // @@protoc_insertion_point(field_set:GameStartRejoinMessage.RejoinPlayerData.playerMoney) } @@ -24769,18 +25429,18 @@ inline void GameStartRejoinMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage::_internal_gameid() const { +inline uint32_t GameStartRejoinMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage::gameid() const { +inline uint32_t GameStartRejoinMessage::gameid() const { // @@protoc_insertion_point(field_get:GameStartRejoinMessage.gameId) return _internal_gameid(); } -inline void GameStartRejoinMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void GameStartRejoinMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:GameStartRejoinMessage.gameId) } @@ -24797,18 +25457,18 @@ inline void GameStartRejoinMessage::clear_startdealerplayerid() { startdealerplayerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage::_internal_startdealerplayerid() const { +inline uint32_t GameStartRejoinMessage::_internal_startdealerplayerid() const { return startdealerplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage::startdealerplayerid() const { +inline uint32_t GameStartRejoinMessage::startdealerplayerid() const { // @@protoc_insertion_point(field_get:GameStartRejoinMessage.startDealerPlayerId) return _internal_startdealerplayerid(); } -inline void GameStartRejoinMessage::_internal_set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage::_internal_set_startdealerplayerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; startdealerplayerid_ = value; } -inline void GameStartRejoinMessage::set_startdealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage::set_startdealerplayerid(uint32_t value) { _internal_set_startdealerplayerid(value); // @@protoc_insertion_point(field_set:GameStartRejoinMessage.startDealerPlayerId) } @@ -24825,18 +25485,18 @@ inline void GameStartRejoinMessage::clear_handnum() { handnum_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage::_internal_handnum() const { +inline uint32_t GameStartRejoinMessage::_internal_handnum() const { return handnum_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 GameStartRejoinMessage::handnum() const { +inline uint32_t GameStartRejoinMessage::handnum() const { // @@protoc_insertion_point(field_get:GameStartRejoinMessage.handNum) return _internal_handnum(); } -inline void GameStartRejoinMessage::_internal_set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage::_internal_set_handnum(uint32_t value) { _has_bits_[0] |= 0x00000004u; handnum_ = value; } -inline void GameStartRejoinMessage::set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void GameStartRejoinMessage::set_handnum(uint32_t value) { _internal_set_handnum(value); // @@protoc_insertion_point(field_set:GameStartRejoinMessage.handNum) } @@ -24852,6 +25512,7 @@ inline void GameStartRejoinMessage::clear_rejoinplayerdata() { rejoinplayerdata_.Clear(); } inline ::GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage::mutable_rejoinplayerdata(int index) { + // @@protoc_insertion_point(field_mutable:GameStartRejoinMessage.rejoinPlayerData) return rejoinplayerdata_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData >* @@ -24870,11 +25531,13 @@ inline ::GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage::_inter return rejoinplayerdata_.Add(); } inline ::GameStartRejoinMessage_RejoinPlayerData* GameStartRejoinMessage::add_rejoinplayerdata() { + ::GameStartRejoinMessage_RejoinPlayerData* _add = _internal_add_rejoinplayerdata(); // @@protoc_insertion_point(field_add:GameStartRejoinMessage.rejoinPlayerData) - return _internal_add_rejoinplayerdata(); + return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartRejoinMessage_RejoinPlayerData >& GameStartRejoinMessage::rejoinplayerdata() const { + // @@protoc_insertion_point(field_list:GameStartRejoinMessage.rejoinPlayerData) return rejoinplayerdata_; } @@ -24883,142 +25546,187 @@ GameStartRejoinMessage::rejoinplayerdata() const { // GameStartReentryMessage_ReentryPlayerData // required uint32 playerId = 1; +inline bool GameStartReentryMessage_ReentryPlayerData::_internal_has_playerid() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} inline bool GameStartReentryMessage_ReentryPlayerData::has_playerid() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GameStartReentryMessage_ReentryPlayerData::set_has_playerid() { - _has_bits_[0] |= 0x00000001u; -} -inline void GameStartReentryMessage_ReentryPlayerData::clear_has_playerid() { - _has_bits_[0] &= ~0x00000001u; + return _internal_has_playerid(); } inline void GameStartReentryMessage_ReentryPlayerData::clear_playerid() { playerid_ = 0u; - clear_has_playerid(); + _has_bits_[0] &= ~0x00000001u; } -inline ::google::protobuf::uint32 GameStartReentryMessage_ReentryPlayerData::playerid() const { +inline uint32_t GameStartReentryMessage_ReentryPlayerData::_internal_playerid() const { return playerid_; } -inline void GameStartReentryMessage_ReentryPlayerData::set_playerid(::google::protobuf::uint32 value) { - set_has_playerid(); +inline uint32_t GameStartReentryMessage_ReentryPlayerData::playerid() const { + // @@protoc_insertion_point(field_get:GameStartReentryMessage.ReentryPlayerData.playerId) + return _internal_playerid(); +} +inline void GameStartReentryMessage_ReentryPlayerData::_internal_set_playerid(uint32_t value) { + _has_bits_[0] |= 0x00000001u; playerid_ = value; } +inline void GameStartReentryMessage_ReentryPlayerData::set_playerid(uint32_t value) { + _internal_set_playerid(value); + // @@protoc_insertion_point(field_set:GameStartReentryMessage.ReentryPlayerData.playerId) +} // required uint32 playerMoney = 2; +inline bool GameStartReentryMessage_ReentryPlayerData::_internal_has_playermoney() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; +} inline bool GameStartReentryMessage_ReentryPlayerData::has_playermoney() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GameStartReentryMessage_ReentryPlayerData::set_has_playermoney() { - _has_bits_[0] |= 0x00000002u; -} -inline void GameStartReentryMessage_ReentryPlayerData::clear_has_playermoney() { - _has_bits_[0] &= ~0x00000002u; + return _internal_has_playermoney(); } inline void GameStartReentryMessage_ReentryPlayerData::clear_playermoney() { playermoney_ = 0u; - clear_has_playermoney(); + _has_bits_[0] &= ~0x00000002u; } -inline ::google::protobuf::uint32 GameStartReentryMessage_ReentryPlayerData::playermoney() const { +inline uint32_t GameStartReentryMessage_ReentryPlayerData::_internal_playermoney() const { return playermoney_; } -inline void GameStartReentryMessage_ReentryPlayerData::set_playermoney(::google::protobuf::uint32 value) { - set_has_playermoney(); +inline uint32_t GameStartReentryMessage_ReentryPlayerData::playermoney() const { + // @@protoc_insertion_point(field_get:GameStartReentryMessage.ReentryPlayerData.playerMoney) + return _internal_playermoney(); +} +inline void GameStartReentryMessage_ReentryPlayerData::_internal_set_playermoney(uint32_t value) { + _has_bits_[0] |= 0x00000002u; playermoney_ = value; } +inline void GameStartReentryMessage_ReentryPlayerData::set_playermoney(uint32_t value) { + _internal_set_playermoney(value); + // @@protoc_insertion_point(field_set:GameStartReentryMessage.ReentryPlayerData.playerMoney) +} // ------------------------------------------------------------------- // GameStartReentryMessage // required uint32 gameId = 1; +inline bool GameStartReentryMessage::_internal_has_gameid() const { + bool value = (_has_bits_[0] & 0x00000001u) != 0; + return value; +} inline bool GameStartReentryMessage::has_gameid() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void GameStartReentryMessage::set_has_gameid() { - _has_bits_[0] |= 0x00000001u; -} -inline void GameStartReentryMessage::clear_has_gameid() { - _has_bits_[0] &= ~0x00000001u; + return _internal_has_gameid(); } inline void GameStartReentryMessage::clear_gameid() { gameid_ = 0u; - clear_has_gameid(); + _has_bits_[0] &= ~0x00000001u; } -inline ::google::protobuf::uint32 GameStartReentryMessage::gameid() const { +inline uint32_t GameStartReentryMessage::_internal_gameid() const { return gameid_; } -inline void GameStartReentryMessage::set_gameid(::google::protobuf::uint32 value) { - set_has_gameid(); +inline uint32_t GameStartReentryMessage::gameid() const { + // @@protoc_insertion_point(field_get:GameStartReentryMessage.gameId) + return _internal_gameid(); +} +inline void GameStartReentryMessage::_internal_set_gameid(uint32_t value) { + _has_bits_[0] |= 0x00000001u; gameid_ = value; } +inline void GameStartReentryMessage::set_gameid(uint32_t value) { + _internal_set_gameid(value); + // @@protoc_insertion_point(field_set:GameStartReentryMessage.gameId) +} // required uint32 startDealerPlayerId = 2; +inline bool GameStartReentryMessage::_internal_has_startdealerplayerid() const { + bool value = (_has_bits_[0] & 0x00000002u) != 0; + return value; +} inline bool GameStartReentryMessage::has_startdealerplayerid() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void GameStartReentryMessage::set_has_startdealerplayerid() { - _has_bits_[0] |= 0x00000002u; -} -inline void GameStartReentryMessage::clear_has_startdealerplayerid() { - _has_bits_[0] &= ~0x00000002u; + return _internal_has_startdealerplayerid(); } inline void GameStartReentryMessage::clear_startdealerplayerid() { startdealerplayerid_ = 0u; - clear_has_startdealerplayerid(); + _has_bits_[0] &= ~0x00000002u; } -inline ::google::protobuf::uint32 GameStartReentryMessage::startdealerplayerid() const { +inline uint32_t GameStartReentryMessage::_internal_startdealerplayerid() const { return startdealerplayerid_; } -inline void GameStartReentryMessage::set_startdealerplayerid(::google::protobuf::uint32 value) { - set_has_startdealerplayerid(); +inline uint32_t GameStartReentryMessage::startdealerplayerid() const { + // @@protoc_insertion_point(field_get:GameStartReentryMessage.startDealerPlayerId) + return _internal_startdealerplayerid(); +} +inline void GameStartReentryMessage::_internal_set_startdealerplayerid(uint32_t value) { + _has_bits_[0] |= 0x00000002u; startdealerplayerid_ = value; } +inline void GameStartReentryMessage::set_startdealerplayerid(uint32_t value) { + _internal_set_startdealerplayerid(value); + // @@protoc_insertion_point(field_set:GameStartReentryMessage.startDealerPlayerId) +} // required uint32 handNum = 3; +inline bool GameStartReentryMessage::_internal_has_handnum() const { + bool value = (_has_bits_[0] & 0x00000004u) != 0; + return value; +} inline bool GameStartReentryMessage::has_handnum() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void GameStartReentryMessage::set_has_handnum() { - _has_bits_[0] |= 0x00000004u; -} -inline void GameStartReentryMessage::clear_has_handnum() { - _has_bits_[0] &= ~0x00000004u; + return _internal_has_handnum(); } inline void GameStartReentryMessage::clear_handnum() { handnum_ = 0u; - clear_has_handnum(); + _has_bits_[0] &= ~0x00000004u; } -inline ::google::protobuf::uint32 GameStartReentryMessage::handnum() const { +inline uint32_t GameStartReentryMessage::_internal_handnum() const { return handnum_; } -inline void GameStartReentryMessage::set_handnum(::google::protobuf::uint32 value) { - set_has_handnum(); +inline uint32_t GameStartReentryMessage::handnum() const { + // @@protoc_insertion_point(field_get:GameStartReentryMessage.handNum) + return _internal_handnum(); +} +inline void GameStartReentryMessage::_internal_set_handnum(uint32_t value) { + _has_bits_[0] |= 0x00000004u; handnum_ = value; } +inline void GameStartReentryMessage::set_handnum(uint32_t value) { + _internal_set_handnum(value); + // @@protoc_insertion_point(field_set:GameStartReentryMessage.handNum) +} // repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; -inline int GameStartReentryMessage::reentryplayerdata_size() const { +inline int GameStartReentryMessage::_internal_reentryplayerdata_size() const { return reentryplayerdata_.size(); } +inline int GameStartReentryMessage::reentryplayerdata_size() const { + return _internal_reentryplayerdata_size(); +} inline void GameStartReentryMessage::clear_reentryplayerdata() { reentryplayerdata_.Clear(); } -inline const ::GameStartReentryMessage_ReentryPlayerData& GameStartReentryMessage::reentryplayerdata(int index) const { - return reentryplayerdata_.Get(index); -} inline ::GameStartReentryMessage_ReentryPlayerData* GameStartReentryMessage::mutable_reentryplayerdata(int index) { + // @@protoc_insertion_point(field_mutable:GameStartReentryMessage.reentryPlayerData) return reentryplayerdata_.Mutable(index); } -inline ::GameStartReentryMessage_ReentryPlayerData* GameStartReentryMessage::add_reentryplayerdata() { +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartReentryMessage_ReentryPlayerData >* +GameStartReentryMessage::mutable_reentryplayerdata() { + // @@protoc_insertion_point(field_mutable_list:GameStartReentryMessage.reentryPlayerData) + return &reentryplayerdata_; +} +inline const ::GameStartReentryMessage_ReentryPlayerData& GameStartReentryMessage::_internal_reentryplayerdata(int index) const { + return reentryplayerdata_.Get(index); +} +inline const ::GameStartReentryMessage_ReentryPlayerData& GameStartReentryMessage::reentryplayerdata(int index) const { + // @@protoc_insertion_point(field_get:GameStartReentryMessage.reentryPlayerData) + return _internal_reentryplayerdata(index); +} +inline ::GameStartReentryMessage_ReentryPlayerData* GameStartReentryMessage::_internal_add_reentryplayerdata() { return reentryplayerdata_.Add(); } -inline const ::google::protobuf::RepeatedPtrField< ::GameStartReentryMessage_ReentryPlayerData >& -GameStartReentryMessage::reentryplayerdata() const { - return reentryplayerdata_; +inline ::GameStartReentryMessage_ReentryPlayerData* GameStartReentryMessage::add_reentryplayerdata() { + ::GameStartReentryMessage_ReentryPlayerData* _add = _internal_add_reentryplayerdata(); + // @@protoc_insertion_point(field_add:GameStartReentryMessage.reentryPlayerData) + return _add; } -inline ::google::protobuf::RepeatedPtrField< ::GameStartReentryMessage_ReentryPlayerData >* -GameStartReentryMessage::mutable_reentryplayerdata() { - return &reentryplayerdata_; +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::GameStartReentryMessage_ReentryPlayerData >& +GameStartReentryMessage::reentryplayerdata() const { + // @@protoc_insertion_point(field_list:GameStartReentryMessage.reentryPlayerData) + return reentryplayerdata_; } // ------------------------------------------------------------------- @@ -25037,18 +25745,18 @@ inline void HandStartMessage_PlainCards::clear_plaincard1() { plaincard1_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage_PlainCards::_internal_plaincard1() const { +inline uint32_t HandStartMessage_PlainCards::_internal_plaincard1() const { return plaincard1_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage_PlainCards::plaincard1() const { +inline uint32_t HandStartMessage_PlainCards::plaincard1() const { // @@protoc_insertion_point(field_get:HandStartMessage.PlainCards.plainCard1) return _internal_plaincard1(); } -inline void HandStartMessage_PlainCards::_internal_set_plaincard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage_PlainCards::_internal_set_plaincard1(uint32_t value) { _has_bits_[0] |= 0x00000001u; plaincard1_ = value; } -inline void HandStartMessage_PlainCards::set_plaincard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage_PlainCards::set_plaincard1(uint32_t value) { _internal_set_plaincard1(value); // @@protoc_insertion_point(field_set:HandStartMessage.PlainCards.plainCard1) } @@ -25065,18 +25773,18 @@ inline void HandStartMessage_PlainCards::clear_plaincard2() { plaincard2_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage_PlainCards::_internal_plaincard2() const { +inline uint32_t HandStartMessage_PlainCards::_internal_plaincard2() const { return plaincard2_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage_PlainCards::plaincard2() const { +inline uint32_t HandStartMessage_PlainCards::plaincard2() const { // @@protoc_insertion_point(field_get:HandStartMessage.PlainCards.plainCard2) return _internal_plaincard2(); } -inline void HandStartMessage_PlainCards::_internal_set_plaincard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage_PlainCards::_internal_set_plaincard2(uint32_t value) { _has_bits_[0] |= 0x00000002u; plaincard2_ = value; } -inline void HandStartMessage_PlainCards::set_plaincard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage_PlainCards::set_plaincard2(uint32_t value) { _internal_set_plaincard2(value); // @@protoc_insertion_point(field_set:HandStartMessage.PlainCards.plainCard2) } @@ -25097,18 +25805,18 @@ inline void HandStartMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage::_internal_gameid() const { +inline uint32_t HandStartMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage::gameid() const { +inline uint32_t HandStartMessage::gameid() const { // @@protoc_insertion_point(field_get:HandStartMessage.gameId) return _internal_gameid(); } -inline void HandStartMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000004u; gameid_ = value; } -inline void HandStartMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:HandStartMessage.gameId) } @@ -25128,8 +25836,8 @@ inline void HandStartMessage::clear_plaincards() { } inline const ::HandStartMessage_PlainCards& HandStartMessage::_internal_plaincards() const { const ::HandStartMessage_PlainCards* p = plaincards_; - return p != nullptr ? *p : *reinterpret_cast( - &::_HandStartMessage_PlainCards_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_HandStartMessage_PlainCards_default_instance_); } inline const ::HandStartMessage_PlainCards& HandStartMessage::plaincards() const { // @@protoc_insertion_point(field_get:HandStartMessage.plainCards) @@ -25137,7 +25845,7 @@ inline const ::HandStartMessage_PlainCards& HandStartMessage::plaincards() const } inline void HandStartMessage::unsafe_arena_set_allocated_plaincards( ::HandStartMessage_PlainCards* plaincards) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(plaincards_); } plaincards_ = plaincards; @@ -25149,10 +25857,18 @@ inline void HandStartMessage::unsafe_arena_set_allocated_plaincards( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:HandStartMessage.plainCards) } inline ::HandStartMessage_PlainCards* HandStartMessage::release_plaincards() { - auto temp = unsafe_arena_release_plaincards(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000002u; + ::HandStartMessage_PlainCards* temp = plaincards_; + plaincards_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::HandStartMessage_PlainCards* HandStartMessage::unsafe_arena_release_plaincards() { @@ -25165,23 +25881,24 @@ inline ::HandStartMessage_PlainCards* HandStartMessage::unsafe_arena_release_pla inline ::HandStartMessage_PlainCards* HandStartMessage::_internal_mutable_plaincards() { _has_bits_[0] |= 0x00000002u; if (plaincards_ == nullptr) { - auto* p = CreateMaybeMessage<::HandStartMessage_PlainCards>(GetArena()); + auto* p = CreateMaybeMessage<::HandStartMessage_PlainCards>(GetArenaForAllocation()); plaincards_ = p; } return plaincards_; } inline ::HandStartMessage_PlainCards* HandStartMessage::mutable_plaincards() { + ::HandStartMessage_PlainCards* _msg = _internal_mutable_plaincards(); // @@protoc_insertion_point(field_mutable:HandStartMessage.plainCards) - return _internal_mutable_plaincards(); + return _msg; } inline void HandStartMessage::set_allocated_plaincards(::HandStartMessage_PlainCards* plaincards) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete plaincards_; } if (plaincards) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(plaincards); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::HandStartMessage_PlainCards>::GetOwningArena(plaincards); if (message_arena != submessage_arena) { plaincards = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, plaincards, submessage_arena); @@ -25203,51 +25920,35 @@ inline bool HandStartMessage::has_encryptedcards() const { return _internal_has_encryptedcards(); } inline void HandStartMessage::clear_encryptedcards() { - encryptedcards_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + encryptedcards_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& HandStartMessage::encryptedcards() const { // @@protoc_insertion_point(field_get:HandStartMessage.encryptedCards) return _internal_encryptedcards(); } -inline void HandStartMessage::set_encryptedcards(const std::string& value) { - _internal_set_encryptedcards(value); +template +inline PROTOBUF_ALWAYS_INLINE +void HandStartMessage::set_encryptedcards(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + encryptedcards_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:HandStartMessage.encryptedCards) } inline std::string* HandStartMessage::mutable_encryptedcards() { + std::string* _s = _internal_mutable_encryptedcards(); // @@protoc_insertion_point(field_mutable:HandStartMessage.encryptedCards) - return _internal_mutable_encryptedcards(); + return _s; } inline const std::string& HandStartMessage::_internal_encryptedcards() const { return encryptedcards_.Get(); } inline void HandStartMessage::_internal_set_encryptedcards(const std::string& value) { _has_bits_[0] |= 0x00000001u; - encryptedcards_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void HandStartMessage::set_encryptedcards(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - encryptedcards_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:HandStartMessage.encryptedCards) -} -inline void HandStartMessage::set_encryptedcards(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - encryptedcards_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:HandStartMessage.encryptedCards) -} -inline void HandStartMessage::set_encryptedcards(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - encryptedcards_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:HandStartMessage.encryptedCards) + encryptedcards_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* HandStartMessage::_internal_mutable_encryptedcards() { _has_bits_[0] |= 0x00000001u; - return encryptedcards_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return encryptedcards_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* HandStartMessage::release_encryptedcards() { // @@protoc_insertion_point(field_release:HandStartMessage.encryptedCards) @@ -25255,7 +25956,13 @@ inline std::string* HandStartMessage::release_encryptedcards() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return encryptedcards_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = encryptedcards_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (encryptedcards_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + encryptedcards_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void HandStartMessage::set_allocated_encryptedcards(std::string* encryptedcards) { if (encryptedcards != nullptr) { @@ -25264,27 +25971,13 @@ inline void HandStartMessage::set_allocated_encryptedcards(std::string* encrypte _has_bits_[0] &= ~0x00000001u; } encryptedcards_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), encryptedcards, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:HandStartMessage.encryptedCards) -} -inline std::string* HandStartMessage::unsafe_arena_release_encryptedcards() { - // @@protoc_insertion_point(field_unsafe_arena_release:HandStartMessage.encryptedCards) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return encryptedcards_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void HandStartMessage::unsafe_arena_set_allocated_encryptedcards( - std::string* encryptedcards) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (encryptedcards != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (encryptedcards_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + encryptedcards_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - encryptedcards_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - encryptedcards, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:HandStartMessage.encryptedCards) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:HandStartMessage.encryptedCards) } // required uint32 smallBlind = 4; @@ -25299,18 +25992,18 @@ inline void HandStartMessage::clear_smallblind() { smallblind_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage::_internal_smallblind() const { +inline uint32_t HandStartMessage::_internal_smallblind() const { return smallblind_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage::smallblind() const { +inline uint32_t HandStartMessage::smallblind() const { // @@protoc_insertion_point(field_get:HandStartMessage.smallBlind) return _internal_smallblind(); } -inline void HandStartMessage::_internal_set_smallblind(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage::_internal_set_smallblind(uint32_t value) { _has_bits_[0] |= 0x00000008u; smallblind_ = value; } -inline void HandStartMessage::set_smallblind(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage::set_smallblind(uint32_t value) { _internal_set_smallblind(value); // @@protoc_insertion_point(field_set:HandStartMessage.smallBlind) } @@ -25335,17 +26028,19 @@ inline ::NetPlayerState HandStartMessage::seatstates(int index) const { inline void HandStartMessage::set_seatstates(int index, ::NetPlayerState value) { assert(::NetPlayerState_IsValid(value)); seatstates_.Set(index, value); + // @@protoc_insertion_point(field_set:HandStartMessage.seatStates) } inline void HandStartMessage::_internal_add_seatstates(::NetPlayerState value) { assert(::NetPlayerState_IsValid(value)); seatstates_.Add(value); } inline void HandStartMessage::add_seatstates(::NetPlayerState value) { - // @@protoc_insertion_point(field_add:HandStartMessage.seatStates) _internal_add_seatstates(value); + // @@protoc_insertion_point(field_add:HandStartMessage.seatStates) } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField& HandStartMessage::seatstates() const { + // @@protoc_insertion_point(field_list:HandStartMessage.seatStates) return seatstates_; } inline ::PROTOBUF_NAMESPACE_ID::RepeatedField* @@ -25370,18 +26065,18 @@ inline void HandStartMessage::clear_dealerplayerid() { dealerplayerid_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage::_internal_dealerplayerid() const { +inline uint32_t HandStartMessage::_internal_dealerplayerid() const { return dealerplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 HandStartMessage::dealerplayerid() const { +inline uint32_t HandStartMessage::dealerplayerid() const { // @@protoc_insertion_point(field_get:HandStartMessage.dealerPlayerId) return _internal_dealerplayerid(); } -inline void HandStartMessage::_internal_set_dealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage::_internal_set_dealerplayerid(uint32_t value) { _has_bits_[0] |= 0x00000010u; dealerplayerid_ = value; } -inline void HandStartMessage::set_dealerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void HandStartMessage::set_dealerplayerid(uint32_t value) { _internal_set_dealerplayerid(value); // @@protoc_insertion_point(field_set:HandStartMessage.dealerPlayerId) } @@ -25402,18 +26097,18 @@ inline void PlayersTurnMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersTurnMessage::_internal_gameid() const { +inline uint32_t PlayersTurnMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersTurnMessage::gameid() const { +inline uint32_t PlayersTurnMessage::gameid() const { // @@protoc_insertion_point(field_get:PlayersTurnMessage.gameId) return _internal_gameid(); } -inline void PlayersTurnMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersTurnMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void PlayersTurnMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersTurnMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:PlayersTurnMessage.gameId) } @@ -25430,18 +26125,18 @@ inline void PlayersTurnMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersTurnMessage::_internal_playerid() const { +inline uint32_t PlayersTurnMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersTurnMessage::playerid() const { +inline uint32_t PlayersTurnMessage::playerid() const { // @@protoc_insertion_point(field_get:PlayersTurnMessage.playerId) return _internal_playerid(); } -inline void PlayersTurnMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersTurnMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void PlayersTurnMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersTurnMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:PlayersTurnMessage.playerId) } @@ -25491,18 +26186,18 @@ inline void MyActionRequestMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 MyActionRequestMessage::_internal_gameid() const { +inline uint32_t MyActionRequestMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 MyActionRequestMessage::gameid() const { +inline uint32_t MyActionRequestMessage::gameid() const { // @@protoc_insertion_point(field_get:MyActionRequestMessage.gameId) return _internal_gameid(); } -inline void MyActionRequestMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void MyActionRequestMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void MyActionRequestMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void MyActionRequestMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:MyActionRequestMessage.gameId) } @@ -25519,18 +26214,18 @@ inline void MyActionRequestMessage::clear_handnum() { handnum_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 MyActionRequestMessage::_internal_handnum() const { +inline uint32_t MyActionRequestMessage::_internal_handnum() const { return handnum_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 MyActionRequestMessage::handnum() const { +inline uint32_t MyActionRequestMessage::handnum() const { // @@protoc_insertion_point(field_get:MyActionRequestMessage.handNum) return _internal_handnum(); } -inline void MyActionRequestMessage::_internal_set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void MyActionRequestMessage::_internal_set_handnum(uint32_t value) { _has_bits_[0] |= 0x00000002u; handnum_ = value; } -inline void MyActionRequestMessage::set_handnum(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void MyActionRequestMessage::set_handnum(uint32_t value) { _internal_set_handnum(value); // @@protoc_insertion_point(field_set:MyActionRequestMessage.handNum) } @@ -25605,18 +26300,18 @@ inline void MyActionRequestMessage::clear_myrelativebet() { myrelativebet_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 MyActionRequestMessage::_internal_myrelativebet() const { +inline uint32_t MyActionRequestMessage::_internal_myrelativebet() const { return myrelativebet_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 MyActionRequestMessage::myrelativebet() const { +inline uint32_t MyActionRequestMessage::myrelativebet() const { // @@protoc_insertion_point(field_get:MyActionRequestMessage.myRelativeBet) return _internal_myrelativebet(); } -inline void MyActionRequestMessage::_internal_set_myrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void MyActionRequestMessage::_internal_set_myrelativebet(uint32_t value) { _has_bits_[0] |= 0x00000010u; myrelativebet_ = value; } -inline void MyActionRequestMessage::set_myrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void MyActionRequestMessage::set_myrelativebet(uint32_t value) { _internal_set_myrelativebet(value); // @@protoc_insertion_point(field_set:MyActionRequestMessage.myRelativeBet) } @@ -25637,18 +26332,18 @@ inline void YourActionRejectedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 YourActionRejectedMessage::_internal_gameid() const { +inline uint32_t YourActionRejectedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 YourActionRejectedMessage::gameid() const { +inline uint32_t YourActionRejectedMessage::gameid() const { // @@protoc_insertion_point(field_get:YourActionRejectedMessage.gameId) return _internal_gameid(); } -inline void YourActionRejectedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void YourActionRejectedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void YourActionRejectedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void YourActionRejectedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:YourActionRejectedMessage.gameId) } @@ -25723,18 +26418,18 @@ inline void YourActionRejectedMessage::clear_yourrelativebet() { yourrelativebet_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 YourActionRejectedMessage::_internal_yourrelativebet() const { +inline uint32_t YourActionRejectedMessage::_internal_yourrelativebet() const { return yourrelativebet_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 YourActionRejectedMessage::yourrelativebet() const { +inline uint32_t YourActionRejectedMessage::yourrelativebet() const { // @@protoc_insertion_point(field_get:YourActionRejectedMessage.yourRelativeBet) return _internal_yourrelativebet(); } -inline void YourActionRejectedMessage::_internal_set_yourrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void YourActionRejectedMessage::_internal_set_yourrelativebet(uint32_t value) { _has_bits_[0] |= 0x00000008u; yourrelativebet_ = value; } -inline void YourActionRejectedMessage::set_yourrelativebet(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void YourActionRejectedMessage::set_yourrelativebet(uint32_t value) { _internal_set_yourrelativebet(value); // @@protoc_insertion_point(field_set:YourActionRejectedMessage.yourRelativeBet) } @@ -25784,18 +26479,18 @@ inline void PlayersActionDoneMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::_internal_gameid() const { +inline uint32_t PlayersActionDoneMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::gameid() const { +inline uint32_t PlayersActionDoneMessage::gameid() const { // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.gameId) return _internal_gameid(); } -inline void PlayersActionDoneMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void PlayersActionDoneMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.gameId) } @@ -25812,18 +26507,18 @@ inline void PlayersActionDoneMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::_internal_playerid() const { +inline uint32_t PlayersActionDoneMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::playerid() const { +inline uint32_t PlayersActionDoneMessage::playerid() const { // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.playerId) return _internal_playerid(); } -inline void PlayersActionDoneMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void PlayersActionDoneMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.playerId) } @@ -25898,18 +26593,18 @@ inline void PlayersActionDoneMessage::clear_totalplayerbet() { totalplayerbet_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::_internal_totalplayerbet() const { +inline uint32_t PlayersActionDoneMessage::_internal_totalplayerbet() const { return totalplayerbet_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::totalplayerbet() const { +inline uint32_t PlayersActionDoneMessage::totalplayerbet() const { // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.totalPlayerBet) return _internal_totalplayerbet(); } -inline void PlayersActionDoneMessage::_internal_set_totalplayerbet(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::_internal_set_totalplayerbet(uint32_t value) { _has_bits_[0] |= 0x00000010u; totalplayerbet_ = value; } -inline void PlayersActionDoneMessage::set_totalplayerbet(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::set_totalplayerbet(uint32_t value) { _internal_set_totalplayerbet(value); // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.totalPlayerBet) } @@ -25926,18 +26621,18 @@ inline void PlayersActionDoneMessage::clear_playermoney() { playermoney_ = 0u; _has_bits_[0] &= ~0x00000020u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::_internal_playermoney() const { +inline uint32_t PlayersActionDoneMessage::_internal_playermoney() const { return playermoney_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::playermoney() const { +inline uint32_t PlayersActionDoneMessage::playermoney() const { // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.playerMoney) return _internal_playermoney(); } -inline void PlayersActionDoneMessage::_internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::_internal_set_playermoney(uint32_t value) { _has_bits_[0] |= 0x00000020u; playermoney_ = value; } -inline void PlayersActionDoneMessage::set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::set_playermoney(uint32_t value) { _internal_set_playermoney(value); // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.playerMoney) } @@ -25954,18 +26649,18 @@ inline void PlayersActionDoneMessage::clear_highestset() { highestset_ = 0u; _has_bits_[0] &= ~0x00000040u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::_internal_highestset() const { +inline uint32_t PlayersActionDoneMessage::_internal_highestset() const { return highestset_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::highestset() const { +inline uint32_t PlayersActionDoneMessage::highestset() const { // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.highestSet) return _internal_highestset(); } -inline void PlayersActionDoneMessage::_internal_set_highestset(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::_internal_set_highestset(uint32_t value) { _has_bits_[0] |= 0x00000040u; highestset_ = value; } -inline void PlayersActionDoneMessage::set_highestset(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::set_highestset(uint32_t value) { _internal_set_highestset(value); // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.highestSet) } @@ -25982,18 +26677,18 @@ inline void PlayersActionDoneMessage::clear_minimumraise() { minimumraise_ = 0u; _has_bits_[0] &= ~0x00000080u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::_internal_minimumraise() const { +inline uint32_t PlayersActionDoneMessage::_internal_minimumraise() const { return minimumraise_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayersActionDoneMessage::minimumraise() const { +inline uint32_t PlayersActionDoneMessage::minimumraise() const { // @@protoc_insertion_point(field_get:PlayersActionDoneMessage.minimumRaise) return _internal_minimumraise(); } -inline void PlayersActionDoneMessage::_internal_set_minimumraise(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::_internal_set_minimumraise(uint32_t value) { _has_bits_[0] |= 0x00000080u; minimumraise_ = value; } -inline void PlayersActionDoneMessage::set_minimumraise(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayersActionDoneMessage::set_minimumraise(uint32_t value) { _internal_set_minimumraise(value); // @@protoc_insertion_point(field_set:PlayersActionDoneMessage.minimumRaise) } @@ -26014,18 +26709,18 @@ inline void DealFlopCardsMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::_internal_gameid() const { +inline uint32_t DealFlopCardsMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::gameid() const { +inline uint32_t DealFlopCardsMessage::gameid() const { // @@protoc_insertion_point(field_get:DealFlopCardsMessage.gameId) return _internal_gameid(); } -inline void DealFlopCardsMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void DealFlopCardsMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:DealFlopCardsMessage.gameId) } @@ -26042,18 +26737,18 @@ inline void DealFlopCardsMessage::clear_flopcard1() { flopcard1_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::_internal_flopcard1() const { +inline uint32_t DealFlopCardsMessage::_internal_flopcard1() const { return flopcard1_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::flopcard1() const { +inline uint32_t DealFlopCardsMessage::flopcard1() const { // @@protoc_insertion_point(field_get:DealFlopCardsMessage.flopCard1) return _internal_flopcard1(); } -inline void DealFlopCardsMessage::_internal_set_flopcard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::_internal_set_flopcard1(uint32_t value) { _has_bits_[0] |= 0x00000002u; flopcard1_ = value; } -inline void DealFlopCardsMessage::set_flopcard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::set_flopcard1(uint32_t value) { _internal_set_flopcard1(value); // @@protoc_insertion_point(field_set:DealFlopCardsMessage.flopCard1) } @@ -26070,18 +26765,18 @@ inline void DealFlopCardsMessage::clear_flopcard2() { flopcard2_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::_internal_flopcard2() const { +inline uint32_t DealFlopCardsMessage::_internal_flopcard2() const { return flopcard2_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::flopcard2() const { +inline uint32_t DealFlopCardsMessage::flopcard2() const { // @@protoc_insertion_point(field_get:DealFlopCardsMessage.flopCard2) return _internal_flopcard2(); } -inline void DealFlopCardsMessage::_internal_set_flopcard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::_internal_set_flopcard2(uint32_t value) { _has_bits_[0] |= 0x00000004u; flopcard2_ = value; } -inline void DealFlopCardsMessage::set_flopcard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::set_flopcard2(uint32_t value) { _internal_set_flopcard2(value); // @@protoc_insertion_point(field_set:DealFlopCardsMessage.flopCard2) } @@ -26098,18 +26793,18 @@ inline void DealFlopCardsMessage::clear_flopcard3() { flopcard3_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::_internal_flopcard3() const { +inline uint32_t DealFlopCardsMessage::_internal_flopcard3() const { return flopcard3_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealFlopCardsMessage::flopcard3() const { +inline uint32_t DealFlopCardsMessage::flopcard3() const { // @@protoc_insertion_point(field_get:DealFlopCardsMessage.flopCard3) return _internal_flopcard3(); } -inline void DealFlopCardsMessage::_internal_set_flopcard3(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::_internal_set_flopcard3(uint32_t value) { _has_bits_[0] |= 0x00000008u; flopcard3_ = value; } -inline void DealFlopCardsMessage::set_flopcard3(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealFlopCardsMessage::set_flopcard3(uint32_t value) { _internal_set_flopcard3(value); // @@protoc_insertion_point(field_set:DealFlopCardsMessage.flopCard3) } @@ -26130,18 +26825,18 @@ inline void DealTurnCardMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealTurnCardMessage::_internal_gameid() const { +inline uint32_t DealTurnCardMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealTurnCardMessage::gameid() const { +inline uint32_t DealTurnCardMessage::gameid() const { // @@protoc_insertion_point(field_get:DealTurnCardMessage.gameId) return _internal_gameid(); } -inline void DealTurnCardMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealTurnCardMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void DealTurnCardMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealTurnCardMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:DealTurnCardMessage.gameId) } @@ -26158,18 +26853,18 @@ inline void DealTurnCardMessage::clear_turncard() { turncard_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealTurnCardMessage::_internal_turncard() const { +inline uint32_t DealTurnCardMessage::_internal_turncard() const { return turncard_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealTurnCardMessage::turncard() const { +inline uint32_t DealTurnCardMessage::turncard() const { // @@protoc_insertion_point(field_get:DealTurnCardMessage.turnCard) return _internal_turncard(); } -inline void DealTurnCardMessage::_internal_set_turncard(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealTurnCardMessage::_internal_set_turncard(uint32_t value) { _has_bits_[0] |= 0x00000002u; turncard_ = value; } -inline void DealTurnCardMessage::set_turncard(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealTurnCardMessage::set_turncard(uint32_t value) { _internal_set_turncard(value); // @@protoc_insertion_point(field_set:DealTurnCardMessage.turnCard) } @@ -26190,18 +26885,18 @@ inline void DealRiverCardMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealRiverCardMessage::_internal_gameid() const { +inline uint32_t DealRiverCardMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealRiverCardMessage::gameid() const { +inline uint32_t DealRiverCardMessage::gameid() const { // @@protoc_insertion_point(field_get:DealRiverCardMessage.gameId) return _internal_gameid(); } -inline void DealRiverCardMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealRiverCardMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void DealRiverCardMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealRiverCardMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:DealRiverCardMessage.gameId) } @@ -26218,18 +26913,18 @@ inline void DealRiverCardMessage::clear_rivercard() { rivercard_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealRiverCardMessage::_internal_rivercard() const { +inline uint32_t DealRiverCardMessage::_internal_rivercard() const { return rivercard_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 DealRiverCardMessage::rivercard() const { +inline uint32_t DealRiverCardMessage::rivercard() const { // @@protoc_insertion_point(field_get:DealRiverCardMessage.riverCard) return _internal_rivercard(); } -inline void DealRiverCardMessage::_internal_set_rivercard(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealRiverCardMessage::_internal_set_rivercard(uint32_t value) { _has_bits_[0] |= 0x00000002u; rivercard_ = value; } -inline void DealRiverCardMessage::set_rivercard(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void DealRiverCardMessage::set_rivercard(uint32_t value) { _internal_set_rivercard(value); // @@protoc_insertion_point(field_set:DealRiverCardMessage.riverCard) } @@ -26250,18 +26945,18 @@ inline void AllInShowCardsMessage_PlayerAllIn::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage_PlayerAllIn::_internal_playerid() const { +inline uint32_t AllInShowCardsMessage_PlayerAllIn::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage_PlayerAllIn::playerid() const { +inline uint32_t AllInShowCardsMessage_PlayerAllIn::playerid() const { // @@protoc_insertion_point(field_get:AllInShowCardsMessage.PlayerAllIn.playerId) return _internal_playerid(); } -inline void AllInShowCardsMessage_PlayerAllIn::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage_PlayerAllIn::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; playerid_ = value; } -inline void AllInShowCardsMessage_PlayerAllIn::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage_PlayerAllIn::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:AllInShowCardsMessage.PlayerAllIn.playerId) } @@ -26278,18 +26973,18 @@ inline void AllInShowCardsMessage_PlayerAllIn::clear_allincard1() { allincard1_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage_PlayerAllIn::_internal_allincard1() const { +inline uint32_t AllInShowCardsMessage_PlayerAllIn::_internal_allincard1() const { return allincard1_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage_PlayerAllIn::allincard1() const { +inline uint32_t AllInShowCardsMessage_PlayerAllIn::allincard1() const { // @@protoc_insertion_point(field_get:AllInShowCardsMessage.PlayerAllIn.allInCard1) return _internal_allincard1(); } -inline void AllInShowCardsMessage_PlayerAllIn::_internal_set_allincard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage_PlayerAllIn::_internal_set_allincard1(uint32_t value) { _has_bits_[0] |= 0x00000002u; allincard1_ = value; } -inline void AllInShowCardsMessage_PlayerAllIn::set_allincard1(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage_PlayerAllIn::set_allincard1(uint32_t value) { _internal_set_allincard1(value); // @@protoc_insertion_point(field_set:AllInShowCardsMessage.PlayerAllIn.allInCard1) } @@ -26306,18 +27001,18 @@ inline void AllInShowCardsMessage_PlayerAllIn::clear_allincard2() { allincard2_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage_PlayerAllIn::_internal_allincard2() const { +inline uint32_t AllInShowCardsMessage_PlayerAllIn::_internal_allincard2() const { return allincard2_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage_PlayerAllIn::allincard2() const { +inline uint32_t AllInShowCardsMessage_PlayerAllIn::allincard2() const { // @@protoc_insertion_point(field_get:AllInShowCardsMessage.PlayerAllIn.allInCard2) return _internal_allincard2(); } -inline void AllInShowCardsMessage_PlayerAllIn::_internal_set_allincard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage_PlayerAllIn::_internal_set_allincard2(uint32_t value) { _has_bits_[0] |= 0x00000004u; allincard2_ = value; } -inline void AllInShowCardsMessage_PlayerAllIn::set_allincard2(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage_PlayerAllIn::set_allincard2(uint32_t value) { _internal_set_allincard2(value); // @@protoc_insertion_point(field_set:AllInShowCardsMessage.PlayerAllIn.allInCard2) } @@ -26338,18 +27033,18 @@ inline void AllInShowCardsMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage::_internal_gameid() const { +inline uint32_t AllInShowCardsMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AllInShowCardsMessage::gameid() const { +inline uint32_t AllInShowCardsMessage::gameid() const { // @@protoc_insertion_point(field_get:AllInShowCardsMessage.gameId) return _internal_gameid(); } -inline void AllInShowCardsMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void AllInShowCardsMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AllInShowCardsMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:AllInShowCardsMessage.gameId) } @@ -26365,6 +27060,7 @@ inline void AllInShowCardsMessage::clear_playersallin() { playersallin_.Clear(); } inline ::AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage::mutable_playersallin(int index) { + // @@protoc_insertion_point(field_mutable:AllInShowCardsMessage.playersAllIn) return playersallin_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn >* @@ -26383,11 +27079,13 @@ inline ::AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage::_internal_add return playersallin_.Add(); } inline ::AllInShowCardsMessage_PlayerAllIn* AllInShowCardsMessage::add_playersallin() { + ::AllInShowCardsMessage_PlayerAllIn* _add = _internal_add_playersallin(); // @@protoc_insertion_point(field_add:AllInShowCardsMessage.playersAllIn) - return _internal_add_playersallin(); + return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::AllInShowCardsMessage_PlayerAllIn >& AllInShowCardsMessage::playersallin() const { + // @@protoc_insertion_point(field_list:AllInShowCardsMessage.playersAllIn) return playersallin_; } @@ -26407,18 +27105,18 @@ inline void EndOfHandShowCardsMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandShowCardsMessage::_internal_gameid() const { +inline uint32_t EndOfHandShowCardsMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandShowCardsMessage::gameid() const { +inline uint32_t EndOfHandShowCardsMessage::gameid() const { // @@protoc_insertion_point(field_get:EndOfHandShowCardsMessage.gameId) return _internal_gameid(); } -inline void EndOfHandShowCardsMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandShowCardsMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void EndOfHandShowCardsMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandShowCardsMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:EndOfHandShowCardsMessage.gameId) } @@ -26434,6 +27132,7 @@ inline void EndOfHandShowCardsMessage::clear_playerresults() { playerresults_.Clear(); } inline ::PlayerResult* EndOfHandShowCardsMessage::mutable_playerresults(int index) { + // @@protoc_insertion_point(field_mutable:EndOfHandShowCardsMessage.playerResults) return playerresults_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerResult >* @@ -26452,11 +27151,13 @@ inline ::PlayerResult* EndOfHandShowCardsMessage::_internal_add_playerresults() return playerresults_.Add(); } inline ::PlayerResult* EndOfHandShowCardsMessage::add_playerresults() { + ::PlayerResult* _add = _internal_add_playerresults(); // @@protoc_insertion_point(field_add:EndOfHandShowCardsMessage.playerResults) - return _internal_add_playerresults(); + return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PlayerResult >& EndOfHandShowCardsMessage::playerresults() const { + // @@protoc_insertion_point(field_list:EndOfHandShowCardsMessage.playerResults) return playerresults_; } @@ -26476,18 +27177,18 @@ inline void EndOfHandHideCardsMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::_internal_gameid() const { +inline uint32_t EndOfHandHideCardsMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::gameid() const { +inline uint32_t EndOfHandHideCardsMessage::gameid() const { // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.gameId) return _internal_gameid(); } -inline void EndOfHandHideCardsMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void EndOfHandHideCardsMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.gameId) } @@ -26504,18 +27205,18 @@ inline void EndOfHandHideCardsMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::_internal_playerid() const { +inline uint32_t EndOfHandHideCardsMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::playerid() const { +inline uint32_t EndOfHandHideCardsMessage::playerid() const { // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.playerId) return _internal_playerid(); } -inline void EndOfHandHideCardsMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void EndOfHandHideCardsMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.playerId) } @@ -26532,18 +27233,18 @@ inline void EndOfHandHideCardsMessage::clear_moneywon() { moneywon_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::_internal_moneywon() const { +inline uint32_t EndOfHandHideCardsMessage::_internal_moneywon() const { return moneywon_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::moneywon() const { +inline uint32_t EndOfHandHideCardsMessage::moneywon() const { // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.moneyWon) return _internal_moneywon(); } -inline void EndOfHandHideCardsMessage::_internal_set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::_internal_set_moneywon(uint32_t value) { _has_bits_[0] |= 0x00000004u; moneywon_ = value; } -inline void EndOfHandHideCardsMessage::set_moneywon(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::set_moneywon(uint32_t value) { _internal_set_moneywon(value); // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.moneyWon) } @@ -26560,18 +27261,18 @@ inline void EndOfHandHideCardsMessage::clear_playermoney() { playermoney_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::_internal_playermoney() const { +inline uint32_t EndOfHandHideCardsMessage::_internal_playermoney() const { return playermoney_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfHandHideCardsMessage::playermoney() const { +inline uint32_t EndOfHandHideCardsMessage::playermoney() const { // @@protoc_insertion_point(field_get:EndOfHandHideCardsMessage.playerMoney) return _internal_playermoney(); } -inline void EndOfHandHideCardsMessage::_internal_set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::_internal_set_playermoney(uint32_t value) { _has_bits_[0] |= 0x00000008u; playermoney_ = value; } -inline void EndOfHandHideCardsMessage::set_playermoney(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfHandHideCardsMessage::set_playermoney(uint32_t value) { _internal_set_playermoney(value); // @@protoc_insertion_point(field_set:EndOfHandHideCardsMessage.playerMoney) } @@ -26599,8 +27300,8 @@ inline void AfterHandShowCardsMessage::clear_playerresult() { } inline const ::PlayerResult& AfterHandShowCardsMessage::_internal_playerresult() const { const ::PlayerResult* p = playerresult_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayerResult_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerResult_default_instance_); } inline const ::PlayerResult& AfterHandShowCardsMessage::playerresult() const { // @@protoc_insertion_point(field_get:AfterHandShowCardsMessage.playerResult) @@ -26608,7 +27309,7 @@ inline const ::PlayerResult& AfterHandShowCardsMessage::playerresult() const { } inline void AfterHandShowCardsMessage::unsafe_arena_set_allocated_playerresult( ::PlayerResult* playerresult) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playerresult_); } playerresult_ = playerresult; @@ -26620,10 +27321,18 @@ inline void AfterHandShowCardsMessage::unsafe_arena_set_allocated_playerresult( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:AfterHandShowCardsMessage.playerResult) } inline ::PlayerResult* AfterHandShowCardsMessage::release_playerresult() { - auto temp = unsafe_arena_release_playerresult(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000001u; + ::PlayerResult* temp = playerresult_; + playerresult_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayerResult* AfterHandShowCardsMessage::unsafe_arena_release_playerresult() { @@ -26636,23 +27345,24 @@ inline ::PlayerResult* AfterHandShowCardsMessage::unsafe_arena_release_playerres inline ::PlayerResult* AfterHandShowCardsMessage::_internal_mutable_playerresult() { _has_bits_[0] |= 0x00000001u; if (playerresult_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerResult>(GetArena()); + auto* p = CreateMaybeMessage<::PlayerResult>(GetArenaForAllocation()); playerresult_ = p; } return playerresult_; } inline ::PlayerResult* AfterHandShowCardsMessage::mutable_playerresult() { + ::PlayerResult* _msg = _internal_mutable_playerresult(); // @@protoc_insertion_point(field_mutable:AfterHandShowCardsMessage.playerResult) - return _internal_mutable_playerresult(); + return _msg; } inline void AfterHandShowCardsMessage::set_allocated_playerresult(::PlayerResult* playerresult) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playerresult_; } if (playerresult) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playerresult); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayerResult>::GetOwningArena(playerresult); if (message_arena != submessage_arena) { playerresult = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playerresult, submessage_arena); @@ -26681,18 +27391,18 @@ inline void EndOfGameMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfGameMessage::_internal_gameid() const { +inline uint32_t EndOfGameMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfGameMessage::gameid() const { +inline uint32_t EndOfGameMessage::gameid() const { // @@protoc_insertion_point(field_get:EndOfGameMessage.gameId) return _internal_gameid(); } -inline void EndOfGameMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfGameMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void EndOfGameMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfGameMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:EndOfGameMessage.gameId) } @@ -26709,18 +27419,18 @@ inline void EndOfGameMessage::clear_winnerplayerid() { winnerplayerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfGameMessage::_internal_winnerplayerid() const { +inline uint32_t EndOfGameMessage::_internal_winnerplayerid() const { return winnerplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndOfGameMessage::winnerplayerid() const { +inline uint32_t EndOfGameMessage::winnerplayerid() const { // @@protoc_insertion_point(field_get:EndOfGameMessage.winnerPlayerId) return _internal_winnerplayerid(); } -inline void EndOfGameMessage::_internal_set_winnerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfGameMessage::_internal_set_winnerplayerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; winnerplayerid_ = value; } -inline void EndOfGameMessage::set_winnerplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndOfGameMessage::set_winnerplayerid(uint32_t value) { _internal_set_winnerplayerid(value); // @@protoc_insertion_point(field_set:EndOfGameMessage.winnerPlayerId) } @@ -26741,18 +27451,18 @@ inline void PlayerIdChangedMessage::clear_oldplayerid() { oldplayerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerIdChangedMessage::_internal_oldplayerid() const { +inline uint32_t PlayerIdChangedMessage::_internal_oldplayerid() const { return oldplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerIdChangedMessage::oldplayerid() const { +inline uint32_t PlayerIdChangedMessage::oldplayerid() const { // @@protoc_insertion_point(field_get:PlayerIdChangedMessage.oldPlayerId) return _internal_oldplayerid(); } -inline void PlayerIdChangedMessage::_internal_set_oldplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerIdChangedMessage::_internal_set_oldplayerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; oldplayerid_ = value; } -inline void PlayerIdChangedMessage::set_oldplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerIdChangedMessage::set_oldplayerid(uint32_t value) { _internal_set_oldplayerid(value); // @@protoc_insertion_point(field_set:PlayerIdChangedMessage.oldPlayerId) } @@ -26769,18 +27479,18 @@ inline void PlayerIdChangedMessage::clear_newplayerid() { newplayerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerIdChangedMessage::_internal_newplayerid() const { +inline uint32_t PlayerIdChangedMessage::_internal_newplayerid() const { return newplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 PlayerIdChangedMessage::newplayerid() const { +inline uint32_t PlayerIdChangedMessage::newplayerid() const { // @@protoc_insertion_point(field_get:PlayerIdChangedMessage.newPlayerId) return _internal_newplayerid(); } -inline void PlayerIdChangedMessage::_internal_set_newplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerIdChangedMessage::_internal_set_newplayerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; newplayerid_ = value; } -inline void PlayerIdChangedMessage::set_newplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void PlayerIdChangedMessage::set_newplayerid(uint32_t value) { _internal_set_newplayerid(value); // @@protoc_insertion_point(field_set:PlayerIdChangedMessage.newPlayerId) } @@ -26801,18 +27511,18 @@ inline void AskKickPlayerMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickPlayerMessage::_internal_gameid() const { +inline uint32_t AskKickPlayerMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickPlayerMessage::gameid() const { +inline uint32_t AskKickPlayerMessage::gameid() const { // @@protoc_insertion_point(field_get:AskKickPlayerMessage.gameId) return _internal_gameid(); } -inline void AskKickPlayerMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickPlayerMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void AskKickPlayerMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickPlayerMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:AskKickPlayerMessage.gameId) } @@ -26829,18 +27539,18 @@ inline void AskKickPlayerMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickPlayerMessage::_internal_playerid() const { +inline uint32_t AskKickPlayerMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickPlayerMessage::playerid() const { +inline uint32_t AskKickPlayerMessage::playerid() const { // @@protoc_insertion_point(field_get:AskKickPlayerMessage.playerId) return _internal_playerid(); } -inline void AskKickPlayerMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickPlayerMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void AskKickPlayerMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickPlayerMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:AskKickPlayerMessage.playerId) } @@ -26861,18 +27571,18 @@ inline void AskKickDeniedMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickDeniedMessage::_internal_gameid() const { +inline uint32_t AskKickDeniedMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickDeniedMessage::gameid() const { +inline uint32_t AskKickDeniedMessage::gameid() const { // @@protoc_insertion_point(field_get:AskKickDeniedMessage.gameId) return _internal_gameid(); } -inline void AskKickDeniedMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickDeniedMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void AskKickDeniedMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickDeniedMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:AskKickDeniedMessage.gameId) } @@ -26889,18 +27599,18 @@ inline void AskKickDeniedMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickDeniedMessage::_internal_playerid() const { +inline uint32_t AskKickDeniedMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AskKickDeniedMessage::playerid() const { +inline uint32_t AskKickDeniedMessage::playerid() const { // @@protoc_insertion_point(field_get:AskKickDeniedMessage.playerId) return _internal_playerid(); } -inline void AskKickDeniedMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickDeniedMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; playerid_ = value; } -inline void AskKickDeniedMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AskKickDeniedMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:AskKickDeniedMessage.playerId) } @@ -26950,18 +27660,18 @@ inline void StartKickPetitionMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::_internal_gameid() const { +inline uint32_t StartKickPetitionMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::gameid() const { +inline uint32_t StartKickPetitionMessage::gameid() const { // @@protoc_insertion_point(field_get:StartKickPetitionMessage.gameId) return _internal_gameid(); } -inline void StartKickPetitionMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void StartKickPetitionMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:StartKickPetitionMessage.gameId) } @@ -26978,18 +27688,18 @@ inline void StartKickPetitionMessage::clear_petitionid() { petitionid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::_internal_petitionid() const { +inline uint32_t StartKickPetitionMessage::_internal_petitionid() const { return petitionid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::petitionid() const { +inline uint32_t StartKickPetitionMessage::petitionid() const { // @@protoc_insertion_point(field_get:StartKickPetitionMessage.petitionId) return _internal_petitionid(); } -inline void StartKickPetitionMessage::_internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::_internal_set_petitionid(uint32_t value) { _has_bits_[0] |= 0x00000002u; petitionid_ = value; } -inline void StartKickPetitionMessage::set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::set_petitionid(uint32_t value) { _internal_set_petitionid(value); // @@protoc_insertion_point(field_set:StartKickPetitionMessage.petitionId) } @@ -27006,18 +27716,18 @@ inline void StartKickPetitionMessage::clear_proposingplayerid() { proposingplayerid_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::_internal_proposingplayerid() const { +inline uint32_t StartKickPetitionMessage::_internal_proposingplayerid() const { return proposingplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::proposingplayerid() const { +inline uint32_t StartKickPetitionMessage::proposingplayerid() const { // @@protoc_insertion_point(field_get:StartKickPetitionMessage.proposingPlayerId) return _internal_proposingplayerid(); } -inline void StartKickPetitionMessage::_internal_set_proposingplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::_internal_set_proposingplayerid(uint32_t value) { _has_bits_[0] |= 0x00000004u; proposingplayerid_ = value; } -inline void StartKickPetitionMessage::set_proposingplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::set_proposingplayerid(uint32_t value) { _internal_set_proposingplayerid(value); // @@protoc_insertion_point(field_set:StartKickPetitionMessage.proposingPlayerId) } @@ -27034,18 +27744,18 @@ inline void StartKickPetitionMessage::clear_kickplayerid() { kickplayerid_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::_internal_kickplayerid() const { +inline uint32_t StartKickPetitionMessage::_internal_kickplayerid() const { return kickplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::kickplayerid() const { +inline uint32_t StartKickPetitionMessage::kickplayerid() const { // @@protoc_insertion_point(field_get:StartKickPetitionMessage.kickPlayerId) return _internal_kickplayerid(); } -inline void StartKickPetitionMessage::_internal_set_kickplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::_internal_set_kickplayerid(uint32_t value) { _has_bits_[0] |= 0x00000008u; kickplayerid_ = value; } -inline void StartKickPetitionMessage::set_kickplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::set_kickplayerid(uint32_t value) { _internal_set_kickplayerid(value); // @@protoc_insertion_point(field_set:StartKickPetitionMessage.kickPlayerId) } @@ -27062,18 +27772,18 @@ inline void StartKickPetitionMessage::clear_kicktimeoutsec() { kicktimeoutsec_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::_internal_kicktimeoutsec() const { +inline uint32_t StartKickPetitionMessage::_internal_kicktimeoutsec() const { return kicktimeoutsec_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::kicktimeoutsec() const { +inline uint32_t StartKickPetitionMessage::kicktimeoutsec() const { // @@protoc_insertion_point(field_get:StartKickPetitionMessage.kickTimeoutSec) return _internal_kicktimeoutsec(); } -inline void StartKickPetitionMessage::_internal_set_kicktimeoutsec(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::_internal_set_kicktimeoutsec(uint32_t value) { _has_bits_[0] |= 0x00000010u; kicktimeoutsec_ = value; } -inline void StartKickPetitionMessage::set_kicktimeoutsec(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::set_kicktimeoutsec(uint32_t value) { _internal_set_kicktimeoutsec(value); // @@protoc_insertion_point(field_set:StartKickPetitionMessage.kickTimeoutSec) } @@ -27090,18 +27800,18 @@ inline void StartKickPetitionMessage::clear_numvotesneededtokick() { numvotesneededtokick_ = 0u; _has_bits_[0] &= ~0x00000020u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::_internal_numvotesneededtokick() const { +inline uint32_t StartKickPetitionMessage::_internal_numvotesneededtokick() const { return numvotesneededtokick_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StartKickPetitionMessage::numvotesneededtokick() const { +inline uint32_t StartKickPetitionMessage::numvotesneededtokick() const { // @@protoc_insertion_point(field_get:StartKickPetitionMessage.numVotesNeededToKick) return _internal_numvotesneededtokick(); } -inline void StartKickPetitionMessage::_internal_set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::_internal_set_numvotesneededtokick(uint32_t value) { _has_bits_[0] |= 0x00000020u; numvotesneededtokick_ = value; } -inline void StartKickPetitionMessage::set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StartKickPetitionMessage::set_numvotesneededtokick(uint32_t value) { _internal_set_numvotesneededtokick(value); // @@protoc_insertion_point(field_set:StartKickPetitionMessage.numVotesNeededToKick) } @@ -27122,18 +27832,18 @@ inline void VoteKickRequestMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickRequestMessage::_internal_gameid() const { +inline uint32_t VoteKickRequestMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickRequestMessage::gameid() const { +inline uint32_t VoteKickRequestMessage::gameid() const { // @@protoc_insertion_point(field_get:VoteKickRequestMessage.gameId) return _internal_gameid(); } -inline void VoteKickRequestMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickRequestMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void VoteKickRequestMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickRequestMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:VoteKickRequestMessage.gameId) } @@ -27150,18 +27860,18 @@ inline void VoteKickRequestMessage::clear_petitionid() { petitionid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickRequestMessage::_internal_petitionid() const { +inline uint32_t VoteKickRequestMessage::_internal_petitionid() const { return petitionid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickRequestMessage::petitionid() const { +inline uint32_t VoteKickRequestMessage::petitionid() const { // @@protoc_insertion_point(field_get:VoteKickRequestMessage.petitionId) return _internal_petitionid(); } -inline void VoteKickRequestMessage::_internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickRequestMessage::_internal_set_petitionid(uint32_t value) { _has_bits_[0] |= 0x00000002u; petitionid_ = value; } -inline void VoteKickRequestMessage::set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickRequestMessage::set_petitionid(uint32_t value) { _internal_set_petitionid(value); // @@protoc_insertion_point(field_set:VoteKickRequestMessage.petitionId) } @@ -27210,18 +27920,18 @@ inline void VoteKickReplyMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickReplyMessage::_internal_gameid() const { +inline uint32_t VoteKickReplyMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickReplyMessage::gameid() const { +inline uint32_t VoteKickReplyMessage::gameid() const { // @@protoc_insertion_point(field_get:VoteKickReplyMessage.gameId) return _internal_gameid(); } -inline void VoteKickReplyMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickReplyMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void VoteKickReplyMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickReplyMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:VoteKickReplyMessage.gameId) } @@ -27238,18 +27948,18 @@ inline void VoteKickReplyMessage::clear_petitionid() { petitionid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickReplyMessage::_internal_petitionid() const { +inline uint32_t VoteKickReplyMessage::_internal_petitionid() const { return petitionid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 VoteKickReplyMessage::petitionid() const { +inline uint32_t VoteKickReplyMessage::petitionid() const { // @@protoc_insertion_point(field_get:VoteKickReplyMessage.petitionId) return _internal_petitionid(); } -inline void VoteKickReplyMessage::_internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickReplyMessage::_internal_set_petitionid(uint32_t value) { _has_bits_[0] |= 0x00000002u; petitionid_ = value; } -inline void VoteKickReplyMessage::set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void VoteKickReplyMessage::set_petitionid(uint32_t value) { _internal_set_petitionid(value); // @@protoc_insertion_point(field_set:VoteKickReplyMessage.petitionId) } @@ -27299,18 +28009,18 @@ inline void KickPetitionUpdateMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::_internal_gameid() const { +inline uint32_t KickPetitionUpdateMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::gameid() const { +inline uint32_t KickPetitionUpdateMessage::gameid() const { // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.gameId) return _internal_gameid(); } -inline void KickPetitionUpdateMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void KickPetitionUpdateMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.gameId) } @@ -27327,18 +28037,18 @@ inline void KickPetitionUpdateMessage::clear_petitionid() { petitionid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::_internal_petitionid() const { +inline uint32_t KickPetitionUpdateMessage::_internal_petitionid() const { return petitionid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::petitionid() const { +inline uint32_t KickPetitionUpdateMessage::petitionid() const { // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.petitionId) return _internal_petitionid(); } -inline void KickPetitionUpdateMessage::_internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::_internal_set_petitionid(uint32_t value) { _has_bits_[0] |= 0x00000002u; petitionid_ = value; } -inline void KickPetitionUpdateMessage::set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::set_petitionid(uint32_t value) { _internal_set_petitionid(value); // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.petitionId) } @@ -27355,18 +28065,18 @@ inline void KickPetitionUpdateMessage::clear_numvotesagainstkicking() { numvotesagainstkicking_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::_internal_numvotesagainstkicking() const { +inline uint32_t KickPetitionUpdateMessage::_internal_numvotesagainstkicking() const { return numvotesagainstkicking_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::numvotesagainstkicking() const { +inline uint32_t KickPetitionUpdateMessage::numvotesagainstkicking() const { // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.numVotesAgainstKicking) return _internal_numvotesagainstkicking(); } -inline void KickPetitionUpdateMessage::_internal_set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::_internal_set_numvotesagainstkicking(uint32_t value) { _has_bits_[0] |= 0x00000004u; numvotesagainstkicking_ = value; } -inline void KickPetitionUpdateMessage::set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::set_numvotesagainstkicking(uint32_t value) { _internal_set_numvotesagainstkicking(value); // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.numVotesAgainstKicking) } @@ -27383,18 +28093,18 @@ inline void KickPetitionUpdateMessage::clear_numvotesinfavourofkicking() { numvotesinfavourofkicking_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::_internal_numvotesinfavourofkicking() const { +inline uint32_t KickPetitionUpdateMessage::_internal_numvotesinfavourofkicking() const { return numvotesinfavourofkicking_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::numvotesinfavourofkicking() const { +inline uint32_t KickPetitionUpdateMessage::numvotesinfavourofkicking() const { // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.numVotesInFavourOfKicking) return _internal_numvotesinfavourofkicking(); } -inline void KickPetitionUpdateMessage::_internal_set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::_internal_set_numvotesinfavourofkicking(uint32_t value) { _has_bits_[0] |= 0x00000008u; numvotesinfavourofkicking_ = value; } -inline void KickPetitionUpdateMessage::set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::set_numvotesinfavourofkicking(uint32_t value) { _internal_set_numvotesinfavourofkicking(value); // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.numVotesInFavourOfKicking) } @@ -27411,18 +28121,18 @@ inline void KickPetitionUpdateMessage::clear_numvotesneededtokick() { numvotesneededtokick_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::_internal_numvotesneededtokick() const { +inline uint32_t KickPetitionUpdateMessage::_internal_numvotesneededtokick() const { return numvotesneededtokick_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 KickPetitionUpdateMessage::numvotesneededtokick() const { +inline uint32_t KickPetitionUpdateMessage::numvotesneededtokick() const { // @@protoc_insertion_point(field_get:KickPetitionUpdateMessage.numVotesNeededToKick) return _internal_numvotesneededtokick(); } -inline void KickPetitionUpdateMessage::_internal_set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::_internal_set_numvotesneededtokick(uint32_t value) { _has_bits_[0] |= 0x00000010u; numvotesneededtokick_ = value; } -inline void KickPetitionUpdateMessage::set_numvotesneededtokick(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void KickPetitionUpdateMessage::set_numvotesneededtokick(uint32_t value) { _internal_set_numvotesneededtokick(value); // @@protoc_insertion_point(field_set:KickPetitionUpdateMessage.numVotesNeededToKick) } @@ -27443,18 +28153,18 @@ inline void EndKickPetitionMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::_internal_gameid() const { +inline uint32_t EndKickPetitionMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::gameid() const { +inline uint32_t EndKickPetitionMessage::gameid() const { // @@protoc_insertion_point(field_get:EndKickPetitionMessage.gameId) return _internal_gameid(); } -inline void EndKickPetitionMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; gameid_ = value; } -inline void EndKickPetitionMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:EndKickPetitionMessage.gameId) } @@ -27471,18 +28181,18 @@ inline void EndKickPetitionMessage::clear_petitionid() { petitionid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::_internal_petitionid() const { +inline uint32_t EndKickPetitionMessage::_internal_petitionid() const { return petitionid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::petitionid() const { +inline uint32_t EndKickPetitionMessage::petitionid() const { // @@protoc_insertion_point(field_get:EndKickPetitionMessage.petitionId) return _internal_petitionid(); } -inline void EndKickPetitionMessage::_internal_set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::_internal_set_petitionid(uint32_t value) { _has_bits_[0] |= 0x00000002u; petitionid_ = value; } -inline void EndKickPetitionMessage::set_petitionid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::set_petitionid(uint32_t value) { _internal_set_petitionid(value); // @@protoc_insertion_point(field_set:EndKickPetitionMessage.petitionId) } @@ -27499,18 +28209,18 @@ inline void EndKickPetitionMessage::clear_numvotesagainstkicking() { numvotesagainstkicking_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::_internal_numvotesagainstkicking() const { +inline uint32_t EndKickPetitionMessage::_internal_numvotesagainstkicking() const { return numvotesagainstkicking_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::numvotesagainstkicking() const { +inline uint32_t EndKickPetitionMessage::numvotesagainstkicking() const { // @@protoc_insertion_point(field_get:EndKickPetitionMessage.numVotesAgainstKicking) return _internal_numvotesagainstkicking(); } -inline void EndKickPetitionMessage::_internal_set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::_internal_set_numvotesagainstkicking(uint32_t value) { _has_bits_[0] |= 0x00000004u; numvotesagainstkicking_ = value; } -inline void EndKickPetitionMessage::set_numvotesagainstkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::set_numvotesagainstkicking(uint32_t value) { _internal_set_numvotesagainstkicking(value); // @@protoc_insertion_point(field_set:EndKickPetitionMessage.numVotesAgainstKicking) } @@ -27527,18 +28237,18 @@ inline void EndKickPetitionMessage::clear_numvotesinfavourofkicking() { numvotesinfavourofkicking_ = 0u; _has_bits_[0] &= ~0x00000008u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::_internal_numvotesinfavourofkicking() const { +inline uint32_t EndKickPetitionMessage::_internal_numvotesinfavourofkicking() const { return numvotesinfavourofkicking_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::numvotesinfavourofkicking() const { +inline uint32_t EndKickPetitionMessage::numvotesinfavourofkicking() const { // @@protoc_insertion_point(field_get:EndKickPetitionMessage.numVotesInFavourOfKicking) return _internal_numvotesinfavourofkicking(); } -inline void EndKickPetitionMessage::_internal_set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::_internal_set_numvotesinfavourofkicking(uint32_t value) { _has_bits_[0] |= 0x00000008u; numvotesinfavourofkicking_ = value; } -inline void EndKickPetitionMessage::set_numvotesinfavourofkicking(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::set_numvotesinfavourofkicking(uint32_t value) { _internal_set_numvotesinfavourofkicking(value); // @@protoc_insertion_point(field_set:EndKickPetitionMessage.numVotesInFavourOfKicking) } @@ -27555,18 +28265,18 @@ inline void EndKickPetitionMessage::clear_resultplayerkicked() { resultplayerkicked_ = 0u; _has_bits_[0] &= ~0x00000010u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::_internal_resultplayerkicked() const { +inline uint32_t EndKickPetitionMessage::_internal_resultplayerkicked() const { return resultplayerkicked_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 EndKickPetitionMessage::resultplayerkicked() const { +inline uint32_t EndKickPetitionMessage::resultplayerkicked() const { // @@protoc_insertion_point(field_get:EndKickPetitionMessage.resultPlayerKicked) return _internal_resultplayerkicked(); } -inline void EndKickPetitionMessage::_internal_set_resultplayerkicked(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::_internal_set_resultplayerkicked(uint32_t value) { _has_bits_[0] |= 0x00000010u; resultplayerkicked_ = value; } -inline void EndKickPetitionMessage::set_resultplayerkicked(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void EndKickPetitionMessage::set_resultplayerkicked(uint32_t value) { _internal_set_resultplayerkicked(value); // @@protoc_insertion_point(field_set:EndKickPetitionMessage.resultPlayerKicked) } @@ -27645,18 +28355,18 @@ inline void StatisticsMessage_StatisticsData::clear_statisticsvalue() { statisticsvalue_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StatisticsMessage_StatisticsData::_internal_statisticsvalue() const { +inline uint32_t StatisticsMessage_StatisticsData::_internal_statisticsvalue() const { return statisticsvalue_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 StatisticsMessage_StatisticsData::statisticsvalue() const { +inline uint32_t StatisticsMessage_StatisticsData::statisticsvalue() const { // @@protoc_insertion_point(field_get:StatisticsMessage.StatisticsData.statisticsValue) return _internal_statisticsvalue(); } -inline void StatisticsMessage_StatisticsData::_internal_set_statisticsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StatisticsMessage_StatisticsData::_internal_set_statisticsvalue(uint32_t value) { _has_bits_[0] |= 0x00000001u; statisticsvalue_ = value; } -inline void StatisticsMessage_StatisticsData::set_statisticsvalue(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void StatisticsMessage_StatisticsData::set_statisticsvalue(uint32_t value) { _internal_set_statisticsvalue(value); // @@protoc_insertion_point(field_set:StatisticsMessage.StatisticsData.statisticsValue) } @@ -27676,6 +28386,7 @@ inline void StatisticsMessage::clear_statisticsdata() { statisticsdata_.Clear(); } inline ::StatisticsMessage_StatisticsData* StatisticsMessage::mutable_statisticsdata(int index) { + // @@protoc_insertion_point(field_mutable:StatisticsMessage.statisticsData) return statisticsdata_.Mutable(index); } inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::StatisticsMessage_StatisticsData >* @@ -27694,11 +28405,13 @@ inline ::StatisticsMessage_StatisticsData* StatisticsMessage::_internal_add_stat return statisticsdata_.Add(); } inline ::StatisticsMessage_StatisticsData* StatisticsMessage::add_statisticsdata() { + ::StatisticsMessage_StatisticsData* _add = _internal_add_statisticsdata(); // @@protoc_insertion_point(field_add:StatisticsMessage.statisticsData) - return _internal_add_statisticsdata(); + return _add; } inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::StatisticsMessage_StatisticsData >& StatisticsMessage::statisticsdata() const { + // @@protoc_insertion_point(field_list:StatisticsMessage.statisticsData) return statisticsdata_; } @@ -27718,18 +28431,18 @@ inline void ChatRequestMessage::clear_targetgameid() { targetgameid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatRequestMessage::_internal_targetgameid() const { +inline uint32_t ChatRequestMessage::_internal_targetgameid() const { return targetgameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatRequestMessage::targetgameid() const { +inline uint32_t ChatRequestMessage::targetgameid() const { // @@protoc_insertion_point(field_get:ChatRequestMessage.targetGameId) return _internal_targetgameid(); } -inline void ChatRequestMessage::_internal_set_targetgameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatRequestMessage::_internal_set_targetgameid(uint32_t value) { _has_bits_[0] |= 0x00000002u; targetgameid_ = value; } -inline void ChatRequestMessage::set_targetgameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatRequestMessage::set_targetgameid(uint32_t value) { _internal_set_targetgameid(value); // @@protoc_insertion_point(field_set:ChatRequestMessage.targetGameId) } @@ -27746,18 +28459,18 @@ inline void ChatRequestMessage::clear_targetplayerid() { targetplayerid_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatRequestMessage::_internal_targetplayerid() const { +inline uint32_t ChatRequestMessage::_internal_targetplayerid() const { return targetplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatRequestMessage::targetplayerid() const { +inline uint32_t ChatRequestMessage::targetplayerid() const { // @@protoc_insertion_point(field_get:ChatRequestMessage.targetPlayerId) return _internal_targetplayerid(); } -inline void ChatRequestMessage::_internal_set_targetplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatRequestMessage::_internal_set_targetplayerid(uint32_t value) { _has_bits_[0] |= 0x00000004u; targetplayerid_ = value; } -inline void ChatRequestMessage::set_targetplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatRequestMessage::set_targetplayerid(uint32_t value) { _internal_set_targetplayerid(value); // @@protoc_insertion_point(field_set:ChatRequestMessage.targetPlayerId) } @@ -27771,51 +28484,35 @@ inline bool ChatRequestMessage::has_chattext() const { return _internal_has_chattext(); } inline void ChatRequestMessage::clear_chattext() { - chattext_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + chattext_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ChatRequestMessage::chattext() const { // @@protoc_insertion_point(field_get:ChatRequestMessage.chatText) return _internal_chattext(); } -inline void ChatRequestMessage::set_chattext(const std::string& value) { - _internal_set_chattext(value); +template +inline PROTOBUF_ALWAYS_INLINE +void ChatRequestMessage::set_chattext(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:ChatRequestMessage.chatText) } inline std::string* ChatRequestMessage::mutable_chattext() { + std::string* _s = _internal_mutable_chattext(); // @@protoc_insertion_point(field_mutable:ChatRequestMessage.chatText) - return _internal_mutable_chattext(); + return _s; } inline const std::string& ChatRequestMessage::_internal_chattext() const { return chattext_.Get(); } inline void ChatRequestMessage::_internal_set_chattext(const std::string& value) { _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void ChatRequestMessage::set_chattext(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:ChatRequestMessage.chatText) -} -inline void ChatRequestMessage::set_chattext(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:ChatRequestMessage.chatText) -} -inline void ChatRequestMessage::set_chattext(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:ChatRequestMessage.chatText) + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* ChatRequestMessage::_internal_mutable_chattext() { _has_bits_[0] |= 0x00000001u; - return chattext_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return chattext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* ChatRequestMessage::release_chattext() { // @@protoc_insertion_point(field_release:ChatRequestMessage.chatText) @@ -27823,7 +28520,13 @@ inline std::string* ChatRequestMessage::release_chattext() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return chattext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = chattext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chattext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void ChatRequestMessage::set_allocated_chattext(std::string* chattext) { if (chattext != nullptr) { @@ -27832,27 +28535,13 @@ inline void ChatRequestMessage::set_allocated_chattext(std::string* chattext) { _has_bits_[0] &= ~0x00000001u; } chattext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), chattext, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:ChatRequestMessage.chatText) -} -inline std::string* ChatRequestMessage::unsafe_arena_release_chattext() { - // @@protoc_insertion_point(field_unsafe_arena_release:ChatRequestMessage.chatText) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return chattext_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void ChatRequestMessage::unsafe_arena_set_allocated_chattext( - std::string* chattext) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (chattext != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chattext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - chattext_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - chattext, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ChatRequestMessage.chatText) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:ChatRequestMessage.chatText) } // ------------------------------------------------------------------- @@ -27871,18 +28560,18 @@ inline void ChatMessage::clear_gameid() { gameid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatMessage::_internal_gameid() const { +inline uint32_t ChatMessage::_internal_gameid() const { return gameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatMessage::gameid() const { +inline uint32_t ChatMessage::gameid() const { // @@protoc_insertion_point(field_get:ChatMessage.gameId) return _internal_gameid(); } -inline void ChatMessage::_internal_set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatMessage::_internal_set_gameid(uint32_t value) { _has_bits_[0] |= 0x00000002u; gameid_ = value; } -inline void ChatMessage::set_gameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatMessage::set_gameid(uint32_t value) { _internal_set_gameid(value); // @@protoc_insertion_point(field_set:ChatMessage.gameId) } @@ -27899,18 +28588,18 @@ inline void ChatMessage::clear_playerid() { playerid_ = 0u; _has_bits_[0] &= ~0x00000004u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatMessage::_internal_playerid() const { +inline uint32_t ChatMessage::_internal_playerid() const { return playerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ChatMessage::playerid() const { +inline uint32_t ChatMessage::playerid() const { // @@protoc_insertion_point(field_get:ChatMessage.playerId) return _internal_playerid(); } -inline void ChatMessage::_internal_set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatMessage::_internal_set_playerid(uint32_t value) { _has_bits_[0] |= 0x00000004u; playerid_ = value; } -inline void ChatMessage::set_playerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ChatMessage::set_playerid(uint32_t value) { _internal_set_playerid(value); // @@protoc_insertion_point(field_set:ChatMessage.playerId) } @@ -27953,51 +28642,35 @@ inline bool ChatMessage::has_chattext() const { return _internal_has_chattext(); } inline void ChatMessage::clear_chattext() { - chattext_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + chattext_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ChatMessage::chattext() const { // @@protoc_insertion_point(field_get:ChatMessage.chatText) return _internal_chattext(); } -inline void ChatMessage::set_chattext(const std::string& value) { - _internal_set_chattext(value); +template +inline PROTOBUF_ALWAYS_INLINE +void ChatMessage::set_chattext(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:ChatMessage.chatText) } inline std::string* ChatMessage::mutable_chattext() { + std::string* _s = _internal_mutable_chattext(); // @@protoc_insertion_point(field_mutable:ChatMessage.chatText) - return _internal_mutable_chattext(); + return _s; } inline const std::string& ChatMessage::_internal_chattext() const { return chattext_.Get(); } inline void ChatMessage::_internal_set_chattext(const std::string& value) { _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void ChatMessage::set_chattext(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:ChatMessage.chatText) -} -inline void ChatMessage::set_chattext(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:ChatMessage.chatText) -} -inline void ChatMessage::set_chattext(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:ChatMessage.chatText) + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* ChatMessage::_internal_mutable_chattext() { _has_bits_[0] |= 0x00000001u; - return chattext_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return chattext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* ChatMessage::release_chattext() { // @@protoc_insertion_point(field_release:ChatMessage.chatText) @@ -28005,7 +28678,13 @@ inline std::string* ChatMessage::release_chattext() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return chattext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = chattext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chattext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void ChatMessage::set_allocated_chattext(std::string* chattext) { if (chattext != nullptr) { @@ -28014,27 +28693,13 @@ inline void ChatMessage::set_allocated_chattext(std::string* chattext) { _has_bits_[0] &= ~0x00000001u; } chattext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), chattext, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:ChatMessage.chatText) -} -inline std::string* ChatMessage::unsafe_arena_release_chattext() { - // @@protoc_insertion_point(field_unsafe_arena_release:ChatMessage.chatText) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return chattext_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void ChatMessage::unsafe_arena_set_allocated_chattext( - std::string* chattext) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (chattext != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chattext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - chattext_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - chattext, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ChatMessage.chatText) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:ChatMessage.chatText) } // ------------------------------------------------------------------- @@ -28050,51 +28715,35 @@ inline bool ChatRejectMessage::has_chattext() const { return _internal_has_chattext(); } inline void ChatRejectMessage::clear_chattext() { - chattext_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + chattext_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ChatRejectMessage::chattext() const { // @@protoc_insertion_point(field_get:ChatRejectMessage.chatText) return _internal_chattext(); } -inline void ChatRejectMessage::set_chattext(const std::string& value) { - _internal_set_chattext(value); +template +inline PROTOBUF_ALWAYS_INLINE +void ChatRejectMessage::set_chattext(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:ChatRejectMessage.chatText) } inline std::string* ChatRejectMessage::mutable_chattext() { + std::string* _s = _internal_mutable_chattext(); // @@protoc_insertion_point(field_mutable:ChatRejectMessage.chatText) - return _internal_mutable_chattext(); + return _s; } inline const std::string& ChatRejectMessage::_internal_chattext() const { return chattext_.Get(); } inline void ChatRejectMessage::_internal_set_chattext(const std::string& value) { _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void ChatRejectMessage::set_chattext(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:ChatRejectMessage.chatText) -} -inline void ChatRejectMessage::set_chattext(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:ChatRejectMessage.chatText) -} -inline void ChatRejectMessage::set_chattext(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - chattext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:ChatRejectMessage.chatText) + chattext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* ChatRejectMessage::_internal_mutable_chattext() { _has_bits_[0] |= 0x00000001u; - return chattext_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return chattext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* ChatRejectMessage::release_chattext() { // @@protoc_insertion_point(field_release:ChatRejectMessage.chatText) @@ -28102,7 +28751,13 @@ inline std::string* ChatRejectMessage::release_chattext() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return chattext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = chattext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chattext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void ChatRejectMessage::set_allocated_chattext(std::string* chattext) { if (chattext != nullptr) { @@ -28111,27 +28766,13 @@ inline void ChatRejectMessage::set_allocated_chattext(std::string* chattext) { _has_bits_[0] &= ~0x00000001u; } chattext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), chattext, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:ChatRejectMessage.chatText) -} -inline std::string* ChatRejectMessage::unsafe_arena_release_chattext() { - // @@protoc_insertion_point(field_unsafe_arena_release:ChatRejectMessage.chatText) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return chattext_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void ChatRejectMessage::unsafe_arena_set_allocated_chattext( - std::string* chattext) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (chattext != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (chattext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + chattext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - chattext_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - chattext, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ChatRejectMessage.chatText) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:ChatRejectMessage.chatText) } // ------------------------------------------------------------------- @@ -28147,51 +28788,35 @@ inline bool DialogMessage::has_notificationtext() const { return _internal_has_notificationtext(); } inline void DialogMessage::clear_notificationtext() { - notificationtext_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + notificationtext_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& DialogMessage::notificationtext() const { // @@protoc_insertion_point(field_get:DialogMessage.notificationText) return _internal_notificationtext(); } -inline void DialogMessage::set_notificationtext(const std::string& value) { - _internal_set_notificationtext(value); +template +inline PROTOBUF_ALWAYS_INLINE +void DialogMessage::set_notificationtext(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + notificationtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:DialogMessage.notificationText) } inline std::string* DialogMessage::mutable_notificationtext() { + std::string* _s = _internal_mutable_notificationtext(); // @@protoc_insertion_point(field_mutable:DialogMessage.notificationText) - return _internal_mutable_notificationtext(); + return _s; } inline const std::string& DialogMessage::_internal_notificationtext() const { return notificationtext_.Get(); } inline void DialogMessage::_internal_set_notificationtext(const std::string& value) { _has_bits_[0] |= 0x00000001u; - notificationtext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void DialogMessage::set_notificationtext(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - notificationtext_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:DialogMessage.notificationText) -} -inline void DialogMessage::set_notificationtext(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - notificationtext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:DialogMessage.notificationText) -} -inline void DialogMessage::set_notificationtext(const char* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - notificationtext_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:DialogMessage.notificationText) + notificationtext_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* DialogMessage::_internal_mutable_notificationtext() { _has_bits_[0] |= 0x00000001u; - return notificationtext_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return notificationtext_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* DialogMessage::release_notificationtext() { // @@protoc_insertion_point(field_release:DialogMessage.notificationText) @@ -28199,7 +28824,13 @@ inline std::string* DialogMessage::release_notificationtext() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return notificationtext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = notificationtext_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (notificationtext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + notificationtext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void DialogMessage::set_allocated_notificationtext(std::string* notificationtext) { if (notificationtext != nullptr) { @@ -28208,27 +28839,13 @@ inline void DialogMessage::set_allocated_notificationtext(std::string* notificat _has_bits_[0] &= ~0x00000001u; } notificationtext_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), notificationtext, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:DialogMessage.notificationText) -} -inline std::string* DialogMessage::unsafe_arena_release_notificationtext() { - // @@protoc_insertion_point(field_unsafe_arena_release:DialogMessage.notificationText) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return notificationtext_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void DialogMessage::unsafe_arena_set_allocated_notificationtext( - std::string* notificationtext) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (notificationtext != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (notificationtext_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + notificationtext_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - notificationtext_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - notificationtext, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:DialogMessage.notificationText) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:DialogMessage.notificationText) } // ------------------------------------------------------------------- @@ -28276,18 +28893,18 @@ inline void TimeoutWarningMessage::clear_remainingseconds() { remainingseconds_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 TimeoutWarningMessage::_internal_remainingseconds() const { +inline uint32_t TimeoutWarningMessage::_internal_remainingseconds() const { return remainingseconds_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 TimeoutWarningMessage::remainingseconds() const { +inline uint32_t TimeoutWarningMessage::remainingseconds() const { // @@protoc_insertion_point(field_get:TimeoutWarningMessage.remainingSeconds) return _internal_remainingseconds(); } -inline void TimeoutWarningMessage::_internal_set_remainingseconds(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void TimeoutWarningMessage::_internal_set_remainingseconds(uint32_t value) { _has_bits_[0] |= 0x00000002u; remainingseconds_ = value; } -inline void TimeoutWarningMessage::set_remainingseconds(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void TimeoutWarningMessage::set_remainingseconds(uint32_t value) { _internal_set_remainingseconds(value); // @@protoc_insertion_point(field_set:TimeoutWarningMessage.remainingSeconds) } @@ -28312,18 +28929,18 @@ inline void ReportAvatarMessage::clear_reportedplayerid() { reportedplayerid_ = 0u; _has_bits_[0] &= ~0x00000002u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportAvatarMessage::_internal_reportedplayerid() const { +inline uint32_t ReportAvatarMessage::_internal_reportedplayerid() const { return reportedplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportAvatarMessage::reportedplayerid() const { +inline uint32_t ReportAvatarMessage::reportedplayerid() const { // @@protoc_insertion_point(field_get:ReportAvatarMessage.reportedPlayerId) return _internal_reportedplayerid(); } -inline void ReportAvatarMessage::_internal_set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportAvatarMessage::_internal_set_reportedplayerid(uint32_t value) { _has_bits_[0] |= 0x00000002u; reportedplayerid_ = value; } -inline void ReportAvatarMessage::set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportAvatarMessage::set_reportedplayerid(uint32_t value) { _internal_set_reportedplayerid(value); // @@protoc_insertion_point(field_set:ReportAvatarMessage.reportedPlayerId) } @@ -28337,51 +28954,35 @@ inline bool ReportAvatarMessage::has_reportedavatarhash() const { return _internal_has_reportedavatarhash(); } inline void ReportAvatarMessage::clear_reportedavatarhash() { - reportedavatarhash_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + reportedavatarhash_.ClearToEmpty(); _has_bits_[0] &= ~0x00000001u; } inline const std::string& ReportAvatarMessage::reportedavatarhash() const { // @@protoc_insertion_point(field_get:ReportAvatarMessage.reportedAvatarHash) return _internal_reportedavatarhash(); } -inline void ReportAvatarMessage::set_reportedavatarhash(const std::string& value) { - _internal_set_reportedavatarhash(value); +template +inline PROTOBUF_ALWAYS_INLINE +void ReportAvatarMessage::set_reportedavatarhash(ArgT0&& arg0, ArgT... args) { + _has_bits_[0] |= 0x00000001u; + reportedavatarhash_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast(arg0), args..., GetArenaForAllocation()); // @@protoc_insertion_point(field_set:ReportAvatarMessage.reportedAvatarHash) } inline std::string* ReportAvatarMessage::mutable_reportedavatarhash() { + std::string* _s = _internal_mutable_reportedavatarhash(); // @@protoc_insertion_point(field_mutable:ReportAvatarMessage.reportedAvatarHash) - return _internal_mutable_reportedavatarhash(); + return _s; } inline const std::string& ReportAvatarMessage::_internal_reportedavatarhash() const { return reportedavatarhash_.Get(); } inline void ReportAvatarMessage::_internal_set_reportedavatarhash(const std::string& value) { _has_bits_[0] |= 0x00000001u; - reportedavatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); -} -inline void ReportAvatarMessage::set_reportedavatarhash(std::string&& value) { - _has_bits_[0] |= 0x00000001u; - reportedavatarhash_.SetLite( - &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); - // @@protoc_insertion_point(field_set_rvalue:ReportAvatarMessage.reportedAvatarHash) -} -inline void ReportAvatarMessage::set_reportedavatarhash(const char* value) { - GOOGLE_DCHECK(value != nullptr); - _has_bits_[0] |= 0x00000001u; - reportedavatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), - GetArena()); - // @@protoc_insertion_point(field_set_char:ReportAvatarMessage.reportedAvatarHash) -} -inline void ReportAvatarMessage::set_reportedavatarhash(const void* value, - size_t size) { - _has_bits_[0] |= 0x00000001u; - reportedavatarhash_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( - reinterpret_cast(value), size), GetArena()); - // @@protoc_insertion_point(field_set_pointer:ReportAvatarMessage.reportedAvatarHash) + reportedavatarhash_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation()); } inline std::string* ReportAvatarMessage::_internal_mutable_reportedavatarhash() { _has_bits_[0] |= 0x00000001u; - return reportedavatarhash_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + return reportedavatarhash_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation()); } inline std::string* ReportAvatarMessage::release_reportedavatarhash() { // @@protoc_insertion_point(field_release:ReportAvatarMessage.reportedAvatarHash) @@ -28389,7 +28990,13 @@ inline std::string* ReportAvatarMessage::release_reportedavatarhash() { return nullptr; } _has_bits_[0] &= ~0x00000001u; - return reportedavatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); + auto* p = reportedavatarhash_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (reportedavatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + reportedavatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + return p; } inline void ReportAvatarMessage::set_allocated_reportedavatarhash(std::string* reportedavatarhash) { if (reportedavatarhash != nullptr) { @@ -28398,27 +29005,13 @@ inline void ReportAvatarMessage::set_allocated_reportedavatarhash(std::string* r _has_bits_[0] &= ~0x00000001u; } reportedavatarhash_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), reportedavatarhash, - GetArena()); - // @@protoc_insertion_point(field_set_allocated:ReportAvatarMessage.reportedAvatarHash) -} -inline std::string* ReportAvatarMessage::unsafe_arena_release_reportedavatarhash() { - // @@protoc_insertion_point(field_unsafe_arena_release:ReportAvatarMessage.reportedAvatarHash) - GOOGLE_DCHECK(GetArena() != nullptr); - _has_bits_[0] &= ~0x00000001u; - return reportedavatarhash_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - GetArena()); -} -inline void ReportAvatarMessage::unsafe_arena_set_allocated_reportedavatarhash( - std::string* reportedavatarhash) { - GOOGLE_DCHECK(GetArena() != nullptr); - if (reportedavatarhash != nullptr) { - _has_bits_[0] |= 0x00000001u; - } else { - _has_bits_[0] &= ~0x00000001u; + GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (reportedavatarhash_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) { + reportedavatarhash_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation()); } - reportedavatarhash_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), - reportedavatarhash, GetArena()); - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ReportAvatarMessage.reportedAvatarHash) +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:ReportAvatarMessage.reportedAvatarHash) } // ------------------------------------------------------------------- @@ -28437,18 +29030,18 @@ inline void ReportAvatarAckMessage::clear_reportedplayerid() { reportedplayerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportAvatarAckMessage::_internal_reportedplayerid() const { +inline uint32_t ReportAvatarAckMessage::_internal_reportedplayerid() const { return reportedplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportAvatarAckMessage::reportedplayerid() const { +inline uint32_t ReportAvatarAckMessage::reportedplayerid() const { // @@protoc_insertion_point(field_get:ReportAvatarAckMessage.reportedPlayerId) return _internal_reportedplayerid(); } -inline void ReportAvatarAckMessage::_internal_set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportAvatarAckMessage::_internal_set_reportedplayerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; reportedplayerid_ = value; } -inline void ReportAvatarAckMessage::set_reportedplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportAvatarAckMessage::set_reportedplayerid(uint32_t value) { _internal_set_reportedplayerid(value); // @@protoc_insertion_point(field_set:ReportAvatarAckMessage.reportedPlayerId) } @@ -28498,18 +29091,18 @@ inline void ReportGameMessage::clear_reportedgameid() { reportedgameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportGameMessage::_internal_reportedgameid() const { +inline uint32_t ReportGameMessage::_internal_reportedgameid() const { return reportedgameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportGameMessage::reportedgameid() const { +inline uint32_t ReportGameMessage::reportedgameid() const { // @@protoc_insertion_point(field_get:ReportGameMessage.reportedGameId) return _internal_reportedgameid(); } -inline void ReportGameMessage::_internal_set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportGameMessage::_internal_set_reportedgameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; reportedgameid_ = value; } -inline void ReportGameMessage::set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportGameMessage::set_reportedgameid(uint32_t value) { _internal_set_reportedgameid(value); // @@protoc_insertion_point(field_set:ReportGameMessage.reportedGameId) } @@ -28530,18 +29123,18 @@ inline void ReportGameAckMessage::clear_reportedgameid() { reportedgameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportGameAckMessage::_internal_reportedgameid() const { +inline uint32_t ReportGameAckMessage::_internal_reportedgameid() const { return reportedgameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 ReportGameAckMessage::reportedgameid() const { +inline uint32_t ReportGameAckMessage::reportedgameid() const { // @@protoc_insertion_point(field_get:ReportGameAckMessage.reportedGameId) return _internal_reportedgameid(); } -inline void ReportGameAckMessage::_internal_set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportGameAckMessage::_internal_set_reportedgameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; reportedgameid_ = value; } -inline void ReportGameAckMessage::set_reportedgameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void ReportGameAckMessage::set_reportedgameid(uint32_t value) { _internal_set_reportedgameid(value); // @@protoc_insertion_point(field_set:ReportGameAckMessage.reportedGameId) } @@ -28624,18 +29217,18 @@ inline void AdminRemoveGameMessage::clear_removegameid() { removegameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminRemoveGameMessage::_internal_removegameid() const { +inline uint32_t AdminRemoveGameMessage::_internal_removegameid() const { return removegameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminRemoveGameMessage::removegameid() const { +inline uint32_t AdminRemoveGameMessage::removegameid() const { // @@protoc_insertion_point(field_get:AdminRemoveGameMessage.removeGameId) return _internal_removegameid(); } -inline void AdminRemoveGameMessage::_internal_set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminRemoveGameMessage::_internal_set_removegameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; removegameid_ = value; } -inline void AdminRemoveGameMessage::set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminRemoveGameMessage::set_removegameid(uint32_t value) { _internal_set_removegameid(value); // @@protoc_insertion_point(field_set:AdminRemoveGameMessage.removeGameId) } @@ -28656,18 +29249,18 @@ inline void AdminRemoveGameAckMessage::clear_removegameid() { removegameid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminRemoveGameAckMessage::_internal_removegameid() const { +inline uint32_t AdminRemoveGameAckMessage::_internal_removegameid() const { return removegameid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminRemoveGameAckMessage::removegameid() const { +inline uint32_t AdminRemoveGameAckMessage::removegameid() const { // @@protoc_insertion_point(field_get:AdminRemoveGameAckMessage.removeGameId) return _internal_removegameid(); } -inline void AdminRemoveGameAckMessage::_internal_set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminRemoveGameAckMessage::_internal_set_removegameid(uint32_t value) { _has_bits_[0] |= 0x00000001u; removegameid_ = value; } -inline void AdminRemoveGameAckMessage::set_removegameid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminRemoveGameAckMessage::set_removegameid(uint32_t value) { _internal_set_removegameid(value); // @@protoc_insertion_point(field_set:AdminRemoveGameAckMessage.removeGameId) } @@ -28717,18 +29310,18 @@ inline void AdminBanPlayerMessage::clear_banplayerid() { banplayerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminBanPlayerMessage::_internal_banplayerid() const { +inline uint32_t AdminBanPlayerMessage::_internal_banplayerid() const { return banplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminBanPlayerMessage::banplayerid() const { +inline uint32_t AdminBanPlayerMessage::banplayerid() const { // @@protoc_insertion_point(field_get:AdminBanPlayerMessage.banPlayerId) return _internal_banplayerid(); } -inline void AdminBanPlayerMessage::_internal_set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminBanPlayerMessage::_internal_set_banplayerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; banplayerid_ = value; } -inline void AdminBanPlayerMessage::set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminBanPlayerMessage::set_banplayerid(uint32_t value) { _internal_set_banplayerid(value); // @@protoc_insertion_point(field_set:AdminBanPlayerMessage.banPlayerId) } @@ -28749,18 +29342,18 @@ inline void AdminBanPlayerAckMessage::clear_banplayerid() { banplayerid_ = 0u; _has_bits_[0] &= ~0x00000001u; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminBanPlayerAckMessage::_internal_banplayerid() const { +inline uint32_t AdminBanPlayerAckMessage::_internal_banplayerid() const { return banplayerid_; } -inline ::PROTOBUF_NAMESPACE_ID::uint32 AdminBanPlayerAckMessage::banplayerid() const { +inline uint32_t AdminBanPlayerAckMessage::banplayerid() const { // @@protoc_insertion_point(field_get:AdminBanPlayerAckMessage.banPlayerId) return _internal_banplayerid(); } -inline void AdminBanPlayerAckMessage::_internal_set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminBanPlayerAckMessage::_internal_set_banplayerid(uint32_t value) { _has_bits_[0] |= 0x00000001u; banplayerid_ = value; } -inline void AdminBanPlayerAckMessage::set_banplayerid(::PROTOBUF_NAMESPACE_ID::uint32 value) { +inline void AdminBanPlayerAckMessage::set_banplayerid(uint32_t value) { _internal_set_banplayerid(value); // @@protoc_insertion_point(field_set:AdminBanPlayerAckMessage.banPlayerId) } @@ -28800,7 +29393,7 @@ inline void AdminBanPlayerAckMessage::set_banplayerresult(::AdminBanPlayerAckMes // required .PokerTHMessage.PokerTHMessageType messageType = 1; inline bool PokerTHMessage::_internal_has_messagetype() const { - bool value = (_has_bits_[2] & 0x00020000u) != 0; + bool value = (_has_bits_[2] & 0x00040000u) != 0; return value; } inline bool PokerTHMessage::has_messagetype() const { @@ -28808,7 +29401,7 @@ inline bool PokerTHMessage::has_messagetype() const { } inline void PokerTHMessage::clear_messagetype() { messagetype_ = 1; - _has_bits_[2] &= ~0x00020000u; + _has_bits_[2] &= ~0x00040000u; } inline ::PokerTHMessage_PokerTHMessageType PokerTHMessage::_internal_messagetype() const { return static_cast< ::PokerTHMessage_PokerTHMessageType >(messagetype_); @@ -28819,7 +29412,7 @@ inline ::PokerTHMessage_PokerTHMessageType PokerTHMessage::messagetype() const { } inline void PokerTHMessage::_internal_set_messagetype(::PokerTHMessage_PokerTHMessageType value) { assert(::PokerTHMessage_PokerTHMessageType_IsValid(value)); - _has_bits_[2] |= 0x00020000u; + _has_bits_[2] |= 0x00040000u; messagetype_ = value; } inline void PokerTHMessage::set_messagetype(::PokerTHMessage_PokerTHMessageType value) { @@ -28842,8 +29435,8 @@ inline void PokerTHMessage::clear_announcemessage() { } inline const ::AnnounceMessage& PokerTHMessage::_internal_announcemessage() const { const ::AnnounceMessage* p = announcemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AnnounceMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AnnounceMessage_default_instance_); } inline const ::AnnounceMessage& PokerTHMessage::announcemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.announceMessage) @@ -28851,7 +29444,7 @@ inline const ::AnnounceMessage& PokerTHMessage::announcemessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_announcemessage( ::AnnounceMessage* announcemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(announcemessage_); } announcemessage_ = announcemessage; @@ -28863,10 +29456,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_announcemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.announceMessage) } inline ::AnnounceMessage* PokerTHMessage::release_announcemessage() { - auto temp = unsafe_arena_release_announcemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000001u; + ::AnnounceMessage* temp = announcemessage_; + announcemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AnnounceMessage* PokerTHMessage::unsafe_arena_release_announcemessage() { @@ -28879,23 +29480,24 @@ inline ::AnnounceMessage* PokerTHMessage::unsafe_arena_release_announcemessage() inline ::AnnounceMessage* PokerTHMessage::_internal_mutable_announcemessage() { _has_bits_[0] |= 0x00000001u; if (announcemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AnnounceMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AnnounceMessage>(GetArenaForAllocation()); announcemessage_ = p; } return announcemessage_; } inline ::AnnounceMessage* PokerTHMessage::mutable_announcemessage() { + ::AnnounceMessage* _msg = _internal_mutable_announcemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.announceMessage) - return _internal_mutable_announcemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_announcemessage(::AnnounceMessage* announcemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete announcemessage_; } if (announcemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(announcemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AnnounceMessage>::GetOwningArena(announcemessage); if (message_arena != submessage_arena) { announcemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, announcemessage, submessage_arena); @@ -28923,8 +29525,8 @@ inline void PokerTHMessage::clear_initmessage() { } inline const ::InitMessage& PokerTHMessage::_internal_initmessage() const { const ::InitMessage* p = initmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_InitMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_InitMessage_default_instance_); } inline const ::InitMessage& PokerTHMessage::initmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.initMessage) @@ -28932,7 +29534,7 @@ inline const ::InitMessage& PokerTHMessage::initmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_initmessage( ::InitMessage* initmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(initmessage_); } initmessage_ = initmessage; @@ -28944,10 +29546,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_initmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.initMessage) } inline ::InitMessage* PokerTHMessage::release_initmessage() { - auto temp = unsafe_arena_release_initmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000002u; + ::InitMessage* temp = initmessage_; + initmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::InitMessage* PokerTHMessage::unsafe_arena_release_initmessage() { @@ -28960,23 +29570,24 @@ inline ::InitMessage* PokerTHMessage::unsafe_arena_release_initmessage() { inline ::InitMessage* PokerTHMessage::_internal_mutable_initmessage() { _has_bits_[0] |= 0x00000002u; if (initmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::InitMessage>(GetArena()); + auto* p = CreateMaybeMessage<::InitMessage>(GetArenaForAllocation()); initmessage_ = p; } return initmessage_; } inline ::InitMessage* PokerTHMessage::mutable_initmessage() { + ::InitMessage* _msg = _internal_mutable_initmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.initMessage) - return _internal_mutable_initmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_initmessage(::InitMessage* initmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete initmessage_; } if (initmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(initmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::InitMessage>::GetOwningArena(initmessage); if (message_arena != submessage_arena) { initmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, initmessage, submessage_arena); @@ -29004,8 +29615,8 @@ inline void PokerTHMessage::clear_authserverchallengemessage() { } inline const ::AuthServerChallengeMessage& PokerTHMessage::_internal_authserverchallengemessage() const { const ::AuthServerChallengeMessage* p = authserverchallengemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AuthServerChallengeMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AuthServerChallengeMessage_default_instance_); } inline const ::AuthServerChallengeMessage& PokerTHMessage::authserverchallengemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.authServerChallengeMessage) @@ -29013,7 +29624,7 @@ inline const ::AuthServerChallengeMessage& PokerTHMessage::authserverchallengeme } inline void PokerTHMessage::unsafe_arena_set_allocated_authserverchallengemessage( ::AuthServerChallengeMessage* authserverchallengemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authserverchallengemessage_); } authserverchallengemessage_ = authserverchallengemessage; @@ -29025,10 +29636,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_authserverchallengemessag // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.authServerChallengeMessage) } inline ::AuthServerChallengeMessage* PokerTHMessage::release_authserverchallengemessage() { - auto temp = unsafe_arena_release_authserverchallengemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000004u; + ::AuthServerChallengeMessage* temp = authserverchallengemessage_; + authserverchallengemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AuthServerChallengeMessage* PokerTHMessage::unsafe_arena_release_authserverchallengemessage() { @@ -29041,23 +29660,24 @@ inline ::AuthServerChallengeMessage* PokerTHMessage::unsafe_arena_release_authse inline ::AuthServerChallengeMessage* PokerTHMessage::_internal_mutable_authserverchallengemessage() { _has_bits_[0] |= 0x00000004u; if (authserverchallengemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AuthServerChallengeMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AuthServerChallengeMessage>(GetArenaForAllocation()); authserverchallengemessage_ = p; } return authserverchallengemessage_; } inline ::AuthServerChallengeMessage* PokerTHMessage::mutable_authserverchallengemessage() { + ::AuthServerChallengeMessage* _msg = _internal_mutable_authserverchallengemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.authServerChallengeMessage) - return _internal_mutable_authserverchallengemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_authserverchallengemessage(::AuthServerChallengeMessage* authserverchallengemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete authserverchallengemessage_; } if (authserverchallengemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authserverchallengemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AuthServerChallengeMessage>::GetOwningArena(authserverchallengemessage); if (message_arena != submessage_arena) { authserverchallengemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authserverchallengemessage, submessage_arena); @@ -29085,8 +29705,8 @@ inline void PokerTHMessage::clear_authclientresponsemessage() { } inline const ::AuthClientResponseMessage& PokerTHMessage::_internal_authclientresponsemessage() const { const ::AuthClientResponseMessage* p = authclientresponsemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AuthClientResponseMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AuthClientResponseMessage_default_instance_); } inline const ::AuthClientResponseMessage& PokerTHMessage::authclientresponsemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.authClientResponseMessage) @@ -29094,7 +29714,7 @@ inline const ::AuthClientResponseMessage& PokerTHMessage::authclientresponsemess } inline void PokerTHMessage::unsafe_arena_set_allocated_authclientresponsemessage( ::AuthClientResponseMessage* authclientresponsemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authclientresponsemessage_); } authclientresponsemessage_ = authclientresponsemessage; @@ -29106,10 +29726,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_authclientresponsemessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.authClientResponseMessage) } inline ::AuthClientResponseMessage* PokerTHMessage::release_authclientresponsemessage() { - auto temp = unsafe_arena_release_authclientresponsemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000008u; + ::AuthClientResponseMessage* temp = authclientresponsemessage_; + authclientresponsemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AuthClientResponseMessage* PokerTHMessage::unsafe_arena_release_authclientresponsemessage() { @@ -29122,23 +29750,24 @@ inline ::AuthClientResponseMessage* PokerTHMessage::unsafe_arena_release_authcli inline ::AuthClientResponseMessage* PokerTHMessage::_internal_mutable_authclientresponsemessage() { _has_bits_[0] |= 0x00000008u; if (authclientresponsemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AuthClientResponseMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AuthClientResponseMessage>(GetArenaForAllocation()); authclientresponsemessage_ = p; } return authclientresponsemessage_; } inline ::AuthClientResponseMessage* PokerTHMessage::mutable_authclientresponsemessage() { + ::AuthClientResponseMessage* _msg = _internal_mutable_authclientresponsemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.authClientResponseMessage) - return _internal_mutable_authclientresponsemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_authclientresponsemessage(::AuthClientResponseMessage* authclientresponsemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete authclientresponsemessage_; } if (authclientresponsemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authclientresponsemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AuthClientResponseMessage>::GetOwningArena(authclientresponsemessage); if (message_arena != submessage_arena) { authclientresponsemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authclientresponsemessage, submessage_arena); @@ -29166,8 +29795,8 @@ inline void PokerTHMessage::clear_authserververificationmessage() { } inline const ::AuthServerVerificationMessage& PokerTHMessage::_internal_authserververificationmessage() const { const ::AuthServerVerificationMessage* p = authserververificationmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AuthServerVerificationMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AuthServerVerificationMessage_default_instance_); } inline const ::AuthServerVerificationMessage& PokerTHMessage::authserververificationmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.authServerVerificationMessage) @@ -29175,7 +29804,7 @@ inline const ::AuthServerVerificationMessage& PokerTHMessage::authserververifica } inline void PokerTHMessage::unsafe_arena_set_allocated_authserververificationmessage( ::AuthServerVerificationMessage* authserververificationmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(authserververificationmessage_); } authserververificationmessage_ = authserververificationmessage; @@ -29187,10 +29816,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_authserververificationmes // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.authServerVerificationMessage) } inline ::AuthServerVerificationMessage* PokerTHMessage::release_authserververificationmessage() { - auto temp = unsafe_arena_release_authserververificationmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000010u; + ::AuthServerVerificationMessage* temp = authserververificationmessage_; + authserververificationmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AuthServerVerificationMessage* PokerTHMessage::unsafe_arena_release_authserververificationmessage() { @@ -29203,23 +29840,24 @@ inline ::AuthServerVerificationMessage* PokerTHMessage::unsafe_arena_release_aut inline ::AuthServerVerificationMessage* PokerTHMessage::_internal_mutable_authserververificationmessage() { _has_bits_[0] |= 0x00000010u; if (authserververificationmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AuthServerVerificationMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AuthServerVerificationMessage>(GetArenaForAllocation()); authserververificationmessage_ = p; } return authserververificationmessage_; } inline ::AuthServerVerificationMessage* PokerTHMessage::mutable_authserververificationmessage() { + ::AuthServerVerificationMessage* _msg = _internal_mutable_authserververificationmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.authServerVerificationMessage) - return _internal_mutable_authserververificationmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_authserververificationmessage(::AuthServerVerificationMessage* authserververificationmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete authserververificationmessage_; } if (authserververificationmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(authserververificationmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AuthServerVerificationMessage>::GetOwningArena(authserververificationmessage); if (message_arena != submessage_arena) { authserververificationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, authserververificationmessage, submessage_arena); @@ -29247,8 +29885,8 @@ inline void PokerTHMessage::clear_initackmessage() { } inline const ::InitAckMessage& PokerTHMessage::_internal_initackmessage() const { const ::InitAckMessage* p = initackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_InitAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_InitAckMessage_default_instance_); } inline const ::InitAckMessage& PokerTHMessage::initackmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.initAckMessage) @@ -29256,7 +29894,7 @@ inline const ::InitAckMessage& PokerTHMessage::initackmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_initackmessage( ::InitAckMessage* initackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(initackmessage_); } initackmessage_ = initackmessage; @@ -29268,10 +29906,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_initackmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.initAckMessage) } inline ::InitAckMessage* PokerTHMessage::release_initackmessage() { - auto temp = unsafe_arena_release_initackmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000020u; + ::InitAckMessage* temp = initackmessage_; + initackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::InitAckMessage* PokerTHMessage::unsafe_arena_release_initackmessage() { @@ -29284,23 +29930,24 @@ inline ::InitAckMessage* PokerTHMessage::unsafe_arena_release_initackmessage() { inline ::InitAckMessage* PokerTHMessage::_internal_mutable_initackmessage() { _has_bits_[0] |= 0x00000020u; if (initackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::InitAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::InitAckMessage>(GetArenaForAllocation()); initackmessage_ = p; } return initackmessage_; } inline ::InitAckMessage* PokerTHMessage::mutable_initackmessage() { + ::InitAckMessage* _msg = _internal_mutable_initackmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.initAckMessage) - return _internal_mutable_initackmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_initackmessage(::InitAckMessage* initackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete initackmessage_; } if (initackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(initackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::InitAckMessage>::GetOwningArena(initackmessage); if (message_arena != submessage_arena) { initackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, initackmessage, submessage_arena); @@ -29328,8 +29975,8 @@ inline void PokerTHMessage::clear_avatarrequestmessage() { } inline const ::AvatarRequestMessage& PokerTHMessage::_internal_avatarrequestmessage() const { const ::AvatarRequestMessage* p = avatarrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AvatarRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AvatarRequestMessage_default_instance_); } inline const ::AvatarRequestMessage& PokerTHMessage::avatarrequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.avatarRequestMessage) @@ -29337,7 +29984,7 @@ inline const ::AvatarRequestMessage& PokerTHMessage::avatarrequestmessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_avatarrequestmessage( ::AvatarRequestMessage* avatarrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(avatarrequestmessage_); } avatarrequestmessage_ = avatarrequestmessage; @@ -29349,10 +29996,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_avatarrequestmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.avatarRequestMessage) } inline ::AvatarRequestMessage* PokerTHMessage::release_avatarrequestmessage() { - auto temp = unsafe_arena_release_avatarrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000040u; + ::AvatarRequestMessage* temp = avatarrequestmessage_; + avatarrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AvatarRequestMessage* PokerTHMessage::unsafe_arena_release_avatarrequestmessage() { @@ -29365,23 +30020,24 @@ inline ::AvatarRequestMessage* PokerTHMessage::unsafe_arena_release_avatarreques inline ::AvatarRequestMessage* PokerTHMessage::_internal_mutable_avatarrequestmessage() { _has_bits_[0] |= 0x00000040u; if (avatarrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AvatarRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AvatarRequestMessage>(GetArenaForAllocation()); avatarrequestmessage_ = p; } return avatarrequestmessage_; } inline ::AvatarRequestMessage* PokerTHMessage::mutable_avatarrequestmessage() { + ::AvatarRequestMessage* _msg = _internal_mutable_avatarrequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarRequestMessage) - return _internal_mutable_avatarrequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_avatarrequestmessage(::AvatarRequestMessage* avatarrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete avatarrequestmessage_; } if (avatarrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(avatarrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AvatarRequestMessage>::GetOwningArena(avatarrequestmessage); if (message_arena != submessage_arena) { avatarrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, avatarrequestmessage, submessage_arena); @@ -29409,8 +30065,8 @@ inline void PokerTHMessage::clear_avatarheadermessage() { } inline const ::AvatarHeaderMessage& PokerTHMessage::_internal_avatarheadermessage() const { const ::AvatarHeaderMessage* p = avatarheadermessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AvatarHeaderMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AvatarHeaderMessage_default_instance_); } inline const ::AvatarHeaderMessage& PokerTHMessage::avatarheadermessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.avatarHeaderMessage) @@ -29418,7 +30074,7 @@ inline const ::AvatarHeaderMessage& PokerTHMessage::avatarheadermessage() const } inline void PokerTHMessage::unsafe_arena_set_allocated_avatarheadermessage( ::AvatarHeaderMessage* avatarheadermessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(avatarheadermessage_); } avatarheadermessage_ = avatarheadermessage; @@ -29430,10 +30086,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_avatarheadermessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.avatarHeaderMessage) } inline ::AvatarHeaderMessage* PokerTHMessage::release_avatarheadermessage() { - auto temp = unsafe_arena_release_avatarheadermessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000080u; + ::AvatarHeaderMessage* temp = avatarheadermessage_; + avatarheadermessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AvatarHeaderMessage* PokerTHMessage::unsafe_arena_release_avatarheadermessage() { @@ -29446,23 +30110,24 @@ inline ::AvatarHeaderMessage* PokerTHMessage::unsafe_arena_release_avatarheaderm inline ::AvatarHeaderMessage* PokerTHMessage::_internal_mutable_avatarheadermessage() { _has_bits_[0] |= 0x00000080u; if (avatarheadermessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AvatarHeaderMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AvatarHeaderMessage>(GetArenaForAllocation()); avatarheadermessage_ = p; } return avatarheadermessage_; } inline ::AvatarHeaderMessage* PokerTHMessage::mutable_avatarheadermessage() { + ::AvatarHeaderMessage* _msg = _internal_mutable_avatarheadermessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarHeaderMessage) - return _internal_mutable_avatarheadermessage(); + return _msg; } inline void PokerTHMessage::set_allocated_avatarheadermessage(::AvatarHeaderMessage* avatarheadermessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete avatarheadermessage_; } if (avatarheadermessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(avatarheadermessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AvatarHeaderMessage>::GetOwningArena(avatarheadermessage); if (message_arena != submessage_arena) { avatarheadermessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, avatarheadermessage, submessage_arena); @@ -29490,8 +30155,8 @@ inline void PokerTHMessage::clear_avatardatamessage() { } inline const ::AvatarDataMessage& PokerTHMessage::_internal_avatardatamessage() const { const ::AvatarDataMessage* p = avatardatamessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AvatarDataMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AvatarDataMessage_default_instance_); } inline const ::AvatarDataMessage& PokerTHMessage::avatardatamessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.avatarDataMessage) @@ -29499,7 +30164,7 @@ inline const ::AvatarDataMessage& PokerTHMessage::avatardatamessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_avatardatamessage( ::AvatarDataMessage* avatardatamessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(avatardatamessage_); } avatardatamessage_ = avatardatamessage; @@ -29511,10 +30176,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_avatardatamessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.avatarDataMessage) } inline ::AvatarDataMessage* PokerTHMessage::release_avatardatamessage() { - auto temp = unsafe_arena_release_avatardatamessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000100u; + ::AvatarDataMessage* temp = avatardatamessage_; + avatardatamessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AvatarDataMessage* PokerTHMessage::unsafe_arena_release_avatardatamessage() { @@ -29527,23 +30200,24 @@ inline ::AvatarDataMessage* PokerTHMessage::unsafe_arena_release_avatardatamessa inline ::AvatarDataMessage* PokerTHMessage::_internal_mutable_avatardatamessage() { _has_bits_[0] |= 0x00000100u; if (avatardatamessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AvatarDataMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AvatarDataMessage>(GetArenaForAllocation()); avatardatamessage_ = p; } return avatardatamessage_; } inline ::AvatarDataMessage* PokerTHMessage::mutable_avatardatamessage() { + ::AvatarDataMessage* _msg = _internal_mutable_avatardatamessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarDataMessage) - return _internal_mutable_avatardatamessage(); + return _msg; } inline void PokerTHMessage::set_allocated_avatardatamessage(::AvatarDataMessage* avatardatamessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete avatardatamessage_; } if (avatardatamessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(avatardatamessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AvatarDataMessage>::GetOwningArena(avatardatamessage); if (message_arena != submessage_arena) { avatardatamessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, avatardatamessage, submessage_arena); @@ -29571,8 +30245,8 @@ inline void PokerTHMessage::clear_avatarendmessage() { } inline const ::AvatarEndMessage& PokerTHMessage::_internal_avatarendmessage() const { const ::AvatarEndMessage* p = avatarendmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AvatarEndMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AvatarEndMessage_default_instance_); } inline const ::AvatarEndMessage& PokerTHMessage::avatarendmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.avatarEndMessage) @@ -29580,7 +30254,7 @@ inline const ::AvatarEndMessage& PokerTHMessage::avatarendmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_avatarendmessage( ::AvatarEndMessage* avatarendmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(avatarendmessage_); } avatarendmessage_ = avatarendmessage; @@ -29592,10 +30266,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_avatarendmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.avatarEndMessage) } inline ::AvatarEndMessage* PokerTHMessage::release_avatarendmessage() { - auto temp = unsafe_arena_release_avatarendmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000200u; + ::AvatarEndMessage* temp = avatarendmessage_; + avatarendmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AvatarEndMessage* PokerTHMessage::unsafe_arena_release_avatarendmessage() { @@ -29608,23 +30290,24 @@ inline ::AvatarEndMessage* PokerTHMessage::unsafe_arena_release_avatarendmessage inline ::AvatarEndMessage* PokerTHMessage::_internal_mutable_avatarendmessage() { _has_bits_[0] |= 0x00000200u; if (avatarendmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AvatarEndMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AvatarEndMessage>(GetArenaForAllocation()); avatarendmessage_ = p; } return avatarendmessage_; } inline ::AvatarEndMessage* PokerTHMessage::mutable_avatarendmessage() { + ::AvatarEndMessage* _msg = _internal_mutable_avatarendmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.avatarEndMessage) - return _internal_mutable_avatarendmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_avatarendmessage(::AvatarEndMessage* avatarendmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete avatarendmessage_; } if (avatarendmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(avatarendmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AvatarEndMessage>::GetOwningArena(avatarendmessage); if (message_arena != submessage_arena) { avatarendmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, avatarendmessage, submessage_arena); @@ -29652,8 +30335,8 @@ inline void PokerTHMessage::clear_unknownavatarmessage() { } inline const ::UnknownAvatarMessage& PokerTHMessage::_internal_unknownavatarmessage() const { const ::UnknownAvatarMessage* p = unknownavatarmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_UnknownAvatarMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_UnknownAvatarMessage_default_instance_); } inline const ::UnknownAvatarMessage& PokerTHMessage::unknownavatarmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.unknownAvatarMessage) @@ -29661,7 +30344,7 @@ inline const ::UnknownAvatarMessage& PokerTHMessage::unknownavatarmessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_unknownavatarmessage( ::UnknownAvatarMessage* unknownavatarmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(unknownavatarmessage_); } unknownavatarmessage_ = unknownavatarmessage; @@ -29673,10 +30356,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_unknownavatarmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.unknownAvatarMessage) } inline ::UnknownAvatarMessage* PokerTHMessage::release_unknownavatarmessage() { - auto temp = unsafe_arena_release_unknownavatarmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000400u; + ::UnknownAvatarMessage* temp = unknownavatarmessage_; + unknownavatarmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::UnknownAvatarMessage* PokerTHMessage::unsafe_arena_release_unknownavatarmessage() { @@ -29689,23 +30380,24 @@ inline ::UnknownAvatarMessage* PokerTHMessage::unsafe_arena_release_unknownavata inline ::UnknownAvatarMessage* PokerTHMessage::_internal_mutable_unknownavatarmessage() { _has_bits_[0] |= 0x00000400u; if (unknownavatarmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::UnknownAvatarMessage>(GetArena()); + auto* p = CreateMaybeMessage<::UnknownAvatarMessage>(GetArenaForAllocation()); unknownavatarmessage_ = p; } return unknownavatarmessage_; } inline ::UnknownAvatarMessage* PokerTHMessage::mutable_unknownavatarmessage() { + ::UnknownAvatarMessage* _msg = _internal_mutable_unknownavatarmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.unknownAvatarMessage) - return _internal_mutable_unknownavatarmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_unknownavatarmessage(::UnknownAvatarMessage* unknownavatarmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete unknownavatarmessage_; } if (unknownavatarmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(unknownavatarmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::UnknownAvatarMessage>::GetOwningArena(unknownavatarmessage); if (message_arena != submessage_arena) { unknownavatarmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, unknownavatarmessage, submessage_arena); @@ -29733,8 +30425,8 @@ inline void PokerTHMessage::clear_playerlistmessage() { } inline const ::PlayerListMessage& PokerTHMessage::_internal_playerlistmessage() const { const ::PlayerListMessage* p = playerlistmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayerListMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerListMessage_default_instance_); } inline const ::PlayerListMessage& PokerTHMessage::playerlistmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.playerListMessage) @@ -29742,7 +30434,7 @@ inline const ::PlayerListMessage& PokerTHMessage::playerlistmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_playerlistmessage( ::PlayerListMessage* playerlistmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playerlistmessage_); } playerlistmessage_ = playerlistmessage; @@ -29754,10 +30446,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_playerlistmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.playerListMessage) } inline ::PlayerListMessage* PokerTHMessage::release_playerlistmessage() { - auto temp = unsafe_arena_release_playerlistmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00000800u; + ::PlayerListMessage* temp = playerlistmessage_; + playerlistmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayerListMessage* PokerTHMessage::unsafe_arena_release_playerlistmessage() { @@ -29770,23 +30470,24 @@ inline ::PlayerListMessage* PokerTHMessage::unsafe_arena_release_playerlistmessa inline ::PlayerListMessage* PokerTHMessage::_internal_mutable_playerlistmessage() { _has_bits_[0] |= 0x00000800u; if (playerlistmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerListMessage>(GetArena()); + auto* p = CreateMaybeMessage<::PlayerListMessage>(GetArenaForAllocation()); playerlistmessage_ = p; } return playerlistmessage_; } inline ::PlayerListMessage* PokerTHMessage::mutable_playerlistmessage() { + ::PlayerListMessage* _msg = _internal_mutable_playerlistmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerListMessage) - return _internal_mutable_playerlistmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_playerlistmessage(::PlayerListMessage* playerlistmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playerlistmessage_; } if (playerlistmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playerlistmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayerListMessage>::GetOwningArena(playerlistmessage); if (message_arena != submessage_arena) { playerlistmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playerlistmessage, submessage_arena); @@ -29814,8 +30515,8 @@ inline void PokerTHMessage::clear_gamelistnewmessage() { } inline const ::GameListNewMessage& PokerTHMessage::_internal_gamelistnewmessage() const { const ::GameListNewMessage* p = gamelistnewmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameListNewMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameListNewMessage_default_instance_); } inline const ::GameListNewMessage& PokerTHMessage::gamelistnewmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameListNewMessage) @@ -29823,7 +30524,7 @@ inline const ::GameListNewMessage& PokerTHMessage::gamelistnewmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistnewmessage( ::GameListNewMessage* gamelistnewmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamelistnewmessage_); } gamelistnewmessage_ = gamelistnewmessage; @@ -29835,10 +30536,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistnewmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameListNewMessage) } inline ::GameListNewMessage* PokerTHMessage::release_gamelistnewmessage() { - auto temp = unsafe_arena_release_gamelistnewmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00001000u; + ::GameListNewMessage* temp = gamelistnewmessage_; + gamelistnewmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameListNewMessage* PokerTHMessage::unsafe_arena_release_gamelistnewmessage() { @@ -29851,23 +30560,24 @@ inline ::GameListNewMessage* PokerTHMessage::unsafe_arena_release_gamelistnewmes inline ::GameListNewMessage* PokerTHMessage::_internal_mutable_gamelistnewmessage() { _has_bits_[0] |= 0x00001000u; if (gamelistnewmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameListNewMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameListNewMessage>(GetArenaForAllocation()); gamelistnewmessage_ = p; } return gamelistnewmessage_; } inline ::GameListNewMessage* PokerTHMessage::mutable_gamelistnewmessage() { + ::GameListNewMessage* _msg = _internal_mutable_gamelistnewmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListNewMessage) - return _internal_mutable_gamelistnewmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamelistnewmessage(::GameListNewMessage* gamelistnewmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamelistnewmessage_; } if (gamelistnewmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamelistnewmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameListNewMessage>::GetOwningArena(gamelistnewmessage); if (message_arena != submessage_arena) { gamelistnewmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamelistnewmessage, submessage_arena); @@ -29895,8 +30605,8 @@ inline void PokerTHMessage::clear_gamelistupdatemessage() { } inline const ::GameListUpdateMessage& PokerTHMessage::_internal_gamelistupdatemessage() const { const ::GameListUpdateMessage* p = gamelistupdatemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameListUpdateMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameListUpdateMessage_default_instance_); } inline const ::GameListUpdateMessage& PokerTHMessage::gamelistupdatemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameListUpdateMessage) @@ -29904,7 +30614,7 @@ inline const ::GameListUpdateMessage& PokerTHMessage::gamelistupdatemessage() co } inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistupdatemessage( ::GameListUpdateMessage* gamelistupdatemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamelistupdatemessage_); } gamelistupdatemessage_ = gamelistupdatemessage; @@ -29916,10 +30626,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistupdatemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameListUpdateMessage) } inline ::GameListUpdateMessage* PokerTHMessage::release_gamelistupdatemessage() { - auto temp = unsafe_arena_release_gamelistupdatemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00002000u; + ::GameListUpdateMessage* temp = gamelistupdatemessage_; + gamelistupdatemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameListUpdateMessage* PokerTHMessage::unsafe_arena_release_gamelistupdatemessage() { @@ -29932,23 +30650,24 @@ inline ::GameListUpdateMessage* PokerTHMessage::unsafe_arena_release_gamelistupd inline ::GameListUpdateMessage* PokerTHMessage::_internal_mutable_gamelistupdatemessage() { _has_bits_[0] |= 0x00002000u; if (gamelistupdatemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameListUpdateMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameListUpdateMessage>(GetArenaForAllocation()); gamelistupdatemessage_ = p; } return gamelistupdatemessage_; } inline ::GameListUpdateMessage* PokerTHMessage::mutable_gamelistupdatemessage() { + ::GameListUpdateMessage* _msg = _internal_mutable_gamelistupdatemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListUpdateMessage) - return _internal_mutable_gamelistupdatemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamelistupdatemessage(::GameListUpdateMessage* gamelistupdatemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamelistupdatemessage_; } if (gamelistupdatemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamelistupdatemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameListUpdateMessage>::GetOwningArena(gamelistupdatemessage); if (message_arena != submessage_arena) { gamelistupdatemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamelistupdatemessage, submessage_arena); @@ -29976,8 +30695,8 @@ inline void PokerTHMessage::clear_gamelistplayerjoinedmessage() { } inline const ::GameListPlayerJoinedMessage& PokerTHMessage::_internal_gamelistplayerjoinedmessage() const { const ::GameListPlayerJoinedMessage* p = gamelistplayerjoinedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameListPlayerJoinedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameListPlayerJoinedMessage_default_instance_); } inline const ::GameListPlayerJoinedMessage& PokerTHMessage::gamelistplayerjoinedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameListPlayerJoinedMessage) @@ -29985,7 +30704,7 @@ inline const ::GameListPlayerJoinedMessage& PokerTHMessage::gamelistplayerjoined } inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistplayerjoinedmessage( ::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamelistplayerjoinedmessage_); } gamelistplayerjoinedmessage_ = gamelistplayerjoinedmessage; @@ -29997,10 +30716,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistplayerjoinedmessa // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameListPlayerJoinedMessage) } inline ::GameListPlayerJoinedMessage* PokerTHMessage::release_gamelistplayerjoinedmessage() { - auto temp = unsafe_arena_release_gamelistplayerjoinedmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00004000u; + ::GameListPlayerJoinedMessage* temp = gamelistplayerjoinedmessage_; + gamelistplayerjoinedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameListPlayerJoinedMessage* PokerTHMessage::unsafe_arena_release_gamelistplayerjoinedmessage() { @@ -30013,23 +30740,24 @@ inline ::GameListPlayerJoinedMessage* PokerTHMessage::unsafe_arena_release_gamel inline ::GameListPlayerJoinedMessage* PokerTHMessage::_internal_mutable_gamelistplayerjoinedmessage() { _has_bits_[0] |= 0x00004000u; if (gamelistplayerjoinedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameListPlayerJoinedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameListPlayerJoinedMessage>(GetArenaForAllocation()); gamelistplayerjoinedmessage_ = p; } return gamelistplayerjoinedmessage_; } inline ::GameListPlayerJoinedMessage* PokerTHMessage::mutable_gamelistplayerjoinedmessage() { + ::GameListPlayerJoinedMessage* _msg = _internal_mutable_gamelistplayerjoinedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListPlayerJoinedMessage) - return _internal_mutable_gamelistplayerjoinedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamelistplayerjoinedmessage(::GameListPlayerJoinedMessage* gamelistplayerjoinedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamelistplayerjoinedmessage_; } if (gamelistplayerjoinedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamelistplayerjoinedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameListPlayerJoinedMessage>::GetOwningArena(gamelistplayerjoinedmessage); if (message_arena != submessage_arena) { gamelistplayerjoinedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamelistplayerjoinedmessage, submessage_arena); @@ -30057,8 +30785,8 @@ inline void PokerTHMessage::clear_gamelistplayerleftmessage() { } inline const ::GameListPlayerLeftMessage& PokerTHMessage::_internal_gamelistplayerleftmessage() const { const ::GameListPlayerLeftMessage* p = gamelistplayerleftmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameListPlayerLeftMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameListPlayerLeftMessage_default_instance_); } inline const ::GameListPlayerLeftMessage& PokerTHMessage::gamelistplayerleftmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameListPlayerLeftMessage) @@ -30066,7 +30794,7 @@ inline const ::GameListPlayerLeftMessage& PokerTHMessage::gamelistplayerleftmess } inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistplayerleftmessage( ::GameListPlayerLeftMessage* gamelistplayerleftmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamelistplayerleftmessage_); } gamelistplayerleftmessage_ = gamelistplayerleftmessage; @@ -30078,10 +30806,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistplayerleftmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameListPlayerLeftMessage) } inline ::GameListPlayerLeftMessage* PokerTHMessage::release_gamelistplayerleftmessage() { - auto temp = unsafe_arena_release_gamelistplayerleftmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00008000u; + ::GameListPlayerLeftMessage* temp = gamelistplayerleftmessage_; + gamelistplayerleftmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameListPlayerLeftMessage* PokerTHMessage::unsafe_arena_release_gamelistplayerleftmessage() { @@ -30094,23 +30830,24 @@ inline ::GameListPlayerLeftMessage* PokerTHMessage::unsafe_arena_release_gamelis inline ::GameListPlayerLeftMessage* PokerTHMessage::_internal_mutable_gamelistplayerleftmessage() { _has_bits_[0] |= 0x00008000u; if (gamelistplayerleftmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameListPlayerLeftMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameListPlayerLeftMessage>(GetArenaForAllocation()); gamelistplayerleftmessage_ = p; } return gamelistplayerleftmessage_; } inline ::GameListPlayerLeftMessage* PokerTHMessage::mutable_gamelistplayerleftmessage() { + ::GameListPlayerLeftMessage* _msg = _internal_mutable_gamelistplayerleftmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListPlayerLeftMessage) - return _internal_mutable_gamelistplayerleftmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamelistplayerleftmessage(::GameListPlayerLeftMessage* gamelistplayerleftmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamelistplayerleftmessage_; } if (gamelistplayerleftmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamelistplayerleftmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameListPlayerLeftMessage>::GetOwningArena(gamelistplayerleftmessage); if (message_arena != submessage_arena) { gamelistplayerleftmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamelistplayerleftmessage, submessage_arena); @@ -30138,8 +30875,8 @@ inline void PokerTHMessage::clear_gamelistadminchangedmessage() { } inline const ::GameListAdminChangedMessage& PokerTHMessage::_internal_gamelistadminchangedmessage() const { const ::GameListAdminChangedMessage* p = gamelistadminchangedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameListAdminChangedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameListAdminChangedMessage_default_instance_); } inline const ::GameListAdminChangedMessage& PokerTHMessage::gamelistadminchangedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameListAdminChangedMessage) @@ -30147,7 +30884,7 @@ inline const ::GameListAdminChangedMessage& PokerTHMessage::gamelistadminchanged } inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistadminchangedmessage( ::GameListAdminChangedMessage* gamelistadminchangedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamelistadminchangedmessage_); } gamelistadminchangedmessage_ = gamelistadminchangedmessage; @@ -30159,10 +30896,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistadminchangedmessa // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameListAdminChangedMessage) } inline ::GameListAdminChangedMessage* PokerTHMessage::release_gamelistadminchangedmessage() { - auto temp = unsafe_arena_release_gamelistadminchangedmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00010000u; + ::GameListAdminChangedMessage* temp = gamelistadminchangedmessage_; + gamelistadminchangedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameListAdminChangedMessage* PokerTHMessage::unsafe_arena_release_gamelistadminchangedmessage() { @@ -30175,23 +30920,24 @@ inline ::GameListAdminChangedMessage* PokerTHMessage::unsafe_arena_release_gamel inline ::GameListAdminChangedMessage* PokerTHMessage::_internal_mutable_gamelistadminchangedmessage() { _has_bits_[0] |= 0x00010000u; if (gamelistadminchangedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameListAdminChangedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameListAdminChangedMessage>(GetArenaForAllocation()); gamelistadminchangedmessage_ = p; } return gamelistadminchangedmessage_; } inline ::GameListAdminChangedMessage* PokerTHMessage::mutable_gamelistadminchangedmessage() { + ::GameListAdminChangedMessage* _msg = _internal_mutable_gamelistadminchangedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListAdminChangedMessage) - return _internal_mutable_gamelistadminchangedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamelistadminchangedmessage(::GameListAdminChangedMessage* gamelistadminchangedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamelistadminchangedmessage_; } if (gamelistadminchangedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamelistadminchangedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameListAdminChangedMessage>::GetOwningArena(gamelistadminchangedmessage); if (message_arena != submessage_arena) { gamelistadminchangedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamelistadminchangedmessage, submessage_arena); @@ -30219,8 +30965,8 @@ inline void PokerTHMessage::clear_playerinforequestmessage() { } inline const ::PlayerInfoRequestMessage& PokerTHMessage::_internal_playerinforequestmessage() const { const ::PlayerInfoRequestMessage* p = playerinforequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayerInfoRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerInfoRequestMessage_default_instance_); } inline const ::PlayerInfoRequestMessage& PokerTHMessage::playerinforequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.playerInfoRequestMessage) @@ -30228,7 +30974,7 @@ inline const ::PlayerInfoRequestMessage& PokerTHMessage::playerinforequestmessag } inline void PokerTHMessage::unsafe_arena_set_allocated_playerinforequestmessage( ::PlayerInfoRequestMessage* playerinforequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playerinforequestmessage_); } playerinforequestmessage_ = playerinforequestmessage; @@ -30240,10 +30986,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_playerinforequestmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.playerInfoRequestMessage) } inline ::PlayerInfoRequestMessage* PokerTHMessage::release_playerinforequestmessage() { - auto temp = unsafe_arena_release_playerinforequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00020000u; + ::PlayerInfoRequestMessage* temp = playerinforequestmessage_; + playerinforequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayerInfoRequestMessage* PokerTHMessage::unsafe_arena_release_playerinforequestmessage() { @@ -30256,23 +31010,24 @@ inline ::PlayerInfoRequestMessage* PokerTHMessage::unsafe_arena_release_playerin inline ::PlayerInfoRequestMessage* PokerTHMessage::_internal_mutable_playerinforequestmessage() { _has_bits_[0] |= 0x00020000u; if (playerinforequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerInfoRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::PlayerInfoRequestMessage>(GetArenaForAllocation()); playerinforequestmessage_ = p; } return playerinforequestmessage_; } inline ::PlayerInfoRequestMessage* PokerTHMessage::mutable_playerinforequestmessage() { + ::PlayerInfoRequestMessage* _msg = _internal_mutable_playerinforequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerInfoRequestMessage) - return _internal_mutable_playerinforequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_playerinforequestmessage(::PlayerInfoRequestMessage* playerinforequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playerinforequestmessage_; } if (playerinforequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playerinforequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayerInfoRequestMessage>::GetOwningArena(playerinforequestmessage); if (message_arena != submessage_arena) { playerinforequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playerinforequestmessage, submessage_arena); @@ -30300,8 +31055,8 @@ inline void PokerTHMessage::clear_playerinforeplymessage() { } inline const ::PlayerInfoReplyMessage& PokerTHMessage::_internal_playerinforeplymessage() const { const ::PlayerInfoReplyMessage* p = playerinforeplymessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayerInfoReplyMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerInfoReplyMessage_default_instance_); } inline const ::PlayerInfoReplyMessage& PokerTHMessage::playerinforeplymessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.playerInfoReplyMessage) @@ -30309,7 +31064,7 @@ inline const ::PlayerInfoReplyMessage& PokerTHMessage::playerinforeplymessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_playerinforeplymessage( ::PlayerInfoReplyMessage* playerinforeplymessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playerinforeplymessage_); } playerinforeplymessage_ = playerinforeplymessage; @@ -30321,10 +31076,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_playerinforeplymessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.playerInfoReplyMessage) } inline ::PlayerInfoReplyMessage* PokerTHMessage::release_playerinforeplymessage() { - auto temp = unsafe_arena_release_playerinforeplymessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00040000u; + ::PlayerInfoReplyMessage* temp = playerinforeplymessage_; + playerinforeplymessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayerInfoReplyMessage* PokerTHMessage::unsafe_arena_release_playerinforeplymessage() { @@ -30337,23 +31100,24 @@ inline ::PlayerInfoReplyMessage* PokerTHMessage::unsafe_arena_release_playerinfo inline ::PlayerInfoReplyMessage* PokerTHMessage::_internal_mutable_playerinforeplymessage() { _has_bits_[0] |= 0x00040000u; if (playerinforeplymessage_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerInfoReplyMessage>(GetArena()); + auto* p = CreateMaybeMessage<::PlayerInfoReplyMessage>(GetArenaForAllocation()); playerinforeplymessage_ = p; } return playerinforeplymessage_; } inline ::PlayerInfoReplyMessage* PokerTHMessage::mutable_playerinforeplymessage() { + ::PlayerInfoReplyMessage* _msg = _internal_mutable_playerinforeplymessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerInfoReplyMessage) - return _internal_mutable_playerinforeplymessage(); + return _msg; } inline void PokerTHMessage::set_allocated_playerinforeplymessage(::PlayerInfoReplyMessage* playerinforeplymessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playerinforeplymessage_; } if (playerinforeplymessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playerinforeplymessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayerInfoReplyMessage>::GetOwningArena(playerinforeplymessage); if (message_arena != submessage_arena) { playerinforeplymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playerinforeplymessage, submessage_arena); @@ -30381,8 +31145,8 @@ inline void PokerTHMessage::clear_subscriptionrequestmessage() { } inline const ::SubscriptionRequestMessage& PokerTHMessage::_internal_subscriptionrequestmessage() const { const ::SubscriptionRequestMessage* p = subscriptionrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_SubscriptionRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_SubscriptionRequestMessage_default_instance_); } inline const ::SubscriptionRequestMessage& PokerTHMessage::subscriptionrequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.subscriptionRequestMessage) @@ -30390,7 +31154,7 @@ inline const ::SubscriptionRequestMessage& PokerTHMessage::subscriptionrequestme } inline void PokerTHMessage::unsafe_arena_set_allocated_subscriptionrequestmessage( ::SubscriptionRequestMessage* subscriptionrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(subscriptionrequestmessage_); } subscriptionrequestmessage_ = subscriptionrequestmessage; @@ -30402,10 +31166,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_subscriptionrequestmessag // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.subscriptionRequestMessage) } inline ::SubscriptionRequestMessage* PokerTHMessage::release_subscriptionrequestmessage() { - auto temp = unsafe_arena_release_subscriptionrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00080000u; + ::SubscriptionRequestMessage* temp = subscriptionrequestmessage_; + subscriptionrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::SubscriptionRequestMessage* PokerTHMessage::unsafe_arena_release_subscriptionrequestmessage() { @@ -30418,23 +31190,24 @@ inline ::SubscriptionRequestMessage* PokerTHMessage::unsafe_arena_release_subscr inline ::SubscriptionRequestMessage* PokerTHMessage::_internal_mutable_subscriptionrequestmessage() { _has_bits_[0] |= 0x00080000u; if (subscriptionrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::SubscriptionRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::SubscriptionRequestMessage>(GetArenaForAllocation()); subscriptionrequestmessage_ = p; } return subscriptionrequestmessage_; } inline ::SubscriptionRequestMessage* PokerTHMessage::mutable_subscriptionrequestmessage() { + ::SubscriptionRequestMessage* _msg = _internal_mutable_subscriptionrequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.subscriptionRequestMessage) - return _internal_mutable_subscriptionrequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_subscriptionrequestmessage(::SubscriptionRequestMessage* subscriptionrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete subscriptionrequestmessage_; } if (subscriptionrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(subscriptionrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::SubscriptionRequestMessage>::GetOwningArena(subscriptionrequestmessage); if (message_arena != submessage_arena) { subscriptionrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, subscriptionrequestmessage, submessage_arena); @@ -30462,8 +31235,8 @@ inline void PokerTHMessage::clear_joinexistinggamemessage() { } inline const ::JoinExistingGameMessage& PokerTHMessage::_internal_joinexistinggamemessage() const { const ::JoinExistingGameMessage* p = joinexistinggamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_JoinExistingGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_JoinExistingGameMessage_default_instance_); } inline const ::JoinExistingGameMessage& PokerTHMessage::joinexistinggamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.joinExistingGameMessage) @@ -30471,7 +31244,7 @@ inline const ::JoinExistingGameMessage& PokerTHMessage::joinexistinggamemessage( } inline void PokerTHMessage::unsafe_arena_set_allocated_joinexistinggamemessage( ::JoinExistingGameMessage* joinexistinggamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(joinexistinggamemessage_); } joinexistinggamemessage_ = joinexistinggamemessage; @@ -30483,10 +31256,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_joinexistinggamemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.joinExistingGameMessage) } inline ::JoinExistingGameMessage* PokerTHMessage::release_joinexistinggamemessage() { - auto temp = unsafe_arena_release_joinexistinggamemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00100000u; + ::JoinExistingGameMessage* temp = joinexistinggamemessage_; + joinexistinggamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::JoinExistingGameMessage* PokerTHMessage::unsafe_arena_release_joinexistinggamemessage() { @@ -30499,23 +31280,24 @@ inline ::JoinExistingGameMessage* PokerTHMessage::unsafe_arena_release_joinexist inline ::JoinExistingGameMessage* PokerTHMessage::_internal_mutable_joinexistinggamemessage() { _has_bits_[0] |= 0x00100000u; if (joinexistinggamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::JoinExistingGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::JoinExistingGameMessage>(GetArenaForAllocation()); joinexistinggamemessage_ = p; } return joinexistinggamemessage_; } inline ::JoinExistingGameMessage* PokerTHMessage::mutable_joinexistinggamemessage() { + ::JoinExistingGameMessage* _msg = _internal_mutable_joinexistinggamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinExistingGameMessage) - return _internal_mutable_joinexistinggamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_joinexistinggamemessage(::JoinExistingGameMessage* joinexistinggamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete joinexistinggamemessage_; } if (joinexistinggamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(joinexistinggamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::JoinExistingGameMessage>::GetOwningArena(joinexistinggamemessage); if (message_arena != submessage_arena) { joinexistinggamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, joinexistinggamemessage, submessage_arena); @@ -30543,8 +31325,8 @@ inline void PokerTHMessage::clear_joinnewgamemessage() { } inline const ::JoinNewGameMessage& PokerTHMessage::_internal_joinnewgamemessage() const { const ::JoinNewGameMessage* p = joinnewgamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_JoinNewGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_JoinNewGameMessage_default_instance_); } inline const ::JoinNewGameMessage& PokerTHMessage::joinnewgamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.joinNewGameMessage) @@ -30552,7 +31334,7 @@ inline const ::JoinNewGameMessage& PokerTHMessage::joinnewgamemessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_joinnewgamemessage( ::JoinNewGameMessage* joinnewgamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(joinnewgamemessage_); } joinnewgamemessage_ = joinnewgamemessage; @@ -30564,10 +31346,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_joinnewgamemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.joinNewGameMessage) } inline ::JoinNewGameMessage* PokerTHMessage::release_joinnewgamemessage() { - auto temp = unsafe_arena_release_joinnewgamemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00200000u; + ::JoinNewGameMessage* temp = joinnewgamemessage_; + joinnewgamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::JoinNewGameMessage* PokerTHMessage::unsafe_arena_release_joinnewgamemessage() { @@ -30580,23 +31370,24 @@ inline ::JoinNewGameMessage* PokerTHMessage::unsafe_arena_release_joinnewgamemes inline ::JoinNewGameMessage* PokerTHMessage::_internal_mutable_joinnewgamemessage() { _has_bits_[0] |= 0x00200000u; if (joinnewgamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::JoinNewGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::JoinNewGameMessage>(GetArenaForAllocation()); joinnewgamemessage_ = p; } return joinnewgamemessage_; } inline ::JoinNewGameMessage* PokerTHMessage::mutable_joinnewgamemessage() { + ::JoinNewGameMessage* _msg = _internal_mutable_joinnewgamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinNewGameMessage) - return _internal_mutable_joinnewgamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_joinnewgamemessage(::JoinNewGameMessage* joinnewgamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete joinnewgamemessage_; } if (joinnewgamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(joinnewgamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::JoinNewGameMessage>::GetOwningArena(joinnewgamemessage); if (message_arena != submessage_arena) { joinnewgamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, joinnewgamemessage, submessage_arena); @@ -30624,8 +31415,8 @@ inline void PokerTHMessage::clear_rejoinexistinggamemessage() { } inline const ::RejoinExistingGameMessage& PokerTHMessage::_internal_rejoinexistinggamemessage() const { const ::RejoinExistingGameMessage* p = rejoinexistinggamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_RejoinExistingGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_RejoinExistingGameMessage_default_instance_); } inline const ::RejoinExistingGameMessage& PokerTHMessage::rejoinexistinggamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.rejoinExistingGameMessage) @@ -30633,7 +31424,7 @@ inline const ::RejoinExistingGameMessage& PokerTHMessage::rejoinexistinggamemess } inline void PokerTHMessage::unsafe_arena_set_allocated_rejoinexistinggamemessage( ::RejoinExistingGameMessage* rejoinexistinggamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(rejoinexistinggamemessage_); } rejoinexistinggamemessage_ = rejoinexistinggamemessage; @@ -30645,10 +31436,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_rejoinexistinggamemessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.rejoinExistingGameMessage) } inline ::RejoinExistingGameMessage* PokerTHMessage::release_rejoinexistinggamemessage() { - auto temp = unsafe_arena_release_rejoinexistinggamemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00400000u; + ::RejoinExistingGameMessage* temp = rejoinexistinggamemessage_; + rejoinexistinggamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::RejoinExistingGameMessage* PokerTHMessage::unsafe_arena_release_rejoinexistinggamemessage() { @@ -30661,23 +31460,24 @@ inline ::RejoinExistingGameMessage* PokerTHMessage::unsafe_arena_release_rejoine inline ::RejoinExistingGameMessage* PokerTHMessage::_internal_mutable_rejoinexistinggamemessage() { _has_bits_[0] |= 0x00400000u; if (rejoinexistinggamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::RejoinExistingGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::RejoinExistingGameMessage>(GetArenaForAllocation()); rejoinexistinggamemessage_ = p; } return rejoinexistinggamemessage_; } inline ::RejoinExistingGameMessage* PokerTHMessage::mutable_rejoinexistinggamemessage() { + ::RejoinExistingGameMessage* _msg = _internal_mutable_rejoinexistinggamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.rejoinExistingGameMessage) - return _internal_mutable_rejoinexistinggamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_rejoinexistinggamemessage(::RejoinExistingGameMessage* rejoinexistinggamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete rejoinexistinggamemessage_; } if (rejoinexistinggamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(rejoinexistinggamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RejoinExistingGameMessage>::GetOwningArena(rejoinexistinggamemessage); if (message_arena != submessage_arena) { rejoinexistinggamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, rejoinexistinggamemessage, submessage_arena); @@ -30705,8 +31505,8 @@ inline void PokerTHMessage::clear_joingameackmessage() { } inline const ::JoinGameAckMessage& PokerTHMessage::_internal_joingameackmessage() const { const ::JoinGameAckMessage* p = joingameackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_JoinGameAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_JoinGameAckMessage_default_instance_); } inline const ::JoinGameAckMessage& PokerTHMessage::joingameackmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.joinGameAckMessage) @@ -30714,7 +31514,7 @@ inline const ::JoinGameAckMessage& PokerTHMessage::joingameackmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_joingameackmessage( ::JoinGameAckMessage* joingameackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(joingameackmessage_); } joingameackmessage_ = joingameackmessage; @@ -30726,10 +31526,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_joingameackmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.joinGameAckMessage) } inline ::JoinGameAckMessage* PokerTHMessage::release_joingameackmessage() { - auto temp = unsafe_arena_release_joingameackmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x00800000u; + ::JoinGameAckMessage* temp = joingameackmessage_; + joingameackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::JoinGameAckMessage* PokerTHMessage::unsafe_arena_release_joingameackmessage() { @@ -30742,23 +31550,24 @@ inline ::JoinGameAckMessage* PokerTHMessage::unsafe_arena_release_joingameackmes inline ::JoinGameAckMessage* PokerTHMessage::_internal_mutable_joingameackmessage() { _has_bits_[0] |= 0x00800000u; if (joingameackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::JoinGameAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::JoinGameAckMessage>(GetArenaForAllocation()); joingameackmessage_ = p; } return joingameackmessage_; } inline ::JoinGameAckMessage* PokerTHMessage::mutable_joingameackmessage() { + ::JoinGameAckMessage* _msg = _internal_mutable_joingameackmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinGameAckMessage) - return _internal_mutable_joingameackmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_joingameackmessage(::JoinGameAckMessage* joingameackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete joingameackmessage_; } if (joingameackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(joingameackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::JoinGameAckMessage>::GetOwningArena(joingameackmessage); if (message_arena != submessage_arena) { joingameackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, joingameackmessage, submessage_arena); @@ -30786,8 +31595,8 @@ inline void PokerTHMessage::clear_joingamefailedmessage() { } inline const ::JoinGameFailedMessage& PokerTHMessage::_internal_joingamefailedmessage() const { const ::JoinGameFailedMessage* p = joingamefailedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_JoinGameFailedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_JoinGameFailedMessage_default_instance_); } inline const ::JoinGameFailedMessage& PokerTHMessage::joingamefailedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.joinGameFailedMessage) @@ -30795,7 +31604,7 @@ inline const ::JoinGameFailedMessage& PokerTHMessage::joingamefailedmessage() co } inline void PokerTHMessage::unsafe_arena_set_allocated_joingamefailedmessage( ::JoinGameFailedMessage* joingamefailedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(joingamefailedmessage_); } joingamefailedmessage_ = joingamefailedmessage; @@ -30807,10 +31616,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_joingamefailedmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.joinGameFailedMessage) } inline ::JoinGameFailedMessage* PokerTHMessage::release_joingamefailedmessage() { - auto temp = unsafe_arena_release_joingamefailedmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x01000000u; + ::JoinGameFailedMessage* temp = joingamefailedmessage_; + joingamefailedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::JoinGameFailedMessage* PokerTHMessage::unsafe_arena_release_joingamefailedmessage() { @@ -30823,23 +31640,24 @@ inline ::JoinGameFailedMessage* PokerTHMessage::unsafe_arena_release_joingamefai inline ::JoinGameFailedMessage* PokerTHMessage::_internal_mutable_joingamefailedmessage() { _has_bits_[0] |= 0x01000000u; if (joingamefailedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::JoinGameFailedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::JoinGameFailedMessage>(GetArenaForAllocation()); joingamefailedmessage_ = p; } return joingamefailedmessage_; } inline ::JoinGameFailedMessage* PokerTHMessage::mutable_joingamefailedmessage() { + ::JoinGameFailedMessage* _msg = _internal_mutable_joingamefailedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.joinGameFailedMessage) - return _internal_mutable_joingamefailedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_joingamefailedmessage(::JoinGameFailedMessage* joingamefailedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete joingamefailedmessage_; } if (joingamefailedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(joingamefailedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::JoinGameFailedMessage>::GetOwningArena(joingamefailedmessage); if (message_arena != submessage_arena) { joingamefailedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, joingamefailedmessage, submessage_arena); @@ -30867,8 +31685,8 @@ inline void PokerTHMessage::clear_gameplayerjoinedmessage() { } inline const ::GamePlayerJoinedMessage& PokerTHMessage::_internal_gameplayerjoinedmessage() const { const ::GamePlayerJoinedMessage* p = gameplayerjoinedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GamePlayerJoinedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GamePlayerJoinedMessage_default_instance_); } inline const ::GamePlayerJoinedMessage& PokerTHMessage::gameplayerjoinedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gamePlayerJoinedMessage) @@ -30876,7 +31694,7 @@ inline const ::GamePlayerJoinedMessage& PokerTHMessage::gameplayerjoinedmessage( } inline void PokerTHMessage::unsafe_arena_set_allocated_gameplayerjoinedmessage( ::GamePlayerJoinedMessage* gameplayerjoinedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gameplayerjoinedmessage_); } gameplayerjoinedmessage_ = gameplayerjoinedmessage; @@ -30888,10 +31706,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gameplayerjoinedmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gamePlayerJoinedMessage) } inline ::GamePlayerJoinedMessage* PokerTHMessage::release_gameplayerjoinedmessage() { - auto temp = unsafe_arena_release_gameplayerjoinedmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x02000000u; + ::GamePlayerJoinedMessage* temp = gameplayerjoinedmessage_; + gameplayerjoinedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GamePlayerJoinedMessage* PokerTHMessage::unsafe_arena_release_gameplayerjoinedmessage() { @@ -30904,23 +31730,24 @@ inline ::GamePlayerJoinedMessage* PokerTHMessage::unsafe_arena_release_gameplaye inline ::GamePlayerJoinedMessage* PokerTHMessage::_internal_mutable_gameplayerjoinedmessage() { _has_bits_[0] |= 0x02000000u; if (gameplayerjoinedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GamePlayerJoinedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GamePlayerJoinedMessage>(GetArenaForAllocation()); gameplayerjoinedmessage_ = p; } return gameplayerjoinedmessage_; } inline ::GamePlayerJoinedMessage* PokerTHMessage::mutable_gameplayerjoinedmessage() { + ::GamePlayerJoinedMessage* _msg = _internal_mutable_gameplayerjoinedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gamePlayerJoinedMessage) - return _internal_mutable_gameplayerjoinedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gameplayerjoinedmessage(::GamePlayerJoinedMessage* gameplayerjoinedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gameplayerjoinedmessage_; } if (gameplayerjoinedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gameplayerjoinedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GamePlayerJoinedMessage>::GetOwningArena(gameplayerjoinedmessage); if (message_arena != submessage_arena) { gameplayerjoinedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gameplayerjoinedmessage, submessage_arena); @@ -30948,8 +31775,8 @@ inline void PokerTHMessage::clear_gameplayerleftmessage() { } inline const ::GamePlayerLeftMessage& PokerTHMessage::_internal_gameplayerleftmessage() const { const ::GamePlayerLeftMessage* p = gameplayerleftmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GamePlayerLeftMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GamePlayerLeftMessage_default_instance_); } inline const ::GamePlayerLeftMessage& PokerTHMessage::gameplayerleftmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gamePlayerLeftMessage) @@ -30957,7 +31784,7 @@ inline const ::GamePlayerLeftMessage& PokerTHMessage::gameplayerleftmessage() co } inline void PokerTHMessage::unsafe_arena_set_allocated_gameplayerleftmessage( ::GamePlayerLeftMessage* gameplayerleftmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gameplayerleftmessage_); } gameplayerleftmessage_ = gameplayerleftmessage; @@ -30969,10 +31796,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gameplayerleftmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gamePlayerLeftMessage) } inline ::GamePlayerLeftMessage* PokerTHMessage::release_gameplayerleftmessage() { - auto temp = unsafe_arena_release_gameplayerleftmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x04000000u; + ::GamePlayerLeftMessage* temp = gameplayerleftmessage_; + gameplayerleftmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GamePlayerLeftMessage* PokerTHMessage::unsafe_arena_release_gameplayerleftmessage() { @@ -30985,23 +31820,24 @@ inline ::GamePlayerLeftMessage* PokerTHMessage::unsafe_arena_release_gameplayerl inline ::GamePlayerLeftMessage* PokerTHMessage::_internal_mutable_gameplayerleftmessage() { _has_bits_[0] |= 0x04000000u; if (gameplayerleftmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GamePlayerLeftMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GamePlayerLeftMessage>(GetArenaForAllocation()); gameplayerleftmessage_ = p; } return gameplayerleftmessage_; } inline ::GamePlayerLeftMessage* PokerTHMessage::mutable_gameplayerleftmessage() { + ::GamePlayerLeftMessage* _msg = _internal_mutable_gameplayerleftmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gamePlayerLeftMessage) - return _internal_mutable_gameplayerleftmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gameplayerleftmessage(::GamePlayerLeftMessage* gameplayerleftmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gameplayerleftmessage_; } if (gameplayerleftmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gameplayerleftmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GamePlayerLeftMessage>::GetOwningArena(gameplayerleftmessage); if (message_arena != submessage_arena) { gameplayerleftmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gameplayerleftmessage, submessage_arena); @@ -31029,8 +31865,8 @@ inline void PokerTHMessage::clear_gameadminchangedmessage() { } inline const ::GameAdminChangedMessage& PokerTHMessage::_internal_gameadminchangedmessage() const { const ::GameAdminChangedMessage* p = gameadminchangedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameAdminChangedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameAdminChangedMessage_default_instance_); } inline const ::GameAdminChangedMessage& PokerTHMessage::gameadminchangedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameAdminChangedMessage) @@ -31038,7 +31874,7 @@ inline const ::GameAdminChangedMessage& PokerTHMessage::gameadminchangedmessage( } inline void PokerTHMessage::unsafe_arena_set_allocated_gameadminchangedmessage( ::GameAdminChangedMessage* gameadminchangedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gameadminchangedmessage_); } gameadminchangedmessage_ = gameadminchangedmessage; @@ -31050,10 +31886,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gameadminchangedmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameAdminChangedMessage) } inline ::GameAdminChangedMessage* PokerTHMessage::release_gameadminchangedmessage() { - auto temp = unsafe_arena_release_gameadminchangedmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x08000000u; + ::GameAdminChangedMessage* temp = gameadminchangedmessage_; + gameadminchangedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameAdminChangedMessage* PokerTHMessage::unsafe_arena_release_gameadminchangedmessage() { @@ -31066,23 +31910,24 @@ inline ::GameAdminChangedMessage* PokerTHMessage::unsafe_arena_release_gameadmin inline ::GameAdminChangedMessage* PokerTHMessage::_internal_mutable_gameadminchangedmessage() { _has_bits_[0] |= 0x08000000u; if (gameadminchangedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameAdminChangedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameAdminChangedMessage>(GetArenaForAllocation()); gameadminchangedmessage_ = p; } return gameadminchangedmessage_; } inline ::GameAdminChangedMessage* PokerTHMessage::mutable_gameadminchangedmessage() { + ::GameAdminChangedMessage* _msg = _internal_mutable_gameadminchangedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameAdminChangedMessage) - return _internal_mutable_gameadminchangedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gameadminchangedmessage(::GameAdminChangedMessage* gameadminchangedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gameadminchangedmessage_; } if (gameadminchangedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gameadminchangedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameAdminChangedMessage>::GetOwningArena(gameadminchangedmessage); if (message_arena != submessage_arena) { gameadminchangedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gameadminchangedmessage, submessage_arena); @@ -31110,8 +31955,8 @@ inline void PokerTHMessage::clear_removedfromgamemessage() { } inline const ::RemovedFromGameMessage& PokerTHMessage::_internal_removedfromgamemessage() const { const ::RemovedFromGameMessage* p = removedfromgamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_RemovedFromGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_RemovedFromGameMessage_default_instance_); } inline const ::RemovedFromGameMessage& PokerTHMessage::removedfromgamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.removedFromGameMessage) @@ -31119,7 +31964,7 @@ inline const ::RemovedFromGameMessage& PokerTHMessage::removedfromgamemessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_removedfromgamemessage( ::RemovedFromGameMessage* removedfromgamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(removedfromgamemessage_); } removedfromgamemessage_ = removedfromgamemessage; @@ -31131,10 +31976,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_removedfromgamemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.removedFromGameMessage) } inline ::RemovedFromGameMessage* PokerTHMessage::release_removedfromgamemessage() { - auto temp = unsafe_arena_release_removedfromgamemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x10000000u; + ::RemovedFromGameMessage* temp = removedfromgamemessage_; + removedfromgamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::RemovedFromGameMessage* PokerTHMessage::unsafe_arena_release_removedfromgamemessage() { @@ -31147,23 +32000,24 @@ inline ::RemovedFromGameMessage* PokerTHMessage::unsafe_arena_release_removedfro inline ::RemovedFromGameMessage* PokerTHMessage::_internal_mutable_removedfromgamemessage() { _has_bits_[0] |= 0x10000000u; if (removedfromgamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::RemovedFromGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::RemovedFromGameMessage>(GetArenaForAllocation()); removedfromgamemessage_ = p; } return removedfromgamemessage_; } inline ::RemovedFromGameMessage* PokerTHMessage::mutable_removedfromgamemessage() { + ::RemovedFromGameMessage* _msg = _internal_mutable_removedfromgamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.removedFromGameMessage) - return _internal_mutable_removedfromgamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_removedfromgamemessage(::RemovedFromGameMessage* removedfromgamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete removedfromgamemessage_; } if (removedfromgamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(removedfromgamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RemovedFromGameMessage>::GetOwningArena(removedfromgamemessage); if (message_arena != submessage_arena) { removedfromgamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, removedfromgamemessage, submessage_arena); @@ -31191,8 +32045,8 @@ inline void PokerTHMessage::clear_kickplayerrequestmessage() { } inline const ::KickPlayerRequestMessage& PokerTHMessage::_internal_kickplayerrequestmessage() const { const ::KickPlayerRequestMessage* p = kickplayerrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_KickPlayerRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_KickPlayerRequestMessage_default_instance_); } inline const ::KickPlayerRequestMessage& PokerTHMessage::kickplayerrequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.kickPlayerRequestMessage) @@ -31200,7 +32054,7 @@ inline const ::KickPlayerRequestMessage& PokerTHMessage::kickplayerrequestmessag } inline void PokerTHMessage::unsafe_arena_set_allocated_kickplayerrequestmessage( ::KickPlayerRequestMessage* kickplayerrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(kickplayerrequestmessage_); } kickplayerrequestmessage_ = kickplayerrequestmessage; @@ -31212,10 +32066,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_kickplayerrequestmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.kickPlayerRequestMessage) } inline ::KickPlayerRequestMessage* PokerTHMessage::release_kickplayerrequestmessage() { - auto temp = unsafe_arena_release_kickplayerrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x20000000u; + ::KickPlayerRequestMessage* temp = kickplayerrequestmessage_; + kickplayerrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::KickPlayerRequestMessage* PokerTHMessage::unsafe_arena_release_kickplayerrequestmessage() { @@ -31228,23 +32090,24 @@ inline ::KickPlayerRequestMessage* PokerTHMessage::unsafe_arena_release_kickplay inline ::KickPlayerRequestMessage* PokerTHMessage::_internal_mutable_kickplayerrequestmessage() { _has_bits_[0] |= 0x20000000u; if (kickplayerrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::KickPlayerRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::KickPlayerRequestMessage>(GetArenaForAllocation()); kickplayerrequestmessage_ = p; } return kickplayerrequestmessage_; } inline ::KickPlayerRequestMessage* PokerTHMessage::mutable_kickplayerrequestmessage() { + ::KickPlayerRequestMessage* _msg = _internal_mutable_kickplayerrequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.kickPlayerRequestMessage) - return _internal_mutable_kickplayerrequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_kickplayerrequestmessage(::KickPlayerRequestMessage* kickplayerrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete kickplayerrequestmessage_; } if (kickplayerrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(kickplayerrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::KickPlayerRequestMessage>::GetOwningArena(kickplayerrequestmessage); if (message_arena != submessage_arena) { kickplayerrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, kickplayerrequestmessage, submessage_arena); @@ -31272,8 +32135,8 @@ inline void PokerTHMessage::clear_leavegamerequestmessage() { } inline const ::LeaveGameRequestMessage& PokerTHMessage::_internal_leavegamerequestmessage() const { const ::LeaveGameRequestMessage* p = leavegamerequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_LeaveGameRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_LeaveGameRequestMessage_default_instance_); } inline const ::LeaveGameRequestMessage& PokerTHMessage::leavegamerequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.leaveGameRequestMessage) @@ -31281,7 +32144,7 @@ inline const ::LeaveGameRequestMessage& PokerTHMessage::leavegamerequestmessage( } inline void PokerTHMessage::unsafe_arena_set_allocated_leavegamerequestmessage( ::LeaveGameRequestMessage* leavegamerequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(leavegamerequestmessage_); } leavegamerequestmessage_ = leavegamerequestmessage; @@ -31293,10 +32156,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_leavegamerequestmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.leaveGameRequestMessage) } inline ::LeaveGameRequestMessage* PokerTHMessage::release_leavegamerequestmessage() { - auto temp = unsafe_arena_release_leavegamerequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x40000000u; + ::LeaveGameRequestMessage* temp = leavegamerequestmessage_; + leavegamerequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::LeaveGameRequestMessage* PokerTHMessage::unsafe_arena_release_leavegamerequestmessage() { @@ -31309,23 +32180,24 @@ inline ::LeaveGameRequestMessage* PokerTHMessage::unsafe_arena_release_leavegame inline ::LeaveGameRequestMessage* PokerTHMessage::_internal_mutable_leavegamerequestmessage() { _has_bits_[0] |= 0x40000000u; if (leavegamerequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::LeaveGameRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::LeaveGameRequestMessage>(GetArenaForAllocation()); leavegamerequestmessage_ = p; } return leavegamerequestmessage_; } inline ::LeaveGameRequestMessage* PokerTHMessage::mutable_leavegamerequestmessage() { + ::LeaveGameRequestMessage* _msg = _internal_mutable_leavegamerequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.leaveGameRequestMessage) - return _internal_mutable_leavegamerequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_leavegamerequestmessage(::LeaveGameRequestMessage* leavegamerequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete leavegamerequestmessage_; } if (leavegamerequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(leavegamerequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::LeaveGameRequestMessage>::GetOwningArena(leavegamerequestmessage); if (message_arena != submessage_arena) { leavegamerequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, leavegamerequestmessage, submessage_arena); @@ -31353,8 +32225,8 @@ inline void PokerTHMessage::clear_inviteplayertogamemessage() { } inline const ::InvitePlayerToGameMessage& PokerTHMessage::_internal_inviteplayertogamemessage() const { const ::InvitePlayerToGameMessage* p = inviteplayertogamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_InvitePlayerToGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_InvitePlayerToGameMessage_default_instance_); } inline const ::InvitePlayerToGameMessage& PokerTHMessage::inviteplayertogamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.invitePlayerToGameMessage) @@ -31362,7 +32234,7 @@ inline const ::InvitePlayerToGameMessage& PokerTHMessage::inviteplayertogamemess } inline void PokerTHMessage::unsafe_arena_set_allocated_inviteplayertogamemessage( ::InvitePlayerToGameMessage* inviteplayertogamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(inviteplayertogamemessage_); } inviteplayertogamemessage_ = inviteplayertogamemessage; @@ -31374,10 +32246,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_inviteplayertogamemessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.invitePlayerToGameMessage) } inline ::InvitePlayerToGameMessage* PokerTHMessage::release_inviteplayertogamemessage() { - auto temp = unsafe_arena_release_inviteplayertogamemessage(); - if (GetArena() != nullptr) { + _has_bits_[0] &= ~0x80000000u; + ::InvitePlayerToGameMessage* temp = inviteplayertogamemessage_; + inviteplayertogamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::InvitePlayerToGameMessage* PokerTHMessage::unsafe_arena_release_inviteplayertogamemessage() { @@ -31390,23 +32270,24 @@ inline ::InvitePlayerToGameMessage* PokerTHMessage::unsafe_arena_release_invitep inline ::InvitePlayerToGameMessage* PokerTHMessage::_internal_mutable_inviteplayertogamemessage() { _has_bits_[0] |= 0x80000000u; if (inviteplayertogamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::InvitePlayerToGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::InvitePlayerToGameMessage>(GetArenaForAllocation()); inviteplayertogamemessage_ = p; } return inviteplayertogamemessage_; } inline ::InvitePlayerToGameMessage* PokerTHMessage::mutable_inviteplayertogamemessage() { + ::InvitePlayerToGameMessage* _msg = _internal_mutable_inviteplayertogamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.invitePlayerToGameMessage) - return _internal_mutable_inviteplayertogamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_inviteplayertogamemessage(::InvitePlayerToGameMessage* inviteplayertogamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete inviteplayertogamemessage_; } if (inviteplayertogamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(inviteplayertogamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::InvitePlayerToGameMessage>::GetOwningArena(inviteplayertogamemessage); if (message_arena != submessage_arena) { inviteplayertogamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, inviteplayertogamemessage, submessage_arena); @@ -31434,8 +32315,8 @@ inline void PokerTHMessage::clear_invitenotifymessage() { } inline const ::InviteNotifyMessage& PokerTHMessage::_internal_invitenotifymessage() const { const ::InviteNotifyMessage* p = invitenotifymessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_InviteNotifyMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_InviteNotifyMessage_default_instance_); } inline const ::InviteNotifyMessage& PokerTHMessage::invitenotifymessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.inviteNotifyMessage) @@ -31443,7 +32324,7 @@ inline const ::InviteNotifyMessage& PokerTHMessage::invitenotifymessage() const } inline void PokerTHMessage::unsafe_arena_set_allocated_invitenotifymessage( ::InviteNotifyMessage* invitenotifymessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(invitenotifymessage_); } invitenotifymessage_ = invitenotifymessage; @@ -31455,10 +32336,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_invitenotifymessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.inviteNotifyMessage) } inline ::InviteNotifyMessage* PokerTHMessage::release_invitenotifymessage() { - auto temp = unsafe_arena_release_invitenotifymessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000001u; + ::InviteNotifyMessage* temp = invitenotifymessage_; + invitenotifymessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::InviteNotifyMessage* PokerTHMessage::unsafe_arena_release_invitenotifymessage() { @@ -31471,23 +32360,24 @@ inline ::InviteNotifyMessage* PokerTHMessage::unsafe_arena_release_invitenotifym inline ::InviteNotifyMessage* PokerTHMessage::_internal_mutable_invitenotifymessage() { _has_bits_[1] |= 0x00000001u; if (invitenotifymessage_ == nullptr) { - auto* p = CreateMaybeMessage<::InviteNotifyMessage>(GetArena()); + auto* p = CreateMaybeMessage<::InviteNotifyMessage>(GetArenaForAllocation()); invitenotifymessage_ = p; } return invitenotifymessage_; } inline ::InviteNotifyMessage* PokerTHMessage::mutable_invitenotifymessage() { + ::InviteNotifyMessage* _msg = _internal_mutable_invitenotifymessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.inviteNotifyMessage) - return _internal_mutable_invitenotifymessage(); + return _msg; } inline void PokerTHMessage::set_allocated_invitenotifymessage(::InviteNotifyMessage* invitenotifymessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete invitenotifymessage_; } if (invitenotifymessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(invitenotifymessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::InviteNotifyMessage>::GetOwningArena(invitenotifymessage); if (message_arena != submessage_arena) { invitenotifymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, invitenotifymessage, submessage_arena); @@ -31515,8 +32405,8 @@ inline void PokerTHMessage::clear_rejectgameinvitationmessage() { } inline const ::RejectGameInvitationMessage& PokerTHMessage::_internal_rejectgameinvitationmessage() const { const ::RejectGameInvitationMessage* p = rejectgameinvitationmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_RejectGameInvitationMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_RejectGameInvitationMessage_default_instance_); } inline const ::RejectGameInvitationMessage& PokerTHMessage::rejectgameinvitationmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.rejectGameInvitationMessage) @@ -31524,7 +32414,7 @@ inline const ::RejectGameInvitationMessage& PokerTHMessage::rejectgameinvitation } inline void PokerTHMessage::unsafe_arena_set_allocated_rejectgameinvitationmessage( ::RejectGameInvitationMessage* rejectgameinvitationmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(rejectgameinvitationmessage_); } rejectgameinvitationmessage_ = rejectgameinvitationmessage; @@ -31536,10 +32426,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_rejectgameinvitationmessa // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.rejectGameInvitationMessage) } inline ::RejectGameInvitationMessage* PokerTHMessage::release_rejectgameinvitationmessage() { - auto temp = unsafe_arena_release_rejectgameinvitationmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000002u; + ::RejectGameInvitationMessage* temp = rejectgameinvitationmessage_; + rejectgameinvitationmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::RejectGameInvitationMessage* PokerTHMessage::unsafe_arena_release_rejectgameinvitationmessage() { @@ -31552,23 +32450,24 @@ inline ::RejectGameInvitationMessage* PokerTHMessage::unsafe_arena_release_rejec inline ::RejectGameInvitationMessage* PokerTHMessage::_internal_mutable_rejectgameinvitationmessage() { _has_bits_[1] |= 0x00000002u; if (rejectgameinvitationmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::RejectGameInvitationMessage>(GetArena()); + auto* p = CreateMaybeMessage<::RejectGameInvitationMessage>(GetArenaForAllocation()); rejectgameinvitationmessage_ = p; } return rejectgameinvitationmessage_; } inline ::RejectGameInvitationMessage* PokerTHMessage::mutable_rejectgameinvitationmessage() { + ::RejectGameInvitationMessage* _msg = _internal_mutable_rejectgameinvitationmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.rejectGameInvitationMessage) - return _internal_mutable_rejectgameinvitationmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_rejectgameinvitationmessage(::RejectGameInvitationMessage* rejectgameinvitationmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete rejectgameinvitationmessage_; } if (rejectgameinvitationmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(rejectgameinvitationmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RejectGameInvitationMessage>::GetOwningArena(rejectgameinvitationmessage); if (message_arena != submessage_arena) { rejectgameinvitationmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, rejectgameinvitationmessage, submessage_arena); @@ -31596,8 +32495,8 @@ inline void PokerTHMessage::clear_rejectinvnotifymessage() { } inline const ::RejectInvNotifyMessage& PokerTHMessage::_internal_rejectinvnotifymessage() const { const ::RejectInvNotifyMessage* p = rejectinvnotifymessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_RejectInvNotifyMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_RejectInvNotifyMessage_default_instance_); } inline const ::RejectInvNotifyMessage& PokerTHMessage::rejectinvnotifymessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.rejectInvNotifyMessage) @@ -31605,7 +32504,7 @@ inline const ::RejectInvNotifyMessage& PokerTHMessage::rejectinvnotifymessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_rejectinvnotifymessage( ::RejectInvNotifyMessage* rejectinvnotifymessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(rejectinvnotifymessage_); } rejectinvnotifymessage_ = rejectinvnotifymessage; @@ -31617,10 +32516,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_rejectinvnotifymessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.rejectInvNotifyMessage) } inline ::RejectInvNotifyMessage* PokerTHMessage::release_rejectinvnotifymessage() { - auto temp = unsafe_arena_release_rejectinvnotifymessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000004u; + ::RejectInvNotifyMessage* temp = rejectinvnotifymessage_; + rejectinvnotifymessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::RejectInvNotifyMessage* PokerTHMessage::unsafe_arena_release_rejectinvnotifymessage() { @@ -31633,23 +32540,24 @@ inline ::RejectInvNotifyMessage* PokerTHMessage::unsafe_arena_release_rejectinvn inline ::RejectInvNotifyMessage* PokerTHMessage::_internal_mutable_rejectinvnotifymessage() { _has_bits_[1] |= 0x00000004u; if (rejectinvnotifymessage_ == nullptr) { - auto* p = CreateMaybeMessage<::RejectInvNotifyMessage>(GetArena()); + auto* p = CreateMaybeMessage<::RejectInvNotifyMessage>(GetArenaForAllocation()); rejectinvnotifymessage_ = p; } return rejectinvnotifymessage_; } inline ::RejectInvNotifyMessage* PokerTHMessage::mutable_rejectinvnotifymessage() { + ::RejectInvNotifyMessage* _msg = _internal_mutable_rejectinvnotifymessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.rejectInvNotifyMessage) - return _internal_mutable_rejectinvnotifymessage(); + return _msg; } inline void PokerTHMessage::set_allocated_rejectinvnotifymessage(::RejectInvNotifyMessage* rejectinvnotifymessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete rejectinvnotifymessage_; } if (rejectinvnotifymessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(rejectinvnotifymessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::RejectInvNotifyMessage>::GetOwningArena(rejectinvnotifymessage); if (message_arena != submessage_arena) { rejectinvnotifymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, rejectinvnotifymessage, submessage_arena); @@ -31677,8 +32585,8 @@ inline void PokerTHMessage::clear_starteventmessage() { } inline const ::StartEventMessage& PokerTHMessage::_internal_starteventmessage() const { const ::StartEventMessage* p = starteventmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_StartEventMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_StartEventMessage_default_instance_); } inline const ::StartEventMessage& PokerTHMessage::starteventmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.startEventMessage) @@ -31686,7 +32594,7 @@ inline const ::StartEventMessage& PokerTHMessage::starteventmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_starteventmessage( ::StartEventMessage* starteventmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(starteventmessage_); } starteventmessage_ = starteventmessage; @@ -31698,10 +32606,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_starteventmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.startEventMessage) } inline ::StartEventMessage* PokerTHMessage::release_starteventmessage() { - auto temp = unsafe_arena_release_starteventmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000008u; + ::StartEventMessage* temp = starteventmessage_; + starteventmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::StartEventMessage* PokerTHMessage::unsafe_arena_release_starteventmessage() { @@ -31714,23 +32630,24 @@ inline ::StartEventMessage* PokerTHMessage::unsafe_arena_release_starteventmessa inline ::StartEventMessage* PokerTHMessage::_internal_mutable_starteventmessage() { _has_bits_[1] |= 0x00000008u; if (starteventmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::StartEventMessage>(GetArena()); + auto* p = CreateMaybeMessage<::StartEventMessage>(GetArenaForAllocation()); starteventmessage_ = p; } return starteventmessage_; } inline ::StartEventMessage* PokerTHMessage::mutable_starteventmessage() { + ::StartEventMessage* _msg = _internal_mutable_starteventmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.startEventMessage) - return _internal_mutable_starteventmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_starteventmessage(::StartEventMessage* starteventmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete starteventmessage_; } if (starteventmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(starteventmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::StartEventMessage>::GetOwningArena(starteventmessage); if (message_arena != submessage_arena) { starteventmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, starteventmessage, submessage_arena); @@ -31758,8 +32675,8 @@ inline void PokerTHMessage::clear_starteventackmessage() { } inline const ::StartEventAckMessage& PokerTHMessage::_internal_starteventackmessage() const { const ::StartEventAckMessage* p = starteventackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_StartEventAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_StartEventAckMessage_default_instance_); } inline const ::StartEventAckMessage& PokerTHMessage::starteventackmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.startEventAckMessage) @@ -31767,7 +32684,7 @@ inline const ::StartEventAckMessage& PokerTHMessage::starteventackmessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_starteventackmessage( ::StartEventAckMessage* starteventackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(starteventackmessage_); } starteventackmessage_ = starteventackmessage; @@ -31779,10 +32696,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_starteventackmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.startEventAckMessage) } inline ::StartEventAckMessage* PokerTHMessage::release_starteventackmessage() { - auto temp = unsafe_arena_release_starteventackmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000010u; + ::StartEventAckMessage* temp = starteventackmessage_; + starteventackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::StartEventAckMessage* PokerTHMessage::unsafe_arena_release_starteventackmessage() { @@ -31795,23 +32720,24 @@ inline ::StartEventAckMessage* PokerTHMessage::unsafe_arena_release_starteventac inline ::StartEventAckMessage* PokerTHMessage::_internal_mutable_starteventackmessage() { _has_bits_[1] |= 0x00000010u; if (starteventackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::StartEventAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::StartEventAckMessage>(GetArenaForAllocation()); starteventackmessage_ = p; } return starteventackmessage_; } inline ::StartEventAckMessage* PokerTHMessage::mutable_starteventackmessage() { + ::StartEventAckMessage* _msg = _internal_mutable_starteventackmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.startEventAckMessage) - return _internal_mutable_starteventackmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_starteventackmessage(::StartEventAckMessage* starteventackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete starteventackmessage_; } if (starteventackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(starteventackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::StartEventAckMessage>::GetOwningArena(starteventackmessage); if (message_arena != submessage_arena) { starteventackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, starteventackmessage, submessage_arena); @@ -31839,8 +32765,8 @@ inline void PokerTHMessage::clear_gamestartinitialmessage() { } inline const ::GameStartInitialMessage& PokerTHMessage::_internal_gamestartinitialmessage() const { const ::GameStartInitialMessage* p = gamestartinitialmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameStartInitialMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameStartInitialMessage_default_instance_); } inline const ::GameStartInitialMessage& PokerTHMessage::gamestartinitialmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameStartInitialMessage) @@ -31848,7 +32774,7 @@ inline const ::GameStartInitialMessage& PokerTHMessage::gamestartinitialmessage( } inline void PokerTHMessage::unsafe_arena_set_allocated_gamestartinitialmessage( ::GameStartInitialMessage* gamestartinitialmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamestartinitialmessage_); } gamestartinitialmessage_ = gamestartinitialmessage; @@ -31860,10 +32786,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamestartinitialmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameStartInitialMessage) } inline ::GameStartInitialMessage* PokerTHMessage::release_gamestartinitialmessage() { - auto temp = unsafe_arena_release_gamestartinitialmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000020u; + ::GameStartInitialMessage* temp = gamestartinitialmessage_; + gamestartinitialmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameStartInitialMessage* PokerTHMessage::unsafe_arena_release_gamestartinitialmessage() { @@ -31876,23 +32810,24 @@ inline ::GameStartInitialMessage* PokerTHMessage::unsafe_arena_release_gamestart inline ::GameStartInitialMessage* PokerTHMessage::_internal_mutable_gamestartinitialmessage() { _has_bits_[1] |= 0x00000020u; if (gamestartinitialmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameStartInitialMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameStartInitialMessage>(GetArenaForAllocation()); gamestartinitialmessage_ = p; } return gamestartinitialmessage_; } inline ::GameStartInitialMessage* PokerTHMessage::mutable_gamestartinitialmessage() { + ::GameStartInitialMessage* _msg = _internal_mutable_gamestartinitialmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameStartInitialMessage) - return _internal_mutable_gamestartinitialmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamestartinitialmessage(::GameStartInitialMessage* gamestartinitialmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamestartinitialmessage_; } if (gamestartinitialmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamestartinitialmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameStartInitialMessage>::GetOwningArena(gamestartinitialmessage); if (message_arena != submessage_arena) { gamestartinitialmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamestartinitialmessage, submessage_arena); @@ -31920,8 +32855,8 @@ inline void PokerTHMessage::clear_gamestartrejoinmessage() { } inline const ::GameStartRejoinMessage& PokerTHMessage::_internal_gamestartrejoinmessage() const { const ::GameStartRejoinMessage* p = gamestartrejoinmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameStartRejoinMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameStartRejoinMessage_default_instance_); } inline const ::GameStartRejoinMessage& PokerTHMessage::gamestartrejoinmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameStartRejoinMessage) @@ -31929,7 +32864,7 @@ inline const ::GameStartRejoinMessage& PokerTHMessage::gamestartrejoinmessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_gamestartrejoinmessage( ::GameStartRejoinMessage* gamestartrejoinmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamestartrejoinmessage_); } gamestartrejoinmessage_ = gamestartrejoinmessage; @@ -31941,10 +32876,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamestartrejoinmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameStartRejoinMessage) } inline ::GameStartRejoinMessage* PokerTHMessage::release_gamestartrejoinmessage() { - auto temp = unsafe_arena_release_gamestartrejoinmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000040u; + ::GameStartRejoinMessage* temp = gamestartrejoinmessage_; + gamestartrejoinmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameStartRejoinMessage* PokerTHMessage::unsafe_arena_release_gamestartrejoinmessage() { @@ -31957,23 +32900,24 @@ inline ::GameStartRejoinMessage* PokerTHMessage::unsafe_arena_release_gamestartr inline ::GameStartRejoinMessage* PokerTHMessage::_internal_mutable_gamestartrejoinmessage() { _has_bits_[1] |= 0x00000040u; if (gamestartrejoinmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameStartRejoinMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameStartRejoinMessage>(GetArenaForAllocation()); gamestartrejoinmessage_ = p; } return gamestartrejoinmessage_; } inline ::GameStartRejoinMessage* PokerTHMessage::mutable_gamestartrejoinmessage() { + ::GameStartRejoinMessage* _msg = _internal_mutable_gamestartrejoinmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameStartRejoinMessage) - return _internal_mutable_gamestartrejoinmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamestartrejoinmessage(::GameStartRejoinMessage* gamestartrejoinmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamestartrejoinmessage_; } if (gamestartrejoinmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamestartrejoinmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameStartRejoinMessage>::GetOwningArena(gamestartrejoinmessage); if (message_arena != submessage_arena) { gamestartrejoinmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamestartrejoinmessage, submessage_arena); @@ -32001,8 +32945,8 @@ inline void PokerTHMessage::clear_handstartmessage() { } inline const ::HandStartMessage& PokerTHMessage::_internal_handstartmessage() const { const ::HandStartMessage* p = handstartmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_HandStartMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_HandStartMessage_default_instance_); } inline const ::HandStartMessage& PokerTHMessage::handstartmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.handStartMessage) @@ -32010,7 +32954,7 @@ inline const ::HandStartMessage& PokerTHMessage::handstartmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_handstartmessage( ::HandStartMessage* handstartmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(handstartmessage_); } handstartmessage_ = handstartmessage; @@ -32022,10 +32966,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_handstartmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.handStartMessage) } inline ::HandStartMessage* PokerTHMessage::release_handstartmessage() { - auto temp = unsafe_arena_release_handstartmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000080u; + ::HandStartMessage* temp = handstartmessage_; + handstartmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::HandStartMessage* PokerTHMessage::unsafe_arena_release_handstartmessage() { @@ -32038,23 +32990,24 @@ inline ::HandStartMessage* PokerTHMessage::unsafe_arena_release_handstartmessage inline ::HandStartMessage* PokerTHMessage::_internal_mutable_handstartmessage() { _has_bits_[1] |= 0x00000080u; if (handstartmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::HandStartMessage>(GetArena()); + auto* p = CreateMaybeMessage<::HandStartMessage>(GetArenaForAllocation()); handstartmessage_ = p; } return handstartmessage_; } inline ::HandStartMessage* PokerTHMessage::mutable_handstartmessage() { + ::HandStartMessage* _msg = _internal_mutable_handstartmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.handStartMessage) - return _internal_mutable_handstartmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_handstartmessage(::HandStartMessage* handstartmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete handstartmessage_; } if (handstartmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(handstartmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::HandStartMessage>::GetOwningArena(handstartmessage); if (message_arena != submessage_arena) { handstartmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, handstartmessage, submessage_arena); @@ -32082,8 +33035,8 @@ inline void PokerTHMessage::clear_playersturnmessage() { } inline const ::PlayersTurnMessage& PokerTHMessage::_internal_playersturnmessage() const { const ::PlayersTurnMessage* p = playersturnmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayersTurnMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayersTurnMessage_default_instance_); } inline const ::PlayersTurnMessage& PokerTHMessage::playersturnmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.playersTurnMessage) @@ -32091,7 +33044,7 @@ inline const ::PlayersTurnMessage& PokerTHMessage::playersturnmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_playersturnmessage( ::PlayersTurnMessage* playersturnmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playersturnmessage_); } playersturnmessage_ = playersturnmessage; @@ -32103,10 +33056,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_playersturnmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.playersTurnMessage) } inline ::PlayersTurnMessage* PokerTHMessage::release_playersturnmessage() { - auto temp = unsafe_arena_release_playersturnmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000100u; + ::PlayersTurnMessage* temp = playersturnmessage_; + playersturnmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayersTurnMessage* PokerTHMessage::unsafe_arena_release_playersturnmessage() { @@ -32119,23 +33080,24 @@ inline ::PlayersTurnMessage* PokerTHMessage::unsafe_arena_release_playersturnmes inline ::PlayersTurnMessage* PokerTHMessage::_internal_mutable_playersturnmessage() { _has_bits_[1] |= 0x00000100u; if (playersturnmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayersTurnMessage>(GetArena()); + auto* p = CreateMaybeMessage<::PlayersTurnMessage>(GetArenaForAllocation()); playersturnmessage_ = p; } return playersturnmessage_; } inline ::PlayersTurnMessage* PokerTHMessage::mutable_playersturnmessage() { + ::PlayersTurnMessage* _msg = _internal_mutable_playersturnmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.playersTurnMessage) - return _internal_mutable_playersturnmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_playersturnmessage(::PlayersTurnMessage* playersturnmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playersturnmessage_; } if (playersturnmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playersturnmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayersTurnMessage>::GetOwningArena(playersturnmessage); if (message_arena != submessage_arena) { playersturnmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playersturnmessage, submessage_arena); @@ -32163,8 +33125,8 @@ inline void PokerTHMessage::clear_myactionrequestmessage() { } inline const ::MyActionRequestMessage& PokerTHMessage::_internal_myactionrequestmessage() const { const ::MyActionRequestMessage* p = myactionrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_MyActionRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_MyActionRequestMessage_default_instance_); } inline const ::MyActionRequestMessage& PokerTHMessage::myactionrequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.myActionRequestMessage) @@ -32172,7 +33134,7 @@ inline const ::MyActionRequestMessage& PokerTHMessage::myactionrequestmessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_myactionrequestmessage( ::MyActionRequestMessage* myactionrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(myactionrequestmessage_); } myactionrequestmessage_ = myactionrequestmessage; @@ -32184,10 +33146,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_myactionrequestmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.myActionRequestMessage) } inline ::MyActionRequestMessage* PokerTHMessage::release_myactionrequestmessage() { - auto temp = unsafe_arena_release_myactionrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000200u; + ::MyActionRequestMessage* temp = myactionrequestmessage_; + myactionrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::MyActionRequestMessage* PokerTHMessage::unsafe_arena_release_myactionrequestmessage() { @@ -32200,23 +33170,24 @@ inline ::MyActionRequestMessage* PokerTHMessage::unsafe_arena_release_myactionre inline ::MyActionRequestMessage* PokerTHMessage::_internal_mutable_myactionrequestmessage() { _has_bits_[1] |= 0x00000200u; if (myactionrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::MyActionRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::MyActionRequestMessage>(GetArenaForAllocation()); myactionrequestmessage_ = p; } return myactionrequestmessage_; } inline ::MyActionRequestMessage* PokerTHMessage::mutable_myactionrequestmessage() { + ::MyActionRequestMessage* _msg = _internal_mutable_myactionrequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.myActionRequestMessage) - return _internal_mutable_myactionrequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_myactionrequestmessage(::MyActionRequestMessage* myactionrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete myactionrequestmessage_; } if (myactionrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(myactionrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::MyActionRequestMessage>::GetOwningArena(myactionrequestmessage); if (message_arena != submessage_arena) { myactionrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, myactionrequestmessage, submessage_arena); @@ -32244,8 +33215,8 @@ inline void PokerTHMessage::clear_youractionrejectedmessage() { } inline const ::YourActionRejectedMessage& PokerTHMessage::_internal_youractionrejectedmessage() const { const ::YourActionRejectedMessage* p = youractionrejectedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_YourActionRejectedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_YourActionRejectedMessage_default_instance_); } inline const ::YourActionRejectedMessage& PokerTHMessage::youractionrejectedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.yourActionRejectedMessage) @@ -32253,7 +33224,7 @@ inline const ::YourActionRejectedMessage& PokerTHMessage::youractionrejectedmess } inline void PokerTHMessage::unsafe_arena_set_allocated_youractionrejectedmessage( ::YourActionRejectedMessage* youractionrejectedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(youractionrejectedmessage_); } youractionrejectedmessage_ = youractionrejectedmessage; @@ -32265,10 +33236,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_youractionrejectedmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.yourActionRejectedMessage) } inline ::YourActionRejectedMessage* PokerTHMessage::release_youractionrejectedmessage() { - auto temp = unsafe_arena_release_youractionrejectedmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000400u; + ::YourActionRejectedMessage* temp = youractionrejectedmessage_; + youractionrejectedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::YourActionRejectedMessage* PokerTHMessage::unsafe_arena_release_youractionrejectedmessage() { @@ -32281,23 +33260,24 @@ inline ::YourActionRejectedMessage* PokerTHMessage::unsafe_arena_release_youract inline ::YourActionRejectedMessage* PokerTHMessage::_internal_mutable_youractionrejectedmessage() { _has_bits_[1] |= 0x00000400u; if (youractionrejectedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::YourActionRejectedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::YourActionRejectedMessage>(GetArenaForAllocation()); youractionrejectedmessage_ = p; } return youractionrejectedmessage_; } inline ::YourActionRejectedMessage* PokerTHMessage::mutable_youractionrejectedmessage() { + ::YourActionRejectedMessage* _msg = _internal_mutable_youractionrejectedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.yourActionRejectedMessage) - return _internal_mutable_youractionrejectedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_youractionrejectedmessage(::YourActionRejectedMessage* youractionrejectedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete youractionrejectedmessage_; } if (youractionrejectedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(youractionrejectedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::YourActionRejectedMessage>::GetOwningArena(youractionrejectedmessage); if (message_arena != submessage_arena) { youractionrejectedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, youractionrejectedmessage, submessage_arena); @@ -32325,8 +33305,8 @@ inline void PokerTHMessage::clear_playersactiondonemessage() { } inline const ::PlayersActionDoneMessage& PokerTHMessage::_internal_playersactiondonemessage() const { const ::PlayersActionDoneMessage* p = playersactiondonemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayersActionDoneMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayersActionDoneMessage_default_instance_); } inline const ::PlayersActionDoneMessage& PokerTHMessage::playersactiondonemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.playersActionDoneMessage) @@ -32334,7 +33314,7 @@ inline const ::PlayersActionDoneMessage& PokerTHMessage::playersactiondonemessag } inline void PokerTHMessage::unsafe_arena_set_allocated_playersactiondonemessage( ::PlayersActionDoneMessage* playersactiondonemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playersactiondonemessage_); } playersactiondonemessage_ = playersactiondonemessage; @@ -32346,10 +33326,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_playersactiondonemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.playersActionDoneMessage) } inline ::PlayersActionDoneMessage* PokerTHMessage::release_playersactiondonemessage() { - auto temp = unsafe_arena_release_playersactiondonemessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00000800u; + ::PlayersActionDoneMessage* temp = playersactiondonemessage_; + playersactiondonemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayersActionDoneMessage* PokerTHMessage::unsafe_arena_release_playersactiondonemessage() { @@ -32362,23 +33350,24 @@ inline ::PlayersActionDoneMessage* PokerTHMessage::unsafe_arena_release_playersa inline ::PlayersActionDoneMessage* PokerTHMessage::_internal_mutable_playersactiondonemessage() { _has_bits_[1] |= 0x00000800u; if (playersactiondonemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayersActionDoneMessage>(GetArena()); + auto* p = CreateMaybeMessage<::PlayersActionDoneMessage>(GetArenaForAllocation()); playersactiondonemessage_ = p; } return playersactiondonemessage_; } inline ::PlayersActionDoneMessage* PokerTHMessage::mutable_playersactiondonemessage() { + ::PlayersActionDoneMessage* _msg = _internal_mutable_playersactiondonemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.playersActionDoneMessage) - return _internal_mutable_playersactiondonemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_playersactiondonemessage(::PlayersActionDoneMessage* playersactiondonemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playersactiondonemessage_; } if (playersactiondonemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playersactiondonemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayersActionDoneMessage>::GetOwningArena(playersactiondonemessage); if (message_arena != submessage_arena) { playersactiondonemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playersactiondonemessage, submessage_arena); @@ -32406,8 +33395,8 @@ inline void PokerTHMessage::clear_dealflopcardsmessage() { } inline const ::DealFlopCardsMessage& PokerTHMessage::_internal_dealflopcardsmessage() const { const ::DealFlopCardsMessage* p = dealflopcardsmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_DealFlopCardsMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_DealFlopCardsMessage_default_instance_); } inline const ::DealFlopCardsMessage& PokerTHMessage::dealflopcardsmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.dealFlopCardsMessage) @@ -32415,7 +33404,7 @@ inline const ::DealFlopCardsMessage& PokerTHMessage::dealflopcardsmessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_dealflopcardsmessage( ::DealFlopCardsMessage* dealflopcardsmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dealflopcardsmessage_); } dealflopcardsmessage_ = dealflopcardsmessage; @@ -32427,10 +33416,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_dealflopcardsmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.dealFlopCardsMessage) } inline ::DealFlopCardsMessage* PokerTHMessage::release_dealflopcardsmessage() { - auto temp = unsafe_arena_release_dealflopcardsmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00001000u; + ::DealFlopCardsMessage* temp = dealflopcardsmessage_; + dealflopcardsmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::DealFlopCardsMessage* PokerTHMessage::unsafe_arena_release_dealflopcardsmessage() { @@ -32443,23 +33440,24 @@ inline ::DealFlopCardsMessage* PokerTHMessage::unsafe_arena_release_dealflopcard inline ::DealFlopCardsMessage* PokerTHMessage::_internal_mutable_dealflopcardsmessage() { _has_bits_[1] |= 0x00001000u; if (dealflopcardsmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::DealFlopCardsMessage>(GetArena()); + auto* p = CreateMaybeMessage<::DealFlopCardsMessage>(GetArenaForAllocation()); dealflopcardsmessage_ = p; } return dealflopcardsmessage_; } inline ::DealFlopCardsMessage* PokerTHMessage::mutable_dealflopcardsmessage() { + ::DealFlopCardsMessage* _msg = _internal_mutable_dealflopcardsmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.dealFlopCardsMessage) - return _internal_mutable_dealflopcardsmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_dealflopcardsmessage(::DealFlopCardsMessage* dealflopcardsmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete dealflopcardsmessage_; } if (dealflopcardsmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(dealflopcardsmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::DealFlopCardsMessage>::GetOwningArena(dealflopcardsmessage); if (message_arena != submessage_arena) { dealflopcardsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, dealflopcardsmessage, submessage_arena); @@ -32487,8 +33485,8 @@ inline void PokerTHMessage::clear_dealturncardmessage() { } inline const ::DealTurnCardMessage& PokerTHMessage::_internal_dealturncardmessage() const { const ::DealTurnCardMessage* p = dealturncardmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_DealTurnCardMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_DealTurnCardMessage_default_instance_); } inline const ::DealTurnCardMessage& PokerTHMessage::dealturncardmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.dealTurnCardMessage) @@ -32496,7 +33494,7 @@ inline const ::DealTurnCardMessage& PokerTHMessage::dealturncardmessage() const } inline void PokerTHMessage::unsafe_arena_set_allocated_dealturncardmessage( ::DealTurnCardMessage* dealturncardmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dealturncardmessage_); } dealturncardmessage_ = dealturncardmessage; @@ -32508,10 +33506,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_dealturncardmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.dealTurnCardMessage) } inline ::DealTurnCardMessage* PokerTHMessage::release_dealturncardmessage() { - auto temp = unsafe_arena_release_dealturncardmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00002000u; + ::DealTurnCardMessage* temp = dealturncardmessage_; + dealturncardmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::DealTurnCardMessage* PokerTHMessage::unsafe_arena_release_dealturncardmessage() { @@ -32524,23 +33530,24 @@ inline ::DealTurnCardMessage* PokerTHMessage::unsafe_arena_release_dealturncardm inline ::DealTurnCardMessage* PokerTHMessage::_internal_mutable_dealturncardmessage() { _has_bits_[1] |= 0x00002000u; if (dealturncardmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::DealTurnCardMessage>(GetArena()); + auto* p = CreateMaybeMessage<::DealTurnCardMessage>(GetArenaForAllocation()); dealturncardmessage_ = p; } return dealturncardmessage_; } inline ::DealTurnCardMessage* PokerTHMessage::mutable_dealturncardmessage() { + ::DealTurnCardMessage* _msg = _internal_mutable_dealturncardmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.dealTurnCardMessage) - return _internal_mutable_dealturncardmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_dealturncardmessage(::DealTurnCardMessage* dealturncardmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete dealturncardmessage_; } if (dealturncardmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(dealturncardmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::DealTurnCardMessage>::GetOwningArena(dealturncardmessage); if (message_arena != submessage_arena) { dealturncardmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, dealturncardmessage, submessage_arena); @@ -32568,8 +33575,8 @@ inline void PokerTHMessage::clear_dealrivercardmessage() { } inline const ::DealRiverCardMessage& PokerTHMessage::_internal_dealrivercardmessage() const { const ::DealRiverCardMessage* p = dealrivercardmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_DealRiverCardMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_DealRiverCardMessage_default_instance_); } inline const ::DealRiverCardMessage& PokerTHMessage::dealrivercardmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.dealRiverCardMessage) @@ -32577,7 +33584,7 @@ inline const ::DealRiverCardMessage& PokerTHMessage::dealrivercardmessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_dealrivercardmessage( ::DealRiverCardMessage* dealrivercardmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dealrivercardmessage_); } dealrivercardmessage_ = dealrivercardmessage; @@ -32589,10 +33596,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_dealrivercardmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.dealRiverCardMessage) } inline ::DealRiverCardMessage* PokerTHMessage::release_dealrivercardmessage() { - auto temp = unsafe_arena_release_dealrivercardmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00004000u; + ::DealRiverCardMessage* temp = dealrivercardmessage_; + dealrivercardmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::DealRiverCardMessage* PokerTHMessage::unsafe_arena_release_dealrivercardmessage() { @@ -32605,23 +33620,24 @@ inline ::DealRiverCardMessage* PokerTHMessage::unsafe_arena_release_dealrivercar inline ::DealRiverCardMessage* PokerTHMessage::_internal_mutable_dealrivercardmessage() { _has_bits_[1] |= 0x00004000u; if (dealrivercardmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::DealRiverCardMessage>(GetArena()); + auto* p = CreateMaybeMessage<::DealRiverCardMessage>(GetArenaForAllocation()); dealrivercardmessage_ = p; } return dealrivercardmessage_; } inline ::DealRiverCardMessage* PokerTHMessage::mutable_dealrivercardmessage() { + ::DealRiverCardMessage* _msg = _internal_mutable_dealrivercardmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.dealRiverCardMessage) - return _internal_mutable_dealrivercardmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_dealrivercardmessage(::DealRiverCardMessage* dealrivercardmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete dealrivercardmessage_; } if (dealrivercardmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(dealrivercardmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::DealRiverCardMessage>::GetOwningArena(dealrivercardmessage); if (message_arena != submessage_arena) { dealrivercardmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, dealrivercardmessage, submessage_arena); @@ -32649,8 +33665,8 @@ inline void PokerTHMessage::clear_allinshowcardsmessage() { } inline const ::AllInShowCardsMessage& PokerTHMessage::_internal_allinshowcardsmessage() const { const ::AllInShowCardsMessage* p = allinshowcardsmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AllInShowCardsMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AllInShowCardsMessage_default_instance_); } inline const ::AllInShowCardsMessage& PokerTHMessage::allinshowcardsmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.allInShowCardsMessage) @@ -32658,7 +33674,7 @@ inline const ::AllInShowCardsMessage& PokerTHMessage::allinshowcardsmessage() co } inline void PokerTHMessage::unsafe_arena_set_allocated_allinshowcardsmessage( ::AllInShowCardsMessage* allinshowcardsmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(allinshowcardsmessage_); } allinshowcardsmessage_ = allinshowcardsmessage; @@ -32670,10 +33686,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_allinshowcardsmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.allInShowCardsMessage) } inline ::AllInShowCardsMessage* PokerTHMessage::release_allinshowcardsmessage() { - auto temp = unsafe_arena_release_allinshowcardsmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00008000u; + ::AllInShowCardsMessage* temp = allinshowcardsmessage_; + allinshowcardsmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AllInShowCardsMessage* PokerTHMessage::unsafe_arena_release_allinshowcardsmessage() { @@ -32686,23 +33710,24 @@ inline ::AllInShowCardsMessage* PokerTHMessage::unsafe_arena_release_allinshowca inline ::AllInShowCardsMessage* PokerTHMessage::_internal_mutable_allinshowcardsmessage() { _has_bits_[1] |= 0x00008000u; if (allinshowcardsmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AllInShowCardsMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AllInShowCardsMessage>(GetArenaForAllocation()); allinshowcardsmessage_ = p; } return allinshowcardsmessage_; } inline ::AllInShowCardsMessage* PokerTHMessage::mutable_allinshowcardsmessage() { + ::AllInShowCardsMessage* _msg = _internal_mutable_allinshowcardsmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.allInShowCardsMessage) - return _internal_mutable_allinshowcardsmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_allinshowcardsmessage(::AllInShowCardsMessage* allinshowcardsmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete allinshowcardsmessage_; } if (allinshowcardsmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(allinshowcardsmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AllInShowCardsMessage>::GetOwningArena(allinshowcardsmessage); if (message_arena != submessage_arena) { allinshowcardsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, allinshowcardsmessage, submessage_arena); @@ -32730,8 +33755,8 @@ inline void PokerTHMessage::clear_endofhandshowcardsmessage() { } inline const ::EndOfHandShowCardsMessage& PokerTHMessage::_internal_endofhandshowcardsmessage() const { const ::EndOfHandShowCardsMessage* p = endofhandshowcardsmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_EndOfHandShowCardsMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_EndOfHandShowCardsMessage_default_instance_); } inline const ::EndOfHandShowCardsMessage& PokerTHMessage::endofhandshowcardsmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.endOfHandShowCardsMessage) @@ -32739,7 +33764,7 @@ inline const ::EndOfHandShowCardsMessage& PokerTHMessage::endofhandshowcardsmess } inline void PokerTHMessage::unsafe_arena_set_allocated_endofhandshowcardsmessage( ::EndOfHandShowCardsMessage* endofhandshowcardsmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(endofhandshowcardsmessage_); } endofhandshowcardsmessage_ = endofhandshowcardsmessage; @@ -32751,10 +33776,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_endofhandshowcardsmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.endOfHandShowCardsMessage) } inline ::EndOfHandShowCardsMessage* PokerTHMessage::release_endofhandshowcardsmessage() { - auto temp = unsafe_arena_release_endofhandshowcardsmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00010000u; + ::EndOfHandShowCardsMessage* temp = endofhandshowcardsmessage_; + endofhandshowcardsmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::EndOfHandShowCardsMessage* PokerTHMessage::unsafe_arena_release_endofhandshowcardsmessage() { @@ -32767,23 +33800,24 @@ inline ::EndOfHandShowCardsMessage* PokerTHMessage::unsafe_arena_release_endofha inline ::EndOfHandShowCardsMessage* PokerTHMessage::_internal_mutable_endofhandshowcardsmessage() { _has_bits_[1] |= 0x00010000u; if (endofhandshowcardsmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::EndOfHandShowCardsMessage>(GetArena()); + auto* p = CreateMaybeMessage<::EndOfHandShowCardsMessage>(GetArenaForAllocation()); endofhandshowcardsmessage_ = p; } return endofhandshowcardsmessage_; } inline ::EndOfHandShowCardsMessage* PokerTHMessage::mutable_endofhandshowcardsmessage() { + ::EndOfHandShowCardsMessage* _msg = _internal_mutable_endofhandshowcardsmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.endOfHandShowCardsMessage) - return _internal_mutable_endofhandshowcardsmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_endofhandshowcardsmessage(::EndOfHandShowCardsMessage* endofhandshowcardsmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete endofhandshowcardsmessage_; } if (endofhandshowcardsmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(endofhandshowcardsmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::EndOfHandShowCardsMessage>::GetOwningArena(endofhandshowcardsmessage); if (message_arena != submessage_arena) { endofhandshowcardsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, endofhandshowcardsmessage, submessage_arena); @@ -32811,8 +33845,8 @@ inline void PokerTHMessage::clear_endofhandhidecardsmessage() { } inline const ::EndOfHandHideCardsMessage& PokerTHMessage::_internal_endofhandhidecardsmessage() const { const ::EndOfHandHideCardsMessage* p = endofhandhidecardsmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_EndOfHandHideCardsMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_EndOfHandHideCardsMessage_default_instance_); } inline const ::EndOfHandHideCardsMessage& PokerTHMessage::endofhandhidecardsmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.endOfHandHideCardsMessage) @@ -32820,7 +33854,7 @@ inline const ::EndOfHandHideCardsMessage& PokerTHMessage::endofhandhidecardsmess } inline void PokerTHMessage::unsafe_arena_set_allocated_endofhandhidecardsmessage( ::EndOfHandHideCardsMessage* endofhandhidecardsmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(endofhandhidecardsmessage_); } endofhandhidecardsmessage_ = endofhandhidecardsmessage; @@ -32832,10 +33866,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_endofhandhidecardsmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.endOfHandHideCardsMessage) } inline ::EndOfHandHideCardsMessage* PokerTHMessage::release_endofhandhidecardsmessage() { - auto temp = unsafe_arena_release_endofhandhidecardsmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00020000u; + ::EndOfHandHideCardsMessage* temp = endofhandhidecardsmessage_; + endofhandhidecardsmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::EndOfHandHideCardsMessage* PokerTHMessage::unsafe_arena_release_endofhandhidecardsmessage() { @@ -32848,23 +33890,24 @@ inline ::EndOfHandHideCardsMessage* PokerTHMessage::unsafe_arena_release_endofha inline ::EndOfHandHideCardsMessage* PokerTHMessage::_internal_mutable_endofhandhidecardsmessage() { _has_bits_[1] |= 0x00020000u; if (endofhandhidecardsmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::EndOfHandHideCardsMessage>(GetArena()); + auto* p = CreateMaybeMessage<::EndOfHandHideCardsMessage>(GetArenaForAllocation()); endofhandhidecardsmessage_ = p; } return endofhandhidecardsmessage_; } inline ::EndOfHandHideCardsMessage* PokerTHMessage::mutable_endofhandhidecardsmessage() { + ::EndOfHandHideCardsMessage* _msg = _internal_mutable_endofhandhidecardsmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.endOfHandHideCardsMessage) - return _internal_mutable_endofhandhidecardsmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_endofhandhidecardsmessage(::EndOfHandHideCardsMessage* endofhandhidecardsmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete endofhandhidecardsmessage_; } if (endofhandhidecardsmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(endofhandhidecardsmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::EndOfHandHideCardsMessage>::GetOwningArena(endofhandhidecardsmessage); if (message_arena != submessage_arena) { endofhandhidecardsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, endofhandhidecardsmessage, submessage_arena); @@ -32892,8 +33935,8 @@ inline void PokerTHMessage::clear_showmycardsrequestmessage() { } inline const ::ShowMyCardsRequestMessage& PokerTHMessage::_internal_showmycardsrequestmessage() const { const ::ShowMyCardsRequestMessage* p = showmycardsrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ShowMyCardsRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ShowMyCardsRequestMessage_default_instance_); } inline const ::ShowMyCardsRequestMessage& PokerTHMessage::showmycardsrequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.showMyCardsRequestMessage) @@ -32901,7 +33944,7 @@ inline const ::ShowMyCardsRequestMessage& PokerTHMessage::showmycardsrequestmess } inline void PokerTHMessage::unsafe_arena_set_allocated_showmycardsrequestmessage( ::ShowMyCardsRequestMessage* showmycardsrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(showmycardsrequestmessage_); } showmycardsrequestmessage_ = showmycardsrequestmessage; @@ -32913,10 +33956,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_showmycardsrequestmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.showMyCardsRequestMessage) } inline ::ShowMyCardsRequestMessage* PokerTHMessage::release_showmycardsrequestmessage() { - auto temp = unsafe_arena_release_showmycardsrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00040000u; + ::ShowMyCardsRequestMessage* temp = showmycardsrequestmessage_; + showmycardsrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ShowMyCardsRequestMessage* PokerTHMessage::unsafe_arena_release_showmycardsrequestmessage() { @@ -32929,23 +33980,24 @@ inline ::ShowMyCardsRequestMessage* PokerTHMessage::unsafe_arena_release_showmyc inline ::ShowMyCardsRequestMessage* PokerTHMessage::_internal_mutable_showmycardsrequestmessage() { _has_bits_[1] |= 0x00040000u; if (showmycardsrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ShowMyCardsRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ShowMyCardsRequestMessage>(GetArenaForAllocation()); showmycardsrequestmessage_ = p; } return showmycardsrequestmessage_; } inline ::ShowMyCardsRequestMessage* PokerTHMessage::mutable_showmycardsrequestmessage() { + ::ShowMyCardsRequestMessage* _msg = _internal_mutable_showmycardsrequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.showMyCardsRequestMessage) - return _internal_mutable_showmycardsrequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_showmycardsrequestmessage(::ShowMyCardsRequestMessage* showmycardsrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete showmycardsrequestmessage_; } if (showmycardsrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(showmycardsrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ShowMyCardsRequestMessage>::GetOwningArena(showmycardsrequestmessage); if (message_arena != submessage_arena) { showmycardsrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, showmycardsrequestmessage, submessage_arena); @@ -32973,8 +34025,8 @@ inline void PokerTHMessage::clear_afterhandshowcardsmessage() { } inline const ::AfterHandShowCardsMessage& PokerTHMessage::_internal_afterhandshowcardsmessage() const { const ::AfterHandShowCardsMessage* p = afterhandshowcardsmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AfterHandShowCardsMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AfterHandShowCardsMessage_default_instance_); } inline const ::AfterHandShowCardsMessage& PokerTHMessage::afterhandshowcardsmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.afterHandShowCardsMessage) @@ -32982,7 +34034,7 @@ inline const ::AfterHandShowCardsMessage& PokerTHMessage::afterhandshowcardsmess } inline void PokerTHMessage::unsafe_arena_set_allocated_afterhandshowcardsmessage( ::AfterHandShowCardsMessage* afterhandshowcardsmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(afterhandshowcardsmessage_); } afterhandshowcardsmessage_ = afterhandshowcardsmessage; @@ -32994,10 +34046,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_afterhandshowcardsmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.afterHandShowCardsMessage) } inline ::AfterHandShowCardsMessage* PokerTHMessage::release_afterhandshowcardsmessage() { - auto temp = unsafe_arena_release_afterhandshowcardsmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00080000u; + ::AfterHandShowCardsMessage* temp = afterhandshowcardsmessage_; + afterhandshowcardsmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AfterHandShowCardsMessage* PokerTHMessage::unsafe_arena_release_afterhandshowcardsmessage() { @@ -33010,23 +34070,24 @@ inline ::AfterHandShowCardsMessage* PokerTHMessage::unsafe_arena_release_afterha inline ::AfterHandShowCardsMessage* PokerTHMessage::_internal_mutable_afterhandshowcardsmessage() { _has_bits_[1] |= 0x00080000u; if (afterhandshowcardsmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AfterHandShowCardsMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AfterHandShowCardsMessage>(GetArenaForAllocation()); afterhandshowcardsmessage_ = p; } return afterhandshowcardsmessage_; } inline ::AfterHandShowCardsMessage* PokerTHMessage::mutable_afterhandshowcardsmessage() { + ::AfterHandShowCardsMessage* _msg = _internal_mutable_afterhandshowcardsmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.afterHandShowCardsMessage) - return _internal_mutable_afterhandshowcardsmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_afterhandshowcardsmessage(::AfterHandShowCardsMessage* afterhandshowcardsmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete afterhandshowcardsmessage_; } if (afterhandshowcardsmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(afterhandshowcardsmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AfterHandShowCardsMessage>::GetOwningArena(afterhandshowcardsmessage); if (message_arena != submessage_arena) { afterhandshowcardsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, afterhandshowcardsmessage, submessage_arena); @@ -33054,8 +34115,8 @@ inline void PokerTHMessage::clear_endofgamemessage() { } inline const ::EndOfGameMessage& PokerTHMessage::_internal_endofgamemessage() const { const ::EndOfGameMessage* p = endofgamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_EndOfGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_EndOfGameMessage_default_instance_); } inline const ::EndOfGameMessage& PokerTHMessage::endofgamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.endOfGameMessage) @@ -33063,7 +34124,7 @@ inline const ::EndOfGameMessage& PokerTHMessage::endofgamemessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_endofgamemessage( ::EndOfGameMessage* endofgamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(endofgamemessage_); } endofgamemessage_ = endofgamemessage; @@ -33075,10 +34136,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_endofgamemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.endOfGameMessage) } inline ::EndOfGameMessage* PokerTHMessage::release_endofgamemessage() { - auto temp = unsafe_arena_release_endofgamemessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00100000u; + ::EndOfGameMessage* temp = endofgamemessage_; + endofgamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::EndOfGameMessage* PokerTHMessage::unsafe_arena_release_endofgamemessage() { @@ -33091,23 +34160,24 @@ inline ::EndOfGameMessage* PokerTHMessage::unsafe_arena_release_endofgamemessage inline ::EndOfGameMessage* PokerTHMessage::_internal_mutable_endofgamemessage() { _has_bits_[1] |= 0x00100000u; if (endofgamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::EndOfGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::EndOfGameMessage>(GetArenaForAllocation()); endofgamemessage_ = p; } return endofgamemessage_; } inline ::EndOfGameMessage* PokerTHMessage::mutable_endofgamemessage() { + ::EndOfGameMessage* _msg = _internal_mutable_endofgamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.endOfGameMessage) - return _internal_mutable_endofgamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_endofgamemessage(::EndOfGameMessage* endofgamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete endofgamemessage_; } if (endofgamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(endofgamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::EndOfGameMessage>::GetOwningArena(endofgamemessage); if (message_arena != submessage_arena) { endofgamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, endofgamemessage, submessage_arena); @@ -33135,8 +34205,8 @@ inline void PokerTHMessage::clear_playeridchangedmessage() { } inline const ::PlayerIdChangedMessage& PokerTHMessage::_internal_playeridchangedmessage() const { const ::PlayerIdChangedMessage* p = playeridchangedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_PlayerIdChangedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_PlayerIdChangedMessage_default_instance_); } inline const ::PlayerIdChangedMessage& PokerTHMessage::playeridchangedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.playerIdChangedMessage) @@ -33144,7 +34214,7 @@ inline const ::PlayerIdChangedMessage& PokerTHMessage::playeridchangedmessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_playeridchangedmessage( ::PlayerIdChangedMessage* playeridchangedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(playeridchangedmessage_); } playeridchangedmessage_ = playeridchangedmessage; @@ -33156,10 +34226,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_playeridchangedmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.playerIdChangedMessage) } inline ::PlayerIdChangedMessage* PokerTHMessage::release_playeridchangedmessage() { - auto temp = unsafe_arena_release_playeridchangedmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00200000u; + ::PlayerIdChangedMessage* temp = playeridchangedmessage_; + playeridchangedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::PlayerIdChangedMessage* PokerTHMessage::unsafe_arena_release_playeridchangedmessage() { @@ -33172,23 +34250,24 @@ inline ::PlayerIdChangedMessage* PokerTHMessage::unsafe_arena_release_playeridch inline ::PlayerIdChangedMessage* PokerTHMessage::_internal_mutable_playeridchangedmessage() { _has_bits_[1] |= 0x00200000u; if (playeridchangedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::PlayerIdChangedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::PlayerIdChangedMessage>(GetArenaForAllocation()); playeridchangedmessage_ = p; } return playeridchangedmessage_; } inline ::PlayerIdChangedMessage* PokerTHMessage::mutable_playeridchangedmessage() { + ::PlayerIdChangedMessage* _msg = _internal_mutable_playeridchangedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.playerIdChangedMessage) - return _internal_mutable_playeridchangedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_playeridchangedmessage(::PlayerIdChangedMessage* playeridchangedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete playeridchangedmessage_; } if (playeridchangedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(playeridchangedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::PlayerIdChangedMessage>::GetOwningArena(playeridchangedmessage); if (message_arena != submessage_arena) { playeridchangedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, playeridchangedmessage, submessage_arena); @@ -33216,8 +34295,8 @@ inline void PokerTHMessage::clear_askkickplayermessage() { } inline const ::AskKickPlayerMessage& PokerTHMessage::_internal_askkickplayermessage() const { const ::AskKickPlayerMessage* p = askkickplayermessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AskKickPlayerMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AskKickPlayerMessage_default_instance_); } inline const ::AskKickPlayerMessage& PokerTHMessage::askkickplayermessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.askKickPlayerMessage) @@ -33225,7 +34304,7 @@ inline const ::AskKickPlayerMessage& PokerTHMessage::askkickplayermessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_askkickplayermessage( ::AskKickPlayerMessage* askkickplayermessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(askkickplayermessage_); } askkickplayermessage_ = askkickplayermessage; @@ -33237,10 +34316,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_askkickplayermessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.askKickPlayerMessage) } inline ::AskKickPlayerMessage* PokerTHMessage::release_askkickplayermessage() { - auto temp = unsafe_arena_release_askkickplayermessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00400000u; + ::AskKickPlayerMessage* temp = askkickplayermessage_; + askkickplayermessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AskKickPlayerMessage* PokerTHMessage::unsafe_arena_release_askkickplayermessage() { @@ -33253,23 +34340,24 @@ inline ::AskKickPlayerMessage* PokerTHMessage::unsafe_arena_release_askkickplaye inline ::AskKickPlayerMessage* PokerTHMessage::_internal_mutable_askkickplayermessage() { _has_bits_[1] |= 0x00400000u; if (askkickplayermessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AskKickPlayerMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AskKickPlayerMessage>(GetArenaForAllocation()); askkickplayermessage_ = p; } return askkickplayermessage_; } inline ::AskKickPlayerMessage* PokerTHMessage::mutable_askkickplayermessage() { + ::AskKickPlayerMessage* _msg = _internal_mutable_askkickplayermessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.askKickPlayerMessage) - return _internal_mutable_askkickplayermessage(); + return _msg; } inline void PokerTHMessage::set_allocated_askkickplayermessage(::AskKickPlayerMessage* askkickplayermessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete askkickplayermessage_; } if (askkickplayermessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(askkickplayermessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AskKickPlayerMessage>::GetOwningArena(askkickplayermessage); if (message_arena != submessage_arena) { askkickplayermessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, askkickplayermessage, submessage_arena); @@ -33297,8 +34385,8 @@ inline void PokerTHMessage::clear_askkickdeniedmessage() { } inline const ::AskKickDeniedMessage& PokerTHMessage::_internal_askkickdeniedmessage() const { const ::AskKickDeniedMessage* p = askkickdeniedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AskKickDeniedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AskKickDeniedMessage_default_instance_); } inline const ::AskKickDeniedMessage& PokerTHMessage::askkickdeniedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.askKickDeniedMessage) @@ -33306,7 +34394,7 @@ inline const ::AskKickDeniedMessage& PokerTHMessage::askkickdeniedmessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_askkickdeniedmessage( ::AskKickDeniedMessage* askkickdeniedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(askkickdeniedmessage_); } askkickdeniedmessage_ = askkickdeniedmessage; @@ -33318,10 +34406,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_askkickdeniedmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.askKickDeniedMessage) } inline ::AskKickDeniedMessage* PokerTHMessage::release_askkickdeniedmessage() { - auto temp = unsafe_arena_release_askkickdeniedmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x00800000u; + ::AskKickDeniedMessage* temp = askkickdeniedmessage_; + askkickdeniedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AskKickDeniedMessage* PokerTHMessage::unsafe_arena_release_askkickdeniedmessage() { @@ -33334,23 +34430,24 @@ inline ::AskKickDeniedMessage* PokerTHMessage::unsafe_arena_release_askkickdenie inline ::AskKickDeniedMessage* PokerTHMessage::_internal_mutable_askkickdeniedmessage() { _has_bits_[1] |= 0x00800000u; if (askkickdeniedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AskKickDeniedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AskKickDeniedMessage>(GetArenaForAllocation()); askkickdeniedmessage_ = p; } return askkickdeniedmessage_; } inline ::AskKickDeniedMessage* PokerTHMessage::mutable_askkickdeniedmessage() { + ::AskKickDeniedMessage* _msg = _internal_mutable_askkickdeniedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.askKickDeniedMessage) - return _internal_mutable_askkickdeniedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_askkickdeniedmessage(::AskKickDeniedMessage* askkickdeniedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete askkickdeniedmessage_; } if (askkickdeniedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(askkickdeniedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AskKickDeniedMessage>::GetOwningArena(askkickdeniedmessage); if (message_arena != submessage_arena) { askkickdeniedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, askkickdeniedmessage, submessage_arena); @@ -33378,8 +34475,8 @@ inline void PokerTHMessage::clear_startkickpetitionmessage() { } inline const ::StartKickPetitionMessage& PokerTHMessage::_internal_startkickpetitionmessage() const { const ::StartKickPetitionMessage* p = startkickpetitionmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_StartKickPetitionMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_StartKickPetitionMessage_default_instance_); } inline const ::StartKickPetitionMessage& PokerTHMessage::startkickpetitionmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.startKickPetitionMessage) @@ -33387,7 +34484,7 @@ inline const ::StartKickPetitionMessage& PokerTHMessage::startkickpetitionmessag } inline void PokerTHMessage::unsafe_arena_set_allocated_startkickpetitionmessage( ::StartKickPetitionMessage* startkickpetitionmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(startkickpetitionmessage_); } startkickpetitionmessage_ = startkickpetitionmessage; @@ -33399,10 +34496,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_startkickpetitionmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.startKickPetitionMessage) } inline ::StartKickPetitionMessage* PokerTHMessage::release_startkickpetitionmessage() { - auto temp = unsafe_arena_release_startkickpetitionmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x01000000u; + ::StartKickPetitionMessage* temp = startkickpetitionmessage_; + startkickpetitionmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::StartKickPetitionMessage* PokerTHMessage::unsafe_arena_release_startkickpetitionmessage() { @@ -33415,23 +34520,24 @@ inline ::StartKickPetitionMessage* PokerTHMessage::unsafe_arena_release_startkic inline ::StartKickPetitionMessage* PokerTHMessage::_internal_mutable_startkickpetitionmessage() { _has_bits_[1] |= 0x01000000u; if (startkickpetitionmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::StartKickPetitionMessage>(GetArena()); + auto* p = CreateMaybeMessage<::StartKickPetitionMessage>(GetArenaForAllocation()); startkickpetitionmessage_ = p; } return startkickpetitionmessage_; } inline ::StartKickPetitionMessage* PokerTHMessage::mutable_startkickpetitionmessage() { + ::StartKickPetitionMessage* _msg = _internal_mutable_startkickpetitionmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.startKickPetitionMessage) - return _internal_mutable_startkickpetitionmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_startkickpetitionmessage(::StartKickPetitionMessage* startkickpetitionmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete startkickpetitionmessage_; } if (startkickpetitionmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(startkickpetitionmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::StartKickPetitionMessage>::GetOwningArena(startkickpetitionmessage); if (message_arena != submessage_arena) { startkickpetitionmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, startkickpetitionmessage, submessage_arena); @@ -33459,8 +34565,8 @@ inline void PokerTHMessage::clear_votekickrequestmessage() { } inline const ::VoteKickRequestMessage& PokerTHMessage::_internal_votekickrequestmessage() const { const ::VoteKickRequestMessage* p = votekickrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_VoteKickRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_VoteKickRequestMessage_default_instance_); } inline const ::VoteKickRequestMessage& PokerTHMessage::votekickrequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.voteKickRequestMessage) @@ -33468,7 +34574,7 @@ inline const ::VoteKickRequestMessage& PokerTHMessage::votekickrequestmessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_votekickrequestmessage( ::VoteKickRequestMessage* votekickrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(votekickrequestmessage_); } votekickrequestmessage_ = votekickrequestmessage; @@ -33480,10 +34586,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_votekickrequestmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.voteKickRequestMessage) } inline ::VoteKickRequestMessage* PokerTHMessage::release_votekickrequestmessage() { - auto temp = unsafe_arena_release_votekickrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x02000000u; + ::VoteKickRequestMessage* temp = votekickrequestmessage_; + votekickrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::VoteKickRequestMessage* PokerTHMessage::unsafe_arena_release_votekickrequestmessage() { @@ -33496,23 +34610,24 @@ inline ::VoteKickRequestMessage* PokerTHMessage::unsafe_arena_release_votekickre inline ::VoteKickRequestMessage* PokerTHMessage::_internal_mutable_votekickrequestmessage() { _has_bits_[1] |= 0x02000000u; if (votekickrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::VoteKickRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::VoteKickRequestMessage>(GetArenaForAllocation()); votekickrequestmessage_ = p; } return votekickrequestmessage_; } inline ::VoteKickRequestMessage* PokerTHMessage::mutable_votekickrequestmessage() { + ::VoteKickRequestMessage* _msg = _internal_mutable_votekickrequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.voteKickRequestMessage) - return _internal_mutable_votekickrequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_votekickrequestmessage(::VoteKickRequestMessage* votekickrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete votekickrequestmessage_; } if (votekickrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(votekickrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::VoteKickRequestMessage>::GetOwningArena(votekickrequestmessage); if (message_arena != submessage_arena) { votekickrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, votekickrequestmessage, submessage_arena); @@ -33540,8 +34655,8 @@ inline void PokerTHMessage::clear_votekickreplymessage() { } inline const ::VoteKickReplyMessage& PokerTHMessage::_internal_votekickreplymessage() const { const ::VoteKickReplyMessage* p = votekickreplymessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_VoteKickReplyMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_VoteKickReplyMessage_default_instance_); } inline const ::VoteKickReplyMessage& PokerTHMessage::votekickreplymessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.voteKickReplyMessage) @@ -33549,7 +34664,7 @@ inline const ::VoteKickReplyMessage& PokerTHMessage::votekickreplymessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_votekickreplymessage( ::VoteKickReplyMessage* votekickreplymessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(votekickreplymessage_); } votekickreplymessage_ = votekickreplymessage; @@ -33561,10 +34676,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_votekickreplymessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.voteKickReplyMessage) } inline ::VoteKickReplyMessage* PokerTHMessage::release_votekickreplymessage() { - auto temp = unsafe_arena_release_votekickreplymessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x04000000u; + ::VoteKickReplyMessage* temp = votekickreplymessage_; + votekickreplymessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::VoteKickReplyMessage* PokerTHMessage::unsafe_arena_release_votekickreplymessage() { @@ -33577,23 +34700,24 @@ inline ::VoteKickReplyMessage* PokerTHMessage::unsafe_arena_release_votekickrepl inline ::VoteKickReplyMessage* PokerTHMessage::_internal_mutable_votekickreplymessage() { _has_bits_[1] |= 0x04000000u; if (votekickreplymessage_ == nullptr) { - auto* p = CreateMaybeMessage<::VoteKickReplyMessage>(GetArena()); + auto* p = CreateMaybeMessage<::VoteKickReplyMessage>(GetArenaForAllocation()); votekickreplymessage_ = p; } return votekickreplymessage_; } inline ::VoteKickReplyMessage* PokerTHMessage::mutable_votekickreplymessage() { + ::VoteKickReplyMessage* _msg = _internal_mutable_votekickreplymessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.voteKickReplyMessage) - return _internal_mutable_votekickreplymessage(); + return _msg; } inline void PokerTHMessage::set_allocated_votekickreplymessage(::VoteKickReplyMessage* votekickreplymessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete votekickreplymessage_; } if (votekickreplymessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(votekickreplymessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::VoteKickReplyMessage>::GetOwningArena(votekickreplymessage); if (message_arena != submessage_arena) { votekickreplymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, votekickreplymessage, submessage_arena); @@ -33621,8 +34745,8 @@ inline void PokerTHMessage::clear_kickpetitionupdatemessage() { } inline const ::KickPetitionUpdateMessage& PokerTHMessage::_internal_kickpetitionupdatemessage() const { const ::KickPetitionUpdateMessage* p = kickpetitionupdatemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_KickPetitionUpdateMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_KickPetitionUpdateMessage_default_instance_); } inline const ::KickPetitionUpdateMessage& PokerTHMessage::kickpetitionupdatemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.kickPetitionUpdateMessage) @@ -33630,7 +34754,7 @@ inline const ::KickPetitionUpdateMessage& PokerTHMessage::kickpetitionupdatemess } inline void PokerTHMessage::unsafe_arena_set_allocated_kickpetitionupdatemessage( ::KickPetitionUpdateMessage* kickpetitionupdatemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(kickpetitionupdatemessage_); } kickpetitionupdatemessage_ = kickpetitionupdatemessage; @@ -33642,10 +34766,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_kickpetitionupdatemessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.kickPetitionUpdateMessage) } inline ::KickPetitionUpdateMessage* PokerTHMessage::release_kickpetitionupdatemessage() { - auto temp = unsafe_arena_release_kickpetitionupdatemessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x08000000u; + ::KickPetitionUpdateMessage* temp = kickpetitionupdatemessage_; + kickpetitionupdatemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::KickPetitionUpdateMessage* PokerTHMessage::unsafe_arena_release_kickpetitionupdatemessage() { @@ -33658,23 +34790,24 @@ inline ::KickPetitionUpdateMessage* PokerTHMessage::unsafe_arena_release_kickpet inline ::KickPetitionUpdateMessage* PokerTHMessage::_internal_mutable_kickpetitionupdatemessage() { _has_bits_[1] |= 0x08000000u; if (kickpetitionupdatemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::KickPetitionUpdateMessage>(GetArena()); + auto* p = CreateMaybeMessage<::KickPetitionUpdateMessage>(GetArenaForAllocation()); kickpetitionupdatemessage_ = p; } return kickpetitionupdatemessage_; } inline ::KickPetitionUpdateMessage* PokerTHMessage::mutable_kickpetitionupdatemessage() { + ::KickPetitionUpdateMessage* _msg = _internal_mutable_kickpetitionupdatemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.kickPetitionUpdateMessage) - return _internal_mutable_kickpetitionupdatemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_kickpetitionupdatemessage(::KickPetitionUpdateMessage* kickpetitionupdatemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete kickpetitionupdatemessage_; } if (kickpetitionupdatemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(kickpetitionupdatemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::KickPetitionUpdateMessage>::GetOwningArena(kickpetitionupdatemessage); if (message_arena != submessage_arena) { kickpetitionupdatemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, kickpetitionupdatemessage, submessage_arena); @@ -33702,8 +34835,8 @@ inline void PokerTHMessage::clear_endkickpetitionmessage() { } inline const ::EndKickPetitionMessage& PokerTHMessage::_internal_endkickpetitionmessage() const { const ::EndKickPetitionMessage* p = endkickpetitionmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_EndKickPetitionMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_EndKickPetitionMessage_default_instance_); } inline const ::EndKickPetitionMessage& PokerTHMessage::endkickpetitionmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.endKickPetitionMessage) @@ -33711,7 +34844,7 @@ inline const ::EndKickPetitionMessage& PokerTHMessage::endkickpetitionmessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_endkickpetitionmessage( ::EndKickPetitionMessage* endkickpetitionmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(endkickpetitionmessage_); } endkickpetitionmessage_ = endkickpetitionmessage; @@ -33723,10 +34856,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_endkickpetitionmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.endKickPetitionMessage) } inline ::EndKickPetitionMessage* PokerTHMessage::release_endkickpetitionmessage() { - auto temp = unsafe_arena_release_endkickpetitionmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x10000000u; + ::EndKickPetitionMessage* temp = endkickpetitionmessage_; + endkickpetitionmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::EndKickPetitionMessage* PokerTHMessage::unsafe_arena_release_endkickpetitionmessage() { @@ -33739,23 +34880,24 @@ inline ::EndKickPetitionMessage* PokerTHMessage::unsafe_arena_release_endkickpet inline ::EndKickPetitionMessage* PokerTHMessage::_internal_mutable_endkickpetitionmessage() { _has_bits_[1] |= 0x10000000u; if (endkickpetitionmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::EndKickPetitionMessage>(GetArena()); + auto* p = CreateMaybeMessage<::EndKickPetitionMessage>(GetArenaForAllocation()); endkickpetitionmessage_ = p; } return endkickpetitionmessage_; } inline ::EndKickPetitionMessage* PokerTHMessage::mutable_endkickpetitionmessage() { + ::EndKickPetitionMessage* _msg = _internal_mutable_endkickpetitionmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.endKickPetitionMessage) - return _internal_mutable_endkickpetitionmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_endkickpetitionmessage(::EndKickPetitionMessage* endkickpetitionmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete endkickpetitionmessage_; } if (endkickpetitionmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(endkickpetitionmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::EndKickPetitionMessage>::GetOwningArena(endkickpetitionmessage); if (message_arena != submessage_arena) { endkickpetitionmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, endkickpetitionmessage, submessage_arena); @@ -33783,8 +34925,8 @@ inline void PokerTHMessage::clear_statisticsmessage() { } inline const ::StatisticsMessage& PokerTHMessage::_internal_statisticsmessage() const { const ::StatisticsMessage* p = statisticsmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_StatisticsMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_StatisticsMessage_default_instance_); } inline const ::StatisticsMessage& PokerTHMessage::statisticsmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.statisticsMessage) @@ -33792,7 +34934,7 @@ inline const ::StatisticsMessage& PokerTHMessage::statisticsmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_statisticsmessage( ::StatisticsMessage* statisticsmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(statisticsmessage_); } statisticsmessage_ = statisticsmessage; @@ -33804,10 +34946,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_statisticsmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.statisticsMessage) } inline ::StatisticsMessage* PokerTHMessage::release_statisticsmessage() { - auto temp = unsafe_arena_release_statisticsmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x20000000u; + ::StatisticsMessage* temp = statisticsmessage_; + statisticsmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::StatisticsMessage* PokerTHMessage::unsafe_arena_release_statisticsmessage() { @@ -33820,23 +34970,24 @@ inline ::StatisticsMessage* PokerTHMessage::unsafe_arena_release_statisticsmessa inline ::StatisticsMessage* PokerTHMessage::_internal_mutable_statisticsmessage() { _has_bits_[1] |= 0x20000000u; if (statisticsmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::StatisticsMessage>(GetArena()); + auto* p = CreateMaybeMessage<::StatisticsMessage>(GetArenaForAllocation()); statisticsmessage_ = p; } return statisticsmessage_; } inline ::StatisticsMessage* PokerTHMessage::mutable_statisticsmessage() { + ::StatisticsMessage* _msg = _internal_mutable_statisticsmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.statisticsMessage) - return _internal_mutable_statisticsmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_statisticsmessage(::StatisticsMessage* statisticsmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete statisticsmessage_; } if (statisticsmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(statisticsmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::StatisticsMessage>::GetOwningArena(statisticsmessage); if (message_arena != submessage_arena) { statisticsmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, statisticsmessage, submessage_arena); @@ -33864,8 +35015,8 @@ inline void PokerTHMessage::clear_chatrequestmessage() { } inline const ::ChatRequestMessage& PokerTHMessage::_internal_chatrequestmessage() const { const ::ChatRequestMessage* p = chatrequestmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ChatRequestMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ChatRequestMessage_default_instance_); } inline const ::ChatRequestMessage& PokerTHMessage::chatrequestmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.chatRequestMessage) @@ -33873,7 +35024,7 @@ inline const ::ChatRequestMessage& PokerTHMessage::chatrequestmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_chatrequestmessage( ::ChatRequestMessage* chatrequestmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chatrequestmessage_); } chatrequestmessage_ = chatrequestmessage; @@ -33885,10 +35036,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_chatrequestmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.chatRequestMessage) } inline ::ChatRequestMessage* PokerTHMessage::release_chatrequestmessage() { - auto temp = unsafe_arena_release_chatrequestmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x40000000u; + ::ChatRequestMessage* temp = chatrequestmessage_; + chatrequestmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ChatRequestMessage* PokerTHMessage::unsafe_arena_release_chatrequestmessage() { @@ -33901,23 +35060,24 @@ inline ::ChatRequestMessage* PokerTHMessage::unsafe_arena_release_chatrequestmes inline ::ChatRequestMessage* PokerTHMessage::_internal_mutable_chatrequestmessage() { _has_bits_[1] |= 0x40000000u; if (chatrequestmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ChatRequestMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ChatRequestMessage>(GetArenaForAllocation()); chatrequestmessage_ = p; } return chatrequestmessage_; } inline ::ChatRequestMessage* PokerTHMessage::mutable_chatrequestmessage() { + ::ChatRequestMessage* _msg = _internal_mutable_chatrequestmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.chatRequestMessage) - return _internal_mutable_chatrequestmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_chatrequestmessage(::ChatRequestMessage* chatrequestmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete chatrequestmessage_; } if (chatrequestmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(chatrequestmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ChatRequestMessage>::GetOwningArena(chatrequestmessage); if (message_arena != submessage_arena) { chatrequestmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, chatrequestmessage, submessage_arena); @@ -33945,8 +35105,8 @@ inline void PokerTHMessage::clear_chatmessage() { } inline const ::ChatMessage& PokerTHMessage::_internal_chatmessage() const { const ::ChatMessage* p = chatmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ChatMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ChatMessage_default_instance_); } inline const ::ChatMessage& PokerTHMessage::chatmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.chatMessage) @@ -33954,7 +35114,7 @@ inline const ::ChatMessage& PokerTHMessage::chatmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_chatmessage( ::ChatMessage* chatmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chatmessage_); } chatmessage_ = chatmessage; @@ -33966,10 +35126,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_chatmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.chatMessage) } inline ::ChatMessage* PokerTHMessage::release_chatmessage() { - auto temp = unsafe_arena_release_chatmessage(); - if (GetArena() != nullptr) { + _has_bits_[1] &= ~0x80000000u; + ::ChatMessage* temp = chatmessage_; + chatmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ChatMessage* PokerTHMessage::unsafe_arena_release_chatmessage() { @@ -33982,23 +35150,24 @@ inline ::ChatMessage* PokerTHMessage::unsafe_arena_release_chatmessage() { inline ::ChatMessage* PokerTHMessage::_internal_mutable_chatmessage() { _has_bits_[1] |= 0x80000000u; if (chatmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ChatMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ChatMessage>(GetArenaForAllocation()); chatmessage_ = p; } return chatmessage_; } inline ::ChatMessage* PokerTHMessage::mutable_chatmessage() { + ::ChatMessage* _msg = _internal_mutable_chatmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.chatMessage) - return _internal_mutable_chatmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_chatmessage(::ChatMessage* chatmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete chatmessage_; } if (chatmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(chatmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ChatMessage>::GetOwningArena(chatmessage); if (message_arena != submessage_arena) { chatmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, chatmessage, submessage_arena); @@ -34026,8 +35195,8 @@ inline void PokerTHMessage::clear_chatrejectmessage() { } inline const ::ChatRejectMessage& PokerTHMessage::_internal_chatrejectmessage() const { const ::ChatRejectMessage* p = chatrejectmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ChatRejectMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ChatRejectMessage_default_instance_); } inline const ::ChatRejectMessage& PokerTHMessage::chatrejectmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.chatRejectMessage) @@ -34035,7 +35204,7 @@ inline const ::ChatRejectMessage& PokerTHMessage::chatrejectmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_chatrejectmessage( ::ChatRejectMessage* chatrejectmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(chatrejectmessage_); } chatrejectmessage_ = chatrejectmessage; @@ -34047,10 +35216,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_chatrejectmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.chatRejectMessage) } inline ::ChatRejectMessage* PokerTHMessage::release_chatrejectmessage() { - auto temp = unsafe_arena_release_chatrejectmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000001u; + ::ChatRejectMessage* temp = chatrejectmessage_; + chatrejectmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ChatRejectMessage* PokerTHMessage::unsafe_arena_release_chatrejectmessage() { @@ -34063,23 +35240,24 @@ inline ::ChatRejectMessage* PokerTHMessage::unsafe_arena_release_chatrejectmessa inline ::ChatRejectMessage* PokerTHMessage::_internal_mutable_chatrejectmessage() { _has_bits_[2] |= 0x00000001u; if (chatrejectmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ChatRejectMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ChatRejectMessage>(GetArenaForAllocation()); chatrejectmessage_ = p; } return chatrejectmessage_; } inline ::ChatRejectMessage* PokerTHMessage::mutable_chatrejectmessage() { + ::ChatRejectMessage* _msg = _internal_mutable_chatrejectmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.chatRejectMessage) - return _internal_mutable_chatrejectmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_chatrejectmessage(::ChatRejectMessage* chatrejectmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete chatrejectmessage_; } if (chatrejectmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(chatrejectmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ChatRejectMessage>::GetOwningArena(chatrejectmessage); if (message_arena != submessage_arena) { chatrejectmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, chatrejectmessage, submessage_arena); @@ -34107,8 +35285,8 @@ inline void PokerTHMessage::clear_dialogmessage() { } inline const ::DialogMessage& PokerTHMessage::_internal_dialogmessage() const { const ::DialogMessage* p = dialogmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_DialogMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_DialogMessage_default_instance_); } inline const ::DialogMessage& PokerTHMessage::dialogmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.dialogMessage) @@ -34116,7 +35294,7 @@ inline const ::DialogMessage& PokerTHMessage::dialogmessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_dialogmessage( ::DialogMessage* dialogmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(dialogmessage_); } dialogmessage_ = dialogmessage; @@ -34128,10 +35306,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_dialogmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.dialogMessage) } inline ::DialogMessage* PokerTHMessage::release_dialogmessage() { - auto temp = unsafe_arena_release_dialogmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000002u; + ::DialogMessage* temp = dialogmessage_; + dialogmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::DialogMessage* PokerTHMessage::unsafe_arena_release_dialogmessage() { @@ -34144,23 +35330,24 @@ inline ::DialogMessage* PokerTHMessage::unsafe_arena_release_dialogmessage() { inline ::DialogMessage* PokerTHMessage::_internal_mutable_dialogmessage() { _has_bits_[2] |= 0x00000002u; if (dialogmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::DialogMessage>(GetArena()); + auto* p = CreateMaybeMessage<::DialogMessage>(GetArenaForAllocation()); dialogmessage_ = p; } return dialogmessage_; } inline ::DialogMessage* PokerTHMessage::mutable_dialogmessage() { + ::DialogMessage* _msg = _internal_mutable_dialogmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.dialogMessage) - return _internal_mutable_dialogmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_dialogmessage(::DialogMessage* dialogmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete dialogmessage_; } if (dialogmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(dialogmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::DialogMessage>::GetOwningArena(dialogmessage); if (message_arena != submessage_arena) { dialogmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, dialogmessage, submessage_arena); @@ -34188,8 +35375,8 @@ inline void PokerTHMessage::clear_timeoutwarningmessage() { } inline const ::TimeoutWarningMessage& PokerTHMessage::_internal_timeoutwarningmessage() const { const ::TimeoutWarningMessage* p = timeoutwarningmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_TimeoutWarningMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_TimeoutWarningMessage_default_instance_); } inline const ::TimeoutWarningMessage& PokerTHMessage::timeoutwarningmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.timeoutWarningMessage) @@ -34197,7 +35384,7 @@ inline const ::TimeoutWarningMessage& PokerTHMessage::timeoutwarningmessage() co } inline void PokerTHMessage::unsafe_arena_set_allocated_timeoutwarningmessage( ::TimeoutWarningMessage* timeoutwarningmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(timeoutwarningmessage_); } timeoutwarningmessage_ = timeoutwarningmessage; @@ -34209,10 +35396,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_timeoutwarningmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.timeoutWarningMessage) } inline ::TimeoutWarningMessage* PokerTHMessage::release_timeoutwarningmessage() { - auto temp = unsafe_arena_release_timeoutwarningmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000004u; + ::TimeoutWarningMessage* temp = timeoutwarningmessage_; + timeoutwarningmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::TimeoutWarningMessage* PokerTHMessage::unsafe_arena_release_timeoutwarningmessage() { @@ -34225,23 +35420,24 @@ inline ::TimeoutWarningMessage* PokerTHMessage::unsafe_arena_release_timeoutwarn inline ::TimeoutWarningMessage* PokerTHMessage::_internal_mutable_timeoutwarningmessage() { _has_bits_[2] |= 0x00000004u; if (timeoutwarningmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::TimeoutWarningMessage>(GetArena()); + auto* p = CreateMaybeMessage<::TimeoutWarningMessage>(GetArenaForAllocation()); timeoutwarningmessage_ = p; } return timeoutwarningmessage_; } inline ::TimeoutWarningMessage* PokerTHMessage::mutable_timeoutwarningmessage() { + ::TimeoutWarningMessage* _msg = _internal_mutable_timeoutwarningmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.timeoutWarningMessage) - return _internal_mutable_timeoutwarningmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_timeoutwarningmessage(::TimeoutWarningMessage* timeoutwarningmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete timeoutwarningmessage_; } if (timeoutwarningmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(timeoutwarningmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::TimeoutWarningMessage>::GetOwningArena(timeoutwarningmessage); if (message_arena != submessage_arena) { timeoutwarningmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, timeoutwarningmessage, submessage_arena); @@ -34269,8 +35465,8 @@ inline void PokerTHMessage::clear_resettimeoutmessage() { } inline const ::ResetTimeoutMessage& PokerTHMessage::_internal_resettimeoutmessage() const { const ::ResetTimeoutMessage* p = resettimeoutmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ResetTimeoutMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ResetTimeoutMessage_default_instance_); } inline const ::ResetTimeoutMessage& PokerTHMessage::resettimeoutmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.resetTimeoutMessage) @@ -34278,7 +35474,7 @@ inline const ::ResetTimeoutMessage& PokerTHMessage::resettimeoutmessage() const } inline void PokerTHMessage::unsafe_arena_set_allocated_resettimeoutmessage( ::ResetTimeoutMessage* resettimeoutmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(resettimeoutmessage_); } resettimeoutmessage_ = resettimeoutmessage; @@ -34290,10 +35486,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_resettimeoutmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.resetTimeoutMessage) } inline ::ResetTimeoutMessage* PokerTHMessage::release_resettimeoutmessage() { - auto temp = unsafe_arena_release_resettimeoutmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000008u; + ::ResetTimeoutMessage* temp = resettimeoutmessage_; + resettimeoutmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ResetTimeoutMessage* PokerTHMessage::unsafe_arena_release_resettimeoutmessage() { @@ -34306,23 +35510,24 @@ inline ::ResetTimeoutMessage* PokerTHMessage::unsafe_arena_release_resettimeoutm inline ::ResetTimeoutMessage* PokerTHMessage::_internal_mutable_resettimeoutmessage() { _has_bits_[2] |= 0x00000008u; if (resettimeoutmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ResetTimeoutMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ResetTimeoutMessage>(GetArenaForAllocation()); resettimeoutmessage_ = p; } return resettimeoutmessage_; } inline ::ResetTimeoutMessage* PokerTHMessage::mutable_resettimeoutmessage() { + ::ResetTimeoutMessage* _msg = _internal_mutable_resettimeoutmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.resetTimeoutMessage) - return _internal_mutable_resettimeoutmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_resettimeoutmessage(::ResetTimeoutMessage* resettimeoutmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete resettimeoutmessage_; } if (resettimeoutmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(resettimeoutmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ResetTimeoutMessage>::GetOwningArena(resettimeoutmessage); if (message_arena != submessage_arena) { resettimeoutmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, resettimeoutmessage, submessage_arena); @@ -34350,8 +35555,8 @@ inline void PokerTHMessage::clear_reportavatarmessage() { } inline const ::ReportAvatarMessage& PokerTHMessage::_internal_reportavatarmessage() const { const ::ReportAvatarMessage* p = reportavatarmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ReportAvatarMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ReportAvatarMessage_default_instance_); } inline const ::ReportAvatarMessage& PokerTHMessage::reportavatarmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.reportAvatarMessage) @@ -34359,7 +35564,7 @@ inline const ::ReportAvatarMessage& PokerTHMessage::reportavatarmessage() const } inline void PokerTHMessage::unsafe_arena_set_allocated_reportavatarmessage( ::ReportAvatarMessage* reportavatarmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(reportavatarmessage_); } reportavatarmessage_ = reportavatarmessage; @@ -34371,10 +35576,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_reportavatarmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.reportAvatarMessage) } inline ::ReportAvatarMessage* PokerTHMessage::release_reportavatarmessage() { - auto temp = unsafe_arena_release_reportavatarmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000010u; + ::ReportAvatarMessage* temp = reportavatarmessage_; + reportavatarmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ReportAvatarMessage* PokerTHMessage::unsafe_arena_release_reportavatarmessage() { @@ -34387,23 +35600,24 @@ inline ::ReportAvatarMessage* PokerTHMessage::unsafe_arena_release_reportavatarm inline ::ReportAvatarMessage* PokerTHMessage::_internal_mutable_reportavatarmessage() { _has_bits_[2] |= 0x00000010u; if (reportavatarmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ReportAvatarMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ReportAvatarMessage>(GetArenaForAllocation()); reportavatarmessage_ = p; } return reportavatarmessage_; } inline ::ReportAvatarMessage* PokerTHMessage::mutable_reportavatarmessage() { + ::ReportAvatarMessage* _msg = _internal_mutable_reportavatarmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportAvatarMessage) - return _internal_mutable_reportavatarmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_reportavatarmessage(::ReportAvatarMessage* reportavatarmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reportavatarmessage_; } if (reportavatarmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(reportavatarmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ReportAvatarMessage>::GetOwningArena(reportavatarmessage); if (message_arena != submessage_arena) { reportavatarmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, reportavatarmessage, submessage_arena); @@ -34431,8 +35645,8 @@ inline void PokerTHMessage::clear_reportavatarackmessage() { } inline const ::ReportAvatarAckMessage& PokerTHMessage::_internal_reportavatarackmessage() const { const ::ReportAvatarAckMessage* p = reportavatarackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ReportAvatarAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ReportAvatarAckMessage_default_instance_); } inline const ::ReportAvatarAckMessage& PokerTHMessage::reportavatarackmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.reportAvatarAckMessage) @@ -34440,7 +35654,7 @@ inline const ::ReportAvatarAckMessage& PokerTHMessage::reportavatarackmessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_reportavatarackmessage( ::ReportAvatarAckMessage* reportavatarackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(reportavatarackmessage_); } reportavatarackmessage_ = reportavatarackmessage; @@ -34452,10 +35666,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_reportavatarackmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.reportAvatarAckMessage) } inline ::ReportAvatarAckMessage* PokerTHMessage::release_reportavatarackmessage() { - auto temp = unsafe_arena_release_reportavatarackmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000020u; + ::ReportAvatarAckMessage* temp = reportavatarackmessage_; + reportavatarackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ReportAvatarAckMessage* PokerTHMessage::unsafe_arena_release_reportavatarackmessage() { @@ -34468,23 +35690,24 @@ inline ::ReportAvatarAckMessage* PokerTHMessage::unsafe_arena_release_reportavat inline ::ReportAvatarAckMessage* PokerTHMessage::_internal_mutable_reportavatarackmessage() { _has_bits_[2] |= 0x00000020u; if (reportavatarackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ReportAvatarAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ReportAvatarAckMessage>(GetArenaForAllocation()); reportavatarackmessage_ = p; } return reportavatarackmessage_; } inline ::ReportAvatarAckMessage* PokerTHMessage::mutable_reportavatarackmessage() { + ::ReportAvatarAckMessage* _msg = _internal_mutable_reportavatarackmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportAvatarAckMessage) - return _internal_mutable_reportavatarackmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_reportavatarackmessage(::ReportAvatarAckMessage* reportavatarackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reportavatarackmessage_; } if (reportavatarackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(reportavatarackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ReportAvatarAckMessage>::GetOwningArena(reportavatarackmessage); if (message_arena != submessage_arena) { reportavatarackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, reportavatarackmessage, submessage_arena); @@ -34512,8 +35735,8 @@ inline void PokerTHMessage::clear_reportgamemessage() { } inline const ::ReportGameMessage& PokerTHMessage::_internal_reportgamemessage() const { const ::ReportGameMessage* p = reportgamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ReportGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ReportGameMessage_default_instance_); } inline const ::ReportGameMessage& PokerTHMessage::reportgamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.reportGameMessage) @@ -34521,7 +35744,7 @@ inline const ::ReportGameMessage& PokerTHMessage::reportgamemessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_reportgamemessage( ::ReportGameMessage* reportgamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(reportgamemessage_); } reportgamemessage_ = reportgamemessage; @@ -34533,10 +35756,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_reportgamemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.reportGameMessage) } inline ::ReportGameMessage* PokerTHMessage::release_reportgamemessage() { - auto temp = unsafe_arena_release_reportgamemessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000040u; + ::ReportGameMessage* temp = reportgamemessage_; + reportgamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ReportGameMessage* PokerTHMessage::unsafe_arena_release_reportgamemessage() { @@ -34549,23 +35780,24 @@ inline ::ReportGameMessage* PokerTHMessage::unsafe_arena_release_reportgamemessa inline ::ReportGameMessage* PokerTHMessage::_internal_mutable_reportgamemessage() { _has_bits_[2] |= 0x00000040u; if (reportgamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ReportGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ReportGameMessage>(GetArenaForAllocation()); reportgamemessage_ = p; } return reportgamemessage_; } inline ::ReportGameMessage* PokerTHMessage::mutable_reportgamemessage() { + ::ReportGameMessage* _msg = _internal_mutable_reportgamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportGameMessage) - return _internal_mutable_reportgamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_reportgamemessage(::ReportGameMessage* reportgamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reportgamemessage_; } if (reportgamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(reportgamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ReportGameMessage>::GetOwningArena(reportgamemessage); if (message_arena != submessage_arena) { reportgamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, reportgamemessage, submessage_arena); @@ -34593,8 +35825,8 @@ inline void PokerTHMessage::clear_reportgameackmessage() { } inline const ::ReportGameAckMessage& PokerTHMessage::_internal_reportgameackmessage() const { const ::ReportGameAckMessage* p = reportgameackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ReportGameAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ReportGameAckMessage_default_instance_); } inline const ::ReportGameAckMessage& PokerTHMessage::reportgameackmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.reportGameAckMessage) @@ -34602,7 +35834,7 @@ inline const ::ReportGameAckMessage& PokerTHMessage::reportgameackmessage() cons } inline void PokerTHMessage::unsafe_arena_set_allocated_reportgameackmessage( ::ReportGameAckMessage* reportgameackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(reportgameackmessage_); } reportgameackmessage_ = reportgameackmessage; @@ -34614,10 +35846,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_reportgameackmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.reportGameAckMessage) } inline ::ReportGameAckMessage* PokerTHMessage::release_reportgameackmessage() { - auto temp = unsafe_arena_release_reportgameackmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000080u; + ::ReportGameAckMessage* temp = reportgameackmessage_; + reportgameackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ReportGameAckMessage* PokerTHMessage::unsafe_arena_release_reportgameackmessage() { @@ -34630,23 +35870,24 @@ inline ::ReportGameAckMessage* PokerTHMessage::unsafe_arena_release_reportgameac inline ::ReportGameAckMessage* PokerTHMessage::_internal_mutable_reportgameackmessage() { _has_bits_[2] |= 0x00000080u; if (reportgameackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ReportGameAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ReportGameAckMessage>(GetArenaForAllocation()); reportgameackmessage_ = p; } return reportgameackmessage_; } inline ::ReportGameAckMessage* PokerTHMessage::mutable_reportgameackmessage() { + ::ReportGameAckMessage* _msg = _internal_mutable_reportgameackmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.reportGameAckMessage) - return _internal_mutable_reportgameackmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_reportgameackmessage(::ReportGameAckMessage* reportgameackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete reportgameackmessage_; } if (reportgameackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(reportgameackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ReportGameAckMessage>::GetOwningArena(reportgameackmessage); if (message_arena != submessage_arena) { reportgameackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, reportgameackmessage, submessage_arena); @@ -34674,8 +35915,8 @@ inline void PokerTHMessage::clear_errormessage() { } inline const ::ErrorMessage& PokerTHMessage::_internal_errormessage() const { const ::ErrorMessage* p = errormessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_ErrorMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_ErrorMessage_default_instance_); } inline const ::ErrorMessage& PokerTHMessage::errormessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.errorMessage) @@ -34683,7 +35924,7 @@ inline const ::ErrorMessage& PokerTHMessage::errormessage() const { } inline void PokerTHMessage::unsafe_arena_set_allocated_errormessage( ::ErrorMessage* errormessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(errormessage_); } errormessage_ = errormessage; @@ -34695,10 +35936,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_errormessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.errorMessage) } inline ::ErrorMessage* PokerTHMessage::release_errormessage() { - auto temp = unsafe_arena_release_errormessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000100u; + ::ErrorMessage* temp = errormessage_; + errormessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::ErrorMessage* PokerTHMessage::unsafe_arena_release_errormessage() { @@ -34711,23 +35960,24 @@ inline ::ErrorMessage* PokerTHMessage::unsafe_arena_release_errormessage() { inline ::ErrorMessage* PokerTHMessage::_internal_mutable_errormessage() { _has_bits_[2] |= 0x00000100u; if (errormessage_ == nullptr) { - auto* p = CreateMaybeMessage<::ErrorMessage>(GetArena()); + auto* p = CreateMaybeMessage<::ErrorMessage>(GetArenaForAllocation()); errormessage_ = p; } return errormessage_; } inline ::ErrorMessage* PokerTHMessage::mutable_errormessage() { + ::ErrorMessage* _msg = _internal_mutable_errormessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.errorMessage) - return _internal_mutable_errormessage(); + return _msg; } inline void PokerTHMessage::set_allocated_errormessage(::ErrorMessage* errormessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete errormessage_; } if (errormessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(errormessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ErrorMessage>::GetOwningArena(errormessage); if (message_arena != submessage_arena) { errormessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, errormessage, submessage_arena); @@ -34755,8 +36005,8 @@ inline void PokerTHMessage::clear_adminremovegamemessage() { } inline const ::AdminRemoveGameMessage& PokerTHMessage::_internal_adminremovegamemessage() const { const ::AdminRemoveGameMessage* p = adminremovegamemessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AdminRemoveGameMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AdminRemoveGameMessage_default_instance_); } inline const ::AdminRemoveGameMessage& PokerTHMessage::adminremovegamemessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.adminRemoveGameMessage) @@ -34764,7 +36014,7 @@ inline const ::AdminRemoveGameMessage& PokerTHMessage::adminremovegamemessage() } inline void PokerTHMessage::unsafe_arena_set_allocated_adminremovegamemessage( ::AdminRemoveGameMessage* adminremovegamemessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(adminremovegamemessage_); } adminremovegamemessage_ = adminremovegamemessage; @@ -34776,10 +36026,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_adminremovegamemessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.adminRemoveGameMessage) } inline ::AdminRemoveGameMessage* PokerTHMessage::release_adminremovegamemessage() { - auto temp = unsafe_arena_release_adminremovegamemessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000200u; + ::AdminRemoveGameMessage* temp = adminremovegamemessage_; + adminremovegamemessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AdminRemoveGameMessage* PokerTHMessage::unsafe_arena_release_adminremovegamemessage() { @@ -34792,23 +36050,24 @@ inline ::AdminRemoveGameMessage* PokerTHMessage::unsafe_arena_release_adminremov inline ::AdminRemoveGameMessage* PokerTHMessage::_internal_mutable_adminremovegamemessage() { _has_bits_[2] |= 0x00000200u; if (adminremovegamemessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AdminRemoveGameMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AdminRemoveGameMessage>(GetArenaForAllocation()); adminremovegamemessage_ = p; } return adminremovegamemessage_; } inline ::AdminRemoveGameMessage* PokerTHMessage::mutable_adminremovegamemessage() { + ::AdminRemoveGameMessage* _msg = _internal_mutable_adminremovegamemessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminRemoveGameMessage) - return _internal_mutable_adminremovegamemessage(); + return _msg; } inline void PokerTHMessage::set_allocated_adminremovegamemessage(::AdminRemoveGameMessage* adminremovegamemessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete adminremovegamemessage_; } if (adminremovegamemessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(adminremovegamemessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AdminRemoveGameMessage>::GetOwningArena(adminremovegamemessage); if (message_arena != submessage_arena) { adminremovegamemessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, adminremovegamemessage, submessage_arena); @@ -34836,8 +36095,8 @@ inline void PokerTHMessage::clear_adminremovegameackmessage() { } inline const ::AdminRemoveGameAckMessage& PokerTHMessage::_internal_adminremovegameackmessage() const { const ::AdminRemoveGameAckMessage* p = adminremovegameackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AdminRemoveGameAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AdminRemoveGameAckMessage_default_instance_); } inline const ::AdminRemoveGameAckMessage& PokerTHMessage::adminremovegameackmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.adminRemoveGameAckMessage) @@ -34845,7 +36104,7 @@ inline const ::AdminRemoveGameAckMessage& PokerTHMessage::adminremovegameackmess } inline void PokerTHMessage::unsafe_arena_set_allocated_adminremovegameackmessage( ::AdminRemoveGameAckMessage* adminremovegameackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(adminremovegameackmessage_); } adminremovegameackmessage_ = adminremovegameackmessage; @@ -34857,10 +36116,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_adminremovegameackmessage // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.adminRemoveGameAckMessage) } inline ::AdminRemoveGameAckMessage* PokerTHMessage::release_adminremovegameackmessage() { - auto temp = unsafe_arena_release_adminremovegameackmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000400u; + ::AdminRemoveGameAckMessage* temp = adminremovegameackmessage_; + adminremovegameackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AdminRemoveGameAckMessage* PokerTHMessage::unsafe_arena_release_adminremovegameackmessage() { @@ -34873,23 +36140,24 @@ inline ::AdminRemoveGameAckMessage* PokerTHMessage::unsafe_arena_release_adminre inline ::AdminRemoveGameAckMessage* PokerTHMessage::_internal_mutable_adminremovegameackmessage() { _has_bits_[2] |= 0x00000400u; if (adminremovegameackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AdminRemoveGameAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AdminRemoveGameAckMessage>(GetArenaForAllocation()); adminremovegameackmessage_ = p; } return adminremovegameackmessage_; } inline ::AdminRemoveGameAckMessage* PokerTHMessage::mutable_adminremovegameackmessage() { + ::AdminRemoveGameAckMessage* _msg = _internal_mutable_adminremovegameackmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminRemoveGameAckMessage) - return _internal_mutable_adminremovegameackmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_adminremovegameackmessage(::AdminRemoveGameAckMessage* adminremovegameackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete adminremovegameackmessage_; } if (adminremovegameackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(adminremovegameackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AdminRemoveGameAckMessage>::GetOwningArena(adminremovegameackmessage); if (message_arena != submessage_arena) { adminremovegameackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, adminremovegameackmessage, submessage_arena); @@ -34917,8 +36185,8 @@ inline void PokerTHMessage::clear_adminbanplayermessage() { } inline const ::AdminBanPlayerMessage& PokerTHMessage::_internal_adminbanplayermessage() const { const ::AdminBanPlayerMessage* p = adminbanplayermessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AdminBanPlayerMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AdminBanPlayerMessage_default_instance_); } inline const ::AdminBanPlayerMessage& PokerTHMessage::adminbanplayermessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.adminBanPlayerMessage) @@ -34926,7 +36194,7 @@ inline const ::AdminBanPlayerMessage& PokerTHMessage::adminbanplayermessage() co } inline void PokerTHMessage::unsafe_arena_set_allocated_adminbanplayermessage( ::AdminBanPlayerMessage* adminbanplayermessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(adminbanplayermessage_); } adminbanplayermessage_ = adminbanplayermessage; @@ -34938,10 +36206,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_adminbanplayermessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.adminBanPlayerMessage) } inline ::AdminBanPlayerMessage* PokerTHMessage::release_adminbanplayermessage() { - auto temp = unsafe_arena_release_adminbanplayermessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00000800u; + ::AdminBanPlayerMessage* temp = adminbanplayermessage_; + adminbanplayermessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AdminBanPlayerMessage* PokerTHMessage::unsafe_arena_release_adminbanplayermessage() { @@ -34954,23 +36230,24 @@ inline ::AdminBanPlayerMessage* PokerTHMessage::unsafe_arena_release_adminbanpla inline ::AdminBanPlayerMessage* PokerTHMessage::_internal_mutable_adminbanplayermessage() { _has_bits_[2] |= 0x00000800u; if (adminbanplayermessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AdminBanPlayerMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AdminBanPlayerMessage>(GetArenaForAllocation()); adminbanplayermessage_ = p; } return adminbanplayermessage_; } inline ::AdminBanPlayerMessage* PokerTHMessage::mutable_adminbanplayermessage() { + ::AdminBanPlayerMessage* _msg = _internal_mutable_adminbanplayermessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminBanPlayerMessage) - return _internal_mutable_adminbanplayermessage(); + return _msg; } inline void PokerTHMessage::set_allocated_adminbanplayermessage(::AdminBanPlayerMessage* adminbanplayermessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete adminbanplayermessage_; } if (adminbanplayermessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(adminbanplayermessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AdminBanPlayerMessage>::GetOwningArena(adminbanplayermessage); if (message_arena != submessage_arena) { adminbanplayermessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, adminbanplayermessage, submessage_arena); @@ -34998,8 +36275,8 @@ inline void PokerTHMessage::clear_adminbanplayerackmessage() { } inline const ::AdminBanPlayerAckMessage& PokerTHMessage::_internal_adminbanplayerackmessage() const { const ::AdminBanPlayerAckMessage* p = adminbanplayerackmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_AdminBanPlayerAckMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_AdminBanPlayerAckMessage_default_instance_); } inline const ::AdminBanPlayerAckMessage& PokerTHMessage::adminbanplayerackmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.adminBanPlayerAckMessage) @@ -35007,7 +36284,7 @@ inline const ::AdminBanPlayerAckMessage& PokerTHMessage::adminbanplayerackmessag } inline void PokerTHMessage::unsafe_arena_set_allocated_adminbanplayerackmessage( ::AdminBanPlayerAckMessage* adminbanplayerackmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(adminbanplayerackmessage_); } adminbanplayerackmessage_ = adminbanplayerackmessage; @@ -35019,10 +36296,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_adminbanplayerackmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.adminBanPlayerAckMessage) } inline ::AdminBanPlayerAckMessage* PokerTHMessage::release_adminbanplayerackmessage() { - auto temp = unsafe_arena_release_adminbanplayerackmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00001000u; + ::AdminBanPlayerAckMessage* temp = adminbanplayerackmessage_; + adminbanplayerackmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::AdminBanPlayerAckMessage* PokerTHMessage::unsafe_arena_release_adminbanplayerackmessage() { @@ -35035,23 +36320,24 @@ inline ::AdminBanPlayerAckMessage* PokerTHMessage::unsafe_arena_release_adminban inline ::AdminBanPlayerAckMessage* PokerTHMessage::_internal_mutable_adminbanplayerackmessage() { _has_bits_[2] |= 0x00001000u; if (adminbanplayerackmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::AdminBanPlayerAckMessage>(GetArena()); + auto* p = CreateMaybeMessage<::AdminBanPlayerAckMessage>(GetArenaForAllocation()); adminbanplayerackmessage_ = p; } return adminbanplayerackmessage_; } inline ::AdminBanPlayerAckMessage* PokerTHMessage::mutable_adminbanplayerackmessage() { + ::AdminBanPlayerAckMessage* _msg = _internal_mutable_adminbanplayerackmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.adminBanPlayerAckMessage) - return _internal_mutable_adminbanplayerackmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_adminbanplayerackmessage(::AdminBanPlayerAckMessage* adminbanplayerackmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete adminbanplayerackmessage_; } if (adminbanplayerackmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(adminbanplayerackmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::AdminBanPlayerAckMessage>::GetOwningArena(adminbanplayerackmessage); if (message_arena != submessage_arena) { adminbanplayerackmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, adminbanplayerackmessage, submessage_arena); @@ -35079,8 +36365,8 @@ inline void PokerTHMessage::clear_gamelistspectatorjoinedmessage() { } inline const ::GameListSpectatorJoinedMessage& PokerTHMessage::_internal_gamelistspectatorjoinedmessage() const { const ::GameListSpectatorJoinedMessage* p = gamelistspectatorjoinedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameListSpectatorJoinedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameListSpectatorJoinedMessage_default_instance_); } inline const ::GameListSpectatorJoinedMessage& PokerTHMessage::gamelistspectatorjoinedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameListSpectatorJoinedMessage) @@ -35088,7 +36374,7 @@ inline const ::GameListSpectatorJoinedMessage& PokerTHMessage::gamelistspectator } inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistspectatorjoinedmessage( ::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamelistspectatorjoinedmessage_); } gamelistspectatorjoinedmessage_ = gamelistspectatorjoinedmessage; @@ -35100,10 +36386,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistspectatorjoinedme // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameListSpectatorJoinedMessage) } inline ::GameListSpectatorJoinedMessage* PokerTHMessage::release_gamelistspectatorjoinedmessage() { - auto temp = unsafe_arena_release_gamelistspectatorjoinedmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00002000u; + ::GameListSpectatorJoinedMessage* temp = gamelistspectatorjoinedmessage_; + gamelistspectatorjoinedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameListSpectatorJoinedMessage* PokerTHMessage::unsafe_arena_release_gamelistspectatorjoinedmessage() { @@ -35116,23 +36410,24 @@ inline ::GameListSpectatorJoinedMessage* PokerTHMessage::unsafe_arena_release_ga inline ::GameListSpectatorJoinedMessage* PokerTHMessage::_internal_mutable_gamelistspectatorjoinedmessage() { _has_bits_[2] |= 0x00002000u; if (gamelistspectatorjoinedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameListSpectatorJoinedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameListSpectatorJoinedMessage>(GetArenaForAllocation()); gamelistspectatorjoinedmessage_ = p; } return gamelistspectatorjoinedmessage_; } inline ::GameListSpectatorJoinedMessage* PokerTHMessage::mutable_gamelistspectatorjoinedmessage() { + ::GameListSpectatorJoinedMessage* _msg = _internal_mutable_gamelistspectatorjoinedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListSpectatorJoinedMessage) - return _internal_mutable_gamelistspectatorjoinedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamelistspectatorjoinedmessage(::GameListSpectatorJoinedMessage* gamelistspectatorjoinedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamelistspectatorjoinedmessage_; } if (gamelistspectatorjoinedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamelistspectatorjoinedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameListSpectatorJoinedMessage>::GetOwningArena(gamelistspectatorjoinedmessage); if (message_arena != submessage_arena) { gamelistspectatorjoinedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamelistspectatorjoinedmessage, submessage_arena); @@ -35160,8 +36455,8 @@ inline void PokerTHMessage::clear_gamelistspectatorleftmessage() { } inline const ::GameListSpectatorLeftMessage& PokerTHMessage::_internal_gamelistspectatorleftmessage() const { const ::GameListSpectatorLeftMessage* p = gamelistspectatorleftmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameListSpectatorLeftMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameListSpectatorLeftMessage_default_instance_); } inline const ::GameListSpectatorLeftMessage& PokerTHMessage::gamelistspectatorleftmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameListSpectatorLeftMessage) @@ -35169,7 +36464,7 @@ inline const ::GameListSpectatorLeftMessage& PokerTHMessage::gamelistspectatorle } inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistspectatorleftmessage( ::GameListSpectatorLeftMessage* gamelistspectatorleftmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamelistspectatorleftmessage_); } gamelistspectatorleftmessage_ = gamelistspectatorleftmessage; @@ -35181,10 +36476,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamelistspectatorleftmess // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameListSpectatorLeftMessage) } inline ::GameListSpectatorLeftMessage* PokerTHMessage::release_gamelistspectatorleftmessage() { - auto temp = unsafe_arena_release_gamelistspectatorleftmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00004000u; + ::GameListSpectatorLeftMessage* temp = gamelistspectatorleftmessage_; + gamelistspectatorleftmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameListSpectatorLeftMessage* PokerTHMessage::unsafe_arena_release_gamelistspectatorleftmessage() { @@ -35197,23 +36500,24 @@ inline ::GameListSpectatorLeftMessage* PokerTHMessage::unsafe_arena_release_game inline ::GameListSpectatorLeftMessage* PokerTHMessage::_internal_mutable_gamelistspectatorleftmessage() { _has_bits_[2] |= 0x00004000u; if (gamelistspectatorleftmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameListSpectatorLeftMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameListSpectatorLeftMessage>(GetArenaForAllocation()); gamelistspectatorleftmessage_ = p; } return gamelistspectatorleftmessage_; } inline ::GameListSpectatorLeftMessage* PokerTHMessage::mutable_gamelistspectatorleftmessage() { + ::GameListSpectatorLeftMessage* _msg = _internal_mutable_gamelistspectatorleftmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameListSpectatorLeftMessage) - return _internal_mutable_gamelistspectatorleftmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamelistspectatorleftmessage(::GameListSpectatorLeftMessage* gamelistspectatorleftmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamelistspectatorleftmessage_; } if (gamelistspectatorleftmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamelistspectatorleftmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameListSpectatorLeftMessage>::GetOwningArena(gamelistspectatorleftmessage); if (message_arena != submessage_arena) { gamelistspectatorleftmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamelistspectatorleftmessage, submessage_arena); @@ -35241,8 +36545,8 @@ inline void PokerTHMessage::clear_gamespectatorjoinedmessage() { } inline const ::GameSpectatorJoinedMessage& PokerTHMessage::_internal_gamespectatorjoinedmessage() const { const ::GameSpectatorJoinedMessage* p = gamespectatorjoinedmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameSpectatorJoinedMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameSpectatorJoinedMessage_default_instance_); } inline const ::GameSpectatorJoinedMessage& PokerTHMessage::gamespectatorjoinedmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameSpectatorJoinedMessage) @@ -35250,7 +36554,7 @@ inline const ::GameSpectatorJoinedMessage& PokerTHMessage::gamespectatorjoinedme } inline void PokerTHMessage::unsafe_arena_set_allocated_gamespectatorjoinedmessage( ::GameSpectatorJoinedMessage* gamespectatorjoinedmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamespectatorjoinedmessage_); } gamespectatorjoinedmessage_ = gamespectatorjoinedmessage; @@ -35262,10 +36566,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamespectatorjoinedmessag // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameSpectatorJoinedMessage) } inline ::GameSpectatorJoinedMessage* PokerTHMessage::release_gamespectatorjoinedmessage() { - auto temp = unsafe_arena_release_gamespectatorjoinedmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00008000u; + ::GameSpectatorJoinedMessage* temp = gamespectatorjoinedmessage_; + gamespectatorjoinedmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameSpectatorJoinedMessage* PokerTHMessage::unsafe_arena_release_gamespectatorjoinedmessage() { @@ -35278,23 +36590,24 @@ inline ::GameSpectatorJoinedMessage* PokerTHMessage::unsafe_arena_release_gamesp inline ::GameSpectatorJoinedMessage* PokerTHMessage::_internal_mutable_gamespectatorjoinedmessage() { _has_bits_[2] |= 0x00008000u; if (gamespectatorjoinedmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameSpectatorJoinedMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameSpectatorJoinedMessage>(GetArenaForAllocation()); gamespectatorjoinedmessage_ = p; } return gamespectatorjoinedmessage_; } inline ::GameSpectatorJoinedMessage* PokerTHMessage::mutable_gamespectatorjoinedmessage() { + ::GameSpectatorJoinedMessage* _msg = _internal_mutable_gamespectatorjoinedmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameSpectatorJoinedMessage) - return _internal_mutable_gamespectatorjoinedmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamespectatorjoinedmessage(::GameSpectatorJoinedMessage* gamespectatorjoinedmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamespectatorjoinedmessage_; } if (gamespectatorjoinedmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamespectatorjoinedmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameSpectatorJoinedMessage>::GetOwningArena(gamespectatorjoinedmessage); if (message_arena != submessage_arena) { gamespectatorjoinedmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamespectatorjoinedmessage, submessage_arena); @@ -35322,8 +36635,8 @@ inline void PokerTHMessage::clear_gamespectatorleftmessage() { } inline const ::GameSpectatorLeftMessage& PokerTHMessage::_internal_gamespectatorleftmessage() const { const ::GameSpectatorLeftMessage* p = gamespectatorleftmessage_; - return p != nullptr ? *p : *reinterpret_cast( - &::_GameSpectatorLeftMessage_default_instance_); + return p != nullptr ? *p : reinterpret_cast( + ::_GameSpectatorLeftMessage_default_instance_); } inline const ::GameSpectatorLeftMessage& PokerTHMessage::gamespectatorleftmessage() const { // @@protoc_insertion_point(field_get:PokerTHMessage.gameSpectatorLeftMessage) @@ -35331,7 +36644,7 @@ inline const ::GameSpectatorLeftMessage& PokerTHMessage::gamespectatorleftmessag } inline void PokerTHMessage::unsafe_arena_set_allocated_gamespectatorleftmessage( ::GameSpectatorLeftMessage* gamespectatorleftmessage) { - if (GetArena() == nullptr) { + if (GetArenaForAllocation() == nullptr) { delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamespectatorleftmessage_); } gamespectatorleftmessage_ = gamespectatorleftmessage; @@ -35343,10 +36656,18 @@ inline void PokerTHMessage::unsafe_arena_set_allocated_gamespectatorleftmessage( // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameSpectatorLeftMessage) } inline ::GameSpectatorLeftMessage* PokerTHMessage::release_gamespectatorleftmessage() { - auto temp = unsafe_arena_release_gamespectatorleftmessage(); - if (GetArena() != nullptr) { + _has_bits_[2] &= ~0x00010000u; + ::GameSpectatorLeftMessage* temp = gamespectatorleftmessage_; + gamespectatorleftmessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE return temp; } inline ::GameSpectatorLeftMessage* PokerTHMessage::unsafe_arena_release_gamespectatorleftmessage() { @@ -35359,23 +36680,24 @@ inline ::GameSpectatorLeftMessage* PokerTHMessage::unsafe_arena_release_gamespec inline ::GameSpectatorLeftMessage* PokerTHMessage::_internal_mutable_gamespectatorleftmessage() { _has_bits_[2] |= 0x00010000u; if (gamespectatorleftmessage_ == nullptr) { - auto* p = CreateMaybeMessage<::GameSpectatorLeftMessage>(GetArena()); + auto* p = CreateMaybeMessage<::GameSpectatorLeftMessage>(GetArenaForAllocation()); gamespectatorleftmessage_ = p; } return gamespectatorleftmessage_; } inline ::GameSpectatorLeftMessage* PokerTHMessage::mutable_gamespectatorleftmessage() { + ::GameSpectatorLeftMessage* _msg = _internal_mutable_gamespectatorleftmessage(); // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameSpectatorLeftMessage) - return _internal_mutable_gamespectatorleftmessage(); + return _msg; } inline void PokerTHMessage::set_allocated_gamespectatorleftmessage(::GameSpectatorLeftMessage* gamespectatorleftmessage) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena(); + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); if (message_arena == nullptr) { delete gamespectatorleftmessage_; } if (gamespectatorleftmessage) { ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(gamespectatorleftmessage); + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameSpectatorLeftMessage>::GetOwningArena(gamespectatorleftmessage); if (message_arena != submessage_arena) { gamespectatorleftmessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( message_arena, gamespectatorleftmessage, submessage_arena); @@ -35388,6 +36710,96 @@ inline void PokerTHMessage::set_allocated_gamespectatorleftmessage(::GameSpectat // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameSpectatorLeftMessage) } +// optional .GameStartReentryMessage gameStartReentryMessage = 83; +inline bool PokerTHMessage::_internal_has_gamestartreentrymessage() const { + bool value = (_has_bits_[2] & 0x00020000u) != 0; + PROTOBUF_ASSUME(!value || gamestartreentrymessage_ != nullptr); + return value; +} +inline bool PokerTHMessage::has_gamestartreentrymessage() const { + return _internal_has_gamestartreentrymessage(); +} +inline void PokerTHMessage::clear_gamestartreentrymessage() { + if (gamestartreentrymessage_ != nullptr) gamestartreentrymessage_->Clear(); + _has_bits_[2] &= ~0x00020000u; +} +inline const ::GameStartReentryMessage& PokerTHMessage::_internal_gamestartreentrymessage() const { + const ::GameStartReentryMessage* p = gamestartreentrymessage_; + return p != nullptr ? *p : reinterpret_cast( + ::_GameStartReentryMessage_default_instance_); +} +inline const ::GameStartReentryMessage& PokerTHMessage::gamestartreentrymessage() const { + // @@protoc_insertion_point(field_get:PokerTHMessage.gameStartReentryMessage) + return _internal_gamestartreentrymessage(); +} +inline void PokerTHMessage::unsafe_arena_set_allocated_gamestartreentrymessage( + ::GameStartReentryMessage* gamestartreentrymessage) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gamestartreentrymessage_); + } + gamestartreentrymessage_ = gamestartreentrymessage; + if (gamestartreentrymessage) { + _has_bits_[2] |= 0x00020000u; + } else { + _has_bits_[2] &= ~0x00020000u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:PokerTHMessage.gameStartReentryMessage) +} +inline ::GameStartReentryMessage* PokerTHMessage::release_gamestartreentrymessage() { + _has_bits_[2] &= ~0x00020000u; + ::GameStartReentryMessage* temp = gamestartreentrymessage_; + gamestartreentrymessage_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::GameStartReentryMessage* PokerTHMessage::unsafe_arena_release_gamestartreentrymessage() { + // @@protoc_insertion_point(field_release:PokerTHMessage.gameStartReentryMessage) + _has_bits_[2] &= ~0x00020000u; + ::GameStartReentryMessage* temp = gamestartreentrymessage_; + gamestartreentrymessage_ = nullptr; + return temp; +} +inline ::GameStartReentryMessage* PokerTHMessage::_internal_mutable_gamestartreentrymessage() { + _has_bits_[2] |= 0x00020000u; + if (gamestartreentrymessage_ == nullptr) { + auto* p = CreateMaybeMessage<::GameStartReentryMessage>(GetArenaForAllocation()); + gamestartreentrymessage_ = p; + } + return gamestartreentrymessage_; +} +inline ::GameStartReentryMessage* PokerTHMessage::mutable_gamestartreentrymessage() { + ::GameStartReentryMessage* _msg = _internal_mutable_gamestartreentrymessage(); + // @@protoc_insertion_point(field_mutable:PokerTHMessage.gameStartReentryMessage) + return _msg; +} +inline void PokerTHMessage::set_allocated_gamestartreentrymessage(::GameStartReentryMessage* gamestartreentrymessage) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete gamestartreentrymessage_; + } + if (gamestartreentrymessage) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::GameStartReentryMessage>::GetOwningArena(gamestartreentrymessage); + if (message_arena != submessage_arena) { + gamestartreentrymessage = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, gamestartreentrymessage, submessage_arena); + } + _has_bits_[2] |= 0x00020000u; + } else { + _has_bits_[2] &= ~0x00020000u; + } + gamestartreentrymessage_ = gamestartreentrymessage; + // @@protoc_insertion_point(field_set_allocated:PokerTHMessage.gameStartReentryMessage) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -35571,6 +36983,10 @@ inline void PokerTHMessage::set_allocated_gamespectatorleftmessage(::GameSpectat // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/tests/src/de/pokerth/protocol/ProtoBuf.java b/tests/src/de/pokerth/protocol/ProtoBuf.java index aef007df..6dc69511 100644 --- a/tests/src/de/pokerth/protocol/ProtoBuf.java +++ b/tests/src/de/pokerth/protocol/ProtoBuf.java @@ -8,23 +8,29 @@ public final class ProtoBuf { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } /** * Protobuf enum {@code NetGameMode} */ public enum NetGameMode - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * netGameCreated = 1; */ - netGameCreated(0, 1), + netGameCreated(1), /** * netGameStarted = 2; */ - netGameStarted(1, 2), + netGameStarted(2), /** * netGameClosed = 3; */ - netGameClosed(2, 3), + netGameClosed(3), ; /** @@ -41,9 +47,25 @@ public final class ProtoBuf { public static final int netGameClosed_VALUE = 3; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static NetGameMode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetGameMode forNumber(int value) { switch (value) { case 1: return netGameCreated; case 2: return netGameStarted; @@ -56,17 +78,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + NetGameMode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetGameMode findValueByNumber(int number) { - return NetGameMode.valueOf(number); + return NetGameMode.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.getDescriptor().getEnumTypes().get(0); + } + + private static final NetGameMode[] VALUES = values(); + + public static NetGameMode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private NetGameMode(int index, int value) { + private NetGameMode(int value) { this.value = value; } @@ -77,31 +123,31 @@ public final class ProtoBuf { * Protobuf enum {@code NetGameState} */ public enum NetGameState - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * netStatePreflop = 0; */ - netStatePreflop(0, 0), + netStatePreflop(0), /** * netStateFlop = 1; */ - netStateFlop(1, 1), + netStateFlop(1), /** * netStateTurn = 2; */ - netStateTurn(2, 2), + netStateTurn(2), /** * netStateRiver = 3; */ - netStateRiver(3, 3), + netStateRiver(3), /** * netStatePreflopSmallBlind = 4; */ - netStatePreflopSmallBlind(4, 4), + netStatePreflopSmallBlind(4), /** * netStatePreflopBigBlind = 5; */ - netStatePreflopBigBlind(5, 5), + netStatePreflopBigBlind(5), ; /** @@ -130,9 +176,25 @@ public final class ProtoBuf { public static final int netStatePreflopBigBlind_VALUE = 5; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static NetGameState valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetGameState forNumber(int value) { switch (value) { case 0: return netStatePreflop; case 1: return netStateFlop; @@ -148,17 +210,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + NetGameState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetGameState findValueByNumber(int number) { - return NetGameState.valueOf(number); + return NetGameState.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.getDescriptor().getEnumTypes().get(1); + } + + private static final NetGameState[] VALUES = values(); + + public static NetGameState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private NetGameState(int index, int value) { + private NetGameState(int value) { this.value = value; } @@ -169,35 +255,35 @@ public final class ProtoBuf { * Protobuf enum {@code NetPlayerAction} */ public enum NetPlayerAction - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * netActionNone = 0; */ - netActionNone(0, 0), + netActionNone(0), /** * netActionFold = 1; */ - netActionFold(1, 1), + netActionFold(1), /** * netActionCheck = 2; */ - netActionCheck(2, 2), + netActionCheck(2), /** * netActionCall = 3; */ - netActionCall(3, 3), + netActionCall(3), /** * netActionBet = 4; */ - netActionBet(4, 4), + netActionBet(4), /** * netActionRaise = 5; */ - netActionRaise(5, 5), + netActionRaise(5), /** * netActionAllIn = 6; */ - netActionAllIn(6, 6), + netActionAllIn(6), ; /** @@ -230,9 +316,25 @@ public final class ProtoBuf { public static final int netActionAllIn_VALUE = 6; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static NetPlayerAction valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetPlayerAction forNumber(int value) { switch (value) { case 0: return netActionNone; case 1: return netActionFold; @@ -249,17 +351,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + NetPlayerAction> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetPlayerAction findValueByNumber(int number) { - return NetPlayerAction.valueOf(number); + return NetPlayerAction.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.getDescriptor().getEnumTypes().get(2); + } + + private static final NetPlayerAction[] VALUES = values(); + + public static NetPlayerAction valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private NetPlayerAction(int index, int value) { + private NetPlayerAction(int value) { this.value = value; } @@ -270,19 +396,19 @@ public final class ProtoBuf { * Protobuf enum {@code NetPlayerState} */ public enum NetPlayerState - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * netPlayerStateNormal = 0; */ - netPlayerStateNormal(0, 0), + netPlayerStateNormal(0), /** * netPlayerStateSessionInactive = 1; */ - netPlayerStateSessionInactive(1, 1), + netPlayerStateSessionInactive(1), /** * netPlayerStateNoMoney = 2; */ - netPlayerStateNoMoney(2, 2), + netPlayerStateNoMoney(2), ; /** @@ -299,9 +425,25 @@ public final class ProtoBuf { public static final int netPlayerStateNoMoney_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static NetPlayerState valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetPlayerState forNumber(int value) { switch (value) { case 0: return netPlayerStateNormal; case 1: return netPlayerStateSessionInactive; @@ -314,17 +456,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + NetPlayerState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetPlayerState findValueByNumber(int number) { - return NetPlayerState.valueOf(number); + return NetPlayerState.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.getDescriptor().getEnumTypes().get(3); + } + + private static final NetPlayerState[] VALUES = values(); + + public static NetPlayerState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private NetPlayerState(int index, int value) { + private NetPlayerState(int value) { this.value = value; } @@ -335,19 +501,19 @@ public final class ProtoBuf { * Protobuf enum {@code NetPlayerInfoRights} */ public enum NetPlayerInfoRights - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * netPlayerRightsGuest = 1; */ - netPlayerRightsGuest(0, 1), + netPlayerRightsGuest(1), /** * netPlayerRightsNormal = 2; */ - netPlayerRightsNormal(1, 2), + netPlayerRightsNormal(2), /** * netPlayerRightsAdmin = 3; */ - netPlayerRightsAdmin(2, 3), + netPlayerRightsAdmin(3), ; /** @@ -364,9 +530,25 @@ public final class ProtoBuf { public static final int netPlayerRightsAdmin_VALUE = 3; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static NetPlayerInfoRights valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetPlayerInfoRights forNumber(int value) { switch (value) { case 1: return netPlayerRightsGuest; case 2: return netPlayerRightsNormal; @@ -379,17 +561,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + NetPlayerInfoRights> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetPlayerInfoRights findValueByNumber(int number) { - return NetPlayerInfoRights.valueOf(number); + return NetPlayerInfoRights.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.getDescriptor().getEnumTypes().get(4); + } + + private static final NetPlayerInfoRights[] VALUES = values(); + + public static NetPlayerInfoRights valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private NetPlayerInfoRights(int index, int value) { + private NetPlayerInfoRights(int value) { this.value = value; } @@ -400,19 +606,19 @@ public final class ProtoBuf { * Protobuf enum {@code NetAvatarType} */ public enum NetAvatarType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * netAvatarImagePng = 1; */ - netAvatarImagePng(0, 1), + netAvatarImagePng(1), /** * netAvatarImageJpg = 2; */ - netAvatarImageJpg(1, 2), + netAvatarImageJpg(2), /** * netAvatarImageGif = 3; */ - netAvatarImageGif(2, 3), + netAvatarImageGif(3), ; /** @@ -429,9 +635,25 @@ public final class ProtoBuf { public static final int netAvatarImageGif_VALUE = 3; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static NetAvatarType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetAvatarType forNumber(int value) { switch (value) { case 1: return netAvatarImagePng; case 2: return netAvatarImageJpg; @@ -444,246 +666,293 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + NetAvatarType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetAvatarType findValueByNumber(int number) { - return NetAvatarType.valueOf(number); + return NetAvatarType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.getDescriptor().getEnumTypes().get(5); + } + + private static final NetAvatarType[] VALUES = values(); + + public static NetAvatarType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private NetAvatarType(int index, int value) { + private NetAvatarType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:NetAvatarType) } - public interface NetGameInfoOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface NetGameInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:NetGameInfo) + com.google.protobuf.MessageOrBuilder { - // required string gameName = 1; /** * required string gameName = 1; + * @return Whether the gameName field is set. */ boolean hasGameName(); /** * required string gameName = 1; + * @return The gameName. */ java.lang.String getGameName(); /** * required string gameName = 1; + * @return The bytes for gameName. */ com.google.protobuf.ByteString getGameNameBytes(); - // required .NetGameInfo.NetGameType netGameType = 2; /** * required .NetGameInfo.NetGameType netGameType = 2; + * @return Whether the netGameType field is set. */ boolean hasNetGameType(); /** * required .NetGameInfo.NetGameType netGameType = 2; + * @return The netGameType. */ de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType(); - // required uint32 maxNumPlayers = 3; /** * required uint32 maxNumPlayers = 3; + * @return Whether the maxNumPlayers field is set. */ boolean hasMaxNumPlayers(); /** * required uint32 maxNumPlayers = 3; + * @return The maxNumPlayers. */ int getMaxNumPlayers(); - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @return Whether the raiseIntervalMode field is set. */ boolean hasRaiseIntervalMode(); /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @return The raiseIntervalMode. */ de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode(); - // optional uint32 raiseEveryHands = 5; /** * optional uint32 raiseEveryHands = 5; + * @return Whether the raiseEveryHands field is set. */ boolean hasRaiseEveryHands(); /** * optional uint32 raiseEveryHands = 5; + * @return The raiseEveryHands. */ int getRaiseEveryHands(); - // optional uint32 raiseEveryMinutes = 6; /** * optional uint32 raiseEveryMinutes = 6; + * @return Whether the raiseEveryMinutes field is set. */ boolean hasRaiseEveryMinutes(); /** * optional uint32 raiseEveryMinutes = 6; + * @return The raiseEveryMinutes. */ int getRaiseEveryMinutes(); - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @return Whether the endRaiseMode field is set. */ boolean hasEndRaiseMode(); /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @return The endRaiseMode. */ de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode(); - // optional uint32 endRaiseSmallBlindValue = 8; /** * optional uint32 endRaiseSmallBlindValue = 8; + * @return Whether the endRaiseSmallBlindValue field is set. */ boolean hasEndRaiseSmallBlindValue(); /** * optional uint32 endRaiseSmallBlindValue = 8; + * @return The endRaiseSmallBlindValue. */ int getEndRaiseSmallBlindValue(); - // required uint32 proposedGuiSpeed = 9; /** * required uint32 proposedGuiSpeed = 9; + * @return Whether the proposedGuiSpeed field is set. */ boolean hasProposedGuiSpeed(); /** * required uint32 proposedGuiSpeed = 9; + * @return The proposedGuiSpeed. */ int getProposedGuiSpeed(); - // required uint32 delayBetweenHands = 10; /** - * required uint32 delayBetweenHands = 10; - * *
      * These are seconds
      * 
+ * + * required uint32 delayBetweenHands = 10; + * @return Whether the delayBetweenHands field is set. */ boolean hasDelayBetweenHands(); /** - * required uint32 delayBetweenHands = 10; - * *
      * These are seconds
      * 
+ * + * required uint32 delayBetweenHands = 10; + * @return The delayBetweenHands. */ int getDelayBetweenHands(); - // required uint32 playerActionTimeout = 11; /** - * required uint32 playerActionTimeout = 11; - * *
      * These are seconds
      * 
+ * + * required uint32 playerActionTimeout = 11; + * @return Whether the playerActionTimeout field is set. */ boolean hasPlayerActionTimeout(); /** - * required uint32 playerActionTimeout = 11; - * *
      * These are seconds
      * 
+ * + * required uint32 playerActionTimeout = 11; + * @return The playerActionTimeout. */ int getPlayerActionTimeout(); - // required uint32 firstSmallBlind = 12; /** * required uint32 firstSmallBlind = 12; + * @return Whether the firstSmallBlind field is set. */ boolean hasFirstSmallBlind(); /** * required uint32 firstSmallBlind = 12; + * @return The firstSmallBlind. */ int getFirstSmallBlind(); - // required uint32 startMoney = 13; /** * required uint32 startMoney = 13; + * @return Whether the startMoney field is set. */ boolean hasStartMoney(); /** * required uint32 startMoney = 13; + * @return The startMoney. */ int getStartMoney(); - // repeated uint32 manualBlinds = 14 [packed = true]; /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @return A list containing the manualBlinds. */ java.util.List getManualBlindsList(); /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @return The count of manualBlinds. */ int getManualBlindsCount(); /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @param index The index of the element to return. + * @return The manualBlinds at the given index. */ int getManualBlinds(int index); - // optional bool allowSpectators = 15 [default = true]; /** * optional bool allowSpectators = 15 [default = true]; + * @return Whether the allowSpectators field is set. */ boolean hasAllowSpectators(); /** * optional bool allowSpectators = 15 [default = true]; + * @return The allowSpectators. */ boolean getAllowSpectators(); - // optional bool allowLateReg = 16 [default = false]; /** - * optional bool allowLateReg = 16 [default = false]; - * *
      *new data
      * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @return Whether the allowLateReg field is set. */ boolean hasAllowLateReg(); /** - * optional bool allowLateReg = 16 [default = false]; - * *
      *new data
      * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @return The allowLateReg. */ boolean getAllowLateReg(); - // optional bool allowReentries = 17 [default = false]; /** * optional bool allowReentries = 17 [default = false]; + * @return Whether the allowReentries field is set. */ boolean hasAllowReentries(); /** * optional bool allowReentries = 17 [default = false]; + * @return The allowReentries. */ boolean getAllowReentries(); - // optional uint32 numReentries = 18 [default = 0]; /** * optional uint32 numReentries = 18 [default = 0]; + * @return Whether the numReentries field is set. */ boolean hasNumReentries(); /** * optional uint32 numReentries = 18 [default = 0]; + * @return The numReentries. */ int getNumReentries(); - // optional uint32 maxTimeLateReg = 19 [default = 0]; /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @return Whether the maxTimeLateReg field is set. */ boolean hasMaxTimeLateReg(); /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @return The maxTimeLateReg. */ int getMaxTimeLateReg(); } @@ -691,30 +960,46 @@ public final class ProtoBuf { * Protobuf type {@code NetGameInfo} */ public static final class NetGameInfo extends - com.google.protobuf.GeneratedMessageLite - implements NetGameInfoOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:NetGameInfo) + NetGameInfoOrBuilder { + private static final long serialVersionUID = 0L; // Use NetGameInfo.newBuilder() to construct. - private NetGameInfo(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private NetGameInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private NetGameInfo(boolean noInit) {} - - private static final NetGameInfo defaultInstance; - public static NetGameInfo getDefaultInstance() { - return defaultInstance; + private NetGameInfo() { + gameName_ = ""; + netGameType_ = 1; + raiseIntervalMode_ = 1; + endRaiseMode_ = 1; + manualBlinds_ = emptyIntList(); + allowSpectators_ = true; } - public NetGameInfo getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new NetGameInfo(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private NetGameInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -723,24 +1008,21 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - gameName_ = input.readBytes(); + gameName_ = bs; break; } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType value = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - netGameType_ = value; + netGameType_ = rawValue; } break; } @@ -751,10 +1033,13 @@ public final class ProtoBuf { } case 32: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(4, rawValue); + } else { bitField0_ |= 0x00000008; - raiseIntervalMode_ = value; + raiseIntervalMode_ = rawValue; } break; } @@ -770,10 +1055,13 @@ public final class ProtoBuf { } case 56: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode value = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(7, rawValue); + } else { bitField0_ |= 0x00000040; - endRaiseMode_ = value; + endRaiseMode_ = rawValue; } break; } @@ -808,22 +1096,22 @@ public final class ProtoBuf { break; } case 112: { - if (!((mutable_bitField0_ & 0x00002000) == 0x00002000)) { - manualBlinds_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00002000) != 0)) { + manualBlinds_ = newIntList(); mutable_bitField0_ |= 0x00002000; } - manualBlinds_.add(input.readUInt32()); + manualBlinds_.addInt(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(); + if (!((mutable_bitField0_ & 0x00002000) != 0) && input.getBytesUntilLimit() > 0) { + manualBlinds_ = newIntList(); mutable_bitField0_ |= 0x00002000; } while (input.getBytesUntilLimit() > 0) { - manualBlinds_.add(input.readUInt32()); + manualBlinds_.addInt(input.readUInt32()); } input.popLimit(limit); break; @@ -853,56 +1141,62 @@ public final class ProtoBuf { maxTimeLateReg_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00002000) == 0x00002000)) { - manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); + if (((mutable_bitField0_ & 0x00002000) != 0)) { + manualBlinds_.makeImmutable(); // C } + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_NetGameInfo_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_NetGameInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.NetGameInfo.class, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder.class); } /** * Protobuf enum {@code NetGameInfo.NetGameType} */ public enum NetGameType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * normalGame = 1; */ - normalGame(0, 1), + normalGame(1), /** * registeredOnlyGame = 2; */ - registeredOnlyGame(1, 2), + registeredOnlyGame(2), /** * inviteOnlyGame = 3; */ - inviteOnlyGame(2, 3), + inviteOnlyGame(3), /** * rankingGame = 4; */ - rankingGame(3, 4), + rankingGame(4), ; /** @@ -923,9 +1217,25 @@ public final class ProtoBuf { public static final int rankingGame_VALUE = 4; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static NetGameType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NetGameType forNumber(int value) { switch (value) { case 1: return normalGame; case 2: return registeredOnlyGame; @@ -939,17 +1249,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + NetGameType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public NetGameType findValueByNumber(int number) { - return NetGameType.valueOf(number); + return NetGameType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.NetGameInfo.getDescriptor().getEnumTypes().get(0); + } + + private static final NetGameType[] VALUES = values(); + + public static NetGameType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private NetGameType(int index, int value) { + private NetGameType(int value) { this.value = value; } @@ -960,15 +1294,15 @@ public final class ProtoBuf { * Protobuf enum {@code NetGameInfo.RaiseIntervalMode} */ public enum RaiseIntervalMode - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * raiseOnHandNum = 1; */ - raiseOnHandNum(0, 1), + raiseOnHandNum(1), /** * raiseOnMinutes = 2; */ - raiseOnMinutes(1, 2), + raiseOnMinutes(2), ; /** @@ -981,9 +1315,25 @@ public final class ProtoBuf { public static final int raiseOnMinutes_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static RaiseIntervalMode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RaiseIntervalMode forNumber(int value) { switch (value) { case 1: return raiseOnHandNum; case 2: return raiseOnMinutes; @@ -995,17 +1345,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + RaiseIntervalMode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RaiseIntervalMode findValueByNumber(int number) { - return RaiseIntervalMode.valueOf(number); + return RaiseIntervalMode.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.NetGameInfo.getDescriptor().getEnumTypes().get(1); + } + + private static final RaiseIntervalMode[] VALUES = values(); + + public static RaiseIntervalMode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private RaiseIntervalMode(int index, int value) { + private RaiseIntervalMode(int value) { this.value = value; } @@ -1016,19 +1390,19 @@ public final class ProtoBuf { * Protobuf enum {@code NetGameInfo.EndRaiseMode} */ public enum EndRaiseMode - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * doubleBlinds = 1; */ - doubleBlinds(0, 1), + doubleBlinds(1), /** * raiseByEndValue = 2; */ - raiseByEndValue(1, 2), + raiseByEndValue(2), /** * keepLastBlind = 3; */ - keepLastBlind(2, 3), + keepLastBlind(3), ; /** @@ -1045,9 +1419,25 @@ public final class ProtoBuf { public static final int keepLastBlind_VALUE = 3; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static EndRaiseMode valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static EndRaiseMode forNumber(int value) { switch (value) { case 1: return doubleBlinds; case 2: return raiseByEndValue; @@ -1060,17 +1450,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + EndRaiseMode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public EndRaiseMode findValueByNumber(int number) { - return EndRaiseMode.valueOf(number); + return EndRaiseMode.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.NetGameInfo.getDescriptor().getEnumTypes().get(2); + } + + private static final EndRaiseMode[] VALUES = values(); + + public static EndRaiseMode valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private EndRaiseMode(int index, int value) { + private EndRaiseMode(int value) { this.value = value; } @@ -1078,18 +1492,21 @@ public final class ProtoBuf { } private int bitField0_; - // required string gameName = 1; public static final int GAMENAME_FIELD_NUMBER = 1; - private java.lang.Object gameName_; + private volatile java.lang.Object gameName_; /** * required string gameName = 1; + * @return Whether the gameName field is set. */ + @java.lang.Override public boolean hasGameName() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string gameName = 1; + * @return The gameName. */ + @java.lang.Override public java.lang.String getGameName() { java.lang.Object ref = gameName_; if (ref instanceof java.lang.String) { @@ -1106,7 +1523,9 @@ public final class ProtoBuf { } /** * required string gameName = 1; + * @return The bytes for gameName. */ + @java.lang.Override public com.google.protobuf.ByteString getGameNameBytes() { java.lang.Object ref = gameName_; @@ -1121,351 +1540,387 @@ public final class ProtoBuf { } } - // required .NetGameInfo.NetGameType netGameType = 2; public static final int NETGAMETYPE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_; + private int netGameType_; /** * required .NetGameInfo.NetGameType netGameType = 2; + * @return Whether the netGameType field is set. */ - public boolean hasNetGameType() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasNetGameType() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameInfo.NetGameType netGameType = 2; + * @return The netGameType. */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType() { - return netGameType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType result = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.valueOf(netGameType_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame : result; } - // required uint32 maxNumPlayers = 3; public static final int MAXNUMPLAYERS_FIELD_NUMBER = 3; private int maxNumPlayers_; /** * required uint32 maxNumPlayers = 3; + * @return Whether the maxNumPlayers field is set. */ + @java.lang.Override public boolean hasMaxNumPlayers() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 maxNumPlayers = 3; + * @return The maxNumPlayers. */ + @java.lang.Override 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_; + private int raiseIntervalMode_; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @return Whether the raiseIntervalMode field is set. */ - public boolean hasRaiseIntervalMode() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasRaiseIntervalMode() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @return The raiseIntervalMode. */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode() { - return raiseIntervalMode_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode result = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.valueOf(raiseIntervalMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum : result; } - // optional uint32 raiseEveryHands = 5; public static final int RAISEEVERYHANDS_FIELD_NUMBER = 5; private int raiseEveryHands_; /** * optional uint32 raiseEveryHands = 5; + * @return Whether the raiseEveryHands field is set. */ + @java.lang.Override public boolean hasRaiseEveryHands() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 raiseEveryHands = 5; + * @return The raiseEveryHands. */ + @java.lang.Override public int getRaiseEveryHands() { return raiseEveryHands_; } - // optional uint32 raiseEveryMinutes = 6; public static final int RAISEEVERYMINUTES_FIELD_NUMBER = 6; private int raiseEveryMinutes_; /** * optional uint32 raiseEveryMinutes = 6; + * @return Whether the raiseEveryMinutes field is set. */ + @java.lang.Override public boolean hasRaiseEveryMinutes() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 raiseEveryMinutes = 6; + * @return The raiseEveryMinutes. */ + @java.lang.Override 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_; + private int endRaiseMode_; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @return Whether the endRaiseMode field is set. */ - public boolean hasEndRaiseMode() { - return ((bitField0_ & 0x00000040) == 0x00000040); + @java.lang.Override public boolean hasEndRaiseMode() { + return ((bitField0_ & 0x00000040) != 0); } /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @return The endRaiseMode. */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode() { - return endRaiseMode_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode result = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.valueOf(endRaiseMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds : result; } - // optional uint32 endRaiseSmallBlindValue = 8; public static final int ENDRAISESMALLBLINDVALUE_FIELD_NUMBER = 8; private int endRaiseSmallBlindValue_; /** * optional uint32 endRaiseSmallBlindValue = 8; + * @return Whether the endRaiseSmallBlindValue field is set. */ + @java.lang.Override public boolean hasEndRaiseSmallBlindValue() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 endRaiseSmallBlindValue = 8; + * @return The endRaiseSmallBlindValue. */ + @java.lang.Override public int getEndRaiseSmallBlindValue() { return endRaiseSmallBlindValue_; } - // required uint32 proposedGuiSpeed = 9; public static final int PROPOSEDGUISPEED_FIELD_NUMBER = 9; private int proposedGuiSpeed_; /** * required uint32 proposedGuiSpeed = 9; + * @return Whether the proposedGuiSpeed field is set. */ + @java.lang.Override public boolean hasProposedGuiSpeed() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** * required uint32 proposedGuiSpeed = 9; + * @return The proposedGuiSpeed. */ + @java.lang.Override 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
      * 
+ * + * required uint32 delayBetweenHands = 10; + * @return Whether the delayBetweenHands field is set. */ + @java.lang.Override public boolean hasDelayBetweenHands() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** - * required uint32 delayBetweenHands = 10; - * *
      * These are seconds
      * 
+ * + * required uint32 delayBetweenHands = 10; + * @return The delayBetweenHands. */ + @java.lang.Override 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
      * 
+ * + * required uint32 playerActionTimeout = 11; + * @return Whether the playerActionTimeout field is set. */ + @java.lang.Override public boolean hasPlayerActionTimeout() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** - * required uint32 playerActionTimeout = 11; - * *
      * These are seconds
      * 
+ * + * required uint32 playerActionTimeout = 11; + * @return The playerActionTimeout. */ + @java.lang.Override public int getPlayerActionTimeout() { return playerActionTimeout_; } - // required uint32 firstSmallBlind = 12; public static final int FIRSTSMALLBLIND_FIELD_NUMBER = 12; private int firstSmallBlind_; /** * required uint32 firstSmallBlind = 12; + * @return Whether the firstSmallBlind field is set. */ + @java.lang.Override public boolean hasFirstSmallBlind() { - return ((bitField0_ & 0x00000800) == 0x00000800); + return ((bitField0_ & 0x00000800) != 0); } /** * required uint32 firstSmallBlind = 12; + * @return The firstSmallBlind. */ + @java.lang.Override public int getFirstSmallBlind() { return firstSmallBlind_; } - // required uint32 startMoney = 13; public static final int STARTMONEY_FIELD_NUMBER = 13; private int startMoney_; /** * required uint32 startMoney = 13; + * @return Whether the startMoney field is set. */ + @java.lang.Override public boolean hasStartMoney() { - return ((bitField0_ & 0x00001000) == 0x00001000); + return ((bitField0_ & 0x00001000) != 0); } /** * required uint32 startMoney = 13; + * @return The startMoney. */ + @java.lang.Override public int getStartMoney() { return startMoney_; } - // repeated uint32 manualBlinds = 14 [packed = true]; public static final int MANUALBLINDS_FIELD_NUMBER = 14; - private java.util.List manualBlinds_; + private com.google.protobuf.Internal.IntList manualBlinds_; /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @return A list containing the manualBlinds. */ + @java.lang.Override public java.util.List getManualBlindsList() { return manualBlinds_; } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @return The count of manualBlinds. */ public int getManualBlindsCount() { return manualBlinds_.size(); } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @param index The index of the element to return. + * @return The manualBlinds at the given index. */ public int getManualBlinds(int index) { - return manualBlinds_.get(index); + return manualBlinds_.getInt(index); } private int manualBlindsMemoizedSerializedSize = -1; - // optional bool allowSpectators = 15 [default = true]; public static final int ALLOWSPECTATORS_FIELD_NUMBER = 15; private boolean allowSpectators_; /** * optional bool allowSpectators = 15 [default = true]; + * @return Whether the allowSpectators field is set. */ + @java.lang.Override public boolean hasAllowSpectators() { - return ((bitField0_ & 0x00002000) == 0x00002000); + return ((bitField0_ & 0x00002000) != 0); } /** * optional bool allowSpectators = 15 [default = true]; + * @return The allowSpectators. */ + @java.lang.Override public boolean getAllowSpectators() { return allowSpectators_; } - // optional bool allowLateReg = 16 [default = false]; public static final int ALLOWLATEREG_FIELD_NUMBER = 16; private boolean allowLateReg_; /** - * optional bool allowLateReg = 16 [default = false]; - * *
      *new data
      * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @return Whether the allowLateReg field is set. */ + @java.lang.Override public boolean hasAllowLateReg() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00004000) != 0); } /** - * optional bool allowLateReg = 16 [default = false]; - * *
      *new data
      * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @return The allowLateReg. */ + @java.lang.Override public boolean getAllowLateReg() { return allowLateReg_; } - // optional bool allowReentries = 17 [default = false]; public static final int ALLOWREENTRIES_FIELD_NUMBER = 17; private boolean allowReentries_; /** * optional bool allowReentries = 17 [default = false]; + * @return Whether the allowReentries field is set. */ + @java.lang.Override public boolean hasAllowReentries() { - return ((bitField0_ & 0x00008000) == 0x00008000); + return ((bitField0_ & 0x00008000) != 0); } /** * optional bool allowReentries = 17 [default = false]; + * @return The allowReentries. */ + @java.lang.Override public boolean getAllowReentries() { return allowReentries_; } - // optional uint32 numReentries = 18 [default = 0]; public static final int NUMREENTRIES_FIELD_NUMBER = 18; private int numReentries_; /** * optional uint32 numReentries = 18 [default = 0]; + * @return Whether the numReentries field is set. */ + @java.lang.Override public boolean hasNumReentries() { - return ((bitField0_ & 0x00010000) == 0x00010000); + return ((bitField0_ & 0x00010000) != 0); } /** * optional uint32 numReentries = 18 [default = 0]; + * @return The numReentries. */ + @java.lang.Override public int getNumReentries() { return numReentries_; } - // optional uint32 maxTimeLateReg = 19 [default = 0]; public static final int MAXTIMELATEREG_FIELD_NUMBER = 19; private int maxTimeLateReg_; /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @return Whether the maxTimeLateReg field is set. */ + @java.lang.Override public boolean hasMaxTimeLateReg() { - return ((bitField0_ & 0x00020000) == 0x00020000); + return ((bitField0_ & 0x00020000) != 0); } /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @return The maxTimeLateReg. */ + @java.lang.Override public int getMaxTimeLateReg() { return maxTimeLateReg_; } - 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(); - allowSpectators_ = true; - allowLateReg_ = false; - allowReentries_ = false; - numReentries_ = 0; - maxTimeLateReg_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameName()) { memoizedIsInitialized = 0; @@ -1511,127 +1966,128 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getGameNameBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gameName_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, netGameType_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, netGameType_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, maxNumPlayers_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, raiseIntervalMode_.getNumber()); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeEnum(4, raiseIntervalMode_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, raiseEveryHands_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, raiseEveryMinutes_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeEnum(7, endRaiseMode_.getNumber()); + if (((bitField0_ & 0x00000040) != 0)) { + output.writeEnum(7, endRaiseMode_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(8, endRaiseSmallBlindValue_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { output.writeUInt32(9, proposedGuiSpeed_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeUInt32(10, delayBetweenHands_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { output.writeUInt32(11, playerActionTimeout_); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { output.writeUInt32(12, firstSmallBlind_); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { output.writeUInt32(13, startMoney_); } if (getManualBlindsList().size() > 0) { - output.writeRawVarint32(114); - output.writeRawVarint32(manualBlindsMemoizedSerializedSize); + output.writeUInt32NoTag(114); + output.writeUInt32NoTag(manualBlindsMemoizedSerializedSize); } for (int i = 0; i < manualBlinds_.size(); i++) { - output.writeUInt32NoTag(manualBlinds_.get(i)); + output.writeUInt32NoTag(manualBlinds_.getInt(i)); } - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { output.writeBool(15, allowSpectators_); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { output.writeBool(16, allowLateReg_); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { output.writeBool(17, allowReentries_); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { output.writeUInt32(18, numReentries_); } - if (((bitField0_ & 0x00020000) == 0x00020000)) { + if (((bitField0_ & 0x00020000) != 0)) { output.writeUInt32(19, maxTimeLateReg_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getGameNameBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, gameName_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, netGameType_.getNumber()); + .computeEnumSize(2, netGameType_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, maxNumPlayers_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, raiseIntervalMode_.getNumber()); + .computeEnumSize(4, raiseIntervalMode_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, raiseEveryHands_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, raiseEveryMinutes_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, endRaiseMode_.getNumber()); + .computeEnumSize(7, endRaiseMode_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, endRaiseSmallBlindValue_); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, proposedGuiSpeed_); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, delayBetweenHands_); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, playerActionTimeout_); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(12, firstSmallBlind_); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, startMoney_); } @@ -1639,7 +2095,7 @@ public final class ProtoBuf { int dataSize = 0; for (int i = 0; i < manualBlinds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(manualBlinds_.get(i)); + .computeUInt32SizeNoTag(manualBlinds_.getInt(i)); } size += dataSize; if (!getManualBlindsList().isEmpty()) { @@ -1649,37 +2105,236 @@ public final class ProtoBuf { } manualBlindsMemoizedSerializedSize = dataSize; } - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(15, allowSpectators_); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(16, allowLateReg_); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(17, allowReentries_); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(18, numReentries_); } - if (((bitField0_ & 0x00020000) == 0x00020000)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(19, maxTimeLateReg_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.NetGameInfo)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.NetGameInfo other = (de.pokerth.protocol.ProtoBuf.NetGameInfo) obj; + + if (hasGameName() != other.hasGameName()) return false; + if (hasGameName()) { + if (!getGameName() + .equals(other.getGameName())) return false; + } + if (hasNetGameType() != other.hasNetGameType()) return false; + if (hasNetGameType()) { + if (netGameType_ != other.netGameType_) return false; + } + if (hasMaxNumPlayers() != other.hasMaxNumPlayers()) return false; + if (hasMaxNumPlayers()) { + if (getMaxNumPlayers() + != other.getMaxNumPlayers()) return false; + } + if (hasRaiseIntervalMode() != other.hasRaiseIntervalMode()) return false; + if (hasRaiseIntervalMode()) { + if (raiseIntervalMode_ != other.raiseIntervalMode_) return false; + } + if (hasRaiseEveryHands() != other.hasRaiseEveryHands()) return false; + if (hasRaiseEveryHands()) { + if (getRaiseEveryHands() + != other.getRaiseEveryHands()) return false; + } + if (hasRaiseEveryMinutes() != other.hasRaiseEveryMinutes()) return false; + if (hasRaiseEveryMinutes()) { + if (getRaiseEveryMinutes() + != other.getRaiseEveryMinutes()) return false; + } + if (hasEndRaiseMode() != other.hasEndRaiseMode()) return false; + if (hasEndRaiseMode()) { + if (endRaiseMode_ != other.endRaiseMode_) return false; + } + if (hasEndRaiseSmallBlindValue() != other.hasEndRaiseSmallBlindValue()) return false; + if (hasEndRaiseSmallBlindValue()) { + if (getEndRaiseSmallBlindValue() + != other.getEndRaiseSmallBlindValue()) return false; + } + if (hasProposedGuiSpeed() != other.hasProposedGuiSpeed()) return false; + if (hasProposedGuiSpeed()) { + if (getProposedGuiSpeed() + != other.getProposedGuiSpeed()) return false; + } + if (hasDelayBetweenHands() != other.hasDelayBetweenHands()) return false; + if (hasDelayBetweenHands()) { + if (getDelayBetweenHands() + != other.getDelayBetweenHands()) return false; + } + if (hasPlayerActionTimeout() != other.hasPlayerActionTimeout()) return false; + if (hasPlayerActionTimeout()) { + if (getPlayerActionTimeout() + != other.getPlayerActionTimeout()) return false; + } + if (hasFirstSmallBlind() != other.hasFirstSmallBlind()) return false; + if (hasFirstSmallBlind()) { + if (getFirstSmallBlind() + != other.getFirstSmallBlind()) return false; + } + if (hasStartMoney() != other.hasStartMoney()) return false; + if (hasStartMoney()) { + if (getStartMoney() + != other.getStartMoney()) return false; + } + if (!getManualBlindsList() + .equals(other.getManualBlindsList())) return false; + if (hasAllowSpectators() != other.hasAllowSpectators()) return false; + if (hasAllowSpectators()) { + if (getAllowSpectators() + != other.getAllowSpectators()) return false; + } + if (hasAllowLateReg() != other.hasAllowLateReg()) return false; + if (hasAllowLateReg()) { + if (getAllowLateReg() + != other.getAllowLateReg()) return false; + } + if (hasAllowReentries() != other.hasAllowReentries()) return false; + if (hasAllowReentries()) { + if (getAllowReentries() + != other.getAllowReentries()) return false; + } + if (hasNumReentries() != other.hasNumReentries()) return false; + if (hasNumReentries()) { + if (getNumReentries() + != other.getNumReentries()) return false; + } + if (hasMaxTimeLateReg() != other.hasMaxTimeLateReg()) return false; + if (hasMaxTimeLateReg()) { + if (getMaxTimeLateReg() + != other.getMaxTimeLateReg()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameName()) { + hash = (37 * hash) + GAMENAME_FIELD_NUMBER; + hash = (53 * hash) + getGameName().hashCode(); + } + if (hasNetGameType()) { + hash = (37 * hash) + NETGAMETYPE_FIELD_NUMBER; + hash = (53 * hash) + netGameType_; + } + if (hasMaxNumPlayers()) { + hash = (37 * hash) + MAXNUMPLAYERS_FIELD_NUMBER; + hash = (53 * hash) + getMaxNumPlayers(); + } + if (hasRaiseIntervalMode()) { + hash = (37 * hash) + RAISEINTERVALMODE_FIELD_NUMBER; + hash = (53 * hash) + raiseIntervalMode_; + } + if (hasRaiseEveryHands()) { + hash = (37 * hash) + RAISEEVERYHANDS_FIELD_NUMBER; + hash = (53 * hash) + getRaiseEveryHands(); + } + if (hasRaiseEveryMinutes()) { + hash = (37 * hash) + RAISEEVERYMINUTES_FIELD_NUMBER; + hash = (53 * hash) + getRaiseEveryMinutes(); + } + if (hasEndRaiseMode()) { + hash = (37 * hash) + ENDRAISEMODE_FIELD_NUMBER; + hash = (53 * hash) + endRaiseMode_; + } + if (hasEndRaiseSmallBlindValue()) { + hash = (37 * hash) + ENDRAISESMALLBLINDVALUE_FIELD_NUMBER; + hash = (53 * hash) + getEndRaiseSmallBlindValue(); + } + if (hasProposedGuiSpeed()) { + hash = (37 * hash) + PROPOSEDGUISPEED_FIELD_NUMBER; + hash = (53 * hash) + getProposedGuiSpeed(); + } + if (hasDelayBetweenHands()) { + hash = (37 * hash) + DELAYBETWEENHANDS_FIELD_NUMBER; + hash = (53 * hash) + getDelayBetweenHands(); + } + if (hasPlayerActionTimeout()) { + hash = (37 * hash) + PLAYERACTIONTIMEOUT_FIELD_NUMBER; + hash = (53 * hash) + getPlayerActionTimeout(); + } + if (hasFirstSmallBlind()) { + hash = (37 * hash) + FIRSTSMALLBLIND_FIELD_NUMBER; + hash = (53 * hash) + getFirstSmallBlind(); + } + if (hasStartMoney()) { + hash = (37 * hash) + STARTMONEY_FIELD_NUMBER; + hash = (53 * hash) + getStartMoney(); + } + if (getManualBlindsCount() > 0) { + hash = (37 * hash) + MANUALBLINDS_FIELD_NUMBER; + hash = (53 * hash) + getManualBlindsList().hashCode(); + } + if (hasAllowSpectators()) { + hash = (37 * hash) + ALLOWSPECTATORS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSpectators()); + } + if (hasAllowLateReg()) { + hash = (37 * hash) + ALLOWLATEREG_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowLateReg()); + } + if (hasAllowReentries()) { + hash = (37 * hash) + ALLOWREENTRIES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowReentries()); + } + if (hasNumReentries()) { + hash = (37 * hash) + NUMREENTRIES_FIELD_NUMBER; + hash = (53 * hash) + getNumReentries(); + } + if (hasMaxTimeLateReg()) { + hash = (37 * hash) + MAXTIMELATEREG_FIELD_NUMBER; + hash = (53 * hash) + getMaxTimeLateReg(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -1703,76 +2358,113 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.NetGameInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.NetGameInfo prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:NetGameInfo) + de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_NetGameInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_NetGameInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.NetGameInfo.class, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); - netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; + netGameType_ = 1; bitField0_ = (bitField0_ & ~0x00000002); maxNumPlayers_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; + raiseIntervalMode_ = 1; bitField0_ = (bitField0_ & ~0x00000008); raiseEveryHands_ = 0; bitField0_ = (bitField0_ & ~0x00000010); raiseEveryMinutes_ = 0; bitField0_ = (bitField0_ & ~0x00000020); - endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; + endRaiseMode_ = 1; bitField0_ = (bitField0_ & ~0x00000040); endRaiseSmallBlindValue_ = 0; bitField0_ = (bitField0_ & ~0x00000080); @@ -1786,7 +2478,7 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000800); startMoney_ = 0; bitField0_ = (bitField0_ & ~0x00001000); - manualBlinds_ = java.util.Collections.emptyList(); + manualBlinds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00002000); allowSpectators_ = true; bitField0_ = (bitField0_ & ~0x00004000); @@ -1801,14 +2493,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_NetGameInfo_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo build() { de.pokerth.protocol.ProtoBuf.NetGameInfo result = buildPartial(); if (!result.isInitialized()) { @@ -1817,97 +2513,141 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.gameName_ = gameName_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.netGameType_ = netGameType_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.maxNumPlayers_ = maxNumPlayers_; to_bitField0_ |= 0x00000004; } - result.maxNumPlayers_ = maxNumPlayers_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.raiseIntervalMode_ = raiseIntervalMode_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.raiseEveryHands_ = raiseEveryHands_; to_bitField0_ |= 0x00000010; } - result.raiseEveryHands_ = raiseEveryHands_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.raiseEveryMinutes_ = raiseEveryMinutes_; to_bitField0_ |= 0x00000020; } - result.raiseEveryMinutes_ = raiseEveryMinutes_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.endRaiseMode_ = endRaiseMode_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + if (((from_bitField0_ & 0x00000080) != 0)) { + result.endRaiseSmallBlindValue_ = endRaiseSmallBlindValue_; to_bitField0_ |= 0x00000080; } - result.endRaiseSmallBlindValue_ = endRaiseSmallBlindValue_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + if (((from_bitField0_ & 0x00000100) != 0)) { + result.proposedGuiSpeed_ = proposedGuiSpeed_; to_bitField0_ |= 0x00000100; } - result.proposedGuiSpeed_ = proposedGuiSpeed_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + if (((from_bitField0_ & 0x00000200) != 0)) { + result.delayBetweenHands_ = delayBetweenHands_; to_bitField0_ |= 0x00000200; } - result.delayBetweenHands_ = delayBetweenHands_; - if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + if (((from_bitField0_ & 0x00000400) != 0)) { + result.playerActionTimeout_ = playerActionTimeout_; to_bitField0_ |= 0x00000400; } - result.playerActionTimeout_ = playerActionTimeout_; - if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + if (((from_bitField0_ & 0x00000800) != 0)) { + result.firstSmallBlind_ = firstSmallBlind_; to_bitField0_ |= 0x00000800; } - result.firstSmallBlind_ = firstSmallBlind_; - if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + if (((from_bitField0_ & 0x00001000) != 0)) { + result.startMoney_ = startMoney_; to_bitField0_ |= 0x00001000; } - result.startMoney_ = startMoney_; - if (((bitField0_ & 0x00002000) == 0x00002000)) { - manualBlinds_ = java.util.Collections.unmodifiableList(manualBlinds_); + if (((bitField0_ & 0x00002000) != 0)) { + manualBlinds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00002000); } result.manualBlinds_ = manualBlinds_; - if (((from_bitField0_ & 0x00004000) == 0x00004000)) { + if (((from_bitField0_ & 0x00004000) != 0)) { to_bitField0_ |= 0x00002000; } result.allowSpectators_ = allowSpectators_; - if (((from_bitField0_ & 0x00008000) == 0x00008000)) { + if (((from_bitField0_ & 0x00008000) != 0)) { + result.allowLateReg_ = allowLateReg_; to_bitField0_ |= 0x00004000; } - result.allowLateReg_ = allowLateReg_; - if (((from_bitField0_ & 0x00010000) == 0x00010000)) { + if (((from_bitField0_ & 0x00010000) != 0)) { + result.allowReentries_ = allowReentries_; to_bitField0_ |= 0x00008000; } - result.allowReentries_ = allowReentries_; - if (((from_bitField0_ & 0x00020000) == 0x00020000)) { + if (((from_bitField0_ & 0x00020000) != 0)) { + result.numReentries_ = numReentries_; to_bitField0_ |= 0x00010000; } - result.numReentries_ = numReentries_; - if (((from_bitField0_ & 0x00040000) == 0x00040000)) { + if (((from_bitField0_ & 0x00040000) != 0)) { + result.maxTimeLateReg_ = maxTimeLateReg_; to_bitField0_ |= 0x00020000; } - result.maxTimeLateReg_ = maxTimeLateReg_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.NetGameInfo) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.NetGameInfo)other); + } else { + super.mergeFrom(other); + return this; + } + } + 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_; - + onChanged(); } if (other.hasNetGameType()) { setNetGameType(other.getNetGameType()); @@ -1953,7 +2693,7 @@ public final class ProtoBuf { ensureManualBlindsIsMutable(); manualBlinds_.addAll(other.manualBlinds_); } - + onChanged(); } if (other.hasAllowSpectators()) { setAllowSpectators(other.getAllowSpectators()); @@ -1970,53 +2710,47 @@ public final class ProtoBuf { if (other.hasMaxTimeLateReg()) { setMaxTimeLateReg(other.getMaxTimeLateReg()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override 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; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2026,7 +2760,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.NetGameInfo) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -2036,23 +2770,27 @@ public final class ProtoBuf { } private int bitField0_; - // required string gameName = 1; private java.lang.Object gameName_ = ""; /** * required string gameName = 1; + * @return Whether the gameName field is set. */ public boolean hasGameName() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string gameName = 1; + * @return The gameName. */ public java.lang.String getGameName() { java.lang.Object ref = gameName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - gameName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + gameName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -2060,6 +2798,7 @@ public final class ProtoBuf { } /** * required string gameName = 1; + * @return The bytes for gameName. */ public com.google.protobuf.ByteString getGameNameBytes() { @@ -2076,6 +2815,8 @@ public final class ProtoBuf { } /** * required string gameName = 1; + * @param value The gameName to set. + * @return This builder for chaining. */ public Builder setGameName( java.lang.String value) { @@ -2084,20 +2825,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; gameName_ = value; - + onChanged(); return this; } /** * required string gameName = 1; + * @return This builder for chaining. */ public Builder clearGameName() { bitField0_ = (bitField0_ & ~0x00000001); gameName_ = getDefaultInstance().getGameName(); - + onChanged(); return this; } /** * required string gameName = 1; + * @param value The bytes for gameName to set. + * @return This builder for chaining. */ public Builder setGameNameBytes( com.google.protobuf.ByteString value) { @@ -2106,779 +2850,948 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; gameName_ = value; - + onChanged(); return this; } - // required .NetGameInfo.NetGameType netGameType = 2; - private de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; + private int netGameType_ = 1; /** * required .NetGameInfo.NetGameType netGameType = 2; + * @return Whether the netGameType field is set. */ - public boolean hasNetGameType() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasNetGameType() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameInfo.NetGameType netGameType = 2; + * @return The netGameType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType getNetGameType() { - return netGameType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType result = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.valueOf(netGameType_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame : result; } /** * required .NetGameInfo.NetGameType netGameType = 2; + * @param value The netGameType to set. + * @return This builder for chaining. */ public Builder setNetGameType(de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - netGameType_ = value; - + netGameType_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameInfo.NetGameType netGameType = 2; + * @return This builder for chaining. */ public Builder clearNetGameType() { bitField0_ = (bitField0_ & ~0x00000002); - netGameType_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.NetGameType.normalGame; - + netGameType_ = 1; + onChanged(); return this; } - // required uint32 maxNumPlayers = 3; private int maxNumPlayers_ ; /** * required uint32 maxNumPlayers = 3; + * @return Whether the maxNumPlayers field is set. */ + @java.lang.Override public boolean hasMaxNumPlayers() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 maxNumPlayers = 3; + * @return The maxNumPlayers. */ + @java.lang.Override public int getMaxNumPlayers() { return maxNumPlayers_; } /** * required uint32 maxNumPlayers = 3; + * @param value The maxNumPlayers to set. + * @return This builder for chaining. */ public Builder setMaxNumPlayers(int value) { bitField0_ |= 0x00000004; maxNumPlayers_ = value; - + onChanged(); return this; } /** * required uint32 maxNumPlayers = 3; + * @return This builder for chaining. */ public Builder clearMaxNumPlayers() { bitField0_ = (bitField0_ & ~0x00000004); maxNumPlayers_ = 0; - + onChanged(); return this; } - // required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; - private de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; + private int raiseIntervalMode_ = 1; /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @return Whether the raiseIntervalMode field is set. */ - public boolean hasRaiseIntervalMode() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasRaiseIntervalMode() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @return The raiseIntervalMode. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode getRaiseIntervalMode() { - return raiseIntervalMode_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode result = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.valueOf(raiseIntervalMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum : result; } /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @param value The raiseIntervalMode to set. + * @return This builder for chaining. */ public Builder setRaiseIntervalMode(de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; - raiseIntervalMode_ = value; - + raiseIntervalMode_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameInfo.RaiseIntervalMode raiseIntervalMode = 4; + * @return This builder for chaining. */ public Builder clearRaiseIntervalMode() { bitField0_ = (bitField0_ & ~0x00000008); - raiseIntervalMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.RaiseIntervalMode.raiseOnHandNum; - + raiseIntervalMode_ = 1; + onChanged(); return this; } - // optional uint32 raiseEveryHands = 5; private int raiseEveryHands_ ; /** * optional uint32 raiseEveryHands = 5; + * @return Whether the raiseEveryHands field is set. */ + @java.lang.Override public boolean hasRaiseEveryHands() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 raiseEveryHands = 5; + * @return The raiseEveryHands. */ + @java.lang.Override public int getRaiseEveryHands() { return raiseEveryHands_; } /** * optional uint32 raiseEveryHands = 5; + * @param value The raiseEveryHands to set. + * @return This builder for chaining. */ public Builder setRaiseEveryHands(int value) { bitField0_ |= 0x00000010; raiseEveryHands_ = value; - + onChanged(); return this; } /** * optional uint32 raiseEveryHands = 5; + * @return This builder for chaining. */ public Builder clearRaiseEveryHands() { bitField0_ = (bitField0_ & ~0x00000010); raiseEveryHands_ = 0; - + onChanged(); return this; } - // optional uint32 raiseEveryMinutes = 6; private int raiseEveryMinutes_ ; /** * optional uint32 raiseEveryMinutes = 6; + * @return Whether the raiseEveryMinutes field is set. */ + @java.lang.Override public boolean hasRaiseEveryMinutes() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 raiseEveryMinutes = 6; + * @return The raiseEveryMinutes. */ + @java.lang.Override public int getRaiseEveryMinutes() { return raiseEveryMinutes_; } /** * optional uint32 raiseEveryMinutes = 6; + * @param value The raiseEveryMinutes to set. + * @return This builder for chaining. */ public Builder setRaiseEveryMinutes(int value) { bitField0_ |= 0x00000020; raiseEveryMinutes_ = value; - + onChanged(); return this; } /** * optional uint32 raiseEveryMinutes = 6; + * @return This builder for chaining. */ public Builder clearRaiseEveryMinutes() { bitField0_ = (bitField0_ & ~0x00000020); raiseEveryMinutes_ = 0; - + onChanged(); return this; } - // required .NetGameInfo.EndRaiseMode endRaiseMode = 7; - private de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; + private int endRaiseMode_ = 1; /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @return Whether the endRaiseMode field is set. */ - public boolean hasEndRaiseMode() { - return ((bitField0_ & 0x00000040) == 0x00000040); + @java.lang.Override public boolean hasEndRaiseMode() { + return ((bitField0_ & 0x00000040) != 0); } /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @return The endRaiseMode. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode getEndRaiseMode() { - return endRaiseMode_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode result = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.valueOf(endRaiseMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds : result; } /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @param value The endRaiseMode to set. + * @return This builder for chaining. */ public Builder setEndRaiseMode(de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; - endRaiseMode_ = value; - + endRaiseMode_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameInfo.EndRaiseMode endRaiseMode = 7; + * @return This builder for chaining. */ public Builder clearEndRaiseMode() { bitField0_ = (bitField0_ & ~0x00000040); - endRaiseMode_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.EndRaiseMode.doubleBlinds; - + endRaiseMode_ = 1; + onChanged(); return this; } - // optional uint32 endRaiseSmallBlindValue = 8; private int endRaiseSmallBlindValue_ ; /** * optional uint32 endRaiseSmallBlindValue = 8; + * @return Whether the endRaiseSmallBlindValue field is set. */ + @java.lang.Override public boolean hasEndRaiseSmallBlindValue() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** * optional uint32 endRaiseSmallBlindValue = 8; + * @return The endRaiseSmallBlindValue. */ + @java.lang.Override public int getEndRaiseSmallBlindValue() { return endRaiseSmallBlindValue_; } /** * optional uint32 endRaiseSmallBlindValue = 8; + * @param value The endRaiseSmallBlindValue to set. + * @return This builder for chaining. */ public Builder setEndRaiseSmallBlindValue(int value) { bitField0_ |= 0x00000080; endRaiseSmallBlindValue_ = value; - + onChanged(); return this; } /** * optional uint32 endRaiseSmallBlindValue = 8; + * @return This builder for chaining. */ public Builder clearEndRaiseSmallBlindValue() { bitField0_ = (bitField0_ & ~0x00000080); endRaiseSmallBlindValue_ = 0; - + onChanged(); return this; } - // required uint32 proposedGuiSpeed = 9; private int proposedGuiSpeed_ ; /** * required uint32 proposedGuiSpeed = 9; + * @return Whether the proposedGuiSpeed field is set. */ + @java.lang.Override public boolean hasProposedGuiSpeed() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** * required uint32 proposedGuiSpeed = 9; + * @return The proposedGuiSpeed. */ + @java.lang.Override public int getProposedGuiSpeed() { return proposedGuiSpeed_; } /** * required uint32 proposedGuiSpeed = 9; + * @param value The proposedGuiSpeed to set. + * @return This builder for chaining. */ public Builder setProposedGuiSpeed(int value) { bitField0_ |= 0x00000100; proposedGuiSpeed_ = value; - + onChanged(); return this; } /** * required uint32 proposedGuiSpeed = 9; + * @return This builder for chaining. */ public Builder clearProposedGuiSpeed() { bitField0_ = (bitField0_ & ~0x00000100); proposedGuiSpeed_ = 0; - + onChanged(); return this; } - // required uint32 delayBetweenHands = 10; private int delayBetweenHands_ ; /** - * required uint32 delayBetweenHands = 10; - * *
        * These are seconds
        * 
+ * + * required uint32 delayBetweenHands = 10; + * @return Whether the delayBetweenHands field is set. */ + @java.lang.Override public boolean hasDelayBetweenHands() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** - * required uint32 delayBetweenHands = 10; - * *
        * These are seconds
        * 
+ * + * required uint32 delayBetweenHands = 10; + * @return The delayBetweenHands. */ + @java.lang.Override public int getDelayBetweenHands() { return delayBetweenHands_; } /** - * required uint32 delayBetweenHands = 10; - * *
        * These are seconds
        * 
+ * + * required uint32 delayBetweenHands = 10; + * @param value The delayBetweenHands to set. + * @return This builder for chaining. */ public Builder setDelayBetweenHands(int value) { bitField0_ |= 0x00000200; delayBetweenHands_ = value; - + onChanged(); return this; } /** - * required uint32 delayBetweenHands = 10; - * *
        * These are seconds
        * 
+ * + * required uint32 delayBetweenHands = 10; + * @return This builder for chaining. */ public Builder clearDelayBetweenHands() { bitField0_ = (bitField0_ & ~0x00000200); delayBetweenHands_ = 0; - + onChanged(); return this; } - // required uint32 playerActionTimeout = 11; private int playerActionTimeout_ ; /** - * required uint32 playerActionTimeout = 11; - * *
        * These are seconds
        * 
+ * + * required uint32 playerActionTimeout = 11; + * @return Whether the playerActionTimeout field is set. */ + @java.lang.Override public boolean hasPlayerActionTimeout() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** - * required uint32 playerActionTimeout = 11; - * *
        * These are seconds
        * 
+ * + * required uint32 playerActionTimeout = 11; + * @return The playerActionTimeout. */ + @java.lang.Override public int getPlayerActionTimeout() { return playerActionTimeout_; } /** - * required uint32 playerActionTimeout = 11; - * *
        * These are seconds
        * 
+ * + * required uint32 playerActionTimeout = 11; + * @param value The playerActionTimeout to set. + * @return This builder for chaining. */ public Builder setPlayerActionTimeout(int value) { bitField0_ |= 0x00000400; playerActionTimeout_ = value; - + onChanged(); return this; } /** - * required uint32 playerActionTimeout = 11; - * *
        * These are seconds
        * 
+ * + * required uint32 playerActionTimeout = 11; + * @return This builder for chaining. */ public Builder clearPlayerActionTimeout() { bitField0_ = (bitField0_ & ~0x00000400); playerActionTimeout_ = 0; - + onChanged(); return this; } - // required uint32 firstSmallBlind = 12; private int firstSmallBlind_ ; /** * required uint32 firstSmallBlind = 12; + * @return Whether the firstSmallBlind field is set. */ + @java.lang.Override public boolean hasFirstSmallBlind() { - return ((bitField0_ & 0x00000800) == 0x00000800); + return ((bitField0_ & 0x00000800) != 0); } /** * required uint32 firstSmallBlind = 12; + * @return The firstSmallBlind. */ + @java.lang.Override public int getFirstSmallBlind() { return firstSmallBlind_; } /** * required uint32 firstSmallBlind = 12; + * @param value The firstSmallBlind to set. + * @return This builder for chaining. */ public Builder setFirstSmallBlind(int value) { bitField0_ |= 0x00000800; firstSmallBlind_ = value; - + onChanged(); return this; } /** * required uint32 firstSmallBlind = 12; + * @return This builder for chaining. */ public Builder clearFirstSmallBlind() { bitField0_ = (bitField0_ & ~0x00000800); firstSmallBlind_ = 0; - + onChanged(); return this; } - // required uint32 startMoney = 13; private int startMoney_ ; /** * required uint32 startMoney = 13; + * @return Whether the startMoney field is set. */ + @java.lang.Override public boolean hasStartMoney() { - return ((bitField0_ & 0x00001000) == 0x00001000); + return ((bitField0_ & 0x00001000) != 0); } /** * required uint32 startMoney = 13; + * @return The startMoney. */ + @java.lang.Override public int getStartMoney() { return startMoney_; } /** * required uint32 startMoney = 13; + * @param value The startMoney to set. + * @return This builder for chaining. */ public Builder setStartMoney(int value) { bitField0_ |= 0x00001000; startMoney_ = value; - + onChanged(); return this; } /** * required uint32 startMoney = 13; + * @return This builder for chaining. */ public Builder clearStartMoney() { bitField0_ = (bitField0_ & ~0x00001000); startMoney_ = 0; - + onChanged(); return this; } - // repeated uint32 manualBlinds = 14 [packed = true]; - private java.util.List manualBlinds_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList manualBlinds_ = emptyIntList(); private void ensureManualBlindsIsMutable() { - if (!((bitField0_ & 0x00002000) == 0x00002000)) { - manualBlinds_ = new java.util.ArrayList(manualBlinds_); + if (!((bitField0_ & 0x00002000) != 0)) { + manualBlinds_ = mutableCopy(manualBlinds_); bitField0_ |= 0x00002000; } } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @return A list containing the manualBlinds. */ public java.util.List getManualBlindsList() { - return java.util.Collections.unmodifiableList(manualBlinds_); + return ((bitField0_ & 0x00002000) != 0) ? + java.util.Collections.unmodifiableList(manualBlinds_) : manualBlinds_; } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @return The count of manualBlinds. */ public int getManualBlindsCount() { return manualBlinds_.size(); } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @param index The index of the element to return. + * @return The manualBlinds at the given index. */ public int getManualBlinds(int index) { - return manualBlinds_.get(index); + return manualBlinds_.getInt(index); } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @param index The index to set the value at. + * @param value The manualBlinds to set. + * @return This builder for chaining. */ public Builder setManualBlinds( int index, int value) { ensureManualBlindsIsMutable(); - manualBlinds_.set(index, value); - + manualBlinds_.setInt(index, value); + onChanged(); return this; } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @param value The manualBlinds to add. + * @return This builder for chaining. */ public Builder addManualBlinds(int value) { ensureManualBlindsIsMutable(); - manualBlinds_.add(value); - + manualBlinds_.addInt(value); + onChanged(); return this; } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @param values The manualBlinds to add. + * @return This builder for chaining. */ public Builder addAllManualBlinds( java.lang.Iterable values) { ensureManualBlindsIsMutable(); - super.addAll(values, manualBlinds_); - + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, manualBlinds_); + onChanged(); return this; } /** * repeated uint32 manualBlinds = 14 [packed = true]; + * @return This builder for chaining. */ public Builder clearManualBlinds() { - manualBlinds_ = java.util.Collections.emptyList(); + manualBlinds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00002000); - + onChanged(); return this; } - // optional bool allowSpectators = 15 [default = true]; private boolean allowSpectators_ = true; /** * optional bool allowSpectators = 15 [default = true]; + * @return Whether the allowSpectators field is set. */ + @java.lang.Override public boolean hasAllowSpectators() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00004000) != 0); } /** * optional bool allowSpectators = 15 [default = true]; + * @return The allowSpectators. */ + @java.lang.Override public boolean getAllowSpectators() { return allowSpectators_; } /** * optional bool allowSpectators = 15 [default = true]; + * @param value The allowSpectators to set. + * @return This builder for chaining. */ public Builder setAllowSpectators(boolean value) { bitField0_ |= 0x00004000; allowSpectators_ = value; - + onChanged(); return this; } /** * optional bool allowSpectators = 15 [default = true]; + * @return This builder for chaining. */ public Builder clearAllowSpectators() { bitField0_ = (bitField0_ & ~0x00004000); allowSpectators_ = true; - + onChanged(); return this; } - // optional bool allowLateReg = 16 [default = false]; private boolean allowLateReg_ ; /** - * optional bool allowLateReg = 16 [default = false]; - * *
        *new data
        * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @return Whether the allowLateReg field is set. */ + @java.lang.Override public boolean hasAllowLateReg() { - return ((bitField0_ & 0x00008000) == 0x00008000); + return ((bitField0_ & 0x00008000) != 0); } /** - * optional bool allowLateReg = 16 [default = false]; - * *
        *new data
        * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @return The allowLateReg. */ + @java.lang.Override public boolean getAllowLateReg() { return allowLateReg_; } /** - * optional bool allowLateReg = 16 [default = false]; - * *
        *new data
        * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @param value The allowLateReg to set. + * @return This builder for chaining. */ public Builder setAllowLateReg(boolean value) { bitField0_ |= 0x00008000; allowLateReg_ = value; - + onChanged(); return this; } /** - * optional bool allowLateReg = 16 [default = false]; - * *
        *new data
        * 
+ * + * optional bool allowLateReg = 16 [default = false]; + * @return This builder for chaining. */ public Builder clearAllowLateReg() { bitField0_ = (bitField0_ & ~0x00008000); allowLateReg_ = false; - + onChanged(); return this; } - // optional bool allowReentries = 17 [default = false]; private boolean allowReentries_ ; /** * optional bool allowReentries = 17 [default = false]; + * @return Whether the allowReentries field is set. */ + @java.lang.Override public boolean hasAllowReentries() { - return ((bitField0_ & 0x00010000) == 0x00010000); + return ((bitField0_ & 0x00010000) != 0); } /** * optional bool allowReentries = 17 [default = false]; + * @return The allowReentries. */ + @java.lang.Override public boolean getAllowReentries() { return allowReentries_; } /** * optional bool allowReentries = 17 [default = false]; + * @param value The allowReentries to set. + * @return This builder for chaining. */ public Builder setAllowReentries(boolean value) { bitField0_ |= 0x00010000; allowReentries_ = value; - + onChanged(); return this; } /** * optional bool allowReentries = 17 [default = false]; + * @return This builder for chaining. */ public Builder clearAllowReentries() { bitField0_ = (bitField0_ & ~0x00010000); allowReentries_ = false; - + onChanged(); return this; } - // optional uint32 numReentries = 18 [default = 0]; private int numReentries_ ; /** * optional uint32 numReentries = 18 [default = 0]; + * @return Whether the numReentries field is set. */ + @java.lang.Override public boolean hasNumReentries() { - return ((bitField0_ & 0x00020000) == 0x00020000); + return ((bitField0_ & 0x00020000) != 0); } /** * optional uint32 numReentries = 18 [default = 0]; + * @return The numReentries. */ + @java.lang.Override public int getNumReentries() { return numReentries_; } /** * optional uint32 numReentries = 18 [default = 0]; + * @param value The numReentries to set. + * @return This builder for chaining. */ public Builder setNumReentries(int value) { bitField0_ |= 0x00020000; numReentries_ = value; - + onChanged(); return this; } /** * optional uint32 numReentries = 18 [default = 0]; + * @return This builder for chaining. */ public Builder clearNumReentries() { bitField0_ = (bitField0_ & ~0x00020000); numReentries_ = 0; - + onChanged(); return this; } - // optional uint32 maxTimeLateReg = 19 [default = 0]; private int maxTimeLateReg_ ; /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @return Whether the maxTimeLateReg field is set. */ + @java.lang.Override public boolean hasMaxTimeLateReg() { - return ((bitField0_ & 0x00040000) == 0x00040000); + return ((bitField0_ & 0x00040000) != 0); } /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @return The maxTimeLateReg. */ + @java.lang.Override public int getMaxTimeLateReg() { return maxTimeLateReg_; } /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @param value The maxTimeLateReg to set. + * @return This builder for chaining. */ public Builder setMaxTimeLateReg(int value) { bitField0_ |= 0x00040000; maxTimeLateReg_ = value; - + onChanged(); return this; } /** * optional uint32 maxTimeLateReg = 19 [default = 0]; + * @return This builder for chaining. */ public Builder clearMaxTimeLateReg() { bitField0_ = (bitField0_ & ~0x00040000); maxTimeLateReg_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:NetGameInfo) } + // @@protoc_insertion_point(class_scope:NetGameInfo) + private static final de.pokerth.protocol.ProtoBuf.NetGameInfo DEFAULT_INSTANCE; static { - defaultInstance = new NetGameInfo(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.NetGameInfo(); + } + + public static de.pokerth.protocol.ProtoBuf.NetGameInfo getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetGameInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetGameInfo(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.NetGameInfo getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:NetGameInfo) } - public interface PlayerResultOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerResult) + com.google.protobuf.MessageOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 1; + * @return The playerId. */ int getPlayerId(); - // required uint32 resultCard1 = 2; /** * required uint32 resultCard1 = 2; + * @return Whether the resultCard1 field is set. */ boolean hasResultCard1(); /** * required uint32 resultCard1 = 2; + * @return The resultCard1. */ int getResultCard1(); - // required uint32 resultCard2 = 3; /** * required uint32 resultCard2 = 3; + * @return Whether the resultCard2 field is set. */ boolean hasResultCard2(); /** * required uint32 resultCard2 = 3; + * @return The resultCard2. */ int getResultCard2(); - // repeated uint32 bestHandPosition = 4 [packed = true]; /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @return A list containing the bestHandPosition. */ java.util.List getBestHandPositionList(); /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @return The count of bestHandPosition. */ int getBestHandPositionCount(); /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @param index The index of the element to return. + * @return The bestHandPosition at the given index. */ int getBestHandPosition(int index); - // required uint32 moneyWon = 5; /** * required uint32 moneyWon = 5; + * @return Whether the moneyWon field is set. */ boolean hasMoneyWon(); /** * required uint32 moneyWon = 5; + * @return The moneyWon. */ int getMoneyWon(); - // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; + * @return Whether the playerMoney field is set. */ boolean hasPlayerMoney(); /** * required uint32 playerMoney = 6; + * @return The playerMoney. */ int getPlayerMoney(); - // optional uint32 cardsValue = 7; /** * optional uint32 cardsValue = 7; + * @return Whether the cardsValue field is set. */ boolean hasCardsValue(); /** * optional uint32 cardsValue = 7; + * @return The cardsValue. */ int getCardsValue(); } @@ -2886,30 +3799,41 @@ public final class ProtoBuf { * Protobuf type {@code PlayerResult} */ public static final class PlayerResult extends - com.google.protobuf.GeneratedMessageLite - implements PlayerResultOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerResult) + PlayerResultOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayerResult.newBuilder() to construct. - private PlayerResult(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayerResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayerResult(boolean noInit) {} - - private static final PlayerResult defaultInstance; - public static PlayerResult getDefaultInstance() { - return defaultInstance; + private PlayerResult() { + bestHandPosition_ = emptyIntList(); } - public PlayerResult getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerResult(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayerResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -2918,13 +3842,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; playerId_ = input.readUInt32(); @@ -2941,22 +3858,22 @@ public final class ProtoBuf { break; } case 32: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - bestHandPosition_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + bestHandPosition_ = newIntList(); mutable_bitField0_ |= 0x00000008; } - bestHandPosition_.add(input.readUInt32()); + bestHandPosition_.addInt(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(); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + bestHandPosition_ = newIntList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { - bestHandPosition_.add(input.readUInt32()); + bestHandPosition_.addInt(input.readUInt32()); } input.popLimit(limit); break; @@ -2976,169 +3893,190 @@ public final class ProtoBuf { cardsValue_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - bestHandPosition_ = java.util.Collections.unmodifiableList(bestHandPosition_); + if (((mutable_bitField0_ & 0x00000008) != 0)) { + bestHandPosition_.makeImmutable(); // C } + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerResult_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerResult.class, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder.class); } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required uint32 resultCard1 = 2; public static final int RESULTCARD1_FIELD_NUMBER = 2; private int resultCard1_; /** * required uint32 resultCard1 = 2; + * @return Whether the resultCard1 field is set. */ + @java.lang.Override public boolean hasResultCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 resultCard1 = 2; + * @return The resultCard1. */ + @java.lang.Override public int getResultCard1() { return resultCard1_; } - // required uint32 resultCard2 = 3; public static final int RESULTCARD2_FIELD_NUMBER = 3; private int resultCard2_; /** * required uint32 resultCard2 = 3; + * @return Whether the resultCard2 field is set. */ + @java.lang.Override public boolean hasResultCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 resultCard2 = 3; + * @return The resultCard2. */ + @java.lang.Override public int getResultCard2() { return resultCard2_; } - // repeated uint32 bestHandPosition = 4 [packed = true]; public static final int BESTHANDPOSITION_FIELD_NUMBER = 4; - private java.util.List bestHandPosition_; + private com.google.protobuf.Internal.IntList bestHandPosition_; /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @return A list containing the bestHandPosition. */ + @java.lang.Override public java.util.List getBestHandPositionList() { return bestHandPosition_; } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @return The count of bestHandPosition. */ public int getBestHandPositionCount() { return bestHandPosition_.size(); } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @param index The index of the element to return. + * @return The bestHandPosition at the given index. */ public int getBestHandPosition(int index) { - return bestHandPosition_.get(index); + return bestHandPosition_.getInt(index); } private int bestHandPositionMemoizedSerializedSize = -1; - // required uint32 moneyWon = 5; public static final int MONEYWON_FIELD_NUMBER = 5; private int moneyWon_; /** * required uint32 moneyWon = 5; + * @return Whether the moneyWon field is set. */ + @java.lang.Override public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 moneyWon = 5; + * @return The moneyWon. */ + @java.lang.Override public int getMoneyWon() { return moneyWon_; } - // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** * required uint32 playerMoney = 6; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 playerMoney = 6; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } - // optional uint32 cardsValue = 7; public static final int CARDSVALUE_FIELD_NUMBER = 7; private int cardsValue_; /** * optional uint32 cardsValue = 7; + * @return Whether the cardsValue field is set. */ + @java.lang.Override public boolean hasCardsValue() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 cardsValue = 7; + * @return The cardsValue. */ + @java.lang.Override public int getCardsValue() { return cardsValue_; } - private void initFields() { - playerId_ = 0; - resultCard1_ = 0; - resultCard2_ = 0; - bestHandPosition_ = java.util.Collections.emptyList(); - moneyWon_ = 0; - playerMoney_ = 0; - cardsValue_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -3164,51 +4102,53 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, resultCard1_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, resultCard2_); } if (getBestHandPositionList().size() > 0) { - output.writeRawVarint32(34); - output.writeRawVarint32(bestHandPositionMemoizedSerializedSize); + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(bestHandPositionMemoizedSerializedSize); } for (int i = 0; i < bestHandPosition_.size(); i++) { - output.writeUInt32NoTag(bestHandPosition_.get(i)); + output.writeUInt32NoTag(bestHandPosition_.getInt(i)); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(5, moneyWon_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(6, playerMoney_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(7, cardsValue_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, resultCard1_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, resultCard2_); } @@ -3216,7 +4156,7 @@ public final class ProtoBuf { int dataSize = 0; for (int i = 0; i < bestHandPosition_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(bestHandPosition_.get(i)); + .computeUInt32SizeNoTag(bestHandPosition_.getInt(i)); } size += dataSize; if (!getBestHandPositionList().isEmpty()) { @@ -3226,29 +4166,120 @@ public final class ProtoBuf { } bestHandPositionMemoizedSerializedSize = dataSize; } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, moneyWon_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, playerMoney_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, cardsValue_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayerResult)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayerResult other = (de.pokerth.protocol.ProtoBuf.PlayerResult) obj; + + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasResultCard1() != other.hasResultCard1()) return false; + if (hasResultCard1()) { + if (getResultCard1() + != other.getResultCard1()) return false; + } + if (hasResultCard2() != other.hasResultCard2()) return false; + if (hasResultCard2()) { + if (getResultCard2() + != other.getResultCard2()) return false; + } + if (!getBestHandPositionList() + .equals(other.getBestHandPositionList())) return false; + if (hasMoneyWon() != other.hasMoneyWon()) return false; + if (hasMoneyWon()) { + if (getMoneyWon() + != other.getMoneyWon()) return false; + } + if (hasPlayerMoney() != other.hasPlayerMoney()) return false; + if (hasPlayerMoney()) { + if (getPlayerMoney() + != other.getPlayerMoney()) return false; + } + if (hasCardsValue() != other.hasCardsValue()) return false; + if (hasCardsValue()) { + if (getCardsValue() + != other.getCardsValue()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasResultCard1()) { + hash = (37 * hash) + RESULTCARD1_FIELD_NUMBER; + hash = (53 * hash) + getResultCard1(); + } + if (hasResultCard2()) { + hash = (37 * hash) + RESULTCARD2_FIELD_NUMBER; + hash = (53 * hash) + getResultCard2(); + } + if (getBestHandPositionCount() > 0) { + hash = (37 * hash) + BESTHANDPOSITION_FIELD_NUMBER; + hash = (53 * hash) + getBestHandPositionList().hashCode(); + } + if (hasMoneyWon()) { + hash = (37 * hash) + MONEYWON_FIELD_NUMBER; + hash = (53 * hash) + getMoneyWon(); + } + if (hasPlayerMoney()) { + hash = (37 * hash) + PLAYERMONEY_FIELD_NUMBER; + hash = (53 * hash) + getPlayerMoney(); + } + if (hasCardsValue()) { + hash = (37 * hash) + CARDSVALUE_FIELD_NUMBER; + hash = (53 * hash) + getCardsValue(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -3272,61 +4303,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerResult prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code PlayerResult} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerResult, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerResult) + de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerResult.class, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); playerId_ = 0; @@ -3335,7 +4403,7 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); resultCard2_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - bestHandPosition_ = java.util.Collections.emptyList(); + bestHandPosition_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); moneyWon_ = 0; bitField0_ = (bitField0_ & ~0x00000010); @@ -3346,14 +4414,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerResult_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerResult getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerResult build() { de.pokerth.protocol.ProtoBuf.PlayerResult result = buildPartial(); if (!result.isInitialized()) { @@ -3362,43 +4434,87 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerResult buildPartial() { de.pokerth.protocol.ProtoBuf.PlayerResult result = new de.pokerth.protocol.ProtoBuf.PlayerResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000001; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.resultCard1_ = resultCard1_; to_bitField0_ |= 0x00000002; } - result.resultCard1_ = resultCard1_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.resultCard2_ = resultCard2_; to_bitField0_ |= 0x00000004; } - result.resultCard2_ = resultCard2_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - bestHandPosition_ = java.util.Collections.unmodifiableList(bestHandPosition_); + if (((bitField0_ & 0x00000008) != 0)) { + bestHandPosition_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.bestHandPosition_ = bestHandPosition_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.moneyWon_ = moneyWon_; to_bitField0_ |= 0x00000008; } - result.moneyWon_ = moneyWon_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.playerMoney_ = playerMoney_; to_bitField0_ |= 0x00000010; } - result.playerMoney_ = playerMoney_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + result.cardsValue_ = cardsValue_; to_bitField0_ |= 0x00000020; } - result.cardsValue_ = cardsValue_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayerResult) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayerResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerResult other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance()) return this; if (other.hasPlayerId()) { @@ -3418,7 +4534,7 @@ public final class ProtoBuf { ensureBestHandPositionIsMutable(); bestHandPosition_.addAll(other.bestHandPosition_); } - + onChanged(); } if (other.hasMoneyWon()) { setMoneyWon(other.getMoneyWon()); @@ -3429,33 +4545,32 @@ public final class ProtoBuf { if (other.hasCardsValue()) { setCardsValue(other.getCardsValue()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPlayerId()) { - return false; } if (!hasResultCard1()) { - return false; } if (!hasResultCard2()) { - return false; } if (!hasMoneyWon()) { - return false; } if (!hasPlayerMoney()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3465,7 +4580,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerResult) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -3475,331 +4590,435 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 1; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 1; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - + onChanged(); return this; } - // required uint32 resultCard1 = 2; private int resultCard1_ ; /** * required uint32 resultCard1 = 2; + * @return Whether the resultCard1 field is set. */ + @java.lang.Override public boolean hasResultCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 resultCard1 = 2; + * @return The resultCard1. */ + @java.lang.Override public int getResultCard1() { return resultCard1_; } /** * required uint32 resultCard1 = 2; + * @param value The resultCard1 to set. + * @return This builder for chaining. */ public Builder setResultCard1(int value) { bitField0_ |= 0x00000002; resultCard1_ = value; - + onChanged(); return this; } /** * required uint32 resultCard1 = 2; + * @return This builder for chaining. */ public Builder clearResultCard1() { bitField0_ = (bitField0_ & ~0x00000002); resultCard1_ = 0; - + onChanged(); return this; } - // required uint32 resultCard2 = 3; private int resultCard2_ ; /** * required uint32 resultCard2 = 3; + * @return Whether the resultCard2 field is set. */ + @java.lang.Override public boolean hasResultCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 resultCard2 = 3; + * @return The resultCard2. */ + @java.lang.Override public int getResultCard2() { return resultCard2_; } /** * required uint32 resultCard2 = 3; + * @param value The resultCard2 to set. + * @return This builder for chaining. */ public Builder setResultCard2(int value) { bitField0_ |= 0x00000004; resultCard2_ = value; - + onChanged(); return this; } /** * required uint32 resultCard2 = 3; + * @return This builder for chaining. */ public Builder clearResultCard2() { bitField0_ = (bitField0_ & ~0x00000004); resultCard2_ = 0; - + onChanged(); return this; } - // repeated uint32 bestHandPosition = 4 [packed = true]; - private java.util.List bestHandPosition_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList bestHandPosition_ = emptyIntList(); private void ensureBestHandPositionIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { - bestHandPosition_ = new java.util.ArrayList(bestHandPosition_); + if (!((bitField0_ & 0x00000008) != 0)) { + bestHandPosition_ = mutableCopy(bestHandPosition_); bitField0_ |= 0x00000008; } } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @return A list containing the bestHandPosition. */ public java.util.List getBestHandPositionList() { - return java.util.Collections.unmodifiableList(bestHandPosition_); + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(bestHandPosition_) : bestHandPosition_; } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @return The count of bestHandPosition. */ public int getBestHandPositionCount() { return bestHandPosition_.size(); } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @param index The index of the element to return. + * @return The bestHandPosition at the given index. */ public int getBestHandPosition(int index) { - return bestHandPosition_.get(index); + return bestHandPosition_.getInt(index); } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @param index The index to set the value at. + * @param value The bestHandPosition to set. + * @return This builder for chaining. */ public Builder setBestHandPosition( int index, int value) { ensureBestHandPositionIsMutable(); - bestHandPosition_.set(index, value); - + bestHandPosition_.setInt(index, value); + onChanged(); return this; } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @param value The bestHandPosition to add. + * @return This builder for chaining. */ public Builder addBestHandPosition(int value) { ensureBestHandPositionIsMutable(); - bestHandPosition_.add(value); - + bestHandPosition_.addInt(value); + onChanged(); return this; } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @param values The bestHandPosition to add. + * @return This builder for chaining. */ public Builder addAllBestHandPosition( java.lang.Iterable values) { ensureBestHandPositionIsMutable(); - super.addAll(values, bestHandPosition_); - + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bestHandPosition_); + onChanged(); return this; } /** * repeated uint32 bestHandPosition = 4 [packed = true]; + * @return This builder for chaining. */ public Builder clearBestHandPosition() { - bestHandPosition_ = java.util.Collections.emptyList(); + bestHandPosition_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); - + onChanged(); return this; } - // required uint32 moneyWon = 5; private int moneyWon_ ; /** * required uint32 moneyWon = 5; + * @return Whether the moneyWon field is set. */ + @java.lang.Override public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 moneyWon = 5; + * @return The moneyWon. */ + @java.lang.Override public int getMoneyWon() { return moneyWon_; } /** * required uint32 moneyWon = 5; + * @param value The moneyWon to set. + * @return This builder for chaining. */ public Builder setMoneyWon(int value) { bitField0_ |= 0x00000010; moneyWon_ = value; - + onChanged(); return this; } /** * required uint32 moneyWon = 5; + * @return This builder for chaining. */ public Builder clearMoneyWon() { bitField0_ = (bitField0_ & ~0x00000010); moneyWon_ = 0; - + onChanged(); return this; } - // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * required uint32 playerMoney = 6; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } /** * required uint32 playerMoney = 6; + * @param value The playerMoney to set. + * @return This builder for chaining. */ public Builder setPlayerMoney(int value) { bitField0_ |= 0x00000020; playerMoney_ = value; - + onChanged(); return this; } /** * required uint32 playerMoney = 6; + * @return This builder for chaining. */ public Builder clearPlayerMoney() { bitField0_ = (bitField0_ & ~0x00000020); playerMoney_ = 0; - + onChanged(); return this; } - // optional uint32 cardsValue = 7; private int cardsValue_ ; /** * optional uint32 cardsValue = 7; + * @return Whether the cardsValue field is set. */ + @java.lang.Override public boolean hasCardsValue() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** * optional uint32 cardsValue = 7; + * @return The cardsValue. */ + @java.lang.Override public int getCardsValue() { return cardsValue_; } /** * optional uint32 cardsValue = 7; + * @param value The cardsValue to set. + * @return This builder for chaining. */ public Builder setCardsValue(int value) { bitField0_ |= 0x00000040; cardsValue_ = value; - + onChanged(); return this; } /** * optional uint32 cardsValue = 7; + * @return This builder for chaining. */ public Builder clearCardsValue() { bitField0_ = (bitField0_ & ~0x00000040); cardsValue_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayerResult) } + // @@protoc_insertion_point(class_scope:PlayerResult) + private static final de.pokerth.protocol.ProtoBuf.PlayerResult DEFAULT_INSTANCE; static { - defaultInstance = new PlayerResult(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayerResult(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerResult(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PlayerResult) } - public interface AnnounceMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AnnounceMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AnnounceMessage) + com.google.protobuf.MessageOrBuilder { - // required .AnnounceMessage.Version protocolVersion = 1; /** * required .AnnounceMessage.Version protocolVersion = 1; + * @return Whether the protocolVersion field is set. */ boolean hasProtocolVersion(); /** * required .AnnounceMessage.Version protocolVersion = 1; + * @return The protocolVersion. */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion(); + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ + de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getProtocolVersionOrBuilder(); - // required .AnnounceMessage.Version latestGameVersion = 2; /** * required .AnnounceMessage.Version latestGameVersion = 2; + * @return Whether the latestGameVersion field is set. */ boolean hasLatestGameVersion(); /** * required .AnnounceMessage.Version latestGameVersion = 2; + * @return The latestGameVersion. */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion(); + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ + de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getLatestGameVersionOrBuilder(); - // required uint32 latestBetaRevision = 3; /** * required uint32 latestBetaRevision = 3; + * @return Whether the latestBetaRevision field is set. */ boolean hasLatestBetaRevision(); /** * required uint32 latestBetaRevision = 3; + * @return The latestBetaRevision. */ int getLatestBetaRevision(); - // required .AnnounceMessage.ServerType serverType = 4; /** * required .AnnounceMessage.ServerType serverType = 4; + * @return Whether the serverType field is set. */ boolean hasServerType(); /** * required .AnnounceMessage.ServerType serverType = 4; + * @return The serverType. */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType(); - // required uint32 numPlayersOnServer = 5; /** * required uint32 numPlayersOnServer = 5; + * @return Whether the numPlayersOnServer field is set. */ boolean hasNumPlayersOnServer(); /** * required uint32 numPlayersOnServer = 5; + * @return The numPlayersOnServer. */ int getNumPlayersOnServer(); } @@ -3807,30 +5026,41 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage} */ public static final class AnnounceMessage extends - com.google.protobuf.GeneratedMessageLite - implements AnnounceMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AnnounceMessage) + AnnounceMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AnnounceMessage.newBuilder() to construct. - private AnnounceMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AnnounceMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AnnounceMessage(boolean noInit) {} - - private static final AnnounceMessage defaultInstance; - public static AnnounceMessage getDefaultInstance() { - return defaultInstance; + private AnnounceMessage() { + serverType_ = 0; } - public AnnounceMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AnnounceMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AnnounceMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -3839,16 +5069,9 @@ public final class ProtoBuf { 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)) { + if (((bitField0_ & 0x00000001) != 0)) { subBuilder = protocolVersion_.toBuilder(); } protocolVersion_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.PARSER, extensionRegistry); @@ -3861,7 +5084,7 @@ public final class ProtoBuf { } case 18: { de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { subBuilder = latestGameVersion_.toBuilder(); } latestGameVersion_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.PARSER, extensionRegistry); @@ -3879,10 +5102,13 @@ public final class ProtoBuf { } case 32: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(4, rawValue); + } else { bitField0_ |= 0x00000008; - serverType_ = value; + serverType_ = rawValue; } break; } @@ -3891,49 +5117,55 @@ public final class ProtoBuf { numPlayersOnServer_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AnnounceMessage.class, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder.class); } /** * Protobuf enum {@code AnnounceMessage.ServerType} */ public enum ServerType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * serverTypeLAN = 0; */ - serverTypeLAN(0, 0), + serverTypeLAN(0), /** * serverTypeInternetNoAuth = 1; */ - serverTypeInternetNoAuth(1, 1), + serverTypeInternetNoAuth(1), /** * serverTypeInternetAuth = 2; */ - serverTypeInternetAuth(2, 2), + serverTypeInternetAuth(2), ; /** @@ -3950,9 +5182,25 @@ public final class ProtoBuf { public static final int serverTypeInternetAuth_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static ServerType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ServerType forNumber(int value) { switch (value) { case 0: return serverTypeLAN; case 1: return serverTypeInternetNoAuth; @@ -3965,43 +5213,70 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + ServerType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ServerType findValueByNumber(int number) { - return ServerType.valueOf(number); + return ServerType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final ServerType[] VALUES = values(); + + public static ServerType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private ServerType(int index, int value) { + private ServerType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:AnnounceMessage.ServerType) } - public interface VersionOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface VersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:AnnounceMessage.Version) + com.google.protobuf.MessageOrBuilder { - // required uint32 majorVersion = 1; /** * required uint32 majorVersion = 1; + * @return Whether the majorVersion field is set. */ boolean hasMajorVersion(); /** * required uint32 majorVersion = 1; + * @return The majorVersion. */ int getMajorVersion(); - // required uint32 minorVersion = 2; /** * required uint32 minorVersion = 2; + * @return Whether the minorVersion field is set. */ boolean hasMinorVersion(); /** * required uint32 minorVersion = 2; + * @return The minorVersion. */ int getMinorVersion(); } @@ -4009,30 +5284,40 @@ public final class ProtoBuf { * Protobuf type {@code AnnounceMessage.Version} */ public static final class Version extends - com.google.protobuf.GeneratedMessageLite - implements VersionOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AnnounceMessage.Version) + VersionOrBuilder { + private static final long serialVersionUID = 0L; // Use Version.newBuilder() to construct. - private Version(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private Version(boolean noInit) {} - - private static final Version defaultInstance; - public static Version getDefaultInstance() { - return defaultInstance; + private Version() { } - public Version getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Version(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private Version( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -4041,13 +5326,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; majorVersion_ = input.readUInt32(); @@ -4058,73 +5336,83 @@ public final class ProtoBuf { minorVersion_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_Version_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_Version_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.class, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder.class); } private int bitField0_; - // required uint32 majorVersion = 1; public static final int MAJORVERSION_FIELD_NUMBER = 1; private int majorVersion_; /** * required uint32 majorVersion = 1; + * @return Whether the majorVersion field is set. */ + @java.lang.Override public boolean hasMajorVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 majorVersion = 1; + * @return The majorVersion. */ + @java.lang.Override public int getMajorVersion() { return majorVersion_; } - // required uint32 minorVersion = 2; public static final int MINORVERSION_FIELD_NUMBER = 2; private int minorVersion_; /** * required uint32 minorVersion = 2; + * @return Whether the minorVersion field is set. */ + @java.lang.Override public boolean hasMinorVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 minorVersion = 2; + * @return The minorVersion. */ + @java.lang.Override public int getMinorVersion() { return minorVersion_; } - private void initFields() { - majorVersion_ = 0; - minorVersion_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasMajorVersion()) { memoizedIsInitialized = 0; @@ -4138,42 +5426,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, majorVersion_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, minorVersion_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, majorVersion_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, minorVersion_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version other = (de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version) obj; + + if (hasMajorVersion() != other.hasMajorVersion()) return false; + if (hasMajorVersion()) { + if (getMajorVersion() + != other.getMajorVersion()) return false; + } + if (hasMinorVersion() != other.hasMinorVersion()) return false; + if (hasMinorVersion()) { + if (getMinorVersion() + != other.getMinorVersion()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMajorVersion()) { + hash = (37 * hash) + MAJORVERSION_FIELD_NUMBER; + hash = (53 * hash) + getMajorVersion(); + } + if (hasMinorVersion()) { + hash = (37 * hash) + MINORVERSION_FIELD_NUMBER; + hash = (53 * hash) + getMinorVersion(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( + java.nio.ByteBuffer 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( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4197,61 +5535,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AnnounceMessage.Version) + de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_Version_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_Version_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.class, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); majorVersion_ = 0; @@ -4261,14 +5636,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_Version_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version build() { de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version result = buildPartial(); if (!result.isInitialized()) { @@ -4277,22 +5656,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.majorVersion_ = majorVersion_; to_bitField0_ |= 0x00000001; } - result.majorVersion_ = majorVersion_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.minorVersion_ = minorVersion_; to_bitField0_ |= 0x00000002; } - result.minorVersion_ = minorVersion_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version other) { if (other == de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) return this; if (other.hasMajorVersion()) { @@ -4301,21 +5724,23 @@ public final class ProtoBuf { if (other.hasMinorVersion()) { setMinorVersion(other.getMinorVersion()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasMajorVersion()) { - return false; } if (!hasMinorVersion()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4325,7 +5750,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -4335,175 +5760,252 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 majorVersion = 1; private int majorVersion_ ; /** * required uint32 majorVersion = 1; + * @return Whether the majorVersion field is set. */ + @java.lang.Override public boolean hasMajorVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 majorVersion = 1; + * @return The majorVersion. */ + @java.lang.Override public int getMajorVersion() { return majorVersion_; } /** * required uint32 majorVersion = 1; + * @param value The majorVersion to set. + * @return This builder for chaining. */ public Builder setMajorVersion(int value) { bitField0_ |= 0x00000001; majorVersion_ = value; - + onChanged(); return this; } /** * required uint32 majorVersion = 1; + * @return This builder for chaining. */ public Builder clearMajorVersion() { bitField0_ = (bitField0_ & ~0x00000001); majorVersion_ = 0; - + onChanged(); return this; } - // required uint32 minorVersion = 2; private int minorVersion_ ; /** * required uint32 minorVersion = 2; + * @return Whether the minorVersion field is set. */ + @java.lang.Override public boolean hasMinorVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 minorVersion = 2; + * @return The minorVersion. */ + @java.lang.Override public int getMinorVersion() { return minorVersion_; } /** * required uint32 minorVersion = 2; + * @param value The minorVersion to set. + * @return This builder for chaining. */ public Builder setMinorVersion(int value) { bitField0_ |= 0x00000002; minorVersion_ = value; - + onChanged(); return this; } /** * required uint32 minorVersion = 2; + * @return This builder for chaining. */ public Builder clearMinorVersion() { bitField0_ = (bitField0_ & ~0x00000002); minorVersion_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AnnounceMessage.Version) } + // @@protoc_insertion_point(class_scope:AnnounceMessage.Version) + private static final de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version DEFAULT_INSTANCE; static { - defaultInstance = new Version(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version(); + } + + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@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; + * @return Whether the protocolVersion field is set. */ + @java.lang.Override public boolean hasProtocolVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + * @return The protocolVersion. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion() { + return protocolVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : protocolVersion_; } /** * required .AnnounceMessage.Version protocolVersion = 1; */ - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion() { - return protocolVersion_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getProtocolVersionOrBuilder() { + return protocolVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : 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; + * @return Whether the latestGameVersion field is set. */ + @java.lang.Override public boolean hasLatestGameVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); + } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + * @return The latestGameVersion. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion() { + return latestGameVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : latestGameVersion_; } /** * required .AnnounceMessage.Version latestGameVersion = 2; */ - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion() { - return latestGameVersion_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getLatestGameVersionOrBuilder() { + return latestGameVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : latestGameVersion_; } - // required uint32 latestBetaRevision = 3; public static final int LATESTBETAREVISION_FIELD_NUMBER = 3; private int latestBetaRevision_; /** * required uint32 latestBetaRevision = 3; + * @return Whether the latestBetaRevision field is set. */ + @java.lang.Override public boolean hasLatestBetaRevision() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 latestBetaRevision = 3; + * @return The latestBetaRevision. */ + @java.lang.Override 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_; + private int serverType_; /** * required .AnnounceMessage.ServerType serverType = 4; + * @return Whether the serverType field is set. */ - public boolean hasServerType() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasServerType() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .AnnounceMessage.ServerType serverType = 4; + * @return The serverType. */ - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType() { - return serverType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType result = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(serverType_); + return result == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN : result; } - // required uint32 numPlayersOnServer = 5; public static final int NUMPLAYERSONSERVER_FIELD_NUMBER = 5; private int numPlayersOnServer_; /** * required uint32 numPlayersOnServer = 5; + * @return Whether the numPlayersOnServer field is set. */ + @java.lang.Override public boolean hasNumPlayersOnServer() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 numPlayersOnServer = 5; + * @return The numPlayersOnServer. */ + @java.lang.Override public int getNumPlayersOnServer() { return numPlayersOnServer_; } - private void initFields() { - protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - latestBetaRevision_ = 0; - serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; - numPlayersOnServer_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasProtocolVersion()) { memoizedIsInitialized = 0; @@ -4537,63 +6039,139 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeMessage(1, protocolVersion_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getProtocolVersion()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeMessage(2, latestGameVersion_); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getLatestGameVersion()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, latestBetaRevision_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, serverType_.getNumber()); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeEnum(4, serverType_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, numPlayersOnServer_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, protocolVersion_); + .computeMessageSize(1, getProtocolVersion()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, latestGameVersion_); + .computeMessageSize(2, getLatestGameVersion()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, latestBetaRevision_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, serverType_.getNumber()); + .computeEnumSize(4, serverType_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numPlayersOnServer_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AnnounceMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AnnounceMessage other = (de.pokerth.protocol.ProtoBuf.AnnounceMessage) obj; + + if (hasProtocolVersion() != other.hasProtocolVersion()) return false; + if (hasProtocolVersion()) { + if (!getProtocolVersion() + .equals(other.getProtocolVersion())) return false; + } + if (hasLatestGameVersion() != other.hasLatestGameVersion()) return false; + if (hasLatestGameVersion()) { + if (!getLatestGameVersion() + .equals(other.getLatestGameVersion())) return false; + } + if (hasLatestBetaRevision() != other.hasLatestBetaRevision()) return false; + if (hasLatestBetaRevision()) { + if (getLatestBetaRevision() + != other.getLatestBetaRevision()) return false; + } + if (hasServerType() != other.hasServerType()) return false; + if (hasServerType()) { + if (serverType_ != other.serverType_) return false; + } + if (hasNumPlayersOnServer() != other.hasNumPlayersOnServer()) return false; + if (hasNumPlayersOnServer()) { + if (getNumPlayersOnServer() + != other.getNumPlayersOnServer()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasProtocolVersion()) { + hash = (37 * hash) + PROTOCOLVERSION_FIELD_NUMBER; + hash = (53 * hash) + getProtocolVersion().hashCode(); + } + if (hasLatestGameVersion()) { + hash = (37 * hash) + LATESTGAMEVERSION_FIELD_NUMBER; + hash = (53 * hash) + getLatestGameVersion().hashCode(); + } + if (hasLatestBetaRevision()) { + hash = (37 * hash) + LATESTBETAREVISION_FIELD_NUMBER; + hash = (53 * hash) + getLatestBetaRevision(); + } + if (hasServerType()) { + hash = (37 * hash) + SERVERTYPE_FIELD_NUMBER; + hash = (53 * hash) + serverType_; + } + if (hasNumPlayersOnServer()) { + hash = (37 * hash) + NUMPLAYERSONSERVER_FIELD_NUMBER; + hash = (53 * hash) + getNumPlayersOnServer(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -4617,84 +6195,135 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AnnounceMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AnnounceMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AnnounceMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AnnounceMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AnnounceMessage) + de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AnnounceMessage.class, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AnnounceMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getProtocolVersionFieldBuilder(); + getLatestGameVersionFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + if (protocolVersionBuilder_ == null) { + protocolVersion_ = null; + } else { + protocolVersionBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); - latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + if (latestGameVersionBuilder_ == null) { + latestGameVersion_ = null; + } else { + latestGameVersionBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); latestBetaRevision_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; + serverType_ = 0; bitField0_ = (bitField0_ & ~0x00000008); numPlayersOnServer_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AnnounceMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AnnounceMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AnnounceMessage build() { de.pokerth.protocol.ProtoBuf.AnnounceMessage result = buildPartial(); if (!result.isInitialized()) { @@ -4703,34 +6332,86 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AnnounceMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AnnounceMessage result = new de.pokerth.protocol.ProtoBuf.AnnounceMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + if (protocolVersionBuilder_ == null) { + result.protocolVersion_ = protocolVersion_; + } else { + result.protocolVersion_ = protocolVersionBuilder_.build(); + } to_bitField0_ |= 0x00000001; } - result.protocolVersion_ = protocolVersion_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + if (latestGameVersionBuilder_ == null) { + result.latestGameVersion_ = latestGameVersion_; + } else { + result.latestGameVersion_ = latestGameVersionBuilder_.build(); + } to_bitField0_ |= 0x00000002; } - result.latestGameVersion_ = latestGameVersion_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.latestBetaRevision_ = latestBetaRevision_; to_bitField0_ |= 0x00000004; } - result.latestBetaRevision_ = latestBetaRevision_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.serverType_ = serverType_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.numPlayersOnServer_ = numPlayersOnServer_; to_bitField0_ |= 0x00000010; } - result.numPlayersOnServer_ = numPlayersOnServer_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AnnounceMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AnnounceMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AnnounceMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance()) return this; if (other.hasProtocolVersion()) { @@ -4748,41 +6429,38 @@ public final class ProtoBuf { if (other.hasNumPlayersOnServer()) { setNumPlayersOnServer(other.getNumPlayersOnServer()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasProtocolVersion()) { - return false; } if (!hasLatestGameVersion()) { - return false; } if (!hasLatestBetaRevision()) { - return false; } if (!hasServerType()) { - return false; } if (!hasNumPlayersOnServer()) { - return false; } if (!getProtocolVersion().isInitialized()) { - return false; } if (!getLatestGameVersion().isInitialized()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -4792,7 +6470,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AnnounceMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -4802,29 +6480,40 @@ public final class ProtoBuf { } private int bitField0_; - // required .AnnounceMessage.Version protocolVersion = 1; - private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version protocolVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder> protocolVersionBuilder_; /** * required .AnnounceMessage.Version protocolVersion = 1; + * @return Whether the protocolVersion field is set. */ public boolean hasProtocolVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required .AnnounceMessage.Version protocolVersion = 1; + * @return The protocolVersion. */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getProtocolVersion() { - return protocolVersion_; + if (protocolVersionBuilder_ == null) { + return protocolVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : protocolVersion_; + } else { + return protocolVersionBuilder_.getMessage(); + } } /** * required .AnnounceMessage.Version protocolVersion = 1; */ public Builder setProtocolVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { - if (value == null) { - throw new NullPointerException(); + if (protocolVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + protocolVersion_ = value; + onChanged(); + } else { + protocolVersionBuilder_.setMessage(value); } - protocolVersion_ = value; - bitField0_ |= 0x00000001; return this; } @@ -4833,8 +6522,12 @@ public final class ProtoBuf { */ public Builder setProtocolVersion( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder builderForValue) { - protocolVersion_ = builderForValue.build(); - + if (protocolVersionBuilder_ == null) { + protocolVersion_ = builderForValue.build(); + onChanged(); + } else { + protocolVersionBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000001; return this; } @@ -4842,14 +6535,19 @@ public final class ProtoBuf { * 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()) { - protocolVersion_ = - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(protocolVersion_).mergeFrom(value).buildPartial(); + if (protocolVersionBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + protocolVersion_ != null && + protocolVersion_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) { + protocolVersion_ = + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(protocolVersion_).mergeFrom(value).buildPartial(); + } else { + protocolVersion_ = value; + } + onChanged(); } else { - protocolVersion_ = value; + protocolVersionBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; return this; } @@ -4857,35 +6555,85 @@ public final class ProtoBuf { * required .AnnounceMessage.Version protocolVersion = 1; */ public Builder clearProtocolVersion() { - protocolVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - + if (protocolVersionBuilder_ == null) { + protocolVersion_ = null; + onChanged(); + } else { + protocolVersionBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); return this; } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder getProtocolVersionBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getProtocolVersionFieldBuilder().getBuilder(); + } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getProtocolVersionOrBuilder() { + if (protocolVersionBuilder_ != null) { + return protocolVersionBuilder_.getMessageOrBuilder(); + } else { + return protocolVersion_ == null ? + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : protocolVersion_; + } + } + /** + * required .AnnounceMessage.Version protocolVersion = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder> + getProtocolVersionFieldBuilder() { + if (protocolVersionBuilder_ == null) { + protocolVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder>( + getProtocolVersion(), + getParentForChildren(), + isClean()); + protocolVersion_ = null; + } + return protocolVersionBuilder_; + } - // required .AnnounceMessage.Version latestGameVersion = 2; - private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version latestGameVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder> latestGameVersionBuilder_; /** * required .AnnounceMessage.Version latestGameVersion = 2; + * @return Whether the latestGameVersion field is set. */ public boolean hasLatestGameVersion() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required .AnnounceMessage.Version latestGameVersion = 2; + * @return The latestGameVersion. */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getLatestGameVersion() { - return latestGameVersion_; + if (latestGameVersionBuilder_ == null) { + return latestGameVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : latestGameVersion_; + } else { + return latestGameVersionBuilder_.getMessage(); + } } /** * required .AnnounceMessage.Version latestGameVersion = 2; */ public Builder setLatestGameVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { - if (value == null) { - throw new NullPointerException(); + if (latestGameVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + latestGameVersion_ = value; + onChanged(); + } else { + latestGameVersionBuilder_.setMessage(value); } - latestGameVersion_ = value; - bitField0_ |= 0x00000002; return this; } @@ -4894,8 +6642,12 @@ public final class ProtoBuf { */ public Builder setLatestGameVersion( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder builderForValue) { - latestGameVersion_ = builderForValue.build(); - + if (latestGameVersionBuilder_ == null) { + latestGameVersion_ = builderForValue.build(); + onChanged(); + } else { + latestGameVersionBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000002; return this; } @@ -4903,14 +6655,19 @@ public final class ProtoBuf { * 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()) { - latestGameVersion_ = - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(latestGameVersion_).mergeFrom(value).buildPartial(); + if (latestGameVersionBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + latestGameVersion_ != null && + latestGameVersion_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) { + latestGameVersion_ = + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(latestGameVersion_).mergeFrom(value).buildPartial(); + } else { + latestGameVersion_ = value; + } + onChanged(); } else { - latestGameVersion_ = value; + latestGameVersionBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; return this; } @@ -4918,278 +6675,408 @@ public final class ProtoBuf { * required .AnnounceMessage.Version latestGameVersion = 2; */ public Builder clearLatestGameVersion() { - latestGameVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - + if (latestGameVersionBuilder_ == null) { + latestGameVersion_ = null; + onChanged(); + } else { + latestGameVersionBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); return this; } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder getLatestGameVersionBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getLatestGameVersionFieldBuilder().getBuilder(); + } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getLatestGameVersionOrBuilder() { + if (latestGameVersionBuilder_ != null) { + return latestGameVersionBuilder_.getMessageOrBuilder(); + } else { + return latestGameVersion_ == null ? + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : latestGameVersion_; + } + } + /** + * required .AnnounceMessage.Version latestGameVersion = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder> + getLatestGameVersionFieldBuilder() { + if (latestGameVersionBuilder_ == null) { + latestGameVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder>( + getLatestGameVersion(), + getParentForChildren(), + isClean()); + latestGameVersion_ = null; + } + return latestGameVersionBuilder_; + } - // required uint32 latestBetaRevision = 3; private int latestBetaRevision_ ; /** * required uint32 latestBetaRevision = 3; + * @return Whether the latestBetaRevision field is set. */ + @java.lang.Override public boolean hasLatestBetaRevision() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 latestBetaRevision = 3; + * @return The latestBetaRevision. */ + @java.lang.Override public int getLatestBetaRevision() { return latestBetaRevision_; } /** * required uint32 latestBetaRevision = 3; + * @param value The latestBetaRevision to set. + * @return This builder for chaining. */ public Builder setLatestBetaRevision(int value) { bitField0_ |= 0x00000004; latestBetaRevision_ = value; - + onChanged(); return this; } /** * required uint32 latestBetaRevision = 3; + * @return This builder for chaining. */ public Builder clearLatestBetaRevision() { bitField0_ = (bitField0_ & ~0x00000004); latestBetaRevision_ = 0; - + onChanged(); return this; } - // required .AnnounceMessage.ServerType serverType = 4; - private de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; + private int serverType_ = 0; /** * required .AnnounceMessage.ServerType serverType = 4; + * @return Whether the serverType field is set. */ - public boolean hasServerType() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasServerType() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .AnnounceMessage.ServerType serverType = 4; + * @return The serverType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType getServerType() { - return serverType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType result = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.valueOf(serverType_); + return result == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN : result; } /** * required .AnnounceMessage.ServerType serverType = 4; + * @param value The serverType to set. + * @return This builder for chaining. */ public Builder setServerType(de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; - serverType_ = value; - + serverType_ = value.getNumber(); + onChanged(); return this; } /** * required .AnnounceMessage.ServerType serverType = 4; + * @return This builder for chaining. */ public Builder clearServerType() { bitField0_ = (bitField0_ & ~0x00000008); - serverType_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.ServerType.serverTypeLAN; - + serverType_ = 0; + onChanged(); return this; } - // required uint32 numPlayersOnServer = 5; private int numPlayersOnServer_ ; /** * required uint32 numPlayersOnServer = 5; + * @return Whether the numPlayersOnServer field is set. */ + @java.lang.Override public boolean hasNumPlayersOnServer() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 numPlayersOnServer = 5; + * @return The numPlayersOnServer. */ + @java.lang.Override public int getNumPlayersOnServer() { return numPlayersOnServer_; } /** * required uint32 numPlayersOnServer = 5; + * @param value The numPlayersOnServer to set. + * @return This builder for chaining. */ public Builder setNumPlayersOnServer(int value) { bitField0_ |= 0x00000010; numPlayersOnServer_ = value; - + onChanged(); return this; } /** * required uint32 numPlayersOnServer = 5; + * @return This builder for chaining. */ public Builder clearNumPlayersOnServer() { bitField0_ = (bitField0_ & ~0x00000010); numPlayersOnServer_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AnnounceMessage) } + // @@protoc_insertion_point(class_scope:AnnounceMessage) + private static final de.pokerth.protocol.ProtoBuf.AnnounceMessage DEFAULT_INSTANCE; static { - defaultInstance = new AnnounceMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AnnounceMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AnnounceMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AnnounceMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AnnounceMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AnnounceMessage) } - public interface InitMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface InitMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:InitMessage) + com.google.protobuf.MessageOrBuilder { - // required .AnnounceMessage.Version requestedVersion = 1; /** * required .AnnounceMessage.Version requestedVersion = 1; + * @return Whether the requestedVersion field is set. */ boolean hasRequestedVersion(); /** * required .AnnounceMessage.Version requestedVersion = 1; + * @return The requestedVersion. */ de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion(); + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ + de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getRequestedVersionOrBuilder(); - // required uint32 buildId = 2; /** * required uint32 buildId = 2; + * @return Whether the buildId field is set. */ boolean hasBuildId(); /** * required uint32 buildId = 2; + * @return The buildId. */ int getBuildId(); - // optional bytes myLastSessionId = 3; /** * optional bytes myLastSessionId = 3; + * @return Whether the myLastSessionId field is set. */ boolean hasMyLastSessionId(); /** * optional bytes myLastSessionId = 3; + * @return The myLastSessionId. */ com.google.protobuf.ByteString getMyLastSessionId(); - // optional string authServerPassword = 4; /** * optional string authServerPassword = 4; + * @return Whether the authServerPassword field is set. */ boolean hasAuthServerPassword(); /** * optional string authServerPassword = 4; + * @return The authServerPassword. */ java.lang.String getAuthServerPassword(); /** * optional string authServerPassword = 4; + * @return The bytes for authServerPassword. */ com.google.protobuf.ByteString getAuthServerPasswordBytes(); - // required .InitMessage.LoginType login = 5; /** * required .InitMessage.LoginType login = 5; + * @return Whether the login field is set. */ boolean hasLogin(); /** * required .InitMessage.LoginType login = 5; + * @return The login. */ de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin(); - // optional string nickName = 6; /** - * optional string nickName = 6; - * *
      * Only used for guest login or unauthenticated login.
      * 
+ * + * optional string nickName = 6; + * @return Whether the nickName field is set. */ boolean hasNickName(); /** - * optional string nickName = 6; - * *
      * Only used for guest login or unauthenticated login.
      * 
+ * + * optional string nickName = 6; + * @return The nickName. */ java.lang.String getNickName(); /** - * optional string nickName = 6; - * *
      * Only used for guest login or unauthenticated login.
      * 
+ * + * optional string nickName = 6; + * @return The bytes for nickName. */ com.google.protobuf.ByteString getNickNameBytes(); - // optional bytes clientUserData = 7; /** - * optional bytes clientUserData = 7; - * *
      * Authenticated login data is according to SCRAM SHA-1
      * 
+ * + * optional bytes clientUserData = 7; + * @return Whether the clientUserData field is set. */ boolean hasClientUserData(); /** - * optional bytes clientUserData = 7; - * *
      * Authenticated login data is according to SCRAM SHA-1
      * 
+ * + * optional bytes clientUserData = 7; + * @return The clientUserData. */ com.google.protobuf.ByteString getClientUserData(); - // optional bytes avatarHash = 8; /** - * optional bytes avatarHash = 8; - * *
      * Ignored for guest login.
      * 
+ * + * optional bytes avatarHash = 8; + * @return Whether the avatarHash field is set. */ boolean hasAvatarHash(); /** - * optional bytes avatarHash = 8; - * *
      * Ignored for guest login.
      * 
+ * + * optional bytes avatarHash = 8; + * @return The avatarHash. */ com.google.protobuf.ByteString getAvatarHash(); } /** - * Protobuf type {@code InitMessage} - * *
    * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
    * 
+ * + * Protobuf type {@code InitMessage} */ public static final class InitMessage extends - com.google.protobuf.GeneratedMessageLite - implements InitMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InitMessage) + InitMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use InitMessage.newBuilder() to construct. - private InitMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private InitMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private InitMessage(boolean noInit) {} - - private static final InitMessage defaultInstance; - public static InitMessage getDefaultInstance() { - return defaultInstance; + private InitMessage() { + myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; + authServerPassword_ = ""; + login_ = 0; + nickName_ = ""; + clientUserData_ = com.google.protobuf.ByteString.EMPTY; + avatarHash_ = com.google.protobuf.ByteString.EMPTY; } - public InitMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InitMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private InitMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -5198,16 +7085,9 @@ public final class ProtoBuf { 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)) { + if (((bitField0_ & 0x00000001) != 0)) { subBuilder = requestedVersion_.toBuilder(); } requestedVersion_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.PARSER, extensionRegistry); @@ -5229,22 +7109,27 @@ public final class ProtoBuf { break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - authServerPassword_ = input.readBytes(); + authServerPassword_ = bs; break; } case 40: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.InitMessage.LoginType value = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(5, rawValue); + } else { bitField0_ |= 0x00000010; - login_ = value; + login_ = rawValue; } break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - nickName_ = input.readBytes(); + nickName_ = bs; break; } case 58: { @@ -5257,49 +7142,55 @@ public final class ProtoBuf { avatarHash_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InitMessage.class, de.pokerth.protocol.ProtoBuf.InitMessage.Builder.class); } /** * Protobuf enum {@code InitMessage.LoginType} */ public enum LoginType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * guestLogin = 0; */ - guestLogin(0, 0), + guestLogin(0), /** * authenticatedLogin = 1; */ - authenticatedLogin(1, 1), + authenticatedLogin(1), /** * unauthenticatedLogin = 2; */ - unauthenticatedLogin(2, 2), + unauthenticatedLogin(2), ; /** @@ -5316,9 +7207,25 @@ public final class ProtoBuf { public static final int unauthenticatedLogin_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static LoginType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static LoginType forNumber(int value) { switch (value) { case 0: return guestLogin; case 1: return authenticatedLogin; @@ -5331,17 +7238,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + LoginType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public LoginType findValueByNumber(int number) { - return LoginType.valueOf(number); + return LoginType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.InitMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final LoginType[] VALUES = values(); + + public static LoginType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private LoginType(int index, int value) { + private LoginType(int value) { this.value = value; } @@ -5349,66 +7280,85 @@ public final class ProtoBuf { } 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; + * @return Whether the requestedVersion field is set. */ + @java.lang.Override public boolean hasRequestedVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + * @return The requestedVersion. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion() { + return requestedVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : requestedVersion_; } /** * required .AnnounceMessage.Version requestedVersion = 1; */ - public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion() { - return requestedVersion_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getRequestedVersionOrBuilder() { + return requestedVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : requestedVersion_; } - // required uint32 buildId = 2; public static final int BUILDID_FIELD_NUMBER = 2; private int buildId_; /** * required uint32 buildId = 2; + * @return Whether the buildId field is set. */ + @java.lang.Override public boolean hasBuildId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 buildId = 2; + * @return The buildId. */ + @java.lang.Override 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; + * @return Whether the myLastSessionId field is set. */ + @java.lang.Override public boolean hasMyLastSessionId() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes myLastSessionId = 3; + * @return The myLastSessionId. */ + @java.lang.Override 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_; + private volatile java.lang.Object authServerPassword_; /** * optional string authServerPassword = 4; + * @return Whether the authServerPassword field is set. */ + @java.lang.Override public boolean hasAuthServerPassword() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional string authServerPassword = 4; + * @return The authServerPassword. */ + @java.lang.Override public java.lang.String getAuthServerPassword() { java.lang.Object ref = authServerPassword_; if (ref instanceof java.lang.String) { @@ -5425,7 +7375,9 @@ public final class ProtoBuf { } /** * optional string authServerPassword = 4; + * @return The bytes for authServerPassword. */ + @java.lang.Override public com.google.protobuf.ByteString getAuthServerPasswordBytes() { java.lang.Object ref = authServerPassword_; @@ -5440,42 +7392,48 @@ public final class ProtoBuf { } } - // required .InitMessage.LoginType login = 5; public static final int LOGIN_FIELD_NUMBER = 5; - private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_; + private int login_; /** * required .InitMessage.LoginType login = 5; + * @return Whether the login field is set. */ - public boolean hasLogin() { - return ((bitField0_ & 0x00000010) == 0x00000010); + @java.lang.Override public boolean hasLogin() { + return ((bitField0_ & 0x00000010) != 0); } /** * required .InitMessage.LoginType login = 5; + * @return The login. */ - public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { - return login_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.InitMessage.LoginType result = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.valueOf(login_); + return result == null ? de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin : result; } - // optional string nickName = 6; public static final int NICKNAME_FIELD_NUMBER = 6; - private java.lang.Object nickName_; + private volatile java.lang.Object nickName_; /** - * optional string nickName = 6; - * *
      * Only used for guest login or unauthenticated login.
      * 
+ * + * optional string nickName = 6; + * @return Whether the nickName field is set. */ + @java.lang.Override public boolean hasNickName() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** - * optional string nickName = 6; - * *
      * Only used for guest login or unauthenticated login.
      * 
+ * + * optional string nickName = 6; + * @return The nickName. */ + @java.lang.Override public java.lang.String getNickName() { java.lang.Object ref = nickName_; if (ref instanceof java.lang.String) { @@ -5491,12 +7449,14 @@ public final class ProtoBuf { } } /** - * optional string nickName = 6; - * *
      * Only used for guest login or unauthenticated login.
      * 
+ * + * optional string nickName = 6; + * @return The bytes for nickName. */ + @java.lang.Override public com.google.protobuf.ByteString getNickNameBytes() { java.lang.Object ref = nickName_; @@ -5511,68 +7471,66 @@ public final class ProtoBuf { } } - // 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
      * 
+ * + * optional bytes clientUserData = 7; + * @return Whether the clientUserData field is set. */ + @java.lang.Override public boolean hasClientUserData() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** - * optional bytes clientUserData = 7; - * *
      * Authenticated login data is according to SCRAM SHA-1
      * 
+ * + * optional bytes clientUserData = 7; + * @return The clientUserData. */ + @java.lang.Override 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.
      * 
+ * + * optional bytes avatarHash = 8; + * @return Whether the avatarHash field is set. */ + @java.lang.Override public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** - * optional bytes avatarHash = 8; - * *
      * Ignored for guest login.
      * 
+ * + * optional bytes avatarHash = 8; + * @return The avatarHash. */ + @java.lang.Override 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; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRequestedVersion()) { memoizedIsInitialized = 0; @@ -5594,84 +7552,185 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeMessage(1, requestedVersion_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getRequestedVersion()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, buildId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, myLastSessionId_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getAuthServerPasswordBytes()); + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, authServerPassword_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeEnum(5, login_.getNumber()); + if (((bitField0_ & 0x00000010) != 0)) { + output.writeEnum(5, login_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeBytes(6, getNickNameBytes()); + if (((bitField0_ & 0x00000020) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, nickName_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeBytes(7, clientUserData_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeBytes(8, avatarHash_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, requestedVersion_); + .computeMessageSize(1, getRequestedVersion()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, buildId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, myLastSessionId_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getAuthServerPasswordBytes()); + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, authServerPassword_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, login_.getNumber()); + .computeEnumSize(5, login_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, getNickNameBytes()); + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, nickName_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(7, clientUserData_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, avatarHash_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.InitMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.InitMessage other = (de.pokerth.protocol.ProtoBuf.InitMessage) obj; + + if (hasRequestedVersion() != other.hasRequestedVersion()) return false; + if (hasRequestedVersion()) { + if (!getRequestedVersion() + .equals(other.getRequestedVersion())) return false; + } + if (hasBuildId() != other.hasBuildId()) return false; + if (hasBuildId()) { + if (getBuildId() + != other.getBuildId()) return false; + } + if (hasMyLastSessionId() != other.hasMyLastSessionId()) return false; + if (hasMyLastSessionId()) { + if (!getMyLastSessionId() + .equals(other.getMyLastSessionId())) return false; + } + if (hasAuthServerPassword() != other.hasAuthServerPassword()) return false; + if (hasAuthServerPassword()) { + if (!getAuthServerPassword() + .equals(other.getAuthServerPassword())) return false; + } + if (hasLogin() != other.hasLogin()) return false; + if (hasLogin()) { + if (login_ != other.login_) return false; + } + if (hasNickName() != other.hasNickName()) return false; + if (hasNickName()) { + if (!getNickName() + .equals(other.getNickName())) return false; + } + if (hasClientUserData() != other.hasClientUserData()) return false; + if (hasClientUserData()) { + if (!getClientUserData() + .equals(other.getClientUserData())) return false; + } + if (hasAvatarHash() != other.hasAvatarHash()) return false; + if (hasAvatarHash()) { + if (!getAvatarHash() + .equals(other.getAvatarHash())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequestedVersion()) { + hash = (37 * hash) + REQUESTEDVERSION_FIELD_NUMBER; + hash = (53 * hash) + getRequestedVersion().hashCode(); + } + if (hasBuildId()) { + hash = (37 * hash) + BUILDID_FIELD_NUMBER; + hash = (53 * hash) + getBuildId(); + } + if (hasMyLastSessionId()) { + hash = (37 * hash) + MYLASTSESSIONID_FIELD_NUMBER; + hash = (53 * hash) + getMyLastSessionId().hashCode(); + } + if (hasAuthServerPassword()) { + hash = (37 * hash) + AUTHSERVERPASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getAuthServerPassword().hashCode(); + } + if (hasLogin()) { + hash = (37 * hash) + LOGIN_FIELD_NUMBER; + hash = (53 * hash) + login_; + } + if (hasNickName()) { + hash = (37 * hash) + NICKNAME_FIELD_NUMBER; + hash = (53 * hash) + getNickName().hashCode(); + } + if (hasClientUserData()) { + hash = (37 * hash) + CLIENTUSERDATA_FIELD_NUMBER; + hash = (53 * hash) + getClientUserData().hashCode(); + } + if (hasAvatarHash()) { + hash = (37 * hash) + AVATARHASH_FIELD_NUMBER; + hash = (53 * hash) + getAvatarHash().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5695,68 +7754,110 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InitMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InitMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * Protobuf type {@code InitMessage} - * *
      * buildId contains a constant build id (specific for Windows/Linux/Mac builds)
      * 
+ * + * Protobuf type {@code InitMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.InitMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InitMessage) + de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InitMessage.class, de.pokerth.protocol.ProtoBuf.InitMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getRequestedVersionFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + if (requestedVersionBuilder_ == null) { + requestedVersion_ = null; + } else { + requestedVersionBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); buildId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); @@ -5764,7 +7865,7 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000004); authServerPassword_ = ""; bitField0_ = (bitField0_ & ~0x00000008); - login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; + login_ = 0; bitField0_ = (bitField0_ & ~0x00000010); nickName_ = ""; bitField0_ = (bitField0_ & ~0x00000020); @@ -5775,14 +7876,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InitMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InitMessage build() { de.pokerth.protocol.ProtoBuf.InitMessage result = buildPartial(); if (!result.isInitialized()) { @@ -5791,46 +7896,94 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + if (requestedVersionBuilder_ == null) { + result.requestedVersion_ = requestedVersion_; + } else { + result.requestedVersion_ = requestedVersionBuilder_.build(); + } to_bitField0_ |= 0x00000001; } - result.requestedVersion_ = requestedVersion_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.buildId_ = buildId_; to_bitField0_ |= 0x00000002; } - result.buildId_ = buildId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.myLastSessionId_ = myLastSessionId_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.authServerPassword_ = authServerPassword_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.login_ = login_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.nickName_ = nickName_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000040; } result.clientUserData_ = clientUserData_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } result.avatarHash_ = avatarHash_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.InitMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.InitMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitMessage other) { if (other == de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) return this; if (other.hasRequestedVersion()) { @@ -5845,7 +7998,7 @@ public final class ProtoBuf { if (other.hasAuthServerPassword()) { bitField0_ |= 0x00000008; authServerPassword_ = other.authServerPassword_; - + onChanged(); } if (other.hasLogin()) { setLogin(other.getLogin()); @@ -5853,7 +8006,7 @@ public final class ProtoBuf { if (other.hasNickName()) { bitField0_ |= 0x00000020; nickName_ = other.nickName_; - + onChanged(); } if (other.hasClientUserData()) { setClientUserData(other.getClientUserData()); @@ -5861,29 +8014,29 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRequestedVersion()) { - return false; } if (!hasBuildId()) { - return false; } if (!hasLogin()) { - return false; } if (!getRequestedVersion().isInitialized()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -5893,7 +8046,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.InitMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -5903,29 +8056,40 @@ public final class ProtoBuf { } private int bitField0_; - // required .AnnounceMessage.Version requestedVersion = 1; - private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version requestedVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder> requestedVersionBuilder_; /** * required .AnnounceMessage.Version requestedVersion = 1; + * @return Whether the requestedVersion field is set. */ public boolean hasRequestedVersion() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required .AnnounceMessage.Version requestedVersion = 1; + * @return The requestedVersion. */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version getRequestedVersion() { - return requestedVersion_; + if (requestedVersionBuilder_ == null) { + return requestedVersion_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : requestedVersion_; + } else { + return requestedVersionBuilder_.getMessage(); + } } /** * required .AnnounceMessage.Version requestedVersion = 1; */ public Builder setRequestedVersion(de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version value) { - if (value == null) { - throw new NullPointerException(); + if (requestedVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + requestedVersion_ = value; + onChanged(); + } else { + requestedVersionBuilder_.setMessage(value); } - requestedVersion_ = value; - bitField0_ |= 0x00000001; return this; } @@ -5934,8 +8098,12 @@ public final class ProtoBuf { */ public Builder setRequestedVersion( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder builderForValue) { - requestedVersion_ = builderForValue.build(); - + if (requestedVersionBuilder_ == null) { + requestedVersion_ = builderForValue.build(); + onChanged(); + } else { + requestedVersionBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000001; return this; } @@ -5943,14 +8111,19 @@ public final class ProtoBuf { * 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()) { - requestedVersion_ = - de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(requestedVersion_).mergeFrom(value).buildPartial(); + if (requestedVersionBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + requestedVersion_ != null && + requestedVersion_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance()) { + requestedVersion_ = + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.newBuilder(requestedVersion_).mergeFrom(value).buildPartial(); + } else { + requestedVersion_ = value; + } + onChanged(); } else { - requestedVersion_ = value; + requestedVersionBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; return this; } @@ -5958,61 +8131,111 @@ public final class ProtoBuf { * required .AnnounceMessage.Version requestedVersion = 1; */ public Builder clearRequestedVersion() { - requestedVersion_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance(); - + if (requestedVersionBuilder_ == null) { + requestedVersion_ = null; + onChanged(); + } else { + requestedVersionBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); return this; } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder getRequestedVersionBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getRequestedVersionFieldBuilder().getBuilder(); + } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder getRequestedVersionOrBuilder() { + if (requestedVersionBuilder_ != null) { + return requestedVersionBuilder_.getMessageOrBuilder(); + } else { + return requestedVersion_ == null ? + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.getDefaultInstance() : requestedVersion_; + } + } + /** + * required .AnnounceMessage.Version requestedVersion = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder> + getRequestedVersionFieldBuilder() { + if (requestedVersionBuilder_ == null) { + requestedVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Version.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessage.VersionOrBuilder>( + getRequestedVersion(), + getParentForChildren(), + isClean()); + requestedVersion_ = null; + } + return requestedVersionBuilder_; + } - // required uint32 buildId = 2; private int buildId_ ; /** * required uint32 buildId = 2; + * @return Whether the buildId field is set. */ + @java.lang.Override public boolean hasBuildId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 buildId = 2; + * @return The buildId. */ + @java.lang.Override public int getBuildId() { return buildId_; } /** * required uint32 buildId = 2; + * @param value The buildId to set. + * @return This builder for chaining. */ public Builder setBuildId(int value) { bitField0_ |= 0x00000002; buildId_ = value; - + onChanged(); return this; } /** * required uint32 buildId = 2; + * @return This builder for chaining. */ public Builder clearBuildId() { bitField0_ = (bitField0_ & ~0x00000002); buildId_ = 0; - + onChanged(); return this; } - // optional bytes myLastSessionId = 3; private com.google.protobuf.ByteString myLastSessionId_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes myLastSessionId = 3; + * @return Whether the myLastSessionId field is set. */ + @java.lang.Override public boolean hasMyLastSessionId() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes myLastSessionId = 3; + * @return The myLastSessionId. */ + @java.lang.Override public com.google.protobuf.ByteString getMyLastSessionId() { return myLastSessionId_; } /** * optional bytes myLastSessionId = 3; + * @param value The myLastSessionId to set. + * @return This builder for chaining. */ public Builder setMyLastSessionId(com.google.protobuf.ByteString value) { if (value == null) { @@ -6020,36 +8243,41 @@ public final class ProtoBuf { } bitField0_ |= 0x00000004; myLastSessionId_ = value; - + onChanged(); return this; } /** * optional bytes myLastSessionId = 3; + * @return This builder for chaining. */ public Builder clearMyLastSessionId() { bitField0_ = (bitField0_ & ~0x00000004); myLastSessionId_ = getDefaultInstance().getMyLastSessionId(); - + onChanged(); return this; } - // optional string authServerPassword = 4; private java.lang.Object authServerPassword_ = ""; /** * optional string authServerPassword = 4; + * @return Whether the authServerPassword field is set. */ public boolean hasAuthServerPassword() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional string authServerPassword = 4; + * @return The authServerPassword. */ public java.lang.String getAuthServerPassword() { java.lang.Object ref = authServerPassword_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - authServerPassword_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + authServerPassword_ = s; + } return s; } else { return (java.lang.String) ref; @@ -6057,6 +8285,7 @@ public final class ProtoBuf { } /** * optional string authServerPassword = 4; + * @return The bytes for authServerPassword. */ public com.google.protobuf.ByteString getAuthServerPasswordBytes() { @@ -6073,6 +8302,8 @@ public final class ProtoBuf { } /** * optional string authServerPassword = 4; + * @param value The authServerPassword to set. + * @return This builder for chaining. */ public Builder setAuthServerPassword( java.lang.String value) { @@ -6081,20 +8312,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000008; authServerPassword_ = value; - + onChanged(); return this; } /** * optional string authServerPassword = 4; + * @return This builder for chaining. */ public Builder clearAuthServerPassword() { bitField0_ = (bitField0_ & ~0x00000008); authServerPassword_ = getDefaultInstance().getAuthServerPassword(); - + onChanged(); return this; } /** * optional string authServerPassword = 4; + * @param value The bytes for authServerPassword to set. + * @return This builder for chaining. */ public Builder setAuthServerPasswordBytes( com.google.protobuf.ByteString value) { @@ -6103,82 +8337,94 @@ public final class ProtoBuf { } bitField0_ |= 0x00000008; authServerPassword_ = value; - + onChanged(); return this; } - // required .InitMessage.LoginType login = 5; - private de.pokerth.protocol.ProtoBuf.InitMessage.LoginType login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; + private int login_ = 0; /** * required .InitMessage.LoginType login = 5; + * @return Whether the login field is set. */ - public boolean hasLogin() { - return ((bitField0_ & 0x00000010) == 0x00000010); + @java.lang.Override public boolean hasLogin() { + return ((bitField0_ & 0x00000010) != 0); } /** * required .InitMessage.LoginType login = 5; + * @return The login. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InitMessage.LoginType getLogin() { - return login_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.InitMessage.LoginType result = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.valueOf(login_); + return result == null ? de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin : result; } /** * required .InitMessage.LoginType login = 5; + * @param value The login to set. + * @return This builder for chaining. */ public Builder setLogin(de.pokerth.protocol.ProtoBuf.InitMessage.LoginType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; - login_ = value; - + login_ = value.getNumber(); + onChanged(); return this; } /** * required .InitMessage.LoginType login = 5; + * @return This builder for chaining. */ public Builder clearLogin() { bitField0_ = (bitField0_ & ~0x00000010); - login_ = de.pokerth.protocol.ProtoBuf.InitMessage.LoginType.guestLogin; - + login_ = 0; + onChanged(); return this; } - // optional string nickName = 6; private java.lang.Object nickName_ = ""; /** - * optional string nickName = 6; - * *
        * Only used for guest login or unauthenticated login.
        * 
+ * + * optional string nickName = 6; + * @return Whether the nickName field is set. */ public boolean hasNickName() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** - * optional string nickName = 6; - * *
        * Only used for guest login or unauthenticated login.
        * 
+ * + * optional string nickName = 6; + * @return The nickName. */ public java.lang.String getNickName() { java.lang.Object ref = nickName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - nickName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nickName_ = s; + } return s; } else { return (java.lang.String) ref; } } /** - * optional string nickName = 6; - * *
        * Only used for guest login or unauthenticated login.
        * 
+ * + * optional string nickName = 6; + * @return The bytes for nickName. */ public com.google.protobuf.ByteString getNickNameBytes() { @@ -6194,11 +8440,13 @@ public final class ProtoBuf { } } /** - * optional string nickName = 6; - * *
        * Only used for guest login or unauthenticated login.
        * 
+ * + * optional string nickName = 6; + * @param value The nickName to set. + * @return This builder for chaining. */ public Builder setNickName( java.lang.String value) { @@ -6207,28 +8455,31 @@ public final class ProtoBuf { } bitField0_ |= 0x00000020; nickName_ = value; - + onChanged(); return this; } /** - * optional string nickName = 6; - * *
        * Only used for guest login or unauthenticated login.
        * 
+ * + * optional string nickName = 6; + * @return This builder for chaining. */ public Builder clearNickName() { bitField0_ = (bitField0_ & ~0x00000020); nickName_ = getDefaultInstance().getNickName(); - + onChanged(); return this; } /** - * optional string nickName = 6; - * *
        * Only used for guest login or unauthenticated login.
        * 
+ * + * optional string nickName = 6; + * @param value The bytes for nickName to set. + * @return This builder for chaining. */ public Builder setNickNameBytes( com.google.protobuf.ByteString value) { @@ -6237,38 +8488,43 @@ public final class ProtoBuf { } bitField0_ |= 0x00000020; nickName_ = value; - + onChanged(); 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
        * 
+ * + * optional bytes clientUserData = 7; + * @return Whether the clientUserData field is set. */ + @java.lang.Override public boolean hasClientUserData() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** - * optional bytes clientUserData = 7; - * *
        * Authenticated login data is according to SCRAM SHA-1
        * 
+ * + * optional bytes clientUserData = 7; + * @return The clientUserData. */ + @java.lang.Override public com.google.protobuf.ByteString getClientUserData() { return clientUserData_; } /** - * optional bytes clientUserData = 7; - * *
        * Authenticated login data is according to SCRAM SHA-1
        * 
+ * + * optional bytes clientUserData = 7; + * @param value The clientUserData to set. + * @return This builder for chaining. */ public Builder setClientUserData(com.google.protobuf.ByteString value) { if (value == null) { @@ -6276,51 +8532,57 @@ public final class ProtoBuf { } bitField0_ |= 0x00000040; clientUserData_ = value; - + onChanged(); return this; } /** - * optional bytes clientUserData = 7; - * *
        * Authenticated login data is according to SCRAM SHA-1
        * 
+ * + * optional bytes clientUserData = 7; + * @return This builder for chaining. */ public Builder clearClientUserData() { bitField0_ = (bitField0_ & ~0x00000040); clientUserData_ = getDefaultInstance().getClientUserData(); - + onChanged(); 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.
        * 
+ * + * optional bytes avatarHash = 8; + * @return Whether the avatarHash field is set. */ + @java.lang.Override public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** - * optional bytes avatarHash = 8; - * *
        * Ignored for guest login.
        * 
+ * + * optional bytes avatarHash = 8; + * @return The avatarHash. */ + @java.lang.Override public com.google.protobuf.ByteString getAvatarHash() { return avatarHash_; } /** - * optional bytes avatarHash = 8; - * *
        * Ignored for guest login.
        * 
+ * + * optional bytes avatarHash = 8; + * @param value The avatarHash to set. + * @return This builder for chaining. */ public Builder setAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -6328,44 +8590,88 @@ public final class ProtoBuf { } bitField0_ |= 0x00000080; avatarHash_ = value; - + onChanged(); return this; } /** - * optional bytes avatarHash = 8; - * *
        * Ignored for guest login.
        * 
+ * + * optional bytes avatarHash = 8; + * @return This builder for chaining. */ public Builder clearAvatarHash() { bitField0_ = (bitField0_ & ~0x00000080); avatarHash_ = getDefaultInstance().getAvatarHash(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:InitMessage) } + // @@protoc_insertion_point(class_scope:InitMessage) + private static final de.pokerth.protocol.ProtoBuf.InitMessage DEFAULT_INSTANCE; static { - defaultInstance = new InitMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.InitMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.InitMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InitMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InitMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InitMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:InitMessage) } - public interface AuthServerChallengeMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AuthServerChallengeMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AuthServerChallengeMessage) + com.google.protobuf.MessageOrBuilder { - // required bytes serverChallenge = 1; /** * required bytes serverChallenge = 1; + * @return Whether the serverChallenge field is set. */ boolean hasServerChallenge(); /** * required bytes serverChallenge = 1; + * @return The serverChallenge. */ com.google.protobuf.ByteString getServerChallenge(); } @@ -6373,30 +8679,41 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerChallengeMessage} */ public static final class AuthServerChallengeMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthServerChallengeMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AuthServerChallengeMessage) + AuthServerChallengeMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AuthServerChallengeMessage.newBuilder() to construct. - private AuthServerChallengeMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AuthServerChallengeMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AuthServerChallengeMessage(boolean noInit) {} - - private static final AuthServerChallengeMessage defaultInstance; - public static AuthServerChallengeMessage getDefaultInstance() { - return defaultInstance; + private AuthServerChallengeMessage() { + serverChallenge_ = com.google.protobuf.ByteString.EMPTY; } - public AuthServerChallengeMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AuthServerChallengeMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AuthServerChallengeMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -6405,68 +8722,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { bitField0_ |= 0x00000001; serverChallenge_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerChallengeMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerChallengeMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.class, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder.class); } 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; + * @return Whether the serverChallenge field is set. */ + @java.lang.Override public boolean hasServerChallenge() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes serverChallenge = 1; + * @return The serverChallenge. */ + @java.lang.Override public com.google.protobuf.ByteString getServerChallenge() { return serverChallenge_; } - private void initFields() { - serverChallenge_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasServerChallenge()) { memoizedIsInitialized = 0; @@ -6476,35 +8794,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, serverChallenge_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverChallenge_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage other = (de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage) obj; + + if (hasServerChallenge() != other.hasServerChallenge()) return false; + if (hasServerChallenge()) { + if (!getServerChallenge() + .equals(other.getServerChallenge())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasServerChallenge()) { + hash = (37 * hash) + SERVERCHALLENGE_FIELD_NUMBER; + hash = (53 * hash) + getServerChallenge().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6528,61 +8887,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AuthServerChallengeMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AuthServerChallengeMessage) + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerChallengeMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerChallengeMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.class, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); serverChallenge_ = com.google.protobuf.ByteString.EMPTY; @@ -6590,14 +8986,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerChallengeMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage build() { de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage result = buildPartial(); if (!result.isInitialized()) { @@ -6606,34 +9006,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage result = new de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.serverChallenge_ = serverChallenge_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance()) return this; if (other.hasServerChallenge()) { setServerChallenge(other.getServerChallenge()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasServerChallenge()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6643,7 +9090,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -6653,22 +9100,27 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes serverChallenge = 1; private com.google.protobuf.ByteString serverChallenge_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes serverChallenge = 1; + * @return Whether the serverChallenge field is set. */ + @java.lang.Override public boolean hasServerChallenge() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes serverChallenge = 1; + * @return The serverChallenge. */ + @java.lang.Override public com.google.protobuf.ByteString getServerChallenge() { return serverChallenge_; } /** * required bytes serverChallenge = 1; + * @param value The serverChallenge to set. + * @return This builder for chaining. */ public Builder setServerChallenge(com.google.protobuf.ByteString value) { if (value == null) { @@ -6676,40 +9128,84 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; serverChallenge_ = value; - + onChanged(); return this; } /** * required bytes serverChallenge = 1; + * @return This builder for chaining. */ public Builder clearServerChallenge() { bitField0_ = (bitField0_ & ~0x00000001); serverChallenge_ = getDefaultInstance().getServerChallenge(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AuthServerChallengeMessage) } + // @@protoc_insertion_point(class_scope:AuthServerChallengeMessage) + private static final de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage DEFAULT_INSTANCE; static { - defaultInstance = new AuthServerChallengeMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthServerChallengeMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthServerChallengeMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AuthServerChallengeMessage) } - public interface AuthClientResponseMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AuthClientResponseMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AuthClientResponseMessage) + com.google.protobuf.MessageOrBuilder { - // required bytes clientResponse = 1; /** * required bytes clientResponse = 1; + * @return Whether the clientResponse field is set. */ boolean hasClientResponse(); /** * required bytes clientResponse = 1; + * @return The clientResponse. */ com.google.protobuf.ByteString getClientResponse(); } @@ -6717,30 +9213,41 @@ public final class ProtoBuf { * Protobuf type {@code AuthClientResponseMessage} */ public static final class AuthClientResponseMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthClientResponseMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AuthClientResponseMessage) + AuthClientResponseMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AuthClientResponseMessage.newBuilder() to construct. - private AuthClientResponseMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AuthClientResponseMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AuthClientResponseMessage(boolean noInit) {} - - private static final AuthClientResponseMessage defaultInstance; - public static AuthClientResponseMessage getDefaultInstance() { - return defaultInstance; + private AuthClientResponseMessage() { + clientResponse_ = com.google.protobuf.ByteString.EMPTY; } - public AuthClientResponseMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AuthClientResponseMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AuthClientResponseMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -6749,68 +9256,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { bitField0_ |= 0x00000001; clientResponse_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthClientResponseMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthClientResponseMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.class, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder.class); } 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; + * @return Whether the clientResponse field is set. */ + @java.lang.Override public boolean hasClientResponse() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes clientResponse = 1; + * @return The clientResponse. */ + @java.lang.Override public com.google.protobuf.ByteString getClientResponse() { return clientResponse_; } - private void initFields() { - clientResponse_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasClientResponse()) { memoizedIsInitialized = 0; @@ -6820,35 +9328,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, clientResponse_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, clientResponse_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage other = (de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage) obj; + + if (hasClientResponse() != other.hasClientResponse()) return false; + if (hasClientResponse()) { + if (!getClientResponse() + .equals(other.getClientResponse())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasClientResponse()) { + hash = (37 * hash) + CLIENTRESPONSE_FIELD_NUMBER; + hash = (53 * hash) + getClientResponse().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6872,61 +9421,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AuthClientResponseMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AuthClientResponseMessage) + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthClientResponseMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthClientResponseMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.class, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); clientResponse_ = com.google.protobuf.ByteString.EMPTY; @@ -6934,14 +9520,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthClientResponseMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage build() { de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage result = buildPartial(); if (!result.isInitialized()) { @@ -6950,34 +9540,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage result = new de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.clientResponse_ = clientResponse_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance()) return this; if (other.hasClientResponse()) { setClientResponse(other.getClientResponse()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasClientResponse()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6987,7 +9624,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -6997,22 +9634,27 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes clientResponse = 1; private com.google.protobuf.ByteString clientResponse_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes clientResponse = 1; + * @return Whether the clientResponse field is set. */ + @java.lang.Override public boolean hasClientResponse() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes clientResponse = 1; + * @return The clientResponse. */ + @java.lang.Override public com.google.protobuf.ByteString getClientResponse() { return clientResponse_; } /** * required bytes clientResponse = 1; + * @param value The clientResponse to set. + * @return This builder for chaining. */ public Builder setClientResponse(com.google.protobuf.ByteString value) { if (value == null) { @@ -7020,40 +9662,84 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; clientResponse_ = value; - + onChanged(); return this; } /** * required bytes clientResponse = 1; + * @return This builder for chaining. */ public Builder clearClientResponse() { bitField0_ = (bitField0_ & ~0x00000001); clientResponse_ = getDefaultInstance().getClientResponse(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AuthClientResponseMessage) } + // @@protoc_insertion_point(class_scope:AuthClientResponseMessage) + private static final de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage DEFAULT_INSTANCE; static { - defaultInstance = new AuthClientResponseMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthClientResponseMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthClientResponseMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AuthClientResponseMessage) } - public interface AuthServerVerificationMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AuthServerVerificationMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AuthServerVerificationMessage) + com.google.protobuf.MessageOrBuilder { - // required bytes serverVerification = 1; /** * required bytes serverVerification = 1; + * @return Whether the serverVerification field is set. */ boolean hasServerVerification(); /** * required bytes serverVerification = 1; + * @return The serverVerification. */ com.google.protobuf.ByteString getServerVerification(); } @@ -7061,30 +9747,41 @@ public final class ProtoBuf { * Protobuf type {@code AuthServerVerificationMessage} */ public static final class AuthServerVerificationMessage extends - com.google.protobuf.GeneratedMessageLite - implements AuthServerVerificationMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AuthServerVerificationMessage) + AuthServerVerificationMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AuthServerVerificationMessage.newBuilder() to construct. - private AuthServerVerificationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AuthServerVerificationMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AuthServerVerificationMessage(boolean noInit) {} - - private static final AuthServerVerificationMessage defaultInstance; - public static AuthServerVerificationMessage getDefaultInstance() { - return defaultInstance; + private AuthServerVerificationMessage() { + serverVerification_ = com.google.protobuf.ByteString.EMPTY; } - public AuthServerVerificationMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AuthServerVerificationMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AuthServerVerificationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -7093,68 +9790,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { bitField0_ |= 0x00000001; serverVerification_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerVerificationMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerVerificationMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.class, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder.class); } 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; + * @return Whether the serverVerification field is set. */ + @java.lang.Override public boolean hasServerVerification() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes serverVerification = 1; + * @return The serverVerification. */ + @java.lang.Override public com.google.protobuf.ByteString getServerVerification() { return serverVerification_; } - private void initFields() { - serverVerification_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasServerVerification()) { memoizedIsInitialized = 0; @@ -7164,35 +9862,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, serverVerification_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, serverVerification_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage other = (de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage) obj; + + if (hasServerVerification() != other.hasServerVerification()) return false; + if (hasServerVerification()) { + if (!getServerVerification() + .equals(other.getServerVerification())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasServerVerification()) { + hash = (37 * hash) + SERVERVERIFICATION_FIELD_NUMBER; + hash = (53 * hash) + getServerVerification().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7216,61 +9955,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AuthServerVerificationMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AuthServerVerificationMessage) + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerVerificationMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerVerificationMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.class, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); serverVerification_ = com.google.protobuf.ByteString.EMPTY; @@ -7278,14 +10054,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AuthServerVerificationMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage build() { de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage result = buildPartial(); if (!result.isInitialized()) { @@ -7294,34 +10074,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage result = new de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.serverVerification_ = serverVerification_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) return this; if (other.hasServerVerification()) { setServerVerification(other.getServerVerification()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasServerVerification()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7331,7 +10158,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -7341,22 +10168,27 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes serverVerification = 1; private com.google.protobuf.ByteString serverVerification_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes serverVerification = 1; + * @return Whether the serverVerification field is set. */ + @java.lang.Override public boolean hasServerVerification() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes serverVerification = 1; + * @return The serverVerification. */ + @java.lang.Override public com.google.protobuf.ByteString getServerVerification() { return serverVerification_; } /** * required bytes serverVerification = 1; + * @param value The serverVerification to set. + * @return This builder for chaining. */ public Builder setServerVerification(com.google.protobuf.ByteString value) { if (value == null) { @@ -7364,70 +10196,117 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; serverVerification_ = value; - + onChanged(); return this; } /** * required bytes serverVerification = 1; + * @return This builder for chaining. */ public Builder clearServerVerification() { bitField0_ = (bitField0_ & ~0x00000001); serverVerification_ = getDefaultInstance().getServerVerification(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AuthServerVerificationMessage) } + // @@protoc_insertion_point(class_scope:AuthServerVerificationMessage) + private static final de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage DEFAULT_INSTANCE; static { - defaultInstance = new AuthServerVerificationMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthServerVerificationMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AuthServerVerificationMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AuthServerVerificationMessage) } - public interface InitAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface InitAckMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:InitAckMessage) + com.google.protobuf.MessageOrBuilder { - // required bytes yourSessionId = 1; /** * required bytes yourSessionId = 1; + * @return Whether the yourSessionId field is set. */ boolean hasYourSessionId(); /** * required bytes yourSessionId = 1; + * @return The yourSessionId. */ com.google.protobuf.ByteString getYourSessionId(); - // required uint32 yourPlayerId = 2; /** * required uint32 yourPlayerId = 2; + * @return Whether the yourPlayerId field is set. */ boolean hasYourPlayerId(); /** * required uint32 yourPlayerId = 2; + * @return The yourPlayerId. */ int getYourPlayerId(); - // optional bytes yourAvatarHash = 3; /** * optional bytes yourAvatarHash = 3; + * @return Whether the yourAvatarHash field is set. */ boolean hasYourAvatarHash(); /** * optional bytes yourAvatarHash = 3; + * @return The yourAvatarHash. */ com.google.protobuf.ByteString getYourAvatarHash(); - // optional uint32 rejoinGameId = 4; /** * optional uint32 rejoinGameId = 4; + * @return Whether the rejoinGameId field is set. */ boolean hasRejoinGameId(); /** * optional uint32 rejoinGameId = 4; + * @return The rejoinGameId. */ int getRejoinGameId(); } @@ -7435,30 +10314,42 @@ public final class ProtoBuf { * Protobuf type {@code InitAckMessage} */ public static final class InitAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements InitAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InitAckMessage) + InitAckMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use InitAckMessage.newBuilder() to construct. - private InitAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private InitAckMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private InitAckMessage(boolean noInit) {} - - private static final InitAckMessage defaultInstance; - public static InitAckMessage getDefaultInstance() { - return defaultInstance; + private InitAckMessage() { + yourSessionId_ = com.google.protobuf.ByteString.EMPTY; + yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; } - public InitAckMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InitAckMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private InitAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -7467,13 +10358,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { bitField0_ |= 0x00000001; yourSessionId_ = input.readBytes(); @@ -7494,107 +10378,121 @@ public final class ProtoBuf { rejoinGameId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitAckMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InitAckMessage.class, de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder.class); } 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; + * @return Whether the yourSessionId field is set. */ + @java.lang.Override public boolean hasYourSessionId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes yourSessionId = 1; + * @return The yourSessionId. */ + @java.lang.Override 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; + * @return Whether the yourPlayerId field is set. */ + @java.lang.Override public boolean hasYourPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 yourPlayerId = 2; + * @return The yourPlayerId. */ + @java.lang.Override 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; + * @return Whether the yourAvatarHash field is set. */ + @java.lang.Override public boolean hasYourAvatarHash() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes yourAvatarHash = 3; + * @return The yourAvatarHash. */ + @java.lang.Override 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; + * @return Whether the rejoinGameId field is set. */ + @java.lang.Override public boolean hasRejoinGameId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 rejoinGameId = 4; + * @return The rejoinGameId. */ + @java.lang.Override 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; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasYourSessionId()) { memoizedIsInitialized = 0; @@ -7608,56 +10506,124 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, yourSessionId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, yourPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, yourAvatarHash_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, rejoinGameId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, yourSessionId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, yourPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, yourAvatarHash_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, rejoinGameId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.InitAckMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.InitAckMessage other = (de.pokerth.protocol.ProtoBuf.InitAckMessage) obj; + + if (hasYourSessionId() != other.hasYourSessionId()) return false; + if (hasYourSessionId()) { + if (!getYourSessionId() + .equals(other.getYourSessionId())) return false; + } + if (hasYourPlayerId() != other.hasYourPlayerId()) return false; + if (hasYourPlayerId()) { + if (getYourPlayerId() + != other.getYourPlayerId()) return false; + } + if (hasYourAvatarHash() != other.hasYourAvatarHash()) return false; + if (hasYourAvatarHash()) { + if (!getYourAvatarHash() + .equals(other.getYourAvatarHash())) return false; + } + if (hasRejoinGameId() != other.hasRejoinGameId()) return false; + if (hasRejoinGameId()) { + if (getRejoinGameId() + != other.getRejoinGameId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasYourSessionId()) { + hash = (37 * hash) + YOURSESSIONID_FIELD_NUMBER; + hash = (53 * hash) + getYourSessionId().hashCode(); + } + if (hasYourPlayerId()) { + hash = (37 * hash) + YOURPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getYourPlayerId(); + } + if (hasYourAvatarHash()) { + hash = (37 * hash) + YOURAVATARHASH_FIELD_NUMBER; + hash = (53 * hash) + getYourAvatarHash().hashCode(); + } + if (hasRejoinGameId()) { + hash = (37 * hash) + REJOINGAMEID_FIELD_NUMBER; + hash = (53 * hash) + getRejoinGameId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7681,61 +10647,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InitAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InitAckMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InitAckMessage) + de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitAckMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InitAckMessage.class, de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); yourSessionId_ = com.google.protobuf.ByteString.EMPTY; @@ -7749,14 +10752,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_InitAckMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InitAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InitAckMessage build() { de.pokerth.protocol.ProtoBuf.InitAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -7765,30 +10772,74 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.yourSessionId_ = yourSessionId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.yourPlayerId_ = yourPlayerId_; to_bitField0_ |= 0x00000002; } - result.yourPlayerId_ = yourPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.yourAvatarHash_ = yourAvatarHash_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.rejoinGameId_ = rejoinGameId_; to_bitField0_ |= 0x00000008; } - result.rejoinGameId_ = rejoinGameId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.InitAckMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.InitAckMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InitAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) return this; if (other.hasYourSessionId()) { @@ -7803,21 +10854,23 @@ public final class ProtoBuf { if (other.hasRejoinGameId()) { setRejoinGameId(other.getRejoinGameId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasYourSessionId()) { - return false; } if (!hasYourPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7827,7 +10880,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.InitAckMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -7837,22 +10890,27 @@ public final class ProtoBuf { } private int bitField0_; - // required bytes yourSessionId = 1; private com.google.protobuf.ByteString yourSessionId_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes yourSessionId = 1; + * @return Whether the yourSessionId field is set. */ + @java.lang.Override public boolean hasYourSessionId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required bytes yourSessionId = 1; + * @return The yourSessionId. */ + @java.lang.Override public com.google.protobuf.ByteString getYourSessionId() { return yourSessionId_; } /** * required bytes yourSessionId = 1; + * @param value The yourSessionId to set. + * @return This builder for chaining. */ public Builder setYourSessionId(com.google.protobuf.ByteString value) { if (value == null) { @@ -7860,68 +10918,80 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; yourSessionId_ = value; - + onChanged(); return this; } /** * required bytes yourSessionId = 1; + * @return This builder for chaining. */ public Builder clearYourSessionId() { bitField0_ = (bitField0_ & ~0x00000001); yourSessionId_ = getDefaultInstance().getYourSessionId(); - + onChanged(); return this; } - // required uint32 yourPlayerId = 2; private int yourPlayerId_ ; /** * required uint32 yourPlayerId = 2; + * @return Whether the yourPlayerId field is set. */ + @java.lang.Override public boolean hasYourPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 yourPlayerId = 2; + * @return The yourPlayerId. */ + @java.lang.Override public int getYourPlayerId() { return yourPlayerId_; } /** * required uint32 yourPlayerId = 2; + * @param value The yourPlayerId to set. + * @return This builder for chaining. */ public Builder setYourPlayerId(int value) { bitField0_ |= 0x00000002; yourPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 yourPlayerId = 2; + * @return This builder for chaining. */ public Builder clearYourPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); yourPlayerId_ = 0; - + onChanged(); return this; } - // optional bytes yourAvatarHash = 3; private com.google.protobuf.ByteString yourAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes yourAvatarHash = 3; + * @return Whether the yourAvatarHash field is set. */ + @java.lang.Override public boolean hasYourAvatarHash() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes yourAvatarHash = 3; + * @return The yourAvatarHash. */ + @java.lang.Override public com.google.protobuf.ByteString getYourAvatarHash() { return yourAvatarHash_; } /** * optional bytes yourAvatarHash = 3; + * @param value The yourAvatarHash to set. + * @return This builder for chaining. */ public Builder setYourAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -7929,83 +10999,134 @@ public final class ProtoBuf { } bitField0_ |= 0x00000004; yourAvatarHash_ = value; - + onChanged(); return this; } /** * optional bytes yourAvatarHash = 3; + * @return This builder for chaining. */ public Builder clearYourAvatarHash() { bitField0_ = (bitField0_ & ~0x00000004); yourAvatarHash_ = getDefaultInstance().getYourAvatarHash(); - + onChanged(); return this; } - // optional uint32 rejoinGameId = 4; private int rejoinGameId_ ; /** * optional uint32 rejoinGameId = 4; + * @return Whether the rejoinGameId field is set. */ + @java.lang.Override public boolean hasRejoinGameId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional uint32 rejoinGameId = 4; + * @return The rejoinGameId. */ + @java.lang.Override public int getRejoinGameId() { return rejoinGameId_; } /** * optional uint32 rejoinGameId = 4; + * @param value The rejoinGameId to set. + * @return This builder for chaining. */ public Builder setRejoinGameId(int value) { bitField0_ |= 0x00000008; rejoinGameId_ = value; - + onChanged(); return this; } /** * optional uint32 rejoinGameId = 4; + * @return This builder for chaining. */ public Builder clearRejoinGameId() { bitField0_ = (bitField0_ & ~0x00000008); rejoinGameId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:InitAckMessage) } + // @@protoc_insertion_point(class_scope:InitAckMessage) + private static final de.pokerth.protocol.ProtoBuf.InitAckMessage DEFAULT_INSTANCE; static { - defaultInstance = new InitAckMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.InitAckMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.InitAckMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InitAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InitAckMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InitAckMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:InitAckMessage) } - public interface AvatarRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AvatarRequestMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ boolean hasRequestId(); /** * required uint32 requestId = 1; + * @return The requestId. */ int getRequestId(); - // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; + * @return Whether the avatarHash field is set. */ boolean hasAvatarHash(); /** * required bytes avatarHash = 2; + * @return The avatarHash. */ com.google.protobuf.ByteString getAvatarHash(); } @@ -8013,30 +11134,41 @@ public final class ProtoBuf { * Protobuf type {@code AvatarRequestMessage} */ public static final class AvatarRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AvatarRequestMessage) + AvatarRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AvatarRequestMessage.newBuilder() to construct. - private AvatarRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AvatarRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AvatarRequestMessage(boolean noInit) {} - - private static final AvatarRequestMessage defaultInstance; - public static AvatarRequestMessage getDefaultInstance() { - return defaultInstance; + private AvatarRequestMessage() { + avatarHash_ = com.google.protobuf.ByteString.EMPTY; } - public AvatarRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AvatarRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AvatarRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -8045,13 +11177,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; requestId_ = input.readUInt32(); @@ -8062,73 +11187,83 @@ public final class ProtoBuf { avatarHash_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.class, de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder.class); } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } - // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** * required bytes avatarHash = 2; + * @return Whether the avatarHash field is set. */ + @java.lang.Override public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes avatarHash = 2; + * @return The avatarHash. */ + @java.lang.Override public com.google.protobuf.ByteString getAvatarHash() { return avatarHash_; } - private void initFields() { - requestId_ = 0; - avatarHash_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -8142,42 +11277,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, requestId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, avatarHash_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AvatarRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage other = (de.pokerth.protocol.ProtoBuf.AvatarRequestMessage) obj; + + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (getRequestId() + != other.getRequestId()) return false; + } + if (hasAvatarHash() != other.hasAvatarHash()) return false; + if (hasAvatarHash()) { + if (!getAvatarHash() + .equals(other.getAvatarHash())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUESTID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId(); + } + if (hasAvatarHash()) { + hash = (37 * hash) + AVATARHASH_FIELD_NUMBER; + hash = (53 * hash) + getAvatarHash().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8201,61 +11386,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AvatarRequestMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AvatarRequestMessage) + de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.class, de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); requestId_ = 0; @@ -8265,14 +11487,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage build() { de.pokerth.protocol.ProtoBuf.AvatarRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -8281,22 +11507,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestId_ = requestId_; to_bitField0_ |= 0x00000001; } - result.requestId_ = requestId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.avatarHash_ = avatarHash_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AvatarRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AvatarRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { @@ -8305,21 +11575,23 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRequestId()) { - return false; } if (!hasAvatarHash()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8329,7 +11601,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -8339,55 +11611,66 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } /** * required uint32 requestId = 1; + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(int value) { bitField0_ |= 0x00000001; requestId_ = value; - + onChanged(); return this; } /** * required uint32 requestId = 1; + * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = 0; - + onChanged(); return this; } - // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; + * @return Whether the avatarHash field is set. */ + @java.lang.Override public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes avatarHash = 2; + * @return The avatarHash. */ + @java.lang.Override public com.google.protobuf.ByteString getAvatarHash() { return avatarHash_; } /** * required bytes avatarHash = 2; + * @param value The avatarHash to set. + * @return This builder for chaining. */ public Builder setAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -8395,60 +11678,106 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; avatarHash_ = value; - + onChanged(); return this; } /** * required bytes avatarHash = 2; + * @return This builder for chaining. */ public Builder clearAvatarHash() { bitField0_ = (bitField0_ & ~0x00000002); avatarHash_ = getDefaultInstance().getAvatarHash(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AvatarRequestMessage) } + // @@protoc_insertion_point(class_scope:AvatarRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.AvatarRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new AvatarRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AvatarRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvatarRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarRequestMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AvatarRequestMessage) } - public interface AvatarHeaderMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarHeaderMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AvatarHeaderMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ boolean hasRequestId(); /** * required uint32 requestId = 1; + * @return The requestId. */ int getRequestId(); - // required .NetAvatarType avatarType = 2; /** * required .NetAvatarType avatarType = 2; + * @return Whether the avatarType field is set. */ boolean hasAvatarType(); /** * required .NetAvatarType avatarType = 2; + * @return The avatarType. */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - // required uint32 avatarSize = 3; /** * required uint32 avatarSize = 3; + * @return Whether the avatarSize field is set. */ boolean hasAvatarSize(); /** * required uint32 avatarSize = 3; + * @return The avatarSize. */ int getAvatarSize(); } @@ -8456,30 +11785,41 @@ public final class ProtoBuf { * Protobuf type {@code AvatarHeaderMessage} */ public static final class AvatarHeaderMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarHeaderMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AvatarHeaderMessage) + AvatarHeaderMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AvatarHeaderMessage.newBuilder() to construct. - private AvatarHeaderMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AvatarHeaderMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AvatarHeaderMessage(boolean noInit) {} - - private static final AvatarHeaderMessage defaultInstance; - public static AvatarHeaderMessage getDefaultInstance() { - return defaultInstance; + private AvatarHeaderMessage() { + avatarType_ = 1; } - public AvatarHeaderMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AvatarHeaderMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AvatarHeaderMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -8488,13 +11828,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; requestId_ = input.readUInt32(); @@ -8502,10 +11835,13 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - avatarType_ = value; + avatarType_ = rawValue; } break; } @@ -8514,90 +11850,102 @@ public final class ProtoBuf { avatarSize_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarHeaderMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarHeaderMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.class, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder.class); } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } - // required .NetAvatarType avatarType = 2; public static final int AVATARTYPE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; + private int avatarType_; /** * required .NetAvatarType avatarType = 2; + * @return Whether the avatarType field is set. */ - public boolean hasAvatarType() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasAvatarType() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetAvatarType avatarType = 2; + * @return The avatarType. */ - public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetAvatarType result = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(avatarType_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng : result; } - // required uint32 avatarSize = 3; public static final int AVATARSIZE_FIELD_NUMBER = 3; private int avatarSize_; /** * required uint32 avatarSize = 3; + * @return Whether the avatarSize field is set. */ + @java.lang.Override public boolean hasAvatarSize() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 avatarSize = 3; + * @return The avatarSize. */ + @java.lang.Override public int getAvatarSize() { return avatarSize_; } - private void initFields() { - requestId_ = 0; - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - avatarSize_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -8615,49 +11963,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, requestId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, avatarType_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, avatarType_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, avatarSize_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, avatarType_.getNumber()); + .computeEnumSize(2, avatarType_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, avatarSize_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage other = (de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage) obj; + + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (getRequestId() + != other.getRequestId()) return false; + } + if (hasAvatarType() != other.hasAvatarType()) return false; + if (hasAvatarType()) { + if (avatarType_ != other.avatarType_) return false; + } + if (hasAvatarSize() != other.hasAvatarSize()) return false; + if (hasAvatarSize()) { + if (getAvatarSize() + != other.getAvatarSize()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUESTID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId(); + } + if (hasAvatarType()) { + hash = (37 * hash) + AVATARTYPE_FIELD_NUMBER; + hash = (53 * hash) + avatarType_; + } + if (hasAvatarSize()) { + hash = (37 * hash) + AVATARSIZE_FIELD_NUMBER; + hash = (53 * hash) + getAvatarSize(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8681,80 +12087,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AvatarHeaderMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AvatarHeaderMessage) + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarHeaderMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarHeaderMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.class, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); requestId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + avatarType_ = 1; bitField0_ = (bitField0_ & ~0x00000002); avatarSize_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarHeaderMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage build() { de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage result = buildPartial(); if (!result.isInitialized()) { @@ -8763,26 +12210,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestId_ = requestId_; to_bitField0_ |= 0x00000001; } - result.requestId_ = requestId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.avatarType_ = avatarType_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.avatarSize_ = avatarSize_; to_bitField0_ |= 0x00000004; } - result.avatarSize_ = avatarSize_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { @@ -8794,25 +12285,26 @@ public final class ProtoBuf { if (other.hasAvatarSize()) { setAvatarSize(other.getAvatarSize()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRequestId()) { - return false; } if (!hasAvatarType()) { - return false; } if (!hasAvatarSize()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -8822,7 +12314,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -8832,139 +12324,202 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } /** * required uint32 requestId = 1; + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(int value) { bitField0_ |= 0x00000001; requestId_ = value; - + onChanged(); return this; } /** * required uint32 requestId = 1; + * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = 0; - + onChanged(); return this; } - // required .NetAvatarType avatarType = 2; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + private int avatarType_ = 1; /** * required .NetAvatarType avatarType = 2; + * @return Whether the avatarType field is set. */ - public boolean hasAvatarType() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasAvatarType() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetAvatarType avatarType = 2; + * @return The avatarType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetAvatarType result = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(avatarType_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng : result; } /** * required .NetAvatarType avatarType = 2; + * @param value The avatarType to set. + * @return This builder for chaining. */ public Builder setAvatarType(de.pokerth.protocol.ProtoBuf.NetAvatarType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - avatarType_ = value; - + avatarType_ = value.getNumber(); + onChanged(); return this; } /** * required .NetAvatarType avatarType = 2; + * @return This builder for chaining. */ public Builder clearAvatarType() { bitField0_ = (bitField0_ & ~0x00000002); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - + avatarType_ = 1; + onChanged(); return this; } - // required uint32 avatarSize = 3; private int avatarSize_ ; /** * required uint32 avatarSize = 3; + * @return Whether the avatarSize field is set. */ + @java.lang.Override public boolean hasAvatarSize() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 avatarSize = 3; + * @return The avatarSize. */ + @java.lang.Override public int getAvatarSize() { return avatarSize_; } /** * required uint32 avatarSize = 3; + * @param value The avatarSize to set. + * @return This builder for chaining. */ public Builder setAvatarSize(int value) { bitField0_ |= 0x00000004; avatarSize_ = value; - + onChanged(); return this; } /** * required uint32 avatarSize = 3; + * @return This builder for chaining. */ public Builder clearAvatarSize() { bitField0_ = (bitField0_ & ~0x00000004); avatarSize_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AvatarHeaderMessage) } + // @@protoc_insertion_point(class_scope:AvatarHeaderMessage) + private static final de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage DEFAULT_INSTANCE; static { - defaultInstance = new AvatarHeaderMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvatarHeaderMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarHeaderMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AvatarHeaderMessage) } - public interface AvatarDataMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarDataMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AvatarDataMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ boolean hasRequestId(); /** * required uint32 requestId = 1; + * @return The requestId. */ int getRequestId(); - // required bytes avatarBlock = 2; /** * required bytes avatarBlock = 2; + * @return Whether the avatarBlock field is set. */ boolean hasAvatarBlock(); /** * required bytes avatarBlock = 2; + * @return The avatarBlock. */ com.google.protobuf.ByteString getAvatarBlock(); } @@ -8972,30 +12527,41 @@ public final class ProtoBuf { * Protobuf type {@code AvatarDataMessage} */ public static final class AvatarDataMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarDataMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AvatarDataMessage) + AvatarDataMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AvatarDataMessage.newBuilder() to construct. - private AvatarDataMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AvatarDataMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AvatarDataMessage(boolean noInit) {} - - private static final AvatarDataMessage defaultInstance; - public static AvatarDataMessage getDefaultInstance() { - return defaultInstance; + private AvatarDataMessage() { + avatarBlock_ = com.google.protobuf.ByteString.EMPTY; } - public AvatarDataMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AvatarDataMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AvatarDataMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -9004,13 +12570,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; requestId_ = input.readUInt32(); @@ -9021,73 +12580,83 @@ public final class ProtoBuf { avatarBlock_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarDataMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarDataMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.class, de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder.class); } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override 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; + * @return Whether the avatarBlock field is set. */ + @java.lang.Override public boolean hasAvatarBlock() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes avatarBlock = 2; + * @return The avatarBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getAvatarBlock() { return avatarBlock_; } - private void initFields() { - requestId_ = 0; - avatarBlock_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -9101,42 +12670,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, requestId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, avatarBlock_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarBlock_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AvatarDataMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AvatarDataMessage other = (de.pokerth.protocol.ProtoBuf.AvatarDataMessage) obj; + + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (getRequestId() + != other.getRequestId()) return false; + } + if (hasAvatarBlock() != other.hasAvatarBlock()) return false; + if (hasAvatarBlock()) { + if (!getAvatarBlock() + .equals(other.getAvatarBlock())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUESTID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId(); + } + if (hasAvatarBlock()) { + hash = (37 * hash) + AVATARBLOCK_FIELD_NUMBER; + hash = (53 * hash) + getAvatarBlock().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -9160,61 +12779,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarDataMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AvatarDataMessage) + de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarDataMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarDataMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.class, de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); requestId_ = 0; @@ -9224,14 +12880,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarDataMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarDataMessage build() { de.pokerth.protocol.ProtoBuf.AvatarDataMessage result = buildPartial(); if (!result.isInitialized()) { @@ -9240,22 +12900,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestId_ = requestId_; to_bitField0_ |= 0x00000001; } - result.requestId_ = requestId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.avatarBlock_ = avatarBlock_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AvatarDataMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AvatarDataMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarDataMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { @@ -9264,21 +12968,23 @@ public final class ProtoBuf { if (other.hasAvatarBlock()) { setAvatarBlock(other.getAvatarBlock()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRequestId()) { - return false; } if (!hasAvatarBlock()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9288,7 +12994,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarDataMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -9298,55 +13004,66 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } /** * required uint32 requestId = 1; + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(int value) { bitField0_ |= 0x00000001; requestId_ = value; - + onChanged(); return this; } /** * required uint32 requestId = 1; + * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = 0; - + onChanged(); return this; } - // required bytes avatarBlock = 2; private com.google.protobuf.ByteString avatarBlock_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarBlock = 2; + * @return Whether the avatarBlock field is set. */ + @java.lang.Override public boolean hasAvatarBlock() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes avatarBlock = 2; + * @return The avatarBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getAvatarBlock() { return avatarBlock_; } /** * required bytes avatarBlock = 2; + * @param value The avatarBlock to set. + * @return This builder for chaining. */ public Builder setAvatarBlock(com.google.protobuf.ByteString value) { if (value == null) { @@ -9354,40 +13071,84 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; avatarBlock_ = value; - + onChanged(); return this; } /** * required bytes avatarBlock = 2; + * @return This builder for chaining. */ public Builder clearAvatarBlock() { bitField0_ = (bitField0_ & ~0x00000002); avatarBlock_ = getDefaultInstance().getAvatarBlock(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AvatarDataMessage) } + // @@protoc_insertion_point(class_scope:AvatarDataMessage) + private static final de.pokerth.protocol.ProtoBuf.AvatarDataMessage DEFAULT_INSTANCE; static { - defaultInstance = new AvatarDataMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AvatarDataMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AvatarDataMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvatarDataMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarDataMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AvatarDataMessage) } - public interface AvatarEndMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AvatarEndMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AvatarEndMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ boolean hasRequestId(); /** * required uint32 requestId = 1; + * @return The requestId. */ int getRequestId(); } @@ -9395,30 +13156,40 @@ public final class ProtoBuf { * Protobuf type {@code AvatarEndMessage} */ public static final class AvatarEndMessage extends - com.google.protobuf.GeneratedMessageLite - implements AvatarEndMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AvatarEndMessage) + AvatarEndMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AvatarEndMessage.newBuilder() to construct. - private AvatarEndMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AvatarEndMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AvatarEndMessage(boolean noInit) {} - - private static final AvatarEndMessage defaultInstance; - public static AvatarEndMessage getDefaultInstance() { - return defaultInstance; + private AvatarEndMessage() { } - public AvatarEndMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AvatarEndMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AvatarEndMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -9427,68 +13198,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; requestId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarEndMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarEndMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.class, de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder.class); } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } - private void initFields() { - requestId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -9498,35 +13270,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, requestId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AvatarEndMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AvatarEndMessage other = (de.pokerth.protocol.ProtoBuf.AvatarEndMessage) obj; + + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (getRequestId() + != other.getRequestId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUESTID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -9550,61 +13363,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AvatarEndMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AvatarEndMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AvatarEndMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AvatarEndMessage) + de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarEndMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarEndMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.class, de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); requestId_ = 0; @@ -9612,14 +13462,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AvatarEndMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarEndMessage build() { de.pokerth.protocol.ProtoBuf.AvatarEndMessage result = buildPartial(); if (!result.isInitialized()) { @@ -9628,34 +13482,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AvatarEndMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AvatarEndMessage result = new de.pokerth.protocol.ProtoBuf.AvatarEndMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestId_ = requestId_; to_bitField0_ |= 0x00000001; } - result.requestId_ = requestId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AvatarEndMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AvatarEndMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AvatarEndMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { setRequestId(other.getRequestId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRequestId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -9665,7 +13566,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AvatarEndMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -9675,60 +13576,109 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } /** * required uint32 requestId = 1; + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(int value) { bitField0_ |= 0x00000001; requestId_ = value; - + onChanged(); return this; } /** * required uint32 requestId = 1; + * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AvatarEndMessage) } + // @@protoc_insertion_point(class_scope:AvatarEndMessage) + private static final de.pokerth.protocol.ProtoBuf.AvatarEndMessage DEFAULT_INSTANCE; static { - defaultInstance = new AvatarEndMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AvatarEndMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AvatarEndMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvatarEndMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarEndMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AvatarEndMessage) } - public interface UnknownAvatarMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface UnknownAvatarMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:UnknownAvatarMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 requestId = 1; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ boolean hasRequestId(); /** * required uint32 requestId = 1; + * @return The requestId. */ int getRequestId(); } @@ -9736,30 +13686,40 @@ public final class ProtoBuf { * Protobuf type {@code UnknownAvatarMessage} */ public static final class UnknownAvatarMessage extends - com.google.protobuf.GeneratedMessageLite - implements UnknownAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:UnknownAvatarMessage) + UnknownAvatarMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use UnknownAvatarMessage.newBuilder() to construct. - private UnknownAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private UnknownAvatarMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private UnknownAvatarMessage(boolean noInit) {} - - private static final UnknownAvatarMessage defaultInstance; - public static UnknownAvatarMessage getDefaultInstance() { - return defaultInstance; + private UnknownAvatarMessage() { } - public UnknownAvatarMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UnknownAvatarMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private UnknownAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -9768,68 +13728,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; requestId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_UnknownAvatarMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_UnknownAvatarMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.class, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder.class); } private int bitField0_; - // required uint32 requestId = 1; public static final int REQUESTID_FIELD_NUMBER = 1; private int requestId_; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } - private void initFields() { - requestId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRequestId()) { memoizedIsInitialized = 0; @@ -9839,35 +13800,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, requestId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, requestId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage other = (de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage) obj; + + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (getRequestId() + != other.getRequestId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUESTID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -9891,61 +13893,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code UnknownAvatarMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:UnknownAvatarMessage) + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_UnknownAvatarMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_UnknownAvatarMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.class, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); requestId_ = 0; @@ -9953,14 +13992,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_UnknownAvatarMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage build() { de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage result = buildPartial(); if (!result.isInitialized()) { @@ -9969,34 +14012,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage buildPartial() { de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage result = new de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.requestId_ = requestId_; to_bitField0_ |= 0x00000001; } - result.requestId_ = requestId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage other) { if (other == de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance()) return this; if (other.hasRequestId()) { setRequestId(other.getRequestId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRequestId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10006,7 +14096,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -10016,70 +14106,120 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 requestId = 1; private int requestId_ ; /** * required uint32 requestId = 1; + * @return Whether the requestId field is set. */ + @java.lang.Override public boolean hasRequestId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 requestId = 1; + * @return The requestId. */ + @java.lang.Override public int getRequestId() { return requestId_; } /** * required uint32 requestId = 1; + * @param value The requestId to set. + * @return This builder for chaining. */ public Builder setRequestId(int value) { bitField0_ |= 0x00000001; requestId_ = value; - + onChanged(); return this; } /** * required uint32 requestId = 1; + * @return This builder for chaining. */ public Builder clearRequestId() { bitField0_ = (bitField0_ & ~0x00000001); requestId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:UnknownAvatarMessage) } + // @@protoc_insertion_point(class_scope:UnknownAvatarMessage) + private static final de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage DEFAULT_INSTANCE; static { - defaultInstance = new UnknownAvatarMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnknownAvatarMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnknownAvatarMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:UnknownAvatarMessage) } - public interface PlayerListMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerListMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerListMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 1; + * @return The playerId. */ int getPlayerId(); - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @return Whether the playerListNotification field is set. */ boolean hasPlayerListNotification(); /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @return The playerListNotification. */ de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification(); } @@ -10087,30 +14227,41 @@ public final class ProtoBuf { * Protobuf type {@code PlayerListMessage} */ public static final class PlayerListMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerListMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerListMessage) + PlayerListMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayerListMessage.newBuilder() to construct. - private PlayerListMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayerListMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayerListMessage(boolean noInit) {} - - private static final PlayerListMessage defaultInstance; - public static PlayerListMessage getDefaultInstance() { - return defaultInstance; + private PlayerListMessage() { + playerListNotification_ = 0; } - public PlayerListMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerListMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayerListMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -10119,13 +14270,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; playerId_ = input.readUInt32(); @@ -10133,10 +14277,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification value = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - playerListNotification_ = value; + playerListNotification_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -10146,39 +14300,38 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerListMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerListMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerListMessage.class, de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder.class); } /** * Protobuf enum {@code PlayerListMessage.PlayerListNotification} */ public enum PlayerListNotification - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * playerListNew = 0; */ - playerListNew(0, 0), + playerListNew(0), /** * playerListLeft = 1; */ - playerListLeft(1, 1), + playerListLeft(1), ; /** @@ -10191,9 +14344,25 @@ public final class ProtoBuf { public static final int playerListLeft_VALUE = 1; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static PlayerListNotification valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PlayerListNotification forNumber(int value) { switch (value) { case 0: return playerListNew; case 1: return playerListLeft; @@ -10205,17 +14374,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + PlayerListNotification> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PlayerListNotification findValueByNumber(int number) { - return PlayerListNotification.valueOf(number); + return PlayerListNotification.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final PlayerListNotification[] VALUES = values(); + + public static PlayerListNotification valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private PlayerListNotification(int index, int value) { + private PlayerListNotification(int value) { this.value = value; } @@ -10223,46 +14416,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override 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_; + private int playerListNotification_; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @return Whether the playerListNotification field is set. */ - public boolean hasPlayerListNotification() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasPlayerListNotification() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @return The playerListNotification. */ - public de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification() { - return playerListNotification_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification result = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.valueOf(playerListNotification_); + return result == null ? de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew : result; } - private void initFields() { - playerId_ = 0; - playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -10276,42 +14473,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, playerListNotification_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, playerListNotification_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, playerListNotification_.getNumber()); + .computeEnumSize(2, playerListNotification_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayerListMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayerListMessage other = (de.pokerth.protocol.ProtoBuf.PlayerListMessage) obj; + + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasPlayerListNotification() != other.hasPlayerListNotification()) return false; + if (hasPlayerListNotification()) { + if (playerListNotification_ != other.playerListNotification_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasPlayerListNotification()) { + hash = (37 * hash) + PLAYERLISTNOTIFICATION_FIELD_NUMBER; + hash = (53 * hash) + playerListNotification_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -10335,78 +14581,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerListMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerListMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerListMessage) + de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerListMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerListMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerListMessage.class, de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; + playerListNotification_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerListMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerListMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerListMessage build() { de.pokerth.protocol.ProtoBuf.PlayerListMessage result = buildPartial(); if (!result.isInitialized()) { @@ -10415,22 +14702,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000001; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.playerListNotification_ = playerListNotification_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayerListMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayerListMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerListMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) return this; if (other.hasPlayerId()) { @@ -10439,21 +14770,23 @@ public final class ProtoBuf { if (other.hasPlayerListNotification()) { setPlayerListNotification(other.getPlayerListNotification()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPlayerId()) { - return false; } if (!hasPlayerListNotification()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -10463,7 +14796,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerListMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -10473,164 +14806,234 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 1; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 1; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - + onChanged(); return this; } - // required .PlayerListMessage.PlayerListNotification playerListNotification = 2; - private de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; + private int playerListNotification_ = 0; /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @return Whether the playerListNotification field is set. */ - public boolean hasPlayerListNotification() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasPlayerListNotification() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @return The playerListNotification. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification getPlayerListNotification() { - return playerListNotification_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification result = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.valueOf(playerListNotification_); + return result == null ? de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew : result; } /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @param value The playerListNotification to set. + * @return This builder for chaining. */ public Builder setPlayerListNotification(de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - playerListNotification_ = value; - + playerListNotification_ = value.getNumber(); + onChanged(); return this; } /** * required .PlayerListMessage.PlayerListNotification playerListNotification = 2; + * @return This builder for chaining. */ public Builder clearPlayerListNotification() { bitField0_ = (bitField0_ & ~0x00000002); - playerListNotification_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.PlayerListNotification.playerListNew; - + playerListNotification_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayerListMessage) } + // @@protoc_insertion_point(class_scope:PlayerListMessage) + private static final de.pokerth.protocol.ProtoBuf.PlayerListMessage DEFAULT_INSTANCE; static { - defaultInstance = new PlayerListMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayerListMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerListMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerListMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerListMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerListMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PlayerListMessage) } - public interface GameListNewMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameListNewMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameListNewMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; + * @return Whether the gameMode field is set. */ boolean hasGameMode(); /** * required .NetGameMode gameMode = 2; + * @return The gameMode. */ de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); - // required bool isPrivate = 3; /** * required bool isPrivate = 3; + * @return Whether the isPrivate field is set. */ boolean hasIsPrivate(); /** * required bool isPrivate = 3; + * @return The isPrivate. */ boolean getIsPrivate(); - // repeated uint32 playerIds = 4 [packed = true]; /** * repeated uint32 playerIds = 4 [packed = true]; + * @return A list containing the playerIds. */ java.util.List getPlayerIdsList(); /** * repeated uint32 playerIds = 4 [packed = true]; + * @return The count of playerIds. */ int getPlayerIdsCount(); /** * repeated uint32 playerIds = 4 [packed = true]; + * @param index The index of the element to return. + * @return The playerIds at the given index. */ int getPlayerIds(int index); - // required uint32 adminPlayerId = 5; /** * required uint32 adminPlayerId = 5; + * @return Whether the adminPlayerId field is set. */ boolean hasAdminPlayerId(); /** * required uint32 adminPlayerId = 5; + * @return The adminPlayerId. */ int getAdminPlayerId(); - // required .NetGameInfo gameInfo = 6; /** * required .NetGameInfo gameInfo = 6; + * @return Whether the gameInfo field is set. */ boolean hasGameInfo(); /** * required .NetGameInfo gameInfo = 6; + * @return The gameInfo. */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + /** + * required .NetGameInfo gameInfo = 6; + */ + de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder(); - // repeated uint32 spectatorIds = 7 [packed = true]; /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @return A list containing the spectatorIds. */ java.util.List getSpectatorIdsList(); /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @return The count of spectatorIds. */ int getSpectatorIdsCount(); /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @param index The index of the element to return. + * @return The spectatorIds at the given index. */ int getSpectatorIds(int index); } @@ -10638,30 +15041,43 @@ public final class ProtoBuf { * Protobuf type {@code GameListNewMessage} */ public static final class GameListNewMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListNewMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameListNewMessage) + GameListNewMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameListNewMessage.newBuilder() to construct. - private GameListNewMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameListNewMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameListNewMessage(boolean noInit) {} - - private static final GameListNewMessage defaultInstance; - public static GameListNewMessage getDefaultInstance() { - return defaultInstance; + private GameListNewMessage() { + gameMode_ = 1; + playerIds_ = emptyIntList(); + spectatorIds_ = emptyIntList(); } - public GameListNewMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameListNewMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameListNewMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -10670,13 +15086,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -10684,10 +15093,13 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - gameMode_ = value; + gameMode_ = rawValue; } break; } @@ -10697,22 +15109,22 @@ public final class ProtoBuf { break; } case 32: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - playerIds_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + playerIds_ = newIntList(); mutable_bitField0_ |= 0x00000008; } - playerIds_.add(input.readUInt32()); + playerIds_.addInt(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(); + if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { + playerIds_ = newIntList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { - playerIds_.add(input.readUInt32()); + playerIds_.addInt(input.readUInt32()); } input.popLimit(limit); break; @@ -10724,7 +15136,7 @@ public final class ProtoBuf { } case 50: { de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { subBuilder = gameInfo_.toBuilder(); } gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); @@ -10736,200 +15148,229 @@ public final class ProtoBuf { break; } case 56: { - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - spectatorIds_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + spectatorIds_ = newIntList(); mutable_bitField0_ |= 0x00000040; } - spectatorIds_.add(input.readUInt32()); + spectatorIds_.addInt(input.readUInt32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { - spectatorIds_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000040) != 0) && input.getBytesUntilLimit() > 0) { + spectatorIds_ = newIntList(); mutable_bitField0_ |= 0x00000040; } while (input.getBytesUntilLimit() > 0) { - spectatorIds_.add(input.readUInt32()); + spectatorIds_.addInt(input.readUInt32()); } input.popLimit(limit); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - playerIds_ = java.util.Collections.unmodifiableList(playerIds_); + if (((mutable_bitField0_ & 0x00000008) != 0)) { + playerIds_.makeImmutable(); // C } - if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { - spectatorIds_ = java.util.Collections.unmodifiableList(spectatorIds_); + if (((mutable_bitField0_ & 0x00000040) != 0)) { + spectatorIds_.makeImmutable(); // C } + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListNewMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListNewMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListNewMessage.class, de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; + private int gameMode_; /** * required .NetGameMode gameMode = 2; + * @return Whether the gameMode field is set. */ - public boolean hasGameMode() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasGameMode() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameMode gameMode = 2; + * @return The gameMode. */ - public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { - return gameMode_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameMode result = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(gameMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated : result; } - // required bool isPrivate = 3; public static final int ISPRIVATE_FIELD_NUMBER = 3; private boolean isPrivate_; /** * required bool isPrivate = 3; + * @return Whether the isPrivate field is set. */ + @java.lang.Override public boolean hasIsPrivate() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required bool isPrivate = 3; + * @return The isPrivate. */ + @java.lang.Override public boolean getIsPrivate() { return isPrivate_; } - // repeated uint32 playerIds = 4 [packed = true]; public static final int PLAYERIDS_FIELD_NUMBER = 4; - private java.util.List playerIds_; + private com.google.protobuf.Internal.IntList playerIds_; /** * repeated uint32 playerIds = 4 [packed = true]; + * @return A list containing the playerIds. */ + @java.lang.Override public java.util.List getPlayerIdsList() { return playerIds_; } /** * repeated uint32 playerIds = 4 [packed = true]; + * @return The count of playerIds. */ public int getPlayerIdsCount() { return playerIds_.size(); } /** * repeated uint32 playerIds = 4 [packed = true]; + * @param index The index of the element to return. + * @return The playerIds at the given index. */ public int getPlayerIds(int index) { - return playerIds_.get(index); + return playerIds_.getInt(index); } private int playerIdsMemoizedSerializedSize = -1; - // required uint32 adminPlayerId = 5; public static final int ADMINPLAYERID_FIELD_NUMBER = 5; private int adminPlayerId_; /** * required uint32 adminPlayerId = 5; + * @return Whether the adminPlayerId field is set. */ + @java.lang.Override public boolean hasAdminPlayerId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 adminPlayerId = 5; + * @return The adminPlayerId. */ + @java.lang.Override 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; + * @return Whether the gameInfo field is set. */ + @java.lang.Override public boolean hasGameInfo() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); + } + /** + * required .NetGameInfo gameInfo = 6; + * @return The gameInfo. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; } /** * required .NetGameInfo gameInfo = 6; */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder() { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; } - // repeated uint32 spectatorIds = 7 [packed = true]; public static final int SPECTATORIDS_FIELD_NUMBER = 7; - private java.util.List spectatorIds_; + private com.google.protobuf.Internal.IntList spectatorIds_; /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @return A list containing the spectatorIds. */ + @java.lang.Override public java.util.List getSpectatorIdsList() { return spectatorIds_; } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @return The count of spectatorIds. */ public int getSpectatorIdsCount() { return spectatorIds_.size(); } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @param index The index of the element to return. + * @return The spectatorIds at the given index. */ public int getSpectatorIds(int index) { - return spectatorIds_.get(index); + return spectatorIds_.getInt(index); } private int spectatorIdsMemoizedSerializedSize = -1; - private void initFields() { - gameId_ = 0; - gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; - isPrivate_ = false; - playerIds_ = java.util.Collections.emptyList(); - adminPlayerId_ = 0; - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - spectatorIds_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -10959,55 +15400,57 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, gameMode_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, gameMode_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, isPrivate_); } if (getPlayerIdsList().size() > 0) { - output.writeRawVarint32(34); - output.writeRawVarint32(playerIdsMemoizedSerializedSize); + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(playerIdsMemoizedSerializedSize); } for (int i = 0; i < playerIds_.size(); i++) { - output.writeUInt32NoTag(playerIds_.get(i)); + output.writeUInt32NoTag(playerIds_.getInt(i)); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(5, adminPlayerId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeMessage(6, gameInfo_); + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(6, getGameInfo()); } if (getSpectatorIdsList().size() > 0) { - output.writeRawVarint32(58); - output.writeRawVarint32(spectatorIdsMemoizedSerializedSize); + output.writeUInt32NoTag(58); + output.writeUInt32NoTag(spectatorIdsMemoizedSerializedSize); } for (int i = 0; i < spectatorIds_.size(); i++) { - output.writeUInt32NoTag(spectatorIds_.get(i)); + output.writeUInt32NoTag(spectatorIds_.getInt(i)); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, gameMode_.getNumber()); + .computeEnumSize(2, gameMode_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isPrivate_); } @@ -11015,7 +15458,7 @@ public final class ProtoBuf { int dataSize = 0; for (int i = 0; i < playerIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(playerIds_.get(i)); + .computeUInt32SizeNoTag(playerIds_.getInt(i)); } size += dataSize; if (!getPlayerIdsList().isEmpty()) { @@ -11025,19 +15468,19 @@ public final class ProtoBuf { } playerIdsMemoizedSerializedSize = dataSize; } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, adminPlayerId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, gameInfo_); + .computeMessageSize(6, getGameInfo()); } { int dataSize = 0; for (int i = 0; i < spectatorIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(spectatorIds_.get(i)); + .computeUInt32SizeNoTag(spectatorIds_.getInt(i)); } size += dataSize; if (!getSpectatorIdsList().isEmpty()) { @@ -11047,17 +15490,105 @@ public final class ProtoBuf { } spectatorIdsMemoizedSerializedSize = dataSize; } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameListNewMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameListNewMessage other = (de.pokerth.protocol.ProtoBuf.GameListNewMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasGameMode() != other.hasGameMode()) return false; + if (hasGameMode()) { + if (gameMode_ != other.gameMode_) return false; + } + if (hasIsPrivate() != other.hasIsPrivate()) return false; + if (hasIsPrivate()) { + if (getIsPrivate() + != other.getIsPrivate()) return false; + } + if (!getPlayerIdsList() + .equals(other.getPlayerIdsList())) return false; + if (hasAdminPlayerId() != other.hasAdminPlayerId()) return false; + if (hasAdminPlayerId()) { + if (getAdminPlayerId() + != other.getAdminPlayerId()) return false; + } + if (hasGameInfo() != other.hasGameInfo()) return false; + if (hasGameInfo()) { + if (!getGameInfo() + .equals(other.getGameInfo())) return false; + } + if (!getSpectatorIdsList() + .equals(other.getSpectatorIdsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasGameMode()) { + hash = (37 * hash) + GAMEMODE_FIELD_NUMBER; + hash = (53 * hash) + gameMode_; + } + if (hasIsPrivate()) { + hash = (37 * hash) + ISPRIVATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsPrivate()); + } + if (getPlayerIdsCount() > 0) { + hash = (37 * hash) + PLAYERIDS_FIELD_NUMBER; + hash = (53 * hash) + getPlayerIdsList().hashCode(); + } + if (hasAdminPlayerId()) { + hash = (37 * hash) + ADMINPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getAdminPlayerId(); + } + if (hasGameInfo()) { + hash = (37 * hash) + GAMEINFO_FIELD_NUMBER; + hash = (53 * hash) + getGameInfo().hashCode(); + } + if (getSpectatorIdsCount() > 0) { + hash = (37 * hash) + SPECTATORIDS_FIELD_NUMBER; + hash = (53 * hash) + getSpectatorIdsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -11081,88 +15612,134 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListNewMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListNewMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameListNewMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameListNewMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameListNewMessage) + de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListNewMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListNewMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListNewMessage.class, de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getGameInfoFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; + gameMode_ = 1; bitField0_ = (bitField0_ & ~0x00000002); isPrivate_ = false; bitField0_ = (bitField0_ & ~0x00000004); - playerIds_ = java.util.Collections.emptyList(); + playerIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); adminPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000010); - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + if (gameInfoBuilder_ == null) { + gameInfo_ = null; + } else { + gameInfoBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000020); - spectatorIds_ = java.util.Collections.emptyList(); + spectatorIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListNewMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListNewMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListNewMessage build() { de.pokerth.protocol.ProtoBuf.GameListNewMessage result = buildPartial(); if (!result.isInitialized()) { @@ -11171,44 +15748,92 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListNewMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListNewMessage result = new de.pokerth.protocol.ProtoBuf.GameListNewMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.gameMode_ = gameMode_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isPrivate_ = isPrivate_; to_bitField0_ |= 0x00000004; } - result.isPrivate_ = isPrivate_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - playerIds_ = java.util.Collections.unmodifiableList(playerIds_); + if (((bitField0_ & 0x00000008) != 0)) { + playerIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.playerIds_ = playerIds_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.adminPlayerId_ = adminPlayerId_; to_bitField0_ |= 0x00000008; } - result.adminPlayerId_ = adminPlayerId_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + if (gameInfoBuilder_ == null) { + result.gameInfo_ = gameInfo_; + } else { + result.gameInfo_ = gameInfoBuilder_.build(); + } to_bitField0_ |= 0x00000010; } - result.gameInfo_ = gameInfo_; - if (((bitField0_ & 0x00000040) == 0x00000040)) { - spectatorIds_ = java.util.Collections.unmodifiableList(spectatorIds_); + if (((bitField0_ & 0x00000040) != 0)) { + spectatorIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000040); } result.spectatorIds_ = spectatorIds_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameListNewMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameListNewMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListNewMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -11228,7 +15853,7 @@ public final class ProtoBuf { ensurePlayerIdsIsMutable(); playerIds_.addAll(other.playerIds_); } - + onChanged(); } if (other.hasAdminPlayerId()) { setAdminPlayerId(other.getAdminPlayerId()); @@ -11244,39 +15869,37 @@ public final class ProtoBuf { ensureSpectatorIdsIsMutable(); spectatorIds_.addAll(other.spectatorIds_); } - + onChanged(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasGameMode()) { - return false; } if (!hasIsPrivate()) { - return false; } if (!hasAdminPlayerId()) { - return false; } if (!hasGameInfo()) { - return false; } if (!getGameInfo().isInitialized()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11286,7 +15909,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListNewMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -11296,230 +15919,279 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required .NetGameMode gameMode = 2; - private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; + private int gameMode_ = 1; /** * required .NetGameMode gameMode = 2; + * @return Whether the gameMode field is set. */ - public boolean hasGameMode() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasGameMode() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameMode gameMode = 2; + * @return The gameMode. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { - return gameMode_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameMode result = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(gameMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated : result; } /** * required .NetGameMode gameMode = 2; + * @param value The gameMode to set. + * @return This builder for chaining. */ public Builder setGameMode(de.pokerth.protocol.ProtoBuf.NetGameMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - gameMode_ = value; - + gameMode_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameMode gameMode = 2; + * @return This builder for chaining. */ public Builder clearGameMode() { bitField0_ = (bitField0_ & ~0x00000002); - gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; - + gameMode_ = 1; + onChanged(); return this; } - // required bool isPrivate = 3; private boolean isPrivate_ ; /** * required bool isPrivate = 3; + * @return Whether the isPrivate field is set. */ + @java.lang.Override public boolean hasIsPrivate() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required bool isPrivate = 3; + * @return The isPrivate. */ + @java.lang.Override public boolean getIsPrivate() { return isPrivate_; } /** * required bool isPrivate = 3; + * @param value The isPrivate to set. + * @return This builder for chaining. */ public Builder setIsPrivate(boolean value) { bitField0_ |= 0x00000004; isPrivate_ = value; - + onChanged(); return this; } /** * required bool isPrivate = 3; + * @return This builder for chaining. */ public Builder clearIsPrivate() { bitField0_ = (bitField0_ & ~0x00000004); isPrivate_ = false; - + onChanged(); return this; } - // repeated uint32 playerIds = 4 [packed = true]; - private java.util.List playerIds_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList playerIds_ = emptyIntList(); private void ensurePlayerIdsIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { - playerIds_ = new java.util.ArrayList(playerIds_); + if (!((bitField0_ & 0x00000008) != 0)) { + playerIds_ = mutableCopy(playerIds_); bitField0_ |= 0x00000008; } } /** * repeated uint32 playerIds = 4 [packed = true]; + * @return A list containing the playerIds. */ public java.util.List getPlayerIdsList() { - return java.util.Collections.unmodifiableList(playerIds_); + return ((bitField0_ & 0x00000008) != 0) ? + java.util.Collections.unmodifiableList(playerIds_) : playerIds_; } /** * repeated uint32 playerIds = 4 [packed = true]; + * @return The count of playerIds. */ public int getPlayerIdsCount() { return playerIds_.size(); } /** * repeated uint32 playerIds = 4 [packed = true]; + * @param index The index of the element to return. + * @return The playerIds at the given index. */ public int getPlayerIds(int index) { - return playerIds_.get(index); + return playerIds_.getInt(index); } /** * repeated uint32 playerIds = 4 [packed = true]; + * @param index The index to set the value at. + * @param value The playerIds to set. + * @return This builder for chaining. */ public Builder setPlayerIds( int index, int value) { ensurePlayerIdsIsMutable(); - playerIds_.set(index, value); - + playerIds_.setInt(index, value); + onChanged(); return this; } /** * repeated uint32 playerIds = 4 [packed = true]; + * @param value The playerIds to add. + * @return This builder for chaining. */ public Builder addPlayerIds(int value) { ensurePlayerIdsIsMutable(); - playerIds_.add(value); - + playerIds_.addInt(value); + onChanged(); return this; } /** * repeated uint32 playerIds = 4 [packed = true]; + * @param values The playerIds to add. + * @return This builder for chaining. */ public Builder addAllPlayerIds( java.lang.Iterable values) { ensurePlayerIdsIsMutable(); - super.addAll(values, playerIds_); - + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerIds_); + onChanged(); return this; } /** * repeated uint32 playerIds = 4 [packed = true]; + * @return This builder for chaining. */ public Builder clearPlayerIds() { - playerIds_ = java.util.Collections.emptyList(); + playerIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); - + onChanged(); return this; } - // required uint32 adminPlayerId = 5; private int adminPlayerId_ ; /** * required uint32 adminPlayerId = 5; + * @return Whether the adminPlayerId field is set. */ + @java.lang.Override public boolean hasAdminPlayerId() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 adminPlayerId = 5; + * @return The adminPlayerId. */ + @java.lang.Override public int getAdminPlayerId() { return adminPlayerId_; } /** * required uint32 adminPlayerId = 5; + * @param value The adminPlayerId to set. + * @return This builder for chaining. */ public Builder setAdminPlayerId(int value) { bitField0_ |= 0x00000010; adminPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 adminPlayerId = 5; + * @return This builder for chaining. */ public Builder clearAdminPlayerId() { bitField0_ = (bitField0_ & ~0x00000010); adminPlayerId_ = 0; - + onChanged(); return this; } - // required .NetGameInfo gameInfo = 6; - private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder> gameInfoBuilder_; /** * required .NetGameInfo gameInfo = 6; + * @return Whether the gameInfo field is set. */ public boolean hasGameInfo() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * required .NetGameInfo gameInfo = 6; + * @return The gameInfo. */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; + if (gameInfoBuilder_ == null) { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; + } else { + return gameInfoBuilder_.getMessage(); + } } /** * required .NetGameInfo gameInfo = 6; */ public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (value == null) { - throw new NullPointerException(); + if (gameInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameInfo_ = value; + onChanged(); + } else { + gameInfoBuilder_.setMessage(value); } - gameInfo_ = value; - bitField0_ |= 0x00000020; return this; } @@ -11528,8 +16200,12 @@ public final class ProtoBuf { */ public Builder setGameInfo( de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { - gameInfo_ = builderForValue.build(); - + if (gameInfoBuilder_ == null) { + gameInfo_ = builderForValue.build(); + onChanged(); + } else { + gameInfoBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000020; return this; } @@ -11537,14 +16213,19 @@ public final class ProtoBuf { * 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(); + if (gameInfoBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + gameInfo_ != null && + gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { + gameInfo_ = + de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); + } else { + gameInfo_ = value; + } + onChanged(); } else { - gameInfo_ = value; + gameInfoBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; return this; } @@ -11552,109 +16233,205 @@ public final class ProtoBuf { * required .NetGameInfo gameInfo = 6; */ public Builder clearGameInfo() { - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - + if (gameInfoBuilder_ == null) { + gameInfo_ = null; + onChanged(); + } else { + gameInfoBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000020); return this; } + /** + * required .NetGameInfo gameInfo = 6; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder getGameInfoBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getGameInfoFieldBuilder().getBuilder(); + } + /** + * required .NetGameInfo gameInfo = 6; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder() { + if (gameInfoBuilder_ != null) { + return gameInfoBuilder_.getMessageOrBuilder(); + } else { + return gameInfo_ == null ? + de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; + } + } + /** + * required .NetGameInfo gameInfo = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder> + getGameInfoFieldBuilder() { + if (gameInfoBuilder_ == null) { + gameInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder>( + getGameInfo(), + getParentForChildren(), + isClean()); + gameInfo_ = null; + } + return gameInfoBuilder_; + } - // repeated uint32 spectatorIds = 7 [packed = true]; - private java.util.List spectatorIds_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList spectatorIds_ = emptyIntList(); private void ensureSpectatorIdsIsMutable() { - if (!((bitField0_ & 0x00000040) == 0x00000040)) { - spectatorIds_ = new java.util.ArrayList(spectatorIds_); + if (!((bitField0_ & 0x00000040) != 0)) { + spectatorIds_ = mutableCopy(spectatorIds_); bitField0_ |= 0x00000040; } } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @return A list containing the spectatorIds. */ public java.util.List getSpectatorIdsList() { - return java.util.Collections.unmodifiableList(spectatorIds_); + return ((bitField0_ & 0x00000040) != 0) ? + java.util.Collections.unmodifiableList(spectatorIds_) : spectatorIds_; } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @return The count of spectatorIds. */ public int getSpectatorIdsCount() { return spectatorIds_.size(); } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @param index The index of the element to return. + * @return The spectatorIds at the given index. */ public int getSpectatorIds(int index) { - return spectatorIds_.get(index); + return spectatorIds_.getInt(index); } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @param index The index to set the value at. + * @param value The spectatorIds to set. + * @return This builder for chaining. */ public Builder setSpectatorIds( int index, int value) { ensureSpectatorIdsIsMutable(); - spectatorIds_.set(index, value); - + spectatorIds_.setInt(index, value); + onChanged(); return this; } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @param value The spectatorIds to add. + * @return This builder for chaining. */ public Builder addSpectatorIds(int value) { ensureSpectatorIdsIsMutable(); - spectatorIds_.add(value); - + spectatorIds_.addInt(value); + onChanged(); return this; } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @param values The spectatorIds to add. + * @return This builder for chaining. */ public Builder addAllSpectatorIds( java.lang.Iterable values) { ensureSpectatorIdsIsMutable(); - super.addAll(values, spectatorIds_); - + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, spectatorIds_); + onChanged(); return this; } /** * repeated uint32 spectatorIds = 7 [packed = true]; + * @return This builder for chaining. */ public Builder clearSpectatorIds() { - spectatorIds_ = java.util.Collections.emptyList(); + spectatorIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000040); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameListNewMessage) } + // @@protoc_insertion_point(class_scope:GameListNewMessage) + private static final de.pokerth.protocol.ProtoBuf.GameListNewMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameListNewMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameListNewMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListNewMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameListNewMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListNewMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListNewMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameListNewMessage) } - public interface GameListUpdateMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameListUpdateMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameListUpdateMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required .NetGameMode gameMode = 2; /** * required .NetGameMode gameMode = 2; + * @return Whether the gameMode field is set. */ boolean hasGameMode(); /** * required .NetGameMode gameMode = 2; + * @return The gameMode. */ de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode(); } @@ -11662,30 +16439,41 @@ public final class ProtoBuf { * Protobuf type {@code GameListUpdateMessage} */ public static final class GameListUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameListUpdateMessage) + GameListUpdateMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameListUpdateMessage.newBuilder() to construct. - private GameListUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameListUpdateMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameListUpdateMessage(boolean noInit) {} - - private static final GameListUpdateMessage defaultInstance; - public static GameListUpdateMessage getDefaultInstance() { - return defaultInstance; + private GameListUpdateMessage() { + gameMode_ = 1; } - public GameListUpdateMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameListUpdateMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameListUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -11694,13 +16482,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -11708,10 +16489,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameMode value = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - gameMode_ = value; + gameMode_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -11721,67 +16512,70 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListUpdateMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListUpdateMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.class, de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required .NetGameMode gameMode = 2; public static final int GAMEMODE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_; + private int gameMode_; /** * required .NetGameMode gameMode = 2; + * @return Whether the gameMode field is set. */ - public boolean hasGameMode() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasGameMode() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameMode gameMode = 2; + * @return The gameMode. */ - public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { - return gameMode_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameMode result = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(gameMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated : result; } - private void initFields() { - gameId_ = 0; - gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -11795,42 +16589,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, gameMode_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, gameMode_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, gameMode_.getNumber()); + .computeEnumSize(2, gameMode_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameListUpdateMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage other = (de.pokerth.protocol.ProtoBuf.GameListUpdateMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasGameMode() != other.hasGameMode()) return false; + if (hasGameMode()) { + if (gameMode_ != other.gameMode_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasGameMode()) { + hash = (37 * hash) + GAMEMODE_FIELD_NUMBER; + hash = (53 * hash) + gameMode_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -11854,78 +16697,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameListUpdateMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameListUpdateMessage) + de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListUpdateMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListUpdateMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.class, de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; + gameMode_ = 1; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListUpdateMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage build() { de.pokerth.protocol.ProtoBuf.GameListUpdateMessage result = buildPartial(); if (!result.isInitialized()) { @@ -11934,22 +16818,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListUpdateMessage result = new de.pokerth.protocol.ProtoBuf.GameListUpdateMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.gameMode_ = gameMode_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameListUpdateMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameListUpdateMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -11958,21 +16886,23 @@ public final class ProtoBuf { if (other.hasGameMode()) { setGameMode(other.getGameMode()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasGameMode()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -11982,7 +16912,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListUpdateMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -11992,106 +16922,163 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required .NetGameMode gameMode = 2; - private de.pokerth.protocol.ProtoBuf.NetGameMode gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; + private int gameMode_ = 1; /** * required .NetGameMode gameMode = 2; + * @return Whether the gameMode field is set. */ - public boolean hasGameMode() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasGameMode() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameMode gameMode = 2; + * @return The gameMode. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameMode getGameMode() { - return gameMode_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameMode result = de.pokerth.protocol.ProtoBuf.NetGameMode.valueOf(gameMode_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated : result; } /** * required .NetGameMode gameMode = 2; + * @param value The gameMode to set. + * @return This builder for chaining. */ public Builder setGameMode(de.pokerth.protocol.ProtoBuf.NetGameMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - gameMode_ = value; - + gameMode_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameMode gameMode = 2; + * @return This builder for chaining. */ public Builder clearGameMode() { bitField0_ = (bitField0_ & ~0x00000002); - gameMode_ = de.pokerth.protocol.ProtoBuf.NetGameMode.netGameCreated; - + gameMode_ = 1; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameListUpdateMessage) } + // @@protoc_insertion_point(class_scope:GameListUpdateMessage) + private static final de.pokerth.protocol.ProtoBuf.GameListUpdateMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameListUpdateMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameListUpdateMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameListUpdateMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListUpdateMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameListUpdateMessage) } - public interface GameListPlayerJoinedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameListPlayerJoinedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameListPlayerJoinedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -12099,30 +17086,40 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerJoinedMessage} */ public static final class GameListPlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListPlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameListPlayerJoinedMessage) + GameListPlayerJoinedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameListPlayerJoinedMessage.newBuilder() to construct. - private GameListPlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameListPlayerJoinedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameListPlayerJoinedMessage(boolean noInit) {} - - private static final GameListPlayerJoinedMessage defaultInstance; - public static GameListPlayerJoinedMessage getDefaultInstance() { - return defaultInstance; + private GameListPlayerJoinedMessage() { } - public GameListPlayerJoinedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameListPlayerJoinedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameListPlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -12131,13 +17128,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -12148,73 +17138,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerJoinedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -12228,42 +17228,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage other = (de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12287,61 +17337,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameListPlayerJoinedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameListPlayerJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerJoinedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -12351,14 +17438,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerJoinedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage build() { de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -12367,22 +17458,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -12391,21 +17526,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12415,7 +17552,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -12425,103 +17562,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameListPlayerJoinedMessage) } + // @@protoc_insertion_point(class_scope:GameListPlayerJoinedMessage) + private static final de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameListPlayerJoinedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameListPlayerJoinedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListPlayerJoinedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameListPlayerJoinedMessage) } - public interface GameListPlayerLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameListPlayerLeftMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameListPlayerLeftMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -12529,30 +17722,40 @@ public final class ProtoBuf { * Protobuf type {@code GameListPlayerLeftMessage} */ public static final class GameListPlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListPlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameListPlayerLeftMessage) + GameListPlayerLeftMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameListPlayerLeftMessage.newBuilder() to construct. - private GameListPlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameListPlayerLeftMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameListPlayerLeftMessage(boolean noInit) {} - - private static final GameListPlayerLeftMessage defaultInstance; - public static GameListPlayerLeftMessage getDefaultInstance() { - return defaultInstance; + private GameListPlayerLeftMessage() { } - public GameListPlayerLeftMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameListPlayerLeftMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameListPlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -12561,13 +17764,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -12578,73 +17774,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerLeftMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.class, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -12658,42 +17864,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage other = (de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -12717,61 +17973,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameListPlayerLeftMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameListPlayerLeftMessage) + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerLeftMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.class, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -12781,14 +18074,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListPlayerLeftMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage build() { de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage result = buildPartial(); if (!result.isInitialized()) { @@ -12797,22 +18094,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage result = new de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -12821,21 +18162,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -12845,7 +18188,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -12855,103 +18198,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameListPlayerLeftMessage) } + // @@protoc_insertion_point(class_scope:GameListPlayerLeftMessage) + private static final de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameListPlayerLeftMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameListPlayerLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListPlayerLeftMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameListPlayerLeftMessage) } - public interface GameListSpectatorJoinedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameListSpectatorJoinedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameListSpectatorJoinedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -12959,30 +18358,40 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorJoinedMessage} */ public static final class GameListSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameListSpectatorJoinedMessage) + GameListSpectatorJoinedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameListSpectatorJoinedMessage.newBuilder() to construct. - private GameListSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameListSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameListSpectatorJoinedMessage(boolean noInit) {} - - private static final GameListSpectatorJoinedMessage defaultInstance; - public static GameListSpectatorJoinedMessage getDefaultInstance() { - return defaultInstance; + private GameListSpectatorJoinedMessage() { } - public GameListSpectatorJoinedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameListSpectatorJoinedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameListSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -12991,13 +18400,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -13008,73 +18410,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorJoinedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -13088,42 +18500,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage other = (de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13147,61 +18609,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameListSpectatorJoinedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameListSpectatorJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorJoinedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -13211,14 +18710,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorJoinedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage build() { de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -13227,22 +18730,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage result = new de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -13251,21 +18798,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13275,7 +18824,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -13285,103 +18834,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameListSpectatorJoinedMessage) } + // @@protoc_insertion_point(class_scope:GameListSpectatorJoinedMessage) + private static final de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameListSpectatorJoinedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameListSpectatorJoinedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListSpectatorJoinedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameListSpectatorJoinedMessage) } - public interface GameListSpectatorLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameListSpectatorLeftMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameListSpectatorLeftMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -13389,30 +18994,40 @@ public final class ProtoBuf { * Protobuf type {@code GameListSpectatorLeftMessage} */ public static final class GameListSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameListSpectatorLeftMessage) + GameListSpectatorLeftMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameListSpectatorLeftMessage.newBuilder() to construct. - private GameListSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameListSpectatorLeftMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameListSpectatorLeftMessage(boolean noInit) {} - - private static final GameListSpectatorLeftMessage defaultInstance; - public static GameListSpectatorLeftMessage getDefaultInstance() { - return defaultInstance; + private GameListSpectatorLeftMessage() { } - public GameListSpectatorLeftMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameListSpectatorLeftMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameListSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -13421,13 +19036,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -13438,73 +19046,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorLeftMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.class, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -13518,42 +19136,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage other = (de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -13577,61 +19245,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameListSpectatorLeftMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameListSpectatorLeftMessage) + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorLeftMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.class, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -13641,14 +19346,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListSpectatorLeftMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage build() { de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage result = buildPartial(); if (!result.isInitialized()) { @@ -13657,22 +19366,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage result = new de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -13681,21 +19434,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -13705,7 +19460,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -13715,103 +19470,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameListSpectatorLeftMessage) } + // @@protoc_insertion_point(class_scope:GameListSpectatorLeftMessage) + private static final de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameListSpectatorLeftMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameListSpectatorLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListSpectatorLeftMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameListSpectatorLeftMessage) } - public interface GameListAdminChangedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameListAdminChangedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameListAdminChangedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; + * @return Whether the newAdminPlayerId field is set. */ boolean hasNewAdminPlayerId(); /** * required uint32 newAdminPlayerId = 2; + * @return The newAdminPlayerId. */ int getNewAdminPlayerId(); } @@ -13819,30 +19630,40 @@ public final class ProtoBuf { * Protobuf type {@code GameListAdminChangedMessage} */ public static final class GameListAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameListAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameListAdminChangedMessage) + GameListAdminChangedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameListAdminChangedMessage.newBuilder() to construct. - private GameListAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameListAdminChangedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameListAdminChangedMessage(boolean noInit) {} - - private static final GameListAdminChangedMessage defaultInstance; - public static GameListAdminChangedMessage getDefaultInstance() { - return defaultInstance; + private GameListAdminChangedMessage() { } - public GameListAdminChangedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameListAdminChangedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameListAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -13851,13 +19672,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -13868,73 +19682,83 @@ public final class ProtoBuf { newAdminPlayerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListAdminChangedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListAdminChangedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.class, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** * required uint32 newAdminPlayerId = 2; + * @return Whether the newAdminPlayerId field is set. */ + @java.lang.Override public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 newAdminPlayerId = 2; + * @return The newAdminPlayerId. */ + @java.lang.Override public int getNewAdminPlayerId() { return newAdminPlayerId_; } - private void initFields() { - gameId_ = 0; - newAdminPlayerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -13948,42 +19772,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, newAdminPlayerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage other = (de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasNewAdminPlayerId() != other.hasNewAdminPlayerId()) return false; + if (hasNewAdminPlayerId()) { + if (getNewAdminPlayerId() + != other.getNewAdminPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasNewAdminPlayerId()) { + hash = (37 * hash) + NEWADMINPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getNewAdminPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14007,61 +19881,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameListAdminChangedMessage) + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListAdminChangedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListAdminChangedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.class, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -14071,14 +19982,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameListAdminChangedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage build() { de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -14087,22 +20002,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newAdminPlayerId_ = newAdminPlayerId_; to_bitField0_ |= 0x00000002; } - result.newAdminPlayerId_ = newAdminPlayerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -14111,21 +20070,23 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasNewAdminPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14135,7 +20096,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -14145,97 +20106,154 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; + * @return Whether the newAdminPlayerId field is set. */ + @java.lang.Override public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 newAdminPlayerId = 2; + * @return The newAdminPlayerId. */ + @java.lang.Override public int getNewAdminPlayerId() { return newAdminPlayerId_; } /** * required uint32 newAdminPlayerId = 2; + * @param value The newAdminPlayerId to set. + * @return This builder for chaining. */ public Builder setNewAdminPlayerId(int value) { bitField0_ |= 0x00000002; newAdminPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 newAdminPlayerId = 2; + * @return This builder for chaining. */ public Builder clearNewAdminPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); newAdminPlayerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameListAdminChangedMessage) } + // @@protoc_insertion_point(class_scope:GameListAdminChangedMessage) + private static final de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameListAdminChangedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameListAdminChangedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameListAdminChangedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameListAdminChangedMessage) } - public interface PlayerInfoRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerInfoRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoRequestMessage) + com.google.protobuf.MessageOrBuilder { - // repeated uint32 playerId = 1 [packed = true]; /** * repeated uint32 playerId = 1 [packed = true]; + * @return A list containing the playerId. */ java.util.List getPlayerIdList(); /** * repeated uint32 playerId = 1 [packed = true]; + * @return The count of playerId. */ int getPlayerIdCount(); /** * repeated uint32 playerId = 1 [packed = true]; + * @param index The index of the element to return. + * @return The playerId at the given index. */ int getPlayerId(int index); } @@ -14243,30 +20261,41 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoRequestMessage} */ public static final class PlayerInfoRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerInfoRequestMessage) + PlayerInfoRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayerInfoRequestMessage.newBuilder() to construct. - private PlayerInfoRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayerInfoRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayerInfoRequestMessage(boolean noInit) {} - - private static final PlayerInfoRequestMessage defaultInstance; - public static PlayerInfoRequestMessage getDefaultInstance() { - return defaultInstance; + private PlayerInfoRequestMessage() { + playerId_ = emptyIntList(); } - public PlayerInfoRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerInfoRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayerInfoRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -14275,114 +20304,118 @@ public final class ProtoBuf { 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(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + playerId_ = newIntList(); mutable_bitField0_ |= 0x00000001; } - playerId_.add(input.readUInt32()); + playerId_.addInt(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(); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + playerId_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { - playerId_.add(input.readUInt32()); + playerId_.addInt(input.readUInt32()); } input.popLimit(limit); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - playerId_ = java.util.Collections.unmodifiableList(playerId_); + if (((mutable_bitField0_ & 0x00000001) != 0)) { + playerId_.makeImmutable(); // C } + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.class, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder.class); } - // repeated uint32 playerId = 1 [packed = true]; public static final int PLAYERID_FIELD_NUMBER = 1; - private java.util.List playerId_; + private com.google.protobuf.Internal.IntList playerId_; /** * repeated uint32 playerId = 1 [packed = true]; + * @return A list containing the playerId. */ + @java.lang.Override public java.util.List getPlayerIdList() { return playerId_; } /** * repeated uint32 playerId = 1 [packed = true]; + * @return The count of playerId. */ public int getPlayerIdCount() { return playerId_.size(); } /** * repeated uint32 playerId = 1 [packed = true]; + * @param index The index of the element to return. + * @return The playerId at the given index. */ public int getPlayerId(int index) { - return playerId_.get(index); + return playerId_.getInt(index); } private int playerIdMemoizedSerializedSize = -1; - private void initFields() { - playerId_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getPlayerIdList().size() > 0) { - output.writeRawVarint32(10); - output.writeRawVarint32(playerIdMemoizedSerializedSize); + output.writeUInt32NoTag(10); + output.writeUInt32NoTag(playerIdMemoizedSerializedSize); } for (int i = 0; i < playerId_.size(); i++) { - output.writeUInt32NoTag(playerId_.get(i)); + output.writeUInt32NoTag(playerId_.getInt(i)); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -14390,7 +20423,7 @@ public final class ProtoBuf { int dataSize = 0; for (int i = 0; i < playerId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(playerId_.get(i)); + .computeUInt32SizeNoTag(playerId_.getInt(i)); } size += dataSize; if (!getPlayerIdList().isEmpty()) { @@ -14400,17 +20433,54 @@ public final class ProtoBuf { } playerIdMemoizedSerializedSize = dataSize; } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage other = (de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage) obj; + + if (!getPlayerIdList() + .equals(other.getPlayerIdList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPlayerIdCount() > 0) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerIdList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -14434,76 +20504,117 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code PlayerInfoRequestMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerInfoRequestMessage) + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.class, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - playerId_ = java.util.Collections.emptyList(); + playerId_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage build() { de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -14512,17 +20623,61 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage buildPartial() { de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage result = new de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage(this); int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - playerId_ = java.util.Collections.unmodifiableList(playerId_); + if (((bitField0_ & 0x00000001) != 0)) { + playerId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.playerId_ = playerId_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance()) return this; if (!other.playerId_.isEmpty()) { @@ -14533,15 +20688,19 @@ public final class ProtoBuf { ensurePlayerIdIsMutable(); playerId_.addAll(other.playerId_); } - + onChanged(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -14551,7 +20710,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -14561,134 +20720,205 @@ public final class ProtoBuf { } private int bitField0_; - // repeated uint32 playerId = 1 [packed = true]; - private java.util.List playerId_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList playerId_ = emptyIntList(); private void ensurePlayerIdIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - playerId_ = new java.util.ArrayList(playerId_); + if (!((bitField0_ & 0x00000001) != 0)) { + playerId_ = mutableCopy(playerId_); bitField0_ |= 0x00000001; } } /** * repeated uint32 playerId = 1 [packed = true]; + * @return A list containing the playerId. */ public java.util.List getPlayerIdList() { - return java.util.Collections.unmodifiableList(playerId_); + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(playerId_) : playerId_; } /** * repeated uint32 playerId = 1 [packed = true]; + * @return The count of playerId. */ public int getPlayerIdCount() { return playerId_.size(); } /** * repeated uint32 playerId = 1 [packed = true]; + * @param index The index of the element to return. + * @return The playerId at the given index. */ public int getPlayerId(int index) { - return playerId_.get(index); + return playerId_.getInt(index); } /** * repeated uint32 playerId = 1 [packed = true]; + * @param index The index to set the value at. + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId( int index, int value) { ensurePlayerIdIsMutable(); - playerId_.set(index, value); - + playerId_.setInt(index, value); + onChanged(); return this; } /** * repeated uint32 playerId = 1 [packed = true]; + * @param value The playerId to add. + * @return This builder for chaining. */ public Builder addPlayerId(int value) { ensurePlayerIdIsMutable(); - playerId_.add(value); - + playerId_.addInt(value); + onChanged(); return this; } /** * repeated uint32 playerId = 1 [packed = true]; + * @param values The playerId to add. + * @return This builder for chaining. */ public Builder addAllPlayerId( java.lang.Iterable values) { ensurePlayerIdIsMutable(); - super.addAll(values, playerId_); - + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerId_); + onChanged(); return this; } /** * repeated uint32 playerId = 1 [packed = true]; + * @return This builder for chaining. */ public Builder clearPlayerId() { - playerId_ = java.util.Collections.emptyList(); + playerId_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayerInfoRequestMessage) } + // @@protoc_insertion_point(class_scope:PlayerInfoRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new PlayerInfoRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerInfoRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInfoRequestMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PlayerInfoRequestMessage) } - public interface PlayerInfoReplyMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerInfoReplyMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 1; + * @return The playerId. */ int getPlayerId(); - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + * @return Whether the playerInfoData field is set. */ boolean hasPlayerInfoData(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + * @return The playerInfoData. */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getPlayerInfoData(); + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder getPlayerInfoDataOrBuilder(); } /** * Protobuf type {@code PlayerInfoReplyMessage} */ public static final class PlayerInfoReplyMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage) + PlayerInfoReplyMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayerInfoReplyMessage.newBuilder() to construct. - private PlayerInfoReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayerInfoReplyMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayerInfoReplyMessage(boolean noInit) {} - - private static final PlayerInfoReplyMessage defaultInstance; - public static PlayerInfoReplyMessage getDefaultInstance() { - return defaultInstance; + private PlayerInfoReplyMessage() { } - public PlayerInfoReplyMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerInfoReplyMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayerInfoReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -14697,13 +20927,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; playerId_ = input.readUInt32(); @@ -14711,7 +20934,7 @@ public final class ProtoBuf { } case 18: { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { subBuilder = playerInfoData_.toBuilder(); } playerInfoData_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.PARSER, extensionRegistry); @@ -14722,123 +20945,154 @@ public final class ProtoBuf { bitField0_ |= 0x00000002; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_descriptor; } - public interface PlayerInfoDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.class, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder.class); + } + + public interface PlayerInfoDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData) + com.google.protobuf.MessageOrBuilder { - // required string playerName = 1; /** * required string playerName = 1; + * @return Whether the playerName field is set. */ boolean hasPlayerName(); /** * required string playerName = 1; + * @return The playerName. */ java.lang.String getPlayerName(); /** * required string playerName = 1; + * @return The bytes for playerName. */ com.google.protobuf.ByteString getPlayerNameBytes(); - // required bool isHuman = 2; /** * required bool isHuman = 2; + * @return Whether the isHuman field is set. */ boolean hasIsHuman(); /** * required bool isHuman = 2; + * @return The isHuman. */ boolean getIsHuman(); - // required .NetPlayerInfoRights playerRights = 3; /** * required .NetPlayerInfoRights playerRights = 3; + * @return Whether the playerRights field is set. */ boolean hasPlayerRights(); /** * required .NetPlayerInfoRights playerRights = 3; + * @return The playerRights. */ de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights(); - // optional string countryCode = 4; /** * optional string countryCode = 4; + * @return Whether the countryCode field is set. */ boolean hasCountryCode(); /** * optional string countryCode = 4; + * @return The countryCode. */ java.lang.String getCountryCode(); /** * optional string countryCode = 4; + * @return The bytes for countryCode. */ com.google.protobuf.ByteString getCountryCodeBytes(); - // optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + * @return Whether the avatarData field is set. */ boolean hasAvatarData(); /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + * @return The avatarData. */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData(); + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder getAvatarDataOrBuilder(); } /** * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData} */ public static final class PlayerInfoData extends - com.google.protobuf.GeneratedMessageLite - implements PlayerInfoDataOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData) + PlayerInfoDataOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayerInfoData.newBuilder() to construct. - private PlayerInfoData(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayerInfoData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayerInfoData(boolean noInit) {} - - private static final PlayerInfoData defaultInstance; - public static PlayerInfoData getDefaultInstance() { - return defaultInstance; + private PlayerInfoData() { + playerName_ = ""; + playerRights_ = 1; + countryCode_ = ""; } - public PlayerInfoData getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerInfoData(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayerInfoData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -14847,16 +21101,10 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - playerName_ = input.readBytes(); + playerName_ = bs; break; } case 16: { @@ -14866,21 +21114,25 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights value = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - playerRights_ = value; + playerRights_ = rawValue; } break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - countryCode_ = input.readBytes(); + countryCode_ = bs; break; } case 42: { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { subBuilder = avatarData_.toBuilder(); } avatarData_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.PARSER, extensionRegistry); @@ -14891,52 +21143,61 @@ public final class ProtoBuf { bitField0_ |= 0x00000010; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_descriptor; } - public interface AvatarDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.class, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder.class); + } + + public interface AvatarDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + com.google.protobuf.MessageOrBuilder { - // required .NetAvatarType avatarType = 1; /** * required .NetAvatarType avatarType = 1; + * @return Whether the avatarType field is set. */ boolean hasAvatarType(); /** * required .NetAvatarType avatarType = 1; + * @return The avatarType. */ de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType(); - // required bytes avatarHash = 2; /** * required bytes avatarHash = 2; + * @return Whether the avatarHash field is set. */ boolean hasAvatarHash(); /** * required bytes avatarHash = 2; + * @return The avatarHash. */ com.google.protobuf.ByteString getAvatarHash(); } @@ -14944,30 +21205,42 @@ public final class ProtoBuf { * Protobuf type {@code PlayerInfoReplyMessage.PlayerInfoData.AvatarData} */ public static final class AvatarData extends - com.google.protobuf.GeneratedMessageLite - implements AvatarDataOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + AvatarDataOrBuilder { + private static final long serialVersionUID = 0L; // Use AvatarData.newBuilder() to construct. - private AvatarData(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AvatarData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AvatarData(boolean noInit) {} - - private static final AvatarData defaultInstance; - public static AvatarData getDefaultInstance() { - return defaultInstance; + private AvatarData() { + avatarType_ = 1; + avatarHash_ = com.google.protobuf.ByteString.EMPTY; } - public AvatarData getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AvatarData(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AvatarData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -14976,19 +21249,15 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetAvatarType value = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { bitField0_ |= 0x00000001; - avatarType_ = value; + avatarType_ = rawValue; } break; } @@ -14997,73 +21266,83 @@ public final class ProtoBuf { avatarHash_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.class, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder.class); } private int bitField0_; - // required .NetAvatarType avatarType = 1; public static final int AVATARTYPE_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_; + private int avatarType_; /** * required .NetAvatarType avatarType = 1; + * @return Whether the avatarType field is set. */ - public boolean hasAvatarType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasAvatarType() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .NetAvatarType avatarType = 1; + * @return The avatarType. */ - public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetAvatarType result = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(avatarType_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng : result; } - // required bytes avatarHash = 2; public static final int AVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString avatarHash_; /** * required bytes avatarHash = 2; + * @return Whether the avatarHash field is set. */ + @java.lang.Override public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes avatarHash = 2; + * @return The avatarHash. */ + @java.lang.Override 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; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAvatarType()) { memoizedIsInitialized = 0; @@ -15077,42 +21356,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, avatarType_.getNumber()); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, avatarType_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, avatarHash_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, avatarType_.getNumber()); + .computeEnumSize(1, avatarType_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, avatarHash_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData other = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData) obj; + + if (hasAvatarType() != other.hasAvatarType()) return false; + if (hasAvatarType()) { + if (avatarType_ != other.avatarType_) return false; + } + if (hasAvatarHash() != other.hasAvatarHash()) return false; + if (hasAvatarHash()) { + if (!getAvatarHash() + .equals(other.getAvatarHash())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAvatarType()) { + hash = (37 * hash) + AVATARTYPE_FIELD_NUMBER; + hash = (53 * hash) + avatarType_; + } + if (hasAvatarHash()) { + hash = (37 * hash) + AVATARHASH_FIELD_NUMBER; + hash = (53 * hash) + getAvatarHash().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom( + java.nio.ByteBuffer 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( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -15136,78 +21464,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.class, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + avatarType_ = 1; bitField0_ = (bitField0_ & ~0x00000001); avatarHash_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData build() { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData result = buildPartial(); if (!result.isInitialized()) { @@ -15216,22 +21585,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.avatarType_ = avatarType_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.avatarHash_ = avatarHash_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData)other); + } else { + super.mergeFrom(other); + return this; + } + } + 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()) { @@ -15240,21 +21653,23 @@ public final class ProtoBuf { if (other.hasAvatarHash()) { setAvatarHash(other.getAvatarHash()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasAvatarType()) { - return false; } if (!hasAvatarHash()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15264,7 +21679,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -15274,58 +21689,70 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetAvatarType avatarType = 1; - private de.pokerth.protocol.ProtoBuf.NetAvatarType avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; + private int avatarType_ = 1; /** * required .NetAvatarType avatarType = 1; + * @return Whether the avatarType field is set. */ - public boolean hasAvatarType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasAvatarType() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .NetAvatarType avatarType = 1; + * @return The avatarType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetAvatarType getAvatarType() { - return avatarType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetAvatarType result = de.pokerth.protocol.ProtoBuf.NetAvatarType.valueOf(avatarType_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng : result; } /** * required .NetAvatarType avatarType = 1; + * @param value The avatarType to set. + * @return This builder for chaining. */ public Builder setAvatarType(de.pokerth.protocol.ProtoBuf.NetAvatarType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - avatarType_ = value; - + avatarType_ = value.getNumber(); + onChanged(); return this; } /** * required .NetAvatarType avatarType = 1; + * @return This builder for chaining. */ public Builder clearAvatarType() { bitField0_ = (bitField0_ & ~0x00000001); - avatarType_ = de.pokerth.protocol.ProtoBuf.NetAvatarType.netAvatarImagePng; - + avatarType_ = 1; + onChanged(); return this; } - // required bytes avatarHash = 2; private com.google.protobuf.ByteString avatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes avatarHash = 2; + * @return Whether the avatarHash field is set. */ + @java.lang.Override public boolean hasAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes avatarHash = 2; + * @return The avatarHash. */ + @java.lang.Override public com.google.protobuf.ByteString getAvatarHash() { return avatarHash_; } /** * required bytes avatarHash = 2; + * @param value The avatarHash to set. + * @return This builder for chaining. */ public Builder setAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -15333,43 +21760,88 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; avatarHash_ = value; - + onChanged(); return this; } /** * required bytes avatarHash = 2; + * @return This builder for chaining. */ public Builder clearAvatarHash() { bitField0_ = (bitField0_ & ~0x00000002); avatarHash_ = getDefaultInstance().getAvatarHash(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) } + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage.PlayerInfoData.AvatarData) + private static final de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData DEFAULT_INSTANCE; static { - defaultInstance = new AvatarData(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AvatarData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AvatarData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@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_; + private volatile java.lang.Object playerName_; /** * required string playerName = 1; + * @return Whether the playerName field is set. */ + @java.lang.Override public boolean hasPlayerName() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string playerName = 1; + * @return The playerName. */ + @java.lang.Override public java.lang.String getPlayerName() { java.lang.Object ref = playerName_; if (ref instanceof java.lang.String) { @@ -15386,7 +21858,9 @@ public final class ProtoBuf { } /** * required string playerName = 1; + * @return The bytes for playerName. */ + @java.lang.Override public com.google.protobuf.ByteString getPlayerNameBytes() { java.lang.Object ref = playerName_; @@ -15401,50 +21875,59 @@ public final class ProtoBuf { } } - // required bool isHuman = 2; public static final int ISHUMAN_FIELD_NUMBER = 2; private boolean isHuman_; /** * required bool isHuman = 2; + * @return Whether the isHuman field is set. */ + @java.lang.Override public boolean hasIsHuman() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bool isHuman = 2; + * @return The isHuman. */ + @java.lang.Override public boolean getIsHuman() { return isHuman_; } - // required .NetPlayerInfoRights playerRights = 3; public static final int PLAYERRIGHTS_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_; + private int playerRights_; /** * required .NetPlayerInfoRights playerRights = 3; + * @return Whether the playerRights field is set. */ - public boolean hasPlayerRights() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasPlayerRights() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetPlayerInfoRights playerRights = 3; + * @return The playerRights. */ - public de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights() { - return playerRights_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights result = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.valueOf(playerRights_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest : result; } - // optional string countryCode = 4; public static final int COUNTRYCODE_FIELD_NUMBER = 4; - private java.lang.Object countryCode_; + private volatile java.lang.Object countryCode_; /** * optional string countryCode = 4; + * @return Whether the countryCode field is set. */ + @java.lang.Override public boolean hasCountryCode() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional string countryCode = 4; + * @return The countryCode. */ + @java.lang.Override public java.lang.String getCountryCode() { java.lang.Object ref = countryCode_; if (ref instanceof java.lang.String) { @@ -15461,7 +21944,9 @@ public final class ProtoBuf { } /** * optional string countryCode = 4; + * @return The bytes for countryCode. */ + @java.lang.Override public com.google.protobuf.ByteString getCountryCodeBytes() { java.lang.Object ref = countryCode_; @@ -15476,33 +21961,38 @@ public final class ProtoBuf { } } - // 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; + * @return Whether the avatarData field is set. */ + @java.lang.Override public boolean hasAvatarData() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + * @return The avatarData. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData() { + return avatarData_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance() : avatarData_; } /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData() { - return avatarData_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder getAvatarDataOrBuilder() { + return avatarData_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance() : 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; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlayerName()) { memoizedIsInitialized = 0; @@ -15526,63 +22016,138 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getPlayerNameBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, playerName_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, isHuman_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, playerRights_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, playerRights_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getCountryCodeBytes()); + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, countryCode_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeMessage(5, avatarData_); + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(5, getAvatarData()); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getPlayerNameBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, playerName_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, isHuman_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, playerRights_.getNumber()); + .computeEnumSize(3, playerRights_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, countryCode_); + } + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getCountryCodeBytes()); + .computeMessageSize(5, getAvatarData()); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, avatarData_); - } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData other = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData) obj; + + if (hasPlayerName() != other.hasPlayerName()) return false; + if (hasPlayerName()) { + if (!getPlayerName() + .equals(other.getPlayerName())) return false; + } + if (hasIsHuman() != other.hasIsHuman()) return false; + if (hasIsHuman()) { + if (getIsHuman() + != other.getIsHuman()) return false; + } + if (hasPlayerRights() != other.hasPlayerRights()) return false; + if (hasPlayerRights()) { + if (playerRights_ != other.playerRights_) return false; + } + if (hasCountryCode() != other.hasCountryCode()) return false; + if (hasCountryCode()) { + if (!getCountryCode() + .equals(other.getCountryCode())) return false; + } + if (hasAvatarData() != other.hasAvatarData()) return false; + if (hasAvatarData()) { + if (!getAvatarData() + .equals(other.getAvatarData())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerName()) { + hash = (37 * hash) + PLAYERNAME_FIELD_NUMBER; + hash = (53 * hash) + getPlayerName().hashCode(); + } + if (hasIsHuman()) { + hash = (37 * hash) + ISHUMAN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsHuman()); + } + if (hasPlayerRights()) { + hash = (37 * hash) + PLAYERRIGHTS_FIELD_NUMBER; + hash = (53 * hash) + playerRights_; + } + if (hasCountryCode()) { + hash = (37 * hash) + COUNTRYCODE_FIELD_NUMBER; + hash = (53 * hash) + getCountryCode().hashCode(); + } + if (hasAvatarData()) { + hash = (37 * hash) + AVATARDATA_FIELD_NUMBER; + hash = (53 * hash) + getAvatarData().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( + java.nio.ByteBuffer 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( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -15606,84 +22171,130 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage.PlayerInfoData) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.class, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getAvatarDataFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); playerName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); isHuman_ = false; bitField0_ = (bitField0_ & ~0x00000002); - playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; + playerRights_ = 1; bitField0_ = (bitField0_ & ~0x00000004); countryCode_ = ""; bitField0_ = (bitField0_ & ~0x00000008); - avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); + if (avatarDataBuilder_ == null) { + avatarData_ = null; + } else { + avatarDataBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000010); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_PlayerInfoData_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData build() { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData result = buildPartial(); if (!result.isInitialized()) { @@ -15692,40 +22303,88 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.playerName_ = playerName_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.isHuman_ = isHuman_; to_bitField0_ |= 0x00000002; } - result.isHuman_ = isHuman_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.playerRights_ = playerRights_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.countryCode_ = countryCode_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + if (avatarDataBuilder_ == null) { + result.avatarData_ = avatarData_; + } else { + result.avatarData_ = avatarDataBuilder_.build(); + } to_bitField0_ |= 0x00000010; } - result.avatarData_ = avatarData_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData)other); + } else { + super.mergeFrom(other); + return this; + } + } + 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_; - + onChanged(); } if (other.hasIsHuman()) { setIsHuman(other.getIsHuman()); @@ -15736,36 +22395,36 @@ public final class ProtoBuf { if (other.hasCountryCode()) { bitField0_ |= 0x00000008; countryCode_ = other.countryCode_; - + onChanged(); } if (other.hasAvatarData()) { mergeAvatarData(other.getAvatarData()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override 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; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -15775,7 +22434,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -15785,23 +22444,27 @@ public final class ProtoBuf { } private int bitField0_; - // required string playerName = 1; private java.lang.Object playerName_ = ""; /** * required string playerName = 1; + * @return Whether the playerName field is set. */ public boolean hasPlayerName() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string playerName = 1; + * @return The playerName. */ public java.lang.String getPlayerName() { java.lang.Object ref = playerName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - playerName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + playerName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -15809,6 +22472,7 @@ public final class ProtoBuf { } /** * required string playerName = 1; + * @return The bytes for playerName. */ public com.google.protobuf.ByteString getPlayerNameBytes() { @@ -15825,6 +22489,8 @@ public final class ProtoBuf { } /** * required string playerName = 1; + * @param value The playerName to set. + * @return This builder for chaining. */ public Builder setPlayerName( java.lang.String value) { @@ -15833,20 +22499,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; playerName_ = value; - + onChanged(); return this; } /** * required string playerName = 1; + * @return This builder for chaining. */ public Builder clearPlayerName() { bitField0_ = (bitField0_ & ~0x00000001); playerName_ = getDefaultInstance().getPlayerName(); - + onChanged(); return this; } /** * required string playerName = 1; + * @param value The bytes for playerName to set. + * @return This builder for chaining. */ public Builder setPlayerNameBytes( com.google.protobuf.ByteString value) { @@ -15855,96 +22524,113 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; playerName_ = value; - + onChanged(); return this; } - // required bool isHuman = 2; private boolean isHuman_ ; /** * required bool isHuman = 2; + * @return Whether the isHuman field is set. */ + @java.lang.Override public boolean hasIsHuman() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bool isHuman = 2; + * @return The isHuman. */ + @java.lang.Override public boolean getIsHuman() { return isHuman_; } /** * required bool isHuman = 2; + * @param value The isHuman to set. + * @return This builder for chaining. */ public Builder setIsHuman(boolean value) { bitField0_ |= 0x00000002; isHuman_ = value; - + onChanged(); return this; } /** * required bool isHuman = 2; + * @return This builder for chaining. */ public Builder clearIsHuman() { bitField0_ = (bitField0_ & ~0x00000002); isHuman_ = false; - + onChanged(); return this; } - // required .NetPlayerInfoRights playerRights = 3; - private de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; + private int playerRights_ = 1; /** * required .NetPlayerInfoRights playerRights = 3; + * @return Whether the playerRights field is set. */ - public boolean hasPlayerRights() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasPlayerRights() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetPlayerInfoRights playerRights = 3; + * @return The playerRights. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights getPlayerRights() { - return playerRights_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights result = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.valueOf(playerRights_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest : result; } /** * required .NetPlayerInfoRights playerRights = 3; + * @param value The playerRights to set. + * @return This builder for chaining. */ public Builder setPlayerRights(de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - playerRights_ = value; - + playerRights_ = value.getNumber(); + onChanged(); return this; } /** * required .NetPlayerInfoRights playerRights = 3; + * @return This builder for chaining. */ public Builder clearPlayerRights() { bitField0_ = (bitField0_ & ~0x00000004); - playerRights_ = de.pokerth.protocol.ProtoBuf.NetPlayerInfoRights.netPlayerRightsGuest; - + playerRights_ = 1; + onChanged(); return this; } - // optional string countryCode = 4; private java.lang.Object countryCode_ = ""; /** * optional string countryCode = 4; + * @return Whether the countryCode field is set. */ public boolean hasCountryCode() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional string countryCode = 4; + * @return The countryCode. */ public java.lang.String getCountryCode() { java.lang.Object ref = countryCode_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - countryCode_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + countryCode_ = s; + } return s; } else { return (java.lang.String) ref; @@ -15952,6 +22638,7 @@ public final class ProtoBuf { } /** * optional string countryCode = 4; + * @return The bytes for countryCode. */ public com.google.protobuf.ByteString getCountryCodeBytes() { @@ -15968,6 +22655,8 @@ public final class ProtoBuf { } /** * optional string countryCode = 4; + * @param value The countryCode to set. + * @return This builder for chaining. */ public Builder setCountryCode( java.lang.String value) { @@ -15976,20 +22665,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000008; countryCode_ = value; - + onChanged(); return this; } /** * optional string countryCode = 4; + * @return This builder for chaining. */ public Builder clearCountryCode() { bitField0_ = (bitField0_ & ~0x00000008); countryCode_ = getDefaultInstance().getCountryCode(); - + onChanged(); return this; } /** * optional string countryCode = 4; + * @param value The bytes for countryCode to set. + * @return This builder for chaining. */ public Builder setCountryCodeBytes( com.google.protobuf.ByteString value) { @@ -15998,33 +22690,44 @@ public final class ProtoBuf { } bitField0_ |= 0x00000008; countryCode_ = value; - + onChanged(); 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(); + private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder> avatarDataBuilder_; /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + * @return Whether the avatarData field is set. */ public boolean hasAvatarData() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + * @return The avatarData. */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData getAvatarData() { - return avatarData_; + if (avatarDataBuilder_ == null) { + return avatarData_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance() : avatarData_; + } else { + return avatarDataBuilder_.getMessage(); + } } /** * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; */ public Builder setAvatarData(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData value) { - if (value == null) { - throw new NullPointerException(); + if (avatarDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + avatarData_ = value; + onChanged(); + } else { + avatarDataBuilder_.setMessage(value); } - avatarData_ = value; - bitField0_ |= 0x00000010; return this; } @@ -16033,8 +22736,12 @@ public final class ProtoBuf { */ public Builder setAvatarData( de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder builderForValue) { - avatarData_ = builderForValue.build(); - + if (avatarDataBuilder_ == null) { + avatarData_ = builderForValue.build(); + onChanged(); + } else { + avatarDataBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000010; return this; } @@ -16042,14 +22749,19 @@ public final class ProtoBuf { * 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()) { - avatarData_ = - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder(avatarData_).mergeFrom(value).buildPartial(); + if (avatarDataBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + avatarData_ != null && + avatarData_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance()) { + avatarData_ = + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.newBuilder(avatarData_).mergeFrom(value).buildPartial(); + } else { + avatarData_ = value; + } + onChanged(); } else { - avatarData_ = value; + avatarDataBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; return this; } @@ -16057,64 +22769,155 @@ public final class ProtoBuf { * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; */ public Builder clearAvatarData() { - avatarData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance(); - + if (avatarDataBuilder_ == null) { + avatarData_ = null; + onChanged(); + } else { + avatarDataBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000010); return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder getAvatarDataBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getAvatarDataFieldBuilder().getBuilder(); + } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder getAvatarDataOrBuilder() { + if (avatarDataBuilder_ != null) { + return avatarDataBuilder_.getMessageOrBuilder(); + } else { + return avatarData_ == null ? + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.getDefaultInstance() : avatarData_; + } + } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData.AvatarData avatarData = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder> + getAvatarDataFieldBuilder() { + if (avatarDataBuilder_ == null) { + avatarDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarData.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.AvatarDataOrBuilder>( + getAvatarData(), + getParentForChildren(), + isClean()); + avatarData_ = null; + } + return avatarDataBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayerInfoReplyMessage.PlayerInfoData) } + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage.PlayerInfoData) + private static final de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData DEFAULT_INSTANCE; static { - defaultInstance = new PlayerInfoData(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerInfoData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInfoData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@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; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override 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; + * @return Whether the playerInfoData field is set. */ + @java.lang.Override public boolean hasPlayerInfoData() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + * @return The playerInfoData. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getPlayerInfoData() { + return playerInfoData_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance() : playerInfoData_; } /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getPlayerInfoData() { - return playerInfoData_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder getPlayerInfoDataOrBuilder() { + return playerInfoData_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance() : playerInfoData_; } - private void initFields() { - playerId_ = 0; - playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -16130,42 +22933,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeMessage(2, playerInfoData_); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getPlayerInfoData()); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, playerInfoData_); + .computeMessageSize(2, getPlayerInfoData()); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage other = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage) obj; + + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasPlayerInfoData() != other.hasPlayerInfoData()) return false; + if (hasPlayerInfoData()) { + if (!getPlayerInfoData() + .equals(other.getPlayerInfoData())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasPlayerInfoData()) { + hash = (37 * hash) + PLAYERINFODATA_FIELD_NUMBER; + hash = (53 * hash) + getPlayerInfoData().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -16189,78 +23042,124 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code PlayerInfoReplyMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerInfoReplyMessage) + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.class, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPlayerInfoDataFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); + if (playerInfoDataBuilder_ == null) { + playerInfoData_ = null; + } else { + playerInfoDataBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerInfoReplyMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage build() { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage result = buildPartial(); if (!result.isInitialized()) { @@ -16269,22 +23168,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage buildPartial() { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage result = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000001; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + if (playerInfoDataBuilder_ == null) { + result.playerInfoData_ = playerInfoData_; + } else { + result.playerInfoData_ = playerInfoDataBuilder_.build(); + } to_bitField0_ |= 0x00000002; } - result.playerInfoData_ = playerInfoData_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance()) return this; if (other.hasPlayerId()) { @@ -16293,23 +23240,25 @@ public final class ProtoBuf { if (other.hasPlayerInfoData()) { mergePlayerInfoData(other.getPlayerInfoData()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPlayerId()) { - return false; } if (hasPlayerInfoData()) { if (!getPlayerInfoData().isInitialized()) { - return false; } } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16319,7 +23268,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -16329,62 +23278,79 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 1; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 1; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - + onChanged(); return this; } - // optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData playerInfoData_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder> playerInfoDataBuilder_; /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + * @return Whether the playerInfoData field is set. */ public boolean hasPlayerInfoData() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + * @return The playerInfoData. */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData getPlayerInfoData() { - return playerInfoData_; + if (playerInfoDataBuilder_ == null) { + return playerInfoData_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance() : playerInfoData_; + } else { + return playerInfoDataBuilder_.getMessage(); + } } /** * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; */ public Builder setPlayerInfoData(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData value) { - if (value == null) { - throw new NullPointerException(); + if (playerInfoDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playerInfoData_ = value; + onChanged(); + } else { + playerInfoDataBuilder_.setMessage(value); } - playerInfoData_ = value; - bitField0_ |= 0x00000002; return this; } @@ -16393,8 +23359,12 @@ public final class ProtoBuf { */ public Builder setPlayerInfoData( de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder builderForValue) { - playerInfoData_ = builderForValue.build(); - + if (playerInfoDataBuilder_ == null) { + playerInfoData_ = builderForValue.build(); + onChanged(); + } else { + playerInfoDataBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000002; return this; } @@ -16402,14 +23372,19 @@ public final class ProtoBuf { * 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()) { - playerInfoData_ = - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder(playerInfoData_).mergeFrom(value).buildPartial(); + if (playerInfoDataBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + playerInfoData_ != null && + playerInfoData_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance()) { + playerInfoData_ = + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.newBuilder(playerInfoData_).mergeFrom(value).buildPartial(); + } else { + playerInfoData_ = value; + } + onChanged(); } else { - playerInfoData_ = value; + playerInfoDataBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; return this; } @@ -16417,69 +23392,162 @@ public final class ProtoBuf { * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; */ public Builder clearPlayerInfoData() { - playerInfoData_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance(); - + if (playerInfoDataBuilder_ == null) { + playerInfoData_ = null; + onChanged(); + } else { + playerInfoDataBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); return this; } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder getPlayerInfoDataBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPlayerInfoDataFieldBuilder().getBuilder(); + } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder getPlayerInfoDataOrBuilder() { + if (playerInfoDataBuilder_ != null) { + return playerInfoDataBuilder_.getMessageOrBuilder(); + } else { + return playerInfoData_ == null ? + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.getDefaultInstance() : playerInfoData_; + } + } + /** + * optional .PlayerInfoReplyMessage.PlayerInfoData playerInfoData = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder> + getPlayerInfoDataFieldBuilder() { + if (playerInfoDataBuilder_ == null) { + playerInfoDataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoData.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PlayerInfoDataOrBuilder>( + getPlayerInfoData(), + getParentForChildren(), + isClean()); + playerInfoData_ = null; + } + return playerInfoDataBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayerInfoReplyMessage) } + // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage) + private static final de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage DEFAULT_INSTANCE; static { - defaultInstance = new PlayerInfoReplyMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerInfoReplyMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerInfoReplyMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PlayerInfoReplyMessage) } - public interface SubscriptionRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface SubscriptionRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:SubscriptionRequestMessage) + com.google.protobuf.MessageOrBuilder { - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @return Whether the subscriptionAction field is set. */ boolean hasSubscriptionAction(); /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @return The subscriptionAction. */ 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.
    * 
+ * + * Protobuf type {@code SubscriptionRequestMessage} */ public static final class SubscriptionRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements SubscriptionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:SubscriptionRequestMessage) + SubscriptionRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use SubscriptionRequestMessage.newBuilder() to construct. - private SubscriptionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private SubscriptionRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private SubscriptionRequestMessage(boolean noInit) {} - - private static final SubscriptionRequestMessage defaultInstance; - public static SubscriptionRequestMessage getDefaultInstance() { - return defaultInstance; + private SubscriptionRequestMessage() { + subscriptionAction_ = 1; } - public SubscriptionRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SubscriptionRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private SubscriptionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -16488,19 +23556,22 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + case 8: { + int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { + bitField0_ |= 0x00000001; + subscriptionAction_ = rawValue; } break; } - case 8: { - int rawValue = input.readEnum(); - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(rawValue); - if (value != null) { - bitField0_ |= 0x00000001; - subscriptionAction_ = value; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -16510,39 +23581,38 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_SubscriptionRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_SubscriptionRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.class, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder.class); } /** * Protobuf enum {@code SubscriptionRequestMessage.SubscriptionAction} */ public enum SubscriptionAction - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * unsubscribeGameList = 1; */ - unsubscribeGameList(0, 1), + unsubscribeGameList(1), /** * resubscribeGameList = 2; */ - resubscribeGameList(1, 2), + resubscribeGameList(2), ; /** @@ -16555,9 +23625,25 @@ public final class ProtoBuf { public static final int resubscribeGameList_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static SubscriptionAction valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static SubscriptionAction forNumber(int value) { switch (value) { case 1: return unsubscribeGameList; case 2: return resubscribeGameList; @@ -16569,17 +23655,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + SubscriptionAction> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SubscriptionAction findValueByNumber(int number) { - return SubscriptionAction.valueOf(number); + return SubscriptionAction.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final SubscriptionAction[] VALUES = values(); + + public static SubscriptionAction valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private SubscriptionAction(int index, int value) { + private SubscriptionAction(int value) { this.value = value; } @@ -16587,29 +23697,31 @@ public final class ProtoBuf { } private int bitField0_; - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; public static final int SUBSCRIPTIONACTION_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction subscriptionAction_; + private int subscriptionAction_; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @return Whether the subscriptionAction field is set. */ - public boolean hasSubscriptionAction() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasSubscriptionAction() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @return The subscriptionAction. */ - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { - return subscriptionAction_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction result = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(subscriptionAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList : result; } - private void initFields() { - subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasSubscriptionAction()) { memoizedIsInitialized = 0; @@ -16619,35 +23731,75 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, subscriptionAction_.getNumber()); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, subscriptionAction_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, subscriptionAction_.getNumber()); + .computeEnumSize(1, subscriptionAction_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage other = (de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage) obj; + + if (hasSubscriptionAction() != other.hasSubscriptionAction()) return false; + if (hasSubscriptionAction()) { + if (subscriptionAction_ != other.subscriptionAction_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSubscriptionAction()) { + hash = (37 * hash) + SUBSCRIPTIONACTION_FIELD_NUMBER; + hash = (53 * hash) + subscriptionAction_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -16671,81 +23823,122 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** - * 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.
      * 
+ * + * Protobuf type {@code SubscriptionRequestMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:SubscriptionRequestMessage) + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_SubscriptionRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_SubscriptionRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.class, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + subscriptionAction_ = 1; bitField0_ = (bitField0_ & ~0x00000001); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_SubscriptionRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage build() { de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -16754,34 +23947,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.subscriptionAction_ = subscriptionAction_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + 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()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasSubscriptionAction()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -16791,7 +24031,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -16801,98 +24041,152 @@ public final class ProtoBuf { } private int bitField0_; - // required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; - private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; + private int subscriptionAction_ = 1; /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @return Whether the subscriptionAction field is set. */ - public boolean hasSubscriptionAction() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasSubscriptionAction() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @return The subscriptionAction. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction getSubscriptionAction() { - return subscriptionAction_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction result = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.valueOf(subscriptionAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList : result; } /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @param value The subscriptionAction to set. + * @return This builder for chaining. */ public Builder setSubscriptionAction(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - subscriptionAction_ = value; - + subscriptionAction_ = value.getNumber(); + onChanged(); return this; } /** * required .SubscriptionRequestMessage.SubscriptionAction subscriptionAction = 1; + * @return This builder for chaining. */ public Builder clearSubscriptionAction() { bitField0_ = (bitField0_ & ~0x00000001); - subscriptionAction_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.SubscriptionAction.unsubscribeGameList; - + subscriptionAction_ = 1; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:SubscriptionRequestMessage) } + // @@protoc_insertion_point(class_scope:SubscriptionRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new SubscriptionRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubscriptionRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SubscriptionRequestMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:SubscriptionRequestMessage) } - public interface JoinExistingGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface JoinExistingGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:JoinExistingGameMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // optional string password = 2; /** * optional string password = 2; + * @return Whether the password field is set. */ boolean hasPassword(); /** * optional string password = 2; + * @return The password. */ java.lang.String getPassword(); /** * optional string password = 2; + * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); - // optional bool autoLeave = 3 [default = false]; /** * optional bool autoLeave = 3 [default = false]; + * @return Whether the autoLeave field is set. */ boolean hasAutoLeave(); /** * optional bool autoLeave = 3 [default = false]; + * @return The autoLeave. */ boolean getAutoLeave(); - // optional bool spectateOnly = 4 [default = false]; /** * optional bool spectateOnly = 4 [default = false]; + * @return Whether the spectateOnly field is set. */ boolean hasSpectateOnly(); /** * optional bool spectateOnly = 4 [default = false]; + * @return The spectateOnly. */ boolean getSpectateOnly(); } @@ -16900,30 +24194,41 @@ public final class ProtoBuf { * Protobuf type {@code JoinExistingGameMessage} */ public static final class JoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:JoinExistingGameMessage) + JoinExistingGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use JoinExistingGameMessage.newBuilder() to construct. - private JoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private JoinExistingGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private JoinExistingGameMessage(boolean noInit) {} - - private static final JoinExistingGameMessage defaultInstance; - public static JoinExistingGameMessage getDefaultInstance() { - return defaultInstance; + private JoinExistingGameMessage() { + password_ = ""; } - public JoinExistingGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoinExistingGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private JoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -16932,21 +24237,15 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - password_ = input.readBytes(); + password_ = bs; break; } case 24: { @@ -16959,61 +24258,73 @@ public final class ProtoBuf { spectateOnly_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinExistingGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinExistingGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.class, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; - private java.lang.Object password_; + private volatile java.lang.Object password_; /** * optional string password = 2; + * @return Whether the password field is set. */ + @java.lang.Override public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional string password = 2; + * @return The password. */ + @java.lang.Override public java.lang.String getPassword() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { @@ -17030,7 +24341,9 @@ public final class ProtoBuf { } /** * optional string password = 2; + * @return The bytes for password. */ + @java.lang.Override public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; @@ -17045,48 +24358,50 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3 [default = false]; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** * optional bool autoLeave = 3 [default = false]; + * @return Whether the autoLeave field is set. */ + @java.lang.Override public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bool autoLeave = 3 [default = false]; + * @return The autoLeave. */ + @java.lang.Override public boolean getAutoLeave() { return autoLeave_; } - // optional bool spectateOnly = 4 [default = false]; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** * optional bool spectateOnly = 4 [default = false]; + * @return Whether the spectateOnly field is set. */ + @java.lang.Override public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional bool spectateOnly = 4 [default = false]; + * @return The spectateOnly. */ + @java.lang.Override public boolean getSpectateOnly() { return spectateOnly_; } - private void initFields() { - gameId_ = 0; - password_ = ""; - autoLeave_ = false; - spectateOnly_ = false; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -17096,56 +24411,125 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getPasswordBytes()); + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, autoLeave_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, spectateOnly_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getPasswordBytes()); + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, autoLeave_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage other = (de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPassword() != other.hasPassword()) return false; + if (hasPassword()) { + if (!getPassword() + .equals(other.getPassword())) return false; + } + if (hasAutoLeave() != other.hasAutoLeave()) return false; + if (hasAutoLeave()) { + if (getAutoLeave() + != other.getAutoLeave()) return false; + } + if (hasSpectateOnly() != other.hasSpectateOnly()) return false; + if (hasSpectateOnly()) { + if (getSpectateOnly() + != other.getSpectateOnly()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPassword()) { + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + } + if (hasAutoLeave()) { + hash = (37 * hash) + AUTOLEAVE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoLeave()); + } + if (hasSpectateOnly()) { + hash = (37 * hash) + SPECTATEONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSpectateOnly()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -17169,61 +24553,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:JoinExistingGameMessage) + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinExistingGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinExistingGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.class, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -17237,14 +24658,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinExistingGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage build() { de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -17253,30 +24678,74 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.password_ = password_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.autoLeave_ = autoLeave_; to_bitField0_ |= 0x00000004; } - result.autoLeave_ = autoLeave_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.spectateOnly_ = spectateOnly_; to_bitField0_ |= 0x00000008; } - result.spectateOnly_ = spectateOnly_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -17285,7 +24754,7 @@ public final class ProtoBuf { if (other.hasPassword()) { bitField0_ |= 0x00000002; password_ = other.password_; - + onChanged(); } if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); @@ -17293,17 +24762,20 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17313,7 +24785,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -17323,56 +24795,66 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; + * @return Whether the password field is set. */ public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional string password = 2; + * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - password_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + password_ = s; + } return s; } else { return (java.lang.String) ref; @@ -17380,6 +24862,7 @@ public final class ProtoBuf { } /** * optional string password = 2; + * @return The bytes for password. */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -17396,6 +24879,8 @@ public final class ProtoBuf { } /** * optional string password = 2; + * @param value The password to set. + * @return This builder for chaining. */ public Builder setPassword( java.lang.String value) { @@ -17404,20 +24889,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; password_ = value; - + onChanged(); return this; } /** * optional string password = 2; + * @return This builder for chaining. */ public Builder clearPassword() { bitField0_ = (bitField0_ & ~0x00000002); password_ = getDefaultInstance().getPassword(); - + onChanged(); return this; } /** * optional string password = 2; + * @param value The bytes for password to set. + * @return This builder for chaining. */ public Builder setPasswordBytes( com.google.protobuf.ByteString value) { @@ -17426,122 +24914,184 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; password_ = value; - + onChanged(); return this; } - // optional bool autoLeave = 3 [default = false]; private boolean autoLeave_ ; /** * optional bool autoLeave = 3 [default = false]; + * @return Whether the autoLeave field is set. */ + @java.lang.Override public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bool autoLeave = 3 [default = false]; + * @return The autoLeave. */ + @java.lang.Override public boolean getAutoLeave() { return autoLeave_; } /** * optional bool autoLeave = 3 [default = false]; + * @param value The autoLeave to set. + * @return This builder for chaining. */ public Builder setAutoLeave(boolean value) { bitField0_ |= 0x00000004; autoLeave_ = value; - + onChanged(); return this; } /** * optional bool autoLeave = 3 [default = false]; + * @return This builder for chaining. */ public Builder clearAutoLeave() { bitField0_ = (bitField0_ & ~0x00000004); autoLeave_ = false; - + onChanged(); return this; } - // optional bool spectateOnly = 4 [default = false]; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4 [default = false]; + * @return Whether the spectateOnly field is set. */ + @java.lang.Override public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional bool spectateOnly = 4 [default = false]; + * @return The spectateOnly. */ + @java.lang.Override public boolean getSpectateOnly() { return spectateOnly_; } /** * optional bool spectateOnly = 4 [default = false]; + * @param value The spectateOnly to set. + * @return This builder for chaining. */ public Builder setSpectateOnly(boolean value) { bitField0_ |= 0x00000008; spectateOnly_ = value; - + onChanged(); return this; } /** * optional bool spectateOnly = 4 [default = false]; + * @return This builder for chaining. */ public Builder clearSpectateOnly() { bitField0_ = (bitField0_ & ~0x00000008); spectateOnly_ = false; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:JoinExistingGameMessage) } + // @@protoc_insertion_point(class_scope:JoinExistingGameMessage) + private static final de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new JoinExistingGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinExistingGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinExistingGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:JoinExistingGameMessage) } - public interface JoinNewGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface JoinNewGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:JoinNewGameMessage) + com.google.protobuf.MessageOrBuilder { - // required .NetGameInfo gameInfo = 1; /** * required .NetGameInfo gameInfo = 1; + * @return Whether the gameInfo field is set. */ boolean hasGameInfo(); /** * required .NetGameInfo gameInfo = 1; + * @return The gameInfo. */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + /** + * required .NetGameInfo gameInfo = 1; + */ + de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder(); - // optional string password = 2; /** * optional string password = 2; + * @return Whether the password field is set. */ boolean hasPassword(); /** * optional string password = 2; + * @return The password. */ java.lang.String getPassword(); /** * optional string password = 2; + * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); - // optional bool autoLeave = 3; /** * optional bool autoLeave = 3; + * @return Whether the autoLeave field is set. */ boolean hasAutoLeave(); /** * optional bool autoLeave = 3; + * @return The autoLeave. */ boolean getAutoLeave(); } @@ -17549,30 +25099,41 @@ public final class ProtoBuf { * Protobuf type {@code JoinNewGameMessage} */ public static final class JoinNewGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinNewGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:JoinNewGameMessage) + JoinNewGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use JoinNewGameMessage.newBuilder() to construct. - private JoinNewGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private JoinNewGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private JoinNewGameMessage(boolean noInit) {} - - private static final JoinNewGameMessage defaultInstance; - public static JoinNewGameMessage getDefaultInstance() { - return defaultInstance; + private JoinNewGameMessage() { + password_ = ""; } - public JoinNewGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoinNewGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private JoinNewGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -17581,16 +25142,9 @@ public final class ProtoBuf { 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)) { + if (((bitField0_ & 0x00000001) != 0)) { subBuilder = gameInfo_.toBuilder(); } gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); @@ -17602,8 +25156,9 @@ public final class ProtoBuf { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - password_ = input.readBytes(); + password_ = bs; break; } case 24: { @@ -17611,61 +25166,80 @@ public final class ProtoBuf { autoLeave_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinNewGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinNewGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.class, de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder.class); } 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; + * @return Whether the gameInfo field is set. */ + @java.lang.Override public boolean hasGameInfo() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required .NetGameInfo gameInfo = 1; + * @return The gameInfo. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; } /** * required .NetGameInfo gameInfo = 1; */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder() { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; } - // optional string password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; - private java.lang.Object password_; + private volatile java.lang.Object password_; /** * optional string password = 2; + * @return Whether the password field is set. */ + @java.lang.Override public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional string password = 2; + * @return The password. */ + @java.lang.Override public java.lang.String getPassword() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { @@ -17682,7 +25256,9 @@ public final class ProtoBuf { } /** * optional string password = 2; + * @return The bytes for password. */ + @java.lang.Override public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; @@ -17697,31 +25273,31 @@ public final class ProtoBuf { } } - // optional bool autoLeave = 3; public static final int AUTOLEAVE_FIELD_NUMBER = 3; private boolean autoLeave_; /** * optional bool autoLeave = 3; + * @return Whether the autoLeave field is set. */ + @java.lang.Override public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bool autoLeave = 3; + * @return The autoLeave. */ + @java.lang.Override public boolean getAutoLeave() { return autoLeave_; } - private void initFields() { - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - password_ = ""; - autoLeave_ = false; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameInfo()) { memoizedIsInitialized = 0; @@ -17735,49 +25311,108 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeMessage(1, gameInfo_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getGameInfo()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getPasswordBytes()); + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, autoLeave_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, gameInfo_); + .computeMessageSize(1, getGameInfo()); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getPasswordBytes()); + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, autoLeave_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.JoinNewGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage other = (de.pokerth.protocol.ProtoBuf.JoinNewGameMessage) obj; + + if (hasGameInfo() != other.hasGameInfo()) return false; + if (hasGameInfo()) { + if (!getGameInfo() + .equals(other.getGameInfo())) return false; + } + if (hasPassword() != other.hasPassword()) return false; + if (hasPassword()) { + if (!getPassword() + .equals(other.getPassword())) return false; + } + if (hasAutoLeave() != other.hasAutoLeave()) return false; + if (hasAutoLeave()) { + if (getAutoLeave() + != other.getAutoLeave()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameInfo()) { + hash = (37 * hash) + GAMEINFO_FIELD_NUMBER; + hash = (53 * hash) + getGameInfo().hashCode(); + } + if (hasPassword()) { + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + } + if (hasAutoLeave()) { + hash = (37 * hash) + AUTOLEAVE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoLeave()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -17801,64 +25436,106 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code JoinNewGameMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:JoinNewGameMessage) + de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinNewGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinNewGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.class, de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getGameInfoFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + if (gameInfoBuilder_ == null) { + gameInfo_ = null; + } else { + gameInfoBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); password_ = ""; bitField0_ = (bitField0_ & ~0x00000002); @@ -17867,14 +25544,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinNewGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage build() { de.pokerth.protocol.ProtoBuf.JoinNewGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -17883,26 +25564,74 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.JoinNewGameMessage result = new de.pokerth.protocol.ProtoBuf.JoinNewGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + if (gameInfoBuilder_ == null) { + result.gameInfo_ = gameInfo_; + } else { + result.gameInfo_ = gameInfoBuilder_.build(); + } to_bitField0_ |= 0x00000001; } - result.gameInfo_ = gameInfo_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.password_ = password_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.autoLeave_ = autoLeave_; to_bitField0_ |= 0x00000004; } - result.autoLeave_ = autoLeave_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.JoinNewGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.JoinNewGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance()) return this; if (other.hasGameInfo()) { @@ -17911,26 +25640,28 @@ public final class ProtoBuf { if (other.hasPassword()) { bitField0_ |= 0x00000002; password_ = other.password_; - + onChanged(); } if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameInfo()) { - return false; } if (!getGameInfo().isInitialized()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -17940,7 +25671,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinNewGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -17950,29 +25681,40 @@ public final class ProtoBuf { } private int bitField0_; - // required .NetGameInfo gameInfo = 1; - private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder> gameInfoBuilder_; /** * required .NetGameInfo gameInfo = 1; + * @return Whether the gameInfo field is set. */ public boolean hasGameInfo() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required .NetGameInfo gameInfo = 1; + * @return The gameInfo. */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; + if (gameInfoBuilder_ == null) { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; + } else { + return gameInfoBuilder_.getMessage(); + } } /** * required .NetGameInfo gameInfo = 1; */ public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (value == null) { - throw new NullPointerException(); + if (gameInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameInfo_ = value; + onChanged(); + } else { + gameInfoBuilder_.setMessage(value); } - gameInfo_ = value; - bitField0_ |= 0x00000001; return this; } @@ -17981,8 +25723,12 @@ public final class ProtoBuf { */ public Builder setGameInfo( de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { - gameInfo_ = builderForValue.build(); - + if (gameInfoBuilder_ == null) { + gameInfo_ = builderForValue.build(); + onChanged(); + } else { + gameInfoBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000001; return this; } @@ -17990,14 +25736,19 @@ public final class ProtoBuf { * required .NetGameInfo gameInfo = 1; */ public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (((bitField0_ & 0x00000001) == 0x00000001) && - gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { - gameInfo_ = - de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); + if (gameInfoBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + gameInfo_ != null && + gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { + gameInfo_ = + de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); + } else { + gameInfo_ = value; + } + onChanged(); } else { - gameInfo_ = value; + gameInfoBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; return this; } @@ -18005,29 +25756,72 @@ public final class ProtoBuf { * required .NetGameInfo gameInfo = 1; */ public Builder clearGameInfo() { - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - + if (gameInfoBuilder_ == null) { + gameInfo_ = null; + onChanged(); + } else { + gameInfoBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); return this; } + /** + * required .NetGameInfo gameInfo = 1; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder getGameInfoBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getGameInfoFieldBuilder().getBuilder(); + } + /** + * required .NetGameInfo gameInfo = 1; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder() { + if (gameInfoBuilder_ != null) { + return gameInfoBuilder_.getMessageOrBuilder(); + } else { + return gameInfo_ == null ? + de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; + } + } + /** + * required .NetGameInfo gameInfo = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder> + getGameInfoFieldBuilder() { + if (gameInfoBuilder_ == null) { + gameInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder>( + getGameInfo(), + getParentForChildren(), + isClean()); + gameInfo_ = null; + } + return gameInfoBuilder_; + } - // optional string password = 2; private java.lang.Object password_ = ""; /** * optional string password = 2; + * @return Whether the password field is set. */ public boolean hasPassword() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional string password = 2; + * @return The password. */ public java.lang.String getPassword() { java.lang.Object ref = password_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - password_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + password_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18035,6 +25829,7 @@ public final class ProtoBuf { } /** * optional string password = 2; + * @return The bytes for password. */ public com.google.protobuf.ByteString getPasswordBytes() { @@ -18051,6 +25846,8 @@ public final class ProtoBuf { } /** * optional string password = 2; + * @param value The password to set. + * @return This builder for chaining. */ public Builder setPassword( java.lang.String value) { @@ -18059,20 +25856,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; password_ = value; - + onChanged(); return this; } /** * optional string password = 2; + * @return This builder for chaining. */ public Builder clearPassword() { bitField0_ = (bitField0_ & ~0x00000002); password_ = getDefaultInstance().getPassword(); - + onChanged(); return this; } /** * optional string password = 2; + * @param value The bytes for password to set. + * @return This builder for chaining. */ public Builder setPasswordBytes( com.google.protobuf.ByteString value) { @@ -18081,74 +25881,124 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; password_ = value; - + onChanged(); return this; } - // optional bool autoLeave = 3; private boolean autoLeave_ ; /** * optional bool autoLeave = 3; + * @return Whether the autoLeave field is set. */ + @java.lang.Override public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bool autoLeave = 3; + * @return The autoLeave. */ + @java.lang.Override public boolean getAutoLeave() { return autoLeave_; } /** * optional bool autoLeave = 3; + * @param value The autoLeave to set. + * @return This builder for chaining. */ public Builder setAutoLeave(boolean value) { bitField0_ |= 0x00000004; autoLeave_ = value; - + onChanged(); return this; } /** * optional bool autoLeave = 3; + * @return This builder for chaining. */ public Builder clearAutoLeave() { bitField0_ = (bitField0_ & ~0x00000004); autoLeave_ = false; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:JoinNewGameMessage) } + // @@protoc_insertion_point(class_scope:JoinNewGameMessage) + private static final de.pokerth.protocol.ProtoBuf.JoinNewGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new JoinNewGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.JoinNewGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinNewGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinNewGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:JoinNewGameMessage) } - public interface RejoinExistingGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface RejoinExistingGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:RejoinExistingGameMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // optional bool autoLeave = 2; /** * optional bool autoLeave = 2; + * @return Whether the autoLeave field is set. */ boolean hasAutoLeave(); /** * optional bool autoLeave = 2; + * @return The autoLeave. */ boolean getAutoLeave(); } @@ -18156,30 +26006,40 @@ public final class ProtoBuf { * Protobuf type {@code RejoinExistingGameMessage} */ public static final class RejoinExistingGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejoinExistingGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RejoinExistingGameMessage) + RejoinExistingGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use RejoinExistingGameMessage.newBuilder() to construct. - private RejoinExistingGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private RejoinExistingGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private RejoinExistingGameMessage(boolean noInit) {} - - private static final RejoinExistingGameMessage defaultInstance; - public static RejoinExistingGameMessage getDefaultInstance() { - return defaultInstance; + private RejoinExistingGameMessage() { } - public RejoinExistingGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RejoinExistingGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private RejoinExistingGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -18188,13 +26048,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -18205,73 +26058,83 @@ public final class ProtoBuf { autoLeave_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejoinExistingGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejoinExistingGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.class, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // optional bool autoLeave = 2; public static final int AUTOLEAVE_FIELD_NUMBER = 2; private boolean autoLeave_; /** * optional bool autoLeave = 2; + * @return Whether the autoLeave field is set. */ + @java.lang.Override public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional bool autoLeave = 2; + * @return The autoLeave. */ + @java.lang.Override public boolean getAutoLeave() { return autoLeave_; } - private void initFields() { - gameId_ = 0; - autoLeave_ = false; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -18281,42 +26144,93 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, autoLeave_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, autoLeave_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage other = (de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasAutoLeave() != other.hasAutoLeave()) return false; + if (hasAutoLeave()) { + if (getAutoLeave() + != other.getAutoLeave()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasAutoLeave()) { + hash = (37 * hash) + AUTOLEAVE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAutoLeave()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -18340,61 +26254,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RejoinExistingGameMessage) + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejoinExistingGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejoinExistingGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.class, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -18404,14 +26355,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejoinExistingGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage build() { de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -18420,22 +26375,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.autoLeave_ = autoLeave_; to_bitField0_ |= 0x00000002; } - result.autoLeave_ = autoLeave_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -18444,17 +26443,20 @@ public final class ProtoBuf { if (other.hasAutoLeave()) { setAutoLeave(other.getAutoLeave()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -18464,7 +26466,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -18474,123 +26476,185 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // optional bool autoLeave = 2; private boolean autoLeave_ ; /** * optional bool autoLeave = 2; + * @return Whether the autoLeave field is set. */ + @java.lang.Override public boolean hasAutoLeave() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional bool autoLeave = 2; + * @return The autoLeave. */ + @java.lang.Override public boolean getAutoLeave() { return autoLeave_; } /** * optional bool autoLeave = 2; + * @param value The autoLeave to set. + * @return This builder for chaining. */ public Builder setAutoLeave(boolean value) { bitField0_ |= 0x00000002; autoLeave_ = value; - + onChanged(); return this; } /** * optional bool autoLeave = 2; + * @return This builder for chaining. */ public Builder clearAutoLeave() { bitField0_ = (bitField0_ & ~0x00000002); autoLeave_ = false; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:RejoinExistingGameMessage) } + // @@protoc_insertion_point(class_scope:RejoinExistingGameMessage) + private static final de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new RejoinExistingGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RejoinExistingGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RejoinExistingGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:RejoinExistingGameMessage) } - public interface JoinGameAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface JoinGameAckMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:JoinGameAckMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required bool areYouGameAdmin = 2; /** * required bool areYouGameAdmin = 2; + * @return Whether the areYouGameAdmin field is set. */ boolean hasAreYouGameAdmin(); /** * required bool areYouGameAdmin = 2; + * @return The areYouGameAdmin. */ boolean getAreYouGameAdmin(); - // required .NetGameInfo gameInfo = 3; /** * required .NetGameInfo gameInfo = 3; + * @return Whether the gameInfo field is set. */ boolean hasGameInfo(); /** * required .NetGameInfo gameInfo = 3; + * @return The gameInfo. */ de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo(); + /** + * required .NetGameInfo gameInfo = 3; + */ + de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder(); - // optional bool spectateOnly = 4; /** * optional bool spectateOnly = 4; + * @return Whether the spectateOnly field is set. */ boolean hasSpectateOnly(); /** * optional bool spectateOnly = 4; + * @return The spectateOnly. */ boolean getSpectateOnly(); } @@ -18598,30 +26662,40 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameAckMessage} */ public static final class JoinGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:JoinGameAckMessage) + JoinGameAckMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use JoinGameAckMessage.newBuilder() to construct. - private JoinGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private JoinGameAckMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private JoinGameAckMessage(boolean noInit) {} - - private static final JoinGameAckMessage defaultInstance; - public static JoinGameAckMessage getDefaultInstance() { - return defaultInstance; + private JoinGameAckMessage() { } - public JoinGameAckMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoinGameAckMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private JoinGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -18630,13 +26704,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -18649,7 +26716,7 @@ public final class ProtoBuf { } case 26: { de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { subBuilder = gameInfo_.toBuilder(); } gameInfo_ = input.readMessage(de.pokerth.protocol.ProtoBuf.NetGameInfo.PARSER, extensionRegistry); @@ -18665,107 +26732,128 @@ public final class ProtoBuf { spectateOnly_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameAckMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.class, de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required bool areYouGameAdmin = 2; public static final int AREYOUGAMEADMIN_FIELD_NUMBER = 2; private boolean areYouGameAdmin_; /** * required bool areYouGameAdmin = 2; + * @return Whether the areYouGameAdmin field is set. */ + @java.lang.Override public boolean hasAreYouGameAdmin() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bool areYouGameAdmin = 2; + * @return The areYouGameAdmin. */ + @java.lang.Override 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; + * @return Whether the gameInfo field is set. */ + @java.lang.Override public boolean hasGameInfo() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); + } + /** + * required .NetGameInfo gameInfo = 3; + * @return The gameInfo. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; } /** * required .NetGameInfo gameInfo = 3; */ - public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder() { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; } - // optional bool spectateOnly = 4; public static final int SPECTATEONLY_FIELD_NUMBER = 4; private boolean spectateOnly_; /** * optional bool spectateOnly = 4; + * @return Whether the spectateOnly field is set. */ + @java.lang.Override public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional bool spectateOnly = 4; + * @return The spectateOnly. */ + @java.lang.Override public boolean getSpectateOnly() { return spectateOnly_; } - private void initFields() { - gameId_ = 0; - areYouGameAdmin_ = false; - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - spectateOnly_ = false; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -18787,56 +26875,126 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, areYouGameAdmin_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeMessage(3, gameInfo_); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getGameInfo()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeBool(4, spectateOnly_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, areYouGameAdmin_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, gameInfo_); + .computeMessageSize(3, getGameInfo()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, spectateOnly_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.JoinGameAckMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage other = (de.pokerth.protocol.ProtoBuf.JoinGameAckMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasAreYouGameAdmin() != other.hasAreYouGameAdmin()) return false; + if (hasAreYouGameAdmin()) { + if (getAreYouGameAdmin() + != other.getAreYouGameAdmin()) return false; + } + if (hasGameInfo() != other.hasGameInfo()) return false; + if (hasGameInfo()) { + if (!getGameInfo() + .equals(other.getGameInfo())) return false; + } + if (hasSpectateOnly() != other.hasSpectateOnly()) return false; + if (hasSpectateOnly()) { + if (getSpectateOnly() + != other.getSpectateOnly()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasAreYouGameAdmin()) { + hash = (37 * hash) + AREYOUGAMEADMIN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAreYouGameAdmin()); + } + if (hasGameInfo()) { + hash = (37 * hash) + GAMEINFO_FIELD_NUMBER; + hash = (53 * hash) + getGameInfo().hashCode(); + } + if (hasSpectateOnly()) { + hash = (37 * hash) + SPECTATEONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSpectateOnly()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -18860,82 +27018,128 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code JoinGameAckMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:JoinGameAckMessage) + de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameAckMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.class, de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getGameInfoFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); areYouGameAdmin_ = false; bitField0_ = (bitField0_ & ~0x00000002); - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + if (gameInfoBuilder_ == null) { + gameInfo_ = null; + } else { + gameInfoBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000004); spectateOnly_ = false; bitField0_ = (bitField0_ & ~0x00000008); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameAckMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage build() { de.pokerth.protocol.ProtoBuf.JoinGameAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -18944,30 +27148,78 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage buildPartial() { de.pokerth.protocol.ProtoBuf.JoinGameAckMessage result = new de.pokerth.protocol.ProtoBuf.JoinGameAckMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.areYouGameAdmin_ = areYouGameAdmin_; to_bitField0_ |= 0x00000002; } - result.areYouGameAdmin_ = areYouGameAdmin_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + if (gameInfoBuilder_ == null) { + result.gameInfo_ = gameInfo_; + } else { + result.gameInfo_ = gameInfoBuilder_.build(); + } to_bitField0_ |= 0x00000004; } - result.gameInfo_ = gameInfo_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.spectateOnly_ = spectateOnly_; to_bitField0_ |= 0x00000008; } - result.spectateOnly_ = spectateOnly_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.JoinGameAckMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.JoinGameAckMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -18982,29 +27234,29 @@ public final class ProtoBuf { if (other.hasSpectateOnly()) { setSpectateOnly(other.getSpectateOnly()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasAreYouGameAdmin()) { - return false; } if (!hasGameInfo()) { - return false; } if (!getGameInfo().isInitialized()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19014,7 +27266,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinGameAckMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -19024,95 +27276,118 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required bool areYouGameAdmin = 2; private boolean areYouGameAdmin_ ; /** * required bool areYouGameAdmin = 2; + * @return Whether the areYouGameAdmin field is set. */ + @java.lang.Override public boolean hasAreYouGameAdmin() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bool areYouGameAdmin = 2; + * @return The areYouGameAdmin. */ + @java.lang.Override public boolean getAreYouGameAdmin() { return areYouGameAdmin_; } /** * required bool areYouGameAdmin = 2; + * @param value The areYouGameAdmin to set. + * @return This builder for chaining. */ public Builder setAreYouGameAdmin(boolean value) { bitField0_ |= 0x00000002; areYouGameAdmin_ = value; - + onChanged(); return this; } /** * required bool areYouGameAdmin = 2; + * @return This builder for chaining. */ public Builder clearAreYouGameAdmin() { bitField0_ = (bitField0_ & ~0x00000002); areYouGameAdmin_ = false; - + onChanged(); return this; } - // required .NetGameInfo gameInfo = 3; - private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.NetGameInfo gameInfo_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder> gameInfoBuilder_; /** * required .NetGameInfo gameInfo = 3; + * @return Whether the gameInfo field is set. */ public boolean hasGameInfo() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetGameInfo gameInfo = 3; + * @return The gameInfo. */ public de.pokerth.protocol.ProtoBuf.NetGameInfo getGameInfo() { - return gameInfo_; + if (gameInfoBuilder_ == null) { + return gameInfo_ == null ? de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; + } else { + return gameInfoBuilder_.getMessage(); + } } /** * required .NetGameInfo gameInfo = 3; */ public Builder setGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (value == null) { - throw new NullPointerException(); + if (gameInfoBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameInfo_ = value; + onChanged(); + } else { + gameInfoBuilder_.setMessage(value); } - gameInfo_ = value; - bitField0_ |= 0x00000004; return this; } @@ -19121,8 +27396,12 @@ public final class ProtoBuf { */ public Builder setGameInfo( de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder builderForValue) { - gameInfo_ = builderForValue.build(); - + if (gameInfoBuilder_ == null) { + gameInfo_ = builderForValue.build(); + onChanged(); + } else { + gameInfoBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000004; return this; } @@ -19130,14 +27409,19 @@ public final class ProtoBuf { * required .NetGameInfo gameInfo = 3; */ public Builder mergeGameInfo(de.pokerth.protocol.ProtoBuf.NetGameInfo value) { - if (((bitField0_ & 0x00000004) == 0x00000004) && - gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { - gameInfo_ = - de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); + if (gameInfoBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + gameInfo_ != null && + gameInfo_ != de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance()) { + gameInfo_ = + de.pokerth.protocol.ProtoBuf.NetGameInfo.newBuilder(gameInfo_).mergeFrom(value).buildPartial(); + } else { + gameInfo_ = value; + } + onChanged(); } else { - gameInfo_ = value; + gameInfoBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; return this; } @@ -19145,76 +27429,165 @@ public final class ProtoBuf { * required .NetGameInfo gameInfo = 3; */ public Builder clearGameInfo() { - gameInfo_ = de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance(); - + if (gameInfoBuilder_ == null) { + gameInfo_ = null; + onChanged(); + } else { + gameInfoBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000004); return this; } + /** + * required .NetGameInfo gameInfo = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder getGameInfoBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getGameInfoFieldBuilder().getBuilder(); + } + /** + * required .NetGameInfo gameInfo = 3; + */ + public de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder getGameInfoOrBuilder() { + if (gameInfoBuilder_ != null) { + return gameInfoBuilder_.getMessageOrBuilder(); + } else { + return gameInfo_ == null ? + de.pokerth.protocol.ProtoBuf.NetGameInfo.getDefaultInstance() : gameInfo_; + } + } + /** + * required .NetGameInfo gameInfo = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder> + getGameInfoFieldBuilder() { + if (gameInfoBuilder_ == null) { + gameInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.NetGameInfo, de.pokerth.protocol.ProtoBuf.NetGameInfo.Builder, de.pokerth.protocol.ProtoBuf.NetGameInfoOrBuilder>( + getGameInfo(), + getParentForChildren(), + isClean()); + gameInfo_ = null; + } + return gameInfoBuilder_; + } - // optional bool spectateOnly = 4; private boolean spectateOnly_ ; /** * optional bool spectateOnly = 4; + * @return Whether the spectateOnly field is set. */ + @java.lang.Override public boolean hasSpectateOnly() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional bool spectateOnly = 4; + * @return The spectateOnly. */ + @java.lang.Override public boolean getSpectateOnly() { return spectateOnly_; } /** * optional bool spectateOnly = 4; + * @param value The spectateOnly to set. + * @return This builder for chaining. */ public Builder setSpectateOnly(boolean value) { bitField0_ |= 0x00000008; spectateOnly_ = value; - + onChanged(); return this; } /** * optional bool spectateOnly = 4; + * @return This builder for chaining. */ public Builder clearSpectateOnly() { bitField0_ = (bitField0_ & ~0x00000008); spectateOnly_ = false; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:JoinGameAckMessage) } + // @@protoc_insertion_point(class_scope:JoinGameAckMessage) + private static final de.pokerth.protocol.ProtoBuf.JoinGameAckMessage DEFAULT_INSTANCE; static { - defaultInstance = new JoinGameAckMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.JoinGameAckMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinGameAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinGameAckMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:JoinGameAckMessage) } - public interface JoinGameFailedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface JoinGameFailedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:JoinGameFailedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @return Whether the joinGameFailureReason field is set. */ boolean hasJoinGameFailureReason(); /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @return The joinGameFailureReason. */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason(); } @@ -19222,30 +27595,41 @@ public final class ProtoBuf { * Protobuf type {@code JoinGameFailedMessage} */ public static final class JoinGameFailedMessage extends - com.google.protobuf.GeneratedMessageLite - implements JoinGameFailedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:JoinGameFailedMessage) + JoinGameFailedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use JoinGameFailedMessage.newBuilder() to construct. - private JoinGameFailedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private JoinGameFailedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private JoinGameFailedMessage(boolean noInit) {} - - private static final JoinGameFailedMessage defaultInstance; - public static JoinGameFailedMessage getDefaultInstance() { - return defaultInstance; + private JoinGameFailedMessage() { + joinGameFailureReason_ = 1; } - public JoinGameFailedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoinGameFailedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private JoinGameFailedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -19254,13 +27638,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -19268,10 +27645,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - joinGameFailureReason_ = value; + joinGameFailureReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -19281,79 +27668,78 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameFailedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameFailedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.class, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder.class); } /** * Protobuf enum {@code JoinGameFailedMessage.JoinGameFailureReason} */ public enum JoinGameFailureReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * invalidGame = 1; */ - invalidGame(0, 1), + invalidGame(1), /** * gameIsFull = 2; */ - gameIsFull(1, 2), + gameIsFull(2), /** * gameIsRunning = 3; */ - gameIsRunning(2, 3), + gameIsRunning(3), /** * invalidPassword = 4; */ - invalidPassword(3, 4), + invalidPassword(4), /** * notAllowedAsGuest = 5; */ - notAllowedAsGuest(4, 5), + notAllowedAsGuest(5), /** * notInvited = 6; */ - notInvited(5, 6), + notInvited(6), /** * gameNameInUse = 7; */ - gameNameInUse(6, 7), + gameNameInUse(7), /** * badGameName = 8; */ - badGameName(7, 8), + badGameName(8), /** * invalidSettings = 9; */ - invalidSettings(8, 9), + invalidSettings(9), /** * ipAddressBlocked = 10; */ - ipAddressBlocked(9, 10), + ipAddressBlocked(10), /** * rejoinFailed = 11; */ - rejoinFailed(10, 11), + rejoinFailed(11), /** * noSpectatorsAllowed = 12; */ - noSpectatorsAllowed(11, 12), + noSpectatorsAllowed(12), ; /** @@ -19406,9 +27792,25 @@ public final class ProtoBuf { public static final int noSpectatorsAllowed_VALUE = 12; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static JoinGameFailureReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static JoinGameFailureReason forNumber(int value) { switch (value) { case 1: return invalidGame; case 2: return gameIsFull; @@ -19430,17 +27832,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + JoinGameFailureReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public JoinGameFailureReason findValueByNumber(int number) { - return JoinGameFailureReason.valueOf(number); + return JoinGameFailureReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final JoinGameFailureReason[] VALUES = values(); + + public static JoinGameFailureReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private JoinGameFailureReason(int index, int value) { + private JoinGameFailureReason(int value) { this.value = value; } @@ -19448,46 +27874,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override 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_; + private int joinGameFailureReason_; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @return Whether the joinGameFailureReason field is set. */ - public boolean hasJoinGameFailureReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasJoinGameFailureReason() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @return The joinGameFailureReason. */ - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { - return joinGameFailureReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason result = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.valueOf(joinGameFailureReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame : result; } - private void initFields() { - gameId_ = 0; - joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -19501,42 +27931,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, joinGameFailureReason_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, joinGameFailureReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, joinGameFailureReason_.getNumber()); + .computeEnumSize(2, joinGameFailureReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage other = (de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasJoinGameFailureReason() != other.hasJoinGameFailureReason()) return false; + if (hasJoinGameFailureReason()) { + if (joinGameFailureReason_ != other.joinGameFailureReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasJoinGameFailureReason()) { + hash = (37 * hash) + JOINGAMEFAILUREREASON_FIELD_NUMBER; + hash = (53 * hash) + joinGameFailureReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -19560,78 +28039,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code JoinGameFailedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:JoinGameFailedMessage) + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameFailedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameFailedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.class, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; + joinGameFailureReason_ = 1; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_JoinGameFailedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage build() { de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -19640,22 +28160,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.joinGameFailureReason_ = joinGameFailureReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -19664,21 +28228,23 @@ public final class ProtoBuf { if (other.hasJoinGameFailureReason()) { setJoinGameFailureReason(other.getJoinGameFailureReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasJoinGameFailureReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -19688,7 +28254,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -19698,116 +28264,174 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; + private int joinGameFailureReason_ = 1; /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @return Whether the joinGameFailureReason field is set. */ - public boolean hasJoinGameFailureReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasJoinGameFailureReason() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @return The joinGameFailureReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason getJoinGameFailureReason() { - return joinGameFailureReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason result = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.valueOf(joinGameFailureReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame : result; } /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @param value The joinGameFailureReason to set. + * @return This builder for chaining. */ public Builder setJoinGameFailureReason(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - joinGameFailureReason_ = value; - + joinGameFailureReason_ = value.getNumber(); + onChanged(); return this; } /** * required .JoinGameFailedMessage.JoinGameFailureReason joinGameFailureReason = 2; + * @return This builder for chaining. */ public Builder clearJoinGameFailureReason() { bitField0_ = (bitField0_ & ~0x00000002); - joinGameFailureReason_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.JoinGameFailureReason.invalidGame; - + joinGameFailureReason_ = 1; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:JoinGameFailedMessage) } + // @@protoc_insertion_point(class_scope:JoinGameFailedMessage) + private static final de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage DEFAULT_INSTANCE; static { - defaultInstance = new JoinGameFailedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinGameFailedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinGameFailedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:JoinGameFailedMessage) } - public interface GamePlayerJoinedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GamePlayerJoinedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GamePlayerJoinedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required bool isGameAdmin = 3; /** * required bool isGameAdmin = 3; + * @return Whether the isGameAdmin field is set. */ boolean hasIsGameAdmin(); /** * required bool isGameAdmin = 3; + * @return The isGameAdmin. */ boolean getIsGameAdmin(); } @@ -19815,30 +28439,40 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerJoinedMessage} */ public static final class GamePlayerJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GamePlayerJoinedMessage) + GamePlayerJoinedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GamePlayerJoinedMessage.newBuilder() to construct. - private GamePlayerJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GamePlayerJoinedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GamePlayerJoinedMessage(boolean noInit) {} - - private static final GamePlayerJoinedMessage defaultInstance; - public static GamePlayerJoinedMessage getDefaultInstance() { - return defaultInstance; + private GamePlayerJoinedMessage() { } - public GamePlayerJoinedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GamePlayerJoinedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GamePlayerJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -19847,13 +28481,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -19869,90 +28496,102 @@ public final class ProtoBuf { isGameAdmin_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerJoinedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required bool isGameAdmin = 3; public static final int ISGAMEADMIN_FIELD_NUMBER = 3; private boolean isGameAdmin_; /** * required bool isGameAdmin = 3; + * @return Whether the isGameAdmin field is set. */ + @java.lang.Override public boolean hasIsGameAdmin() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required bool isGameAdmin = 3; + * @return The isGameAdmin. */ + @java.lang.Override public boolean getIsGameAdmin() { return isGameAdmin_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - isGameAdmin_ = false; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -19970,49 +28609,109 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, isGameAdmin_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isGameAdmin_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage other = (de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasIsGameAdmin() != other.hasIsGameAdmin()) return false; + if (hasIsGameAdmin()) { + if (getIsGameAdmin() + != other.getIsGameAdmin()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasIsGameAdmin()) { + hash = (37 * hash) + ISGAMEADMIN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsGameAdmin()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -20036,61 +28735,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GamePlayerJoinedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GamePlayerJoinedMessage) + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerJoinedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -20102,14 +28838,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerJoinedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage build() { de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -20118,26 +28858,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.isGameAdmin_ = isGameAdmin_; to_bitField0_ |= 0x00000004; } - result.isGameAdmin_ = isGameAdmin_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -20149,25 +28933,26 @@ public final class ProtoBuf { if (other.hasIsGameAdmin()) { setIsGameAdmin(other.getIsGameAdmin()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasIsGameAdmin()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20177,7 +28962,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -20187,146 +28972,209 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required bool isGameAdmin = 3; private boolean isGameAdmin_ ; /** * required bool isGameAdmin = 3; + * @return Whether the isGameAdmin field is set. */ + @java.lang.Override public boolean hasIsGameAdmin() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required bool isGameAdmin = 3; + * @return The isGameAdmin. */ + @java.lang.Override public boolean getIsGameAdmin() { return isGameAdmin_; } /** * required bool isGameAdmin = 3; + * @param value The isGameAdmin to set. + * @return This builder for chaining. */ public Builder setIsGameAdmin(boolean value) { bitField0_ |= 0x00000004; isGameAdmin_ = value; - + onChanged(); return this; } /** * required bool isGameAdmin = 3; + * @return This builder for chaining. */ public Builder clearIsGameAdmin() { bitField0_ = (bitField0_ & ~0x00000004); isGameAdmin_ = false; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GamePlayerJoinedMessage) } + // @@protoc_insertion_point(class_scope:GamePlayerJoinedMessage) + private static final de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage DEFAULT_INSTANCE; static { - defaultInstance = new GamePlayerJoinedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GamePlayerJoinedMessage) } - public interface GamePlayerLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GamePlayerLeftMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GamePlayerLeftMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @return Whether the gamePlayerLeftReason field is set. */ boolean hasGamePlayerLeftReason(); /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @return The gamePlayerLeftReason. */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason(); } @@ -20334,30 +29182,41 @@ public final class ProtoBuf { * Protobuf type {@code GamePlayerLeftMessage} */ public static final class GamePlayerLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GamePlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GamePlayerLeftMessage) + GamePlayerLeftMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GamePlayerLeftMessage.newBuilder() to construct. - private GamePlayerLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GamePlayerLeftMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GamePlayerLeftMessage(boolean noInit) {} - - private static final GamePlayerLeftMessage defaultInstance; - public static GamePlayerLeftMessage getDefaultInstance() { - return defaultInstance; + private GamePlayerLeftMessage() { + gamePlayerLeftReason_ = 0; } - public GamePlayerLeftMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GamePlayerLeftMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GamePlayerLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -20366,13 +29225,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -20385,10 +29237,20 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - gamePlayerLeftReason_ = value; + gamePlayerLeftReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -20398,43 +29260,42 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerLeftMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.class, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder.class); } /** * Protobuf enum {@code GamePlayerLeftMessage.GamePlayerLeftReason} */ public enum GamePlayerLeftReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * leftOnRequest = 0; */ - leftOnRequest(0, 0), + leftOnRequest(0), /** * leftKicked = 1; */ - leftKicked(1, 1), + leftKicked(1), /** * leftError = 2; */ - leftError(2, 2), + leftError(2), ; /** @@ -20451,9 +29312,25 @@ public final class ProtoBuf { public static final int leftError_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static GamePlayerLeftReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static GamePlayerLeftReason forNumber(int value) { switch (value) { case 0: return leftOnRequest; case 1: return leftKicked; @@ -20466,17 +29343,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + GamePlayerLeftReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public GamePlayerLeftReason findValueByNumber(int number) { - return GamePlayerLeftReason.valueOf(number); + return GamePlayerLeftReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final GamePlayerLeftReason[] VALUES = values(); + + public static GamePlayerLeftReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private GamePlayerLeftReason(int index, int value) { + private GamePlayerLeftReason(int value) { this.value = value; } @@ -20484,63 +29385,69 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override 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_; + private int gamePlayerLeftReason_; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @return Whether the gamePlayerLeftReason field is set. */ - public boolean hasGamePlayerLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGamePlayerLeftReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @return The gamePlayerLeftReason. */ - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { - return gamePlayerLeftReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason result = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(gamePlayerLeftReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest : result; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -20558,49 +29465,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gamePlayerLeftReason_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, gamePlayerLeftReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gamePlayerLeftReason_.getNumber()); + .computeEnumSize(3, gamePlayerLeftReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage other = (de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasGamePlayerLeftReason() != other.hasGamePlayerLeftReason()) return false; + if (hasGamePlayerLeftReason()) { + if (gamePlayerLeftReason_ != other.gamePlayerLeftReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasGamePlayerLeftReason()) { + hash = (37 * hash) + GAMEPLAYERLEFTREASON_FIELD_NUMBER; + hash = (53 * hash) + gamePlayerLeftReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -20624,80 +29589,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GamePlayerLeftMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GamePlayerLeftMessage) + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerLeftMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.class, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + gamePlayerLeftReason_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GamePlayerLeftMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage build() { de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage result = buildPartial(); if (!result.isInitialized()) { @@ -20706,26 +29712,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.gamePlayerLeftReason_ = gamePlayerLeftReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -20737,25 +29787,26 @@ public final class ProtoBuf { if (other.hasGamePlayerLeftReason()) { setGamePlayerLeftReason(other.getGamePlayerLeftReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasGamePlayerLeftReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -20765,7 +29816,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -20775,139 +29826,202 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + private int gamePlayerLeftReason_ = 0; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @return Whether the gamePlayerLeftReason field is set. */ - public boolean hasGamePlayerLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGamePlayerLeftReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @return The gamePlayerLeftReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGamePlayerLeftReason() { - return gamePlayerLeftReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason result = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(gamePlayerLeftReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest : result; } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @param value The gamePlayerLeftReason to set. + * @return This builder for chaining. */ public Builder setGamePlayerLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - gamePlayerLeftReason_ = value; - + gamePlayerLeftReason_ = value.getNumber(); + onChanged(); return this; } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gamePlayerLeftReason = 3; + * @return This builder for chaining. */ public Builder clearGamePlayerLeftReason() { bitField0_ = (bitField0_ & ~0x00000004); - gamePlayerLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - + gamePlayerLeftReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GamePlayerLeftMessage) } + // @@protoc_insertion_point(class_scope:GamePlayerLeftMessage) + private static final de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage DEFAULT_INSTANCE; static { - defaultInstance = new GamePlayerLeftMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GamePlayerLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GamePlayerLeftMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GamePlayerLeftMessage) } - public interface GameSpectatorJoinedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameSpectatorJoinedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameSpectatorJoinedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -20915,30 +30029,40 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorJoinedMessage} */ public static final class GameSpectatorJoinedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameSpectatorJoinedMessage) + GameSpectatorJoinedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameSpectatorJoinedMessage.newBuilder() to construct. - private GameSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameSpectatorJoinedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameSpectatorJoinedMessage(boolean noInit) {} - - private static final GameSpectatorJoinedMessage defaultInstance; - public static GameSpectatorJoinedMessage getDefaultInstance() { - return defaultInstance; + private GameSpectatorJoinedMessage() { } - public GameSpectatorJoinedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameSpectatorJoinedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameSpectatorJoinedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -20947,13 +30071,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -20964,73 +30081,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorJoinedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -21044,42 +30171,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage other = (de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -21103,61 +30280,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameSpectatorJoinedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameSpectatorJoinedMessage) + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorJoinedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorJoinedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.class, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -21167,14 +30381,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorJoinedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage build() { de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -21183,22 +30401,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -21207,21 +30469,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -21231,7 +30495,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -21241,113 +30505,170 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameSpectatorJoinedMessage) } + // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) + private static final de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameSpectatorJoinedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameSpectatorJoinedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameSpectatorJoinedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameSpectatorJoinedMessage) } - public interface GameSpectatorLeftMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameSpectatorLeftMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameSpectatorLeftMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @return Whether the gameSpectatorLeftReason field is set. */ boolean hasGameSpectatorLeftReason(); /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @return The gameSpectatorLeftReason. */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason(); } @@ -21355,30 +30676,41 @@ public final class ProtoBuf { * Protobuf type {@code GameSpectatorLeftMessage} */ public static final class GameSpectatorLeftMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameSpectatorLeftMessage) + GameSpectatorLeftMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameSpectatorLeftMessage.newBuilder() to construct. - private GameSpectatorLeftMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameSpectatorLeftMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameSpectatorLeftMessage(boolean noInit) {} - - private static final GameSpectatorLeftMessage defaultInstance; - public static GameSpectatorLeftMessage getDefaultInstance() { - return defaultInstance; + private GameSpectatorLeftMessage() { + gameSpectatorLeftReason_ = 0; } - public GameSpectatorLeftMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameSpectatorLeftMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameSpectatorLeftMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -21387,13 +30719,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -21406,10 +30731,20 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - gameSpectatorLeftReason_ = value; + gameSpectatorLeftReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -21419,84 +30754,89 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorLeftMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.class, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override 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_; + private int gameSpectatorLeftReason_; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @return Whether the gameSpectatorLeftReason field is set. */ - public boolean hasGameSpectatorLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameSpectatorLeftReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @return The gameSpectatorLeftReason. */ - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { - return gameSpectatorLeftReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason result = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(gameSpectatorLeftReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest : result; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -21514,49 +30854,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameSpectatorLeftReason_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, gameSpectatorLeftReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameSpectatorLeftReason_.getNumber()); + .computeEnumSize(3, gameSpectatorLeftReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage other = (de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasGameSpectatorLeftReason() != other.hasGameSpectatorLeftReason()) return false; + if (hasGameSpectatorLeftReason()) { + if (gameSpectatorLeftReason_ != other.gameSpectatorLeftReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasGameSpectatorLeftReason()) { + hash = (37 * hash) + GAMESPECTATORLEFTREASON_FIELD_NUMBER; + hash = (53 * hash) + gameSpectatorLeftReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -21580,80 +30978,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameSpectatorLeftMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameSpectatorLeftMessage) + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorLeftMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorLeftMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.class, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + gameSpectatorLeftReason_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameSpectatorLeftMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage build() { de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage result = buildPartial(); if (!result.isInitialized()) { @@ -21662,26 +31101,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.gameSpectatorLeftReason_ = gameSpectatorLeftReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -21693,25 +31176,26 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftReason()) { setGameSpectatorLeftReason(other.getGameSpectatorLeftReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasGameSpectatorLeftReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -21721,7 +31205,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -21731,139 +31215,202 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; + private int gameSpectatorLeftReason_ = 0; /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @return Whether the gameSpectatorLeftReason field is set. */ - public boolean hasGameSpectatorLeftReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameSpectatorLeftReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @return The gameSpectatorLeftReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason getGameSpectatorLeftReason() { - return gameSpectatorLeftReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason result = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.valueOf(gameSpectatorLeftReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest : result; } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @param value The gameSpectatorLeftReason to set. + * @return This builder for chaining. */ public Builder setGameSpectatorLeftReason(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - gameSpectatorLeftReason_ = value; - + gameSpectatorLeftReason_ = value.getNumber(); + onChanged(); return this; } /** * required .GamePlayerLeftMessage.GamePlayerLeftReason gameSpectatorLeftReason = 3; + * @return This builder for chaining. */ public Builder clearGameSpectatorLeftReason() { bitField0_ = (bitField0_ & ~0x00000004); - gameSpectatorLeftReason_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.GamePlayerLeftReason.leftOnRequest; - + gameSpectatorLeftReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameSpectatorLeftMessage) } + // @@protoc_insertion_point(class_scope:GameSpectatorLeftMessage) + private static final de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameSpectatorLeftMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameSpectatorLeftMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameSpectatorLeftMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameSpectatorLeftMessage) } - public interface GameAdminChangedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameAdminChangedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameAdminChangedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 newAdminPlayerId = 2; /** * required uint32 newAdminPlayerId = 2; + * @return Whether the newAdminPlayerId field is set. */ boolean hasNewAdminPlayerId(); /** * required uint32 newAdminPlayerId = 2; + * @return The newAdminPlayerId. */ int getNewAdminPlayerId(); } @@ -21871,30 +31418,40 @@ public final class ProtoBuf { * Protobuf type {@code GameAdminChangedMessage} */ public static final class GameAdminChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameAdminChangedMessage) + GameAdminChangedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameAdminChangedMessage.newBuilder() to construct. - private GameAdminChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameAdminChangedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameAdminChangedMessage(boolean noInit) {} - - private static final GameAdminChangedMessage defaultInstance; - public static GameAdminChangedMessage getDefaultInstance() { - return defaultInstance; + private GameAdminChangedMessage() { } - public GameAdminChangedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameAdminChangedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameAdminChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -21903,13 +31460,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -21920,73 +31470,83 @@ public final class ProtoBuf { newAdminPlayerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameAdminChangedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameAdminChangedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.class, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 newAdminPlayerId = 2; public static final int NEWADMINPLAYERID_FIELD_NUMBER = 2; private int newAdminPlayerId_; /** * required uint32 newAdminPlayerId = 2; + * @return Whether the newAdminPlayerId field is set. */ + @java.lang.Override public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 newAdminPlayerId = 2; + * @return The newAdminPlayerId. */ + @java.lang.Override public int getNewAdminPlayerId() { return newAdminPlayerId_; } - private void initFields() { - gameId_ = 0; - newAdminPlayerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -22000,42 +31560,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, newAdminPlayerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newAdminPlayerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage other = (de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasNewAdminPlayerId() != other.hasNewAdminPlayerId()) return false; + if (hasNewAdminPlayerId()) { + if (getNewAdminPlayerId() + != other.getNewAdminPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasNewAdminPlayerId()) { + hash = (37 * hash) + NEWADMINPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getNewAdminPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -22059,61 +31669,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameAdminChangedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameAdminChangedMessage) + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameAdminChangedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameAdminChangedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.class, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -22123,14 +31770,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameAdminChangedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage build() { de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -22139,22 +31790,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newAdminPlayerId_ = newAdminPlayerId_; to_bitField0_ |= 0x00000002; } - result.newAdminPlayerId_ = newAdminPlayerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -22163,21 +31858,23 @@ public final class ProtoBuf { if (other.hasNewAdminPlayerId()) { setNewAdminPlayerId(other.getNewAdminPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasNewAdminPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22187,7 +31884,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -22197,103 +31894,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 newAdminPlayerId = 2; private int newAdminPlayerId_ ; /** * required uint32 newAdminPlayerId = 2; + * @return Whether the newAdminPlayerId field is set. */ + @java.lang.Override public boolean hasNewAdminPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 newAdminPlayerId = 2; + * @return The newAdminPlayerId. */ + @java.lang.Override public int getNewAdminPlayerId() { return newAdminPlayerId_; } /** * required uint32 newAdminPlayerId = 2; + * @param value The newAdminPlayerId to set. + * @return This builder for chaining. */ public Builder setNewAdminPlayerId(int value) { bitField0_ |= 0x00000002; newAdminPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 newAdminPlayerId = 2; + * @return This builder for chaining. */ public Builder clearNewAdminPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); newAdminPlayerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameAdminChangedMessage) } + // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) + private static final de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameAdminChangedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameAdminChangedMessage) } - public interface RemovedFromGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface RemovedFromGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:RemovedFromGameMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @return Whether the removedFromGameReason field is set. */ boolean hasRemovedFromGameReason(); /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @return The removedFromGameReason. */ de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason(); } @@ -22301,30 +32054,41 @@ public final class ProtoBuf { * Protobuf type {@code RemovedFromGameMessage} */ public static final class RemovedFromGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements RemovedFromGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RemovedFromGameMessage) + RemovedFromGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use RemovedFromGameMessage.newBuilder() to construct. - private RemovedFromGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private RemovedFromGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private RemovedFromGameMessage(boolean noInit) {} - - private static final RemovedFromGameMessage defaultInstance; - public static RemovedFromGameMessage getDefaultInstance() { - return defaultInstance; + private RemovedFromGameMessage() { + removedFromGameReason_ = 0; } - public RemovedFromGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RemovedFromGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private RemovedFromGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -22333,13 +32097,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -22347,10 +32104,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - removedFromGameReason_ = value; + removedFromGameReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -22360,71 +32127,70 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RemovedFromGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RemovedFromGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.class, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder.class); } /** * Protobuf enum {@code RemovedFromGameMessage.RemovedFromGameReason} */ public enum RemovedFromGameReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** - * removedOnRequest = 0; - * *
        * No error, client wished to leave.
        * 
+ * + * removedOnRequest = 0; */ - removedOnRequest(0, 0), + removedOnRequest(0), /** * kickedFromGame = 1; */ - kickedFromGame(1, 1), + kickedFromGame(1), /** * gameIsFull = 2; */ - gameIsFull(2, 2), + gameIsFull(2), /** * gameIsRunning = 3; */ - gameIsRunning(3, 3), + gameIsRunning(3), /** * gameTimeout = 4; */ - gameTimeout(4, 4), + gameTimeout(4), /** * removedStartFailed = 5; */ - removedStartFailed(5, 5), + removedStartFailed(5), /** * gameClosed = 6; */ - gameClosed(6, 6), + gameClosed(6), ; /** - * removedOnRequest = 0; - * *
        * No error, client wished to leave.
        * 
+ * + * removedOnRequest = 0; */ public static final int removedOnRequest_VALUE = 0; /** @@ -22453,9 +32219,25 @@ public final class ProtoBuf { public static final int gameClosed_VALUE = 6; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static RemovedFromGameReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RemovedFromGameReason forNumber(int value) { switch (value) { case 0: return removedOnRequest; case 1: return kickedFromGame; @@ -22472,17 +32254,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + RemovedFromGameReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RemovedFromGameReason findValueByNumber(int number) { - return RemovedFromGameReason.valueOf(number); + return RemovedFromGameReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final RemovedFromGameReason[] VALUES = values(); + + public static RemovedFromGameReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private RemovedFromGameReason(int index, int value) { + private RemovedFromGameReason(int value) { this.value = value; } @@ -22490,46 +32296,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override 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_; + private int removedFromGameReason_; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @return Whether the removedFromGameReason field is set. */ - public boolean hasRemovedFromGameReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasRemovedFromGameReason() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @return The removedFromGameReason. */ - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { - return removedFromGameReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason result = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.valueOf(removedFromGameReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest : result; } - private void initFields() { - gameId_ = 0; - removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -22543,42 +32353,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, removedFromGameReason_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, removedFromGameReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, removedFromGameReason_.getNumber()); + .computeEnumSize(2, removedFromGameReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage other = (de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasRemovedFromGameReason() != other.hasRemovedFromGameReason()) return false; + if (hasRemovedFromGameReason()) { + if (removedFromGameReason_ != other.removedFromGameReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasRemovedFromGameReason()) { + hash = (37 * hash) + REMOVEDFROMGAMEREASON_FIELD_NUMBER; + hash = (53 * hash) + removedFromGameReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -22602,78 +32461,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RemovedFromGameMessage) + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RemovedFromGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RemovedFromGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.class, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; + removedFromGameReason_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_RemovedFromGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage build() { de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -22682,22 +32582,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.removedFromGameReason_ = removedFromGameReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -22706,21 +32650,23 @@ public final class ProtoBuf { if (other.hasRemovedFromGameReason()) { setRemovedFromGameReason(other.getRemovedFromGameReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasRemovedFromGameReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -22730,7 +32676,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -22740,106 +32686,163 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; + private int removedFromGameReason_ = 0; /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @return Whether the removedFromGameReason field is set. */ - public boolean hasRemovedFromGameReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasRemovedFromGameReason() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @return The removedFromGameReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason getRemovedFromGameReason() { - return removedFromGameReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason result = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.valueOf(removedFromGameReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest : result; } /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @param value The removedFromGameReason to set. + * @return This builder for chaining. */ public Builder setRemovedFromGameReason(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - removedFromGameReason_ = value; - + removedFromGameReason_ = value.getNumber(); + onChanged(); return this; } /** * required .RemovedFromGameMessage.RemovedFromGameReason removedFromGameReason = 2; + * @return This builder for chaining. */ public Builder clearRemovedFromGameReason() { bitField0_ = (bitField0_ & ~0x00000002); - removedFromGameReason_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.RemovedFromGameReason.removedOnRequest; - + removedFromGameReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:RemovedFromGameMessage) } + // @@protoc_insertion_point(class_scope:RemovedFromGameMessage) + private static final de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new RemovedFromGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemovedFromGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemovedFromGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:RemovedFromGameMessage) } - public interface KickPlayerRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface KickPlayerRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:KickPlayerRequestMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -22847,30 +32850,40 @@ public final class ProtoBuf { * Protobuf type {@code KickPlayerRequestMessage} */ public static final class KickPlayerRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements KickPlayerRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:KickPlayerRequestMessage) + KickPlayerRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use KickPlayerRequestMessage.newBuilder() to construct. - private KickPlayerRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private KickPlayerRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private KickPlayerRequestMessage(boolean noInit) {} - - private static final KickPlayerRequestMessage defaultInstance; - public static KickPlayerRequestMessage getDefaultInstance() { - return defaultInstance; + private KickPlayerRequestMessage() { } - public KickPlayerRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KickPlayerRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private KickPlayerRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -22879,13 +32892,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -22896,73 +32902,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPlayerRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPlayerRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.class, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -22976,42 +32992,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage other = (de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -23035,61 +33101,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code KickPlayerRequestMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:KickPlayerRequestMessage) + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPlayerRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPlayerRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.class, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -23099,14 +33202,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPlayerRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage build() { de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -23115,22 +33222,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage buildPartial() { de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage result = new de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -23139,21 +33290,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23163,7 +33316,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -23173,93 +33326,148 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:KickPlayerRequestMessage) } + // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new KickPlayerRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KickPlayerRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KickPlayerRequestMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:KickPlayerRequestMessage) } - public interface LeaveGameRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface LeaveGameRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:LeaveGameRequestMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); } @@ -23267,30 +33475,40 @@ public final class ProtoBuf { * Protobuf type {@code LeaveGameRequestMessage} */ public static final class LeaveGameRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements LeaveGameRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:LeaveGameRequestMessage) + LeaveGameRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use LeaveGameRequestMessage.newBuilder() to construct. - private LeaveGameRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private LeaveGameRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private LeaveGameRequestMessage(boolean noInit) {} - - private static final LeaveGameRequestMessage defaultInstance; - public static LeaveGameRequestMessage getDefaultInstance() { - return defaultInstance; + private LeaveGameRequestMessage() { } - public LeaveGameRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LeaveGameRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private LeaveGameRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -23299,68 +33517,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_LeaveGameRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_LeaveGameRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.class, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - private void initFields() { - gameId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -23370,35 +33589,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage other = (de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -23422,61 +33682,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:LeaveGameRequestMessage) + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_LeaveGameRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_LeaveGameRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.class, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -23484,14 +33781,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_LeaveGameRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage build() { de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -23500,34 +33801,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + 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()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23537,7 +33885,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -23547,70 +33895,120 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:LeaveGameRequestMessage) } + // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new LeaveGameRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LeaveGameRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LeaveGameRequestMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:LeaveGameRequestMessage) } - public interface InvitePlayerToGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface InvitePlayerToGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:InvitePlayerToGameMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -23618,30 +34016,40 @@ public final class ProtoBuf { * Protobuf type {@code InvitePlayerToGameMessage} */ public static final class InvitePlayerToGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements InvitePlayerToGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InvitePlayerToGameMessage) + InvitePlayerToGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use InvitePlayerToGameMessage.newBuilder() to construct. - private InvitePlayerToGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private InvitePlayerToGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private InvitePlayerToGameMessage(boolean noInit) {} - - private static final InvitePlayerToGameMessage defaultInstance; - public static InvitePlayerToGameMessage getDefaultInstance() { - return defaultInstance; + private InvitePlayerToGameMessage() { } - public InvitePlayerToGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InvitePlayerToGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private InvitePlayerToGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -23650,13 +34058,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -23667,73 +34068,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 com.google.protobuf.InvalidProtocolBufferException { - return new InvitePlayerToGameMessage(input, extensionRegistry); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InvitePlayerToGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InvitePlayerToGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.class, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -23747,42 +34158,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage other = (de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -23806,61 +34267,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code InvitePlayerToGameMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InvitePlayerToGameMessage) + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InvitePlayerToGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InvitePlayerToGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.class, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -23870,14 +34368,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_InvitePlayerToGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage build() { de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -23886,22 +34388,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage result = new de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -23910,21 +34456,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -23934,7 +34482,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -23944,113 +34492,170 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:InvitePlayerToGameMessage) } + // @@protoc_insertion_point(class_scope:InvitePlayerToGameMessage) + private static final de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new InvitePlayerToGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvitePlayerToGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InvitePlayerToGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:InvitePlayerToGameMessage) } - public interface InviteNotifyMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface InviteNotifyMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:InviteNotifyMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerIdWho = 2; /** * required uint32 playerIdWho = 2; + * @return Whether the playerIdWho field is set. */ boolean hasPlayerIdWho(); /** * required uint32 playerIdWho = 2; + * @return The playerIdWho. */ int getPlayerIdWho(); - // required uint32 playerIdByWhom = 3; /** * required uint32 playerIdByWhom = 3; + * @return Whether the playerIdByWhom field is set. */ boolean hasPlayerIdByWhom(); /** * required uint32 playerIdByWhom = 3; + * @return The playerIdByWhom. */ int getPlayerIdByWhom(); } @@ -24058,30 +34663,40 @@ public final class ProtoBuf { * Protobuf type {@code InviteNotifyMessage} */ public static final class InviteNotifyMessage extends - com.google.protobuf.GeneratedMessageLite - implements InviteNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:InviteNotifyMessage) + InviteNotifyMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use InviteNotifyMessage.newBuilder() to construct. - private InviteNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private InviteNotifyMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private InviteNotifyMessage(boolean noInit) {} - - private static final InviteNotifyMessage defaultInstance; - public static InviteNotifyMessage getDefaultInstance() { - return defaultInstance; + private InviteNotifyMessage() { } - public InviteNotifyMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InviteNotifyMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private InviteNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -24090,13 +34705,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -24112,90 +34720,102 @@ public final class ProtoBuf { playerIdByWhom_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InviteNotifyMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InviteNotifyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.class, de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerIdWho = 2; public static final int PLAYERIDWHO_FIELD_NUMBER = 2; private int playerIdWho_; /** * required uint32 playerIdWho = 2; + * @return Whether the playerIdWho field is set. */ + @java.lang.Override public boolean hasPlayerIdWho() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerIdWho = 2; + * @return The playerIdWho. */ + @java.lang.Override public int getPlayerIdWho() { return playerIdWho_; } - // required uint32 playerIdByWhom = 3; public static final int PLAYERIDBYWHOM_FIELD_NUMBER = 3; private int playerIdByWhom_; /** * required uint32 playerIdByWhom = 3; + * @return Whether the playerIdByWhom field is set. */ + @java.lang.Override public boolean hasPlayerIdByWhom() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 playerIdByWhom = 3; + * @return The playerIdByWhom. */ + @java.lang.Override public int getPlayerIdByWhom() { return playerIdByWhom_; } - private void initFields() { - gameId_ = 0; - playerIdWho_ = 0; - playerIdByWhom_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -24213,49 +34833,108 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerIdWho_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, playerIdByWhom_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerIdWho_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, playerIdByWhom_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.InviteNotifyMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage other = (de.pokerth.protocol.ProtoBuf.InviteNotifyMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerIdWho() != other.hasPlayerIdWho()) return false; + if (hasPlayerIdWho()) { + if (getPlayerIdWho() + != other.getPlayerIdWho()) return false; + } + if (hasPlayerIdByWhom() != other.hasPlayerIdByWhom()) return false; + if (hasPlayerIdByWhom()) { + if (getPlayerIdByWhom() + != other.getPlayerIdByWhom()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerIdWho()) { + hash = (37 * hash) + PLAYERIDWHO_FIELD_NUMBER; + hash = (53 * hash) + getPlayerIdWho(); + } + if (hasPlayerIdByWhom()) { + hash = (37 * hash) + PLAYERIDBYWHOM_FIELD_NUMBER; + hash = (53 * hash) + getPlayerIdByWhom(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -24279,61 +34958,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code InviteNotifyMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:InviteNotifyMessage) + de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_InviteNotifyMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_InviteNotifyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.class, de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -24345,14 +35061,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_InviteNotifyMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage build() { de.pokerth.protocol.ProtoBuf.InviteNotifyMessage result = buildPartial(); if (!result.isInitialized()) { @@ -24361,26 +35081,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerIdWho_ = playerIdWho_; to_bitField0_ |= 0x00000002; } - result.playerIdWho_ = playerIdWho_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.playerIdByWhom_ = playerIdByWhom_; to_bitField0_ |= 0x00000004; } - result.playerIdByWhom_ = playerIdByWhom_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.InviteNotifyMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.InviteNotifyMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage other) { if (other == de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -24392,25 +35156,26 @@ public final class ProtoBuf { if (other.hasPlayerIdByWhom()) { setPlayerIdByWhom(other.getPlayerIdByWhom()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerIdWho()) { - return false; } if (!hasPlayerIdByWhom()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24420,7 +35185,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.InviteNotifyMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -24430,136 +35195,198 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerIdWho = 2; private int playerIdWho_ ; /** * required uint32 playerIdWho = 2; + * @return Whether the playerIdWho field is set. */ + @java.lang.Override public boolean hasPlayerIdWho() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerIdWho = 2; + * @return The playerIdWho. */ + @java.lang.Override public int getPlayerIdWho() { return playerIdWho_; } /** * required uint32 playerIdWho = 2; + * @param value The playerIdWho to set. + * @return This builder for chaining. */ public Builder setPlayerIdWho(int value) { bitField0_ |= 0x00000002; playerIdWho_ = value; - + onChanged(); return this; } /** * required uint32 playerIdWho = 2; + * @return This builder for chaining. */ public Builder clearPlayerIdWho() { bitField0_ = (bitField0_ & ~0x00000002); playerIdWho_ = 0; - + onChanged(); return this; } - // required uint32 playerIdByWhom = 3; private int playerIdByWhom_ ; /** * required uint32 playerIdByWhom = 3; + * @return Whether the playerIdByWhom field is set. */ + @java.lang.Override public boolean hasPlayerIdByWhom() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 playerIdByWhom = 3; + * @return The playerIdByWhom. */ + @java.lang.Override public int getPlayerIdByWhom() { return playerIdByWhom_; } /** * required uint32 playerIdByWhom = 3; + * @param value The playerIdByWhom to set. + * @return This builder for chaining. */ public Builder setPlayerIdByWhom(int value) { bitField0_ |= 0x00000004; playerIdByWhom_ = value; - + onChanged(); return this; } /** * required uint32 playerIdByWhom = 3; + * @return This builder for chaining. */ public Builder clearPlayerIdByWhom() { bitField0_ = (bitField0_ & ~0x00000004); playerIdByWhom_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:InviteNotifyMessage) } + // @@protoc_insertion_point(class_scope:InviteNotifyMessage) + private static final de.pokerth.protocol.ProtoBuf.InviteNotifyMessage DEFAULT_INSTANCE; static { - defaultInstance = new InviteNotifyMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.InviteNotifyMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:InviteNotifyMessage) } - public interface RejectGameInvitationMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface RejectGameInvitationMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:RejectGameInvitationMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @return Whether the myRejectReason field is set. */ boolean hasMyRejectReason(); /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @return The myRejectReason. */ de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason(); } @@ -24567,30 +35394,41 @@ public final class ProtoBuf { * Protobuf type {@code RejectGameInvitationMessage} */ public static final class RejectGameInvitationMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectGameInvitationMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RejectGameInvitationMessage) + RejectGameInvitationMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use RejectGameInvitationMessage.newBuilder() to construct. - private RejectGameInvitationMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private RejectGameInvitationMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private RejectGameInvitationMessage(boolean noInit) {} - - private static final RejectGameInvitationMessage defaultInstance; - public static RejectGameInvitationMessage getDefaultInstance() { - return defaultInstance; + private RejectGameInvitationMessage() { + myRejectReason_ = 0; } - public RejectGameInvitationMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RejectGameInvitationMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private RejectGameInvitationMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -24599,13 +35437,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -24613,10 +35444,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - myRejectReason_ = value; + myRejectReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -24626,39 +35467,38 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectGameInvitationMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectGameInvitationMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.class, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder.class); } /** * Protobuf enum {@code RejectGameInvitationMessage.RejectGameInvReason} */ public enum RejectGameInvReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * rejectReasonNo = 0; */ - rejectReasonNo(0, 0), + rejectReasonNo(0), /** * rejectReasonBusy = 1; */ - rejectReasonBusy(1, 1), + rejectReasonBusy(1), ; /** @@ -24671,9 +35511,25 @@ public final class ProtoBuf { public static final int rejectReasonBusy_VALUE = 1; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static RejectGameInvReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RejectGameInvReason forNumber(int value) { switch (value) { case 0: return rejectReasonNo; case 1: return rejectReasonBusy; @@ -24685,17 +35541,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + RejectGameInvReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RejectGameInvReason findValueByNumber(int number) { - return RejectGameInvReason.valueOf(number); + return RejectGameInvReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final RejectGameInvReason[] VALUES = values(); + + public static RejectGameInvReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private RejectGameInvReason(int index, int value) { + private RejectGameInvReason(int value) { this.value = value; } @@ -24703,46 +35583,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override 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_; + private int myRejectReason_; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @return Whether the myRejectReason field is set. */ - public boolean hasMyRejectReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasMyRejectReason() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @return The myRejectReason. */ - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason() { - return myRejectReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason result = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(myRejectReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo : result; } - private void initFields() { - gameId_ = 0; - myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -24756,42 +35640,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, myRejectReason_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, myRejectReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, myRejectReason_.getNumber()); + .computeEnumSize(2, myRejectReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage other = (de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasMyRejectReason() != other.hasMyRejectReason()) return false; + if (hasMyRejectReason()) { + if (myRejectReason_ != other.myRejectReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasMyRejectReason()) { + hash = (37 * hash) + MYREJECTREASON_FIELD_NUMBER; + hash = (53 * hash) + myRejectReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -24815,78 +35748,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code RejectGameInvitationMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RejectGameInvitationMessage) + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectGameInvitationMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectGameInvitationMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.class, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + myRejectReason_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectGameInvitationMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage build() { de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage result = buildPartial(); if (!result.isInitialized()) { @@ -24895,22 +35869,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.myRejectReason_ = myRejectReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage other) { if (other == de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -24919,21 +35937,23 @@ public final class ProtoBuf { if (other.hasMyRejectReason()) { setMyRejectReason(other.getMyRejectReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasMyRejectReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -24943,7 +35963,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -24953,116 +35973,174 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + private int myRejectReason_ = 0; /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @return Whether the myRejectReason field is set. */ - public boolean hasMyRejectReason() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasMyRejectReason() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @return The myRejectReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getMyRejectReason() { - return myRejectReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason result = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(myRejectReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo : result; } /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @param value The myRejectReason to set. + * @return This builder for chaining. */ public Builder setMyRejectReason(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - myRejectReason_ = value; - + myRejectReason_ = value.getNumber(); + onChanged(); return this; } /** * required .RejectGameInvitationMessage.RejectGameInvReason myRejectReason = 2; + * @return This builder for chaining. */ public Builder clearMyRejectReason() { bitField0_ = (bitField0_ & ~0x00000002); - myRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - + myRejectReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:RejectGameInvitationMessage) } + // @@protoc_insertion_point(class_scope:RejectGameInvitationMessage) + private static final de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage DEFAULT_INSTANCE; static { - defaultInstance = new RejectGameInvitationMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RejectGameInvitationMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RejectGameInvitationMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:RejectGameInvitationMessage) } - public interface RejectInvNotifyMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface RejectInvNotifyMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:RejectInvNotifyMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @return Whether the playerRejectReason field is set. */ boolean hasPlayerRejectReason(); /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @return The playerRejectReason. */ de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason(); } @@ -25070,30 +36148,41 @@ public final class ProtoBuf { * Protobuf type {@code RejectInvNotifyMessage} */ public static final class RejectInvNotifyMessage extends - com.google.protobuf.GeneratedMessageLite - implements RejectInvNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:RejectInvNotifyMessage) + RejectInvNotifyMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use RejectInvNotifyMessage.newBuilder() to construct. - private RejectInvNotifyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private RejectInvNotifyMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private RejectInvNotifyMessage(boolean noInit) {} - - private static final RejectInvNotifyMessage defaultInstance; - public static RejectInvNotifyMessage getDefaultInstance() { - return defaultInstance; + private RejectInvNotifyMessage() { + playerRejectReason_ = 0; } - public RejectInvNotifyMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RejectInvNotifyMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private RejectInvNotifyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -25102,13 +36191,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -25121,10 +36203,20 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - playerRejectReason_ = value; + playerRejectReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -25134,84 +36226,89 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectInvNotifyMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectInvNotifyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.class, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; public static final int PLAYERREJECTREASON_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_; + private int playerRejectReason_; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @return Whether the playerRejectReason field is set. */ - public boolean hasPlayerRejectReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasPlayerRejectReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @return The playerRejectReason. */ - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason() { - return playerRejectReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason result = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(playerRejectReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo : result; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -25229,49 +36326,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, playerRejectReason_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, playerRejectReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, playerRejectReason_.getNumber()); + .computeEnumSize(3, playerRejectReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage other = (de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasPlayerRejectReason() != other.hasPlayerRejectReason()) return false; + if (hasPlayerRejectReason()) { + if (playerRejectReason_ != other.playerRejectReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasPlayerRejectReason()) { + hash = (37 * hash) + PLAYERREJECTREASON_FIELD_NUMBER; + hash = (53 * hash) + playerRejectReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -25295,80 +36450,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code RejectInvNotifyMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:RejectInvNotifyMessage) + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectInvNotifyMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectInvNotifyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.class, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + playerRejectReason_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_RejectInvNotifyMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage build() { de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage result = buildPartial(); if (!result.isInitialized()) { @@ -25377,26 +36573,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.playerRejectReason_ = playerRejectReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage other) { if (other == de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -25408,25 +36648,26 @@ public final class ProtoBuf { if (other.hasPlayerRejectReason()) { setPlayerRejectReason(other.getPlayerRejectReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasPlayerRejectReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -25436,7 +36677,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -25446,149 +36687,213 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; + private int playerRejectReason_ = 0; /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @return Whether the playerRejectReason field is set. */ - public boolean hasPlayerRejectReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasPlayerRejectReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @return The playerRejectReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason getPlayerRejectReason() { - return playerRejectReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason result = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.valueOf(playerRejectReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo : result; } /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @param value The playerRejectReason to set. + * @return This builder for chaining. */ public Builder setPlayerRejectReason(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - playerRejectReason_ = value; - + playerRejectReason_ = value.getNumber(); + onChanged(); return this; } /** * required .RejectGameInvitationMessage.RejectGameInvReason playerRejectReason = 3; + * @return This builder for chaining. */ public Builder clearPlayerRejectReason() { bitField0_ = (bitField0_ & ~0x00000004); - playerRejectReason_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.RejectGameInvReason.rejectReasonNo; - + playerRejectReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:RejectInvNotifyMessage) } + // @@protoc_insertion_point(class_scope:RejectInvNotifyMessage) + private static final de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage DEFAULT_INSTANCE; static { - defaultInstance = new RejectInvNotifyMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:RejectInvNotifyMessage) } - public interface StartEventMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface StartEventMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:StartEventMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required .StartEventMessage.StartEventType startEventType = 2; /** * required .StartEventMessage.StartEventType startEventType = 2; + * @return Whether the startEventType field is set. */ boolean hasStartEventType(); /** * required .StartEventMessage.StartEventType startEventType = 2; + * @return The startEventType. */ de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType(); - // optional bool fillWithComputerPlayers = 3; /** * optional bool fillWithComputerPlayers = 3; + * @return Whether the fillWithComputerPlayers field is set. */ boolean hasFillWithComputerPlayers(); /** * optional bool fillWithComputerPlayers = 3; + * @return The fillWithComputerPlayers. */ boolean getFillWithComputerPlayers(); } @@ -25596,30 +36901,41 @@ public final class ProtoBuf { * Protobuf type {@code StartEventMessage} */ public static final class StartEventMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartEventMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:StartEventMessage) + StartEventMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use StartEventMessage.newBuilder() to construct. - private StartEventMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private StartEventMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private StartEventMessage(boolean noInit) {} - - private static final StartEventMessage defaultInstance; - public static StartEventMessage getDefaultInstance() { - return defaultInstance; + private StartEventMessage() { + startEventType_ = 0; } - public StartEventMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StartEventMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private StartEventMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -25628,13 +36944,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -25642,10 +36951,13 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - startEventType_ = value; + startEventType_ = rawValue; } break; } @@ -25654,45 +36966,55 @@ public final class ProtoBuf { fillWithComputerPlayers_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StartEventMessage.class, de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder.class); } /** * Protobuf enum {@code StartEventMessage.StartEventType} */ public enum StartEventType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * startEvent = 0; */ - startEvent(0, 0), + startEvent(0), /** * rejoinEvent = 1; */ - rejoinEvent(1, 1), + rejoinEvent(1), + /** + * reentryEvent = 2; + */ + reentryEvent(2), ; /** @@ -25703,14 +37025,35 @@ public final class ProtoBuf { * rejoinEvent = 1; */ public static final int rejoinEvent_VALUE = 1; + /** + * reentryEvent = 2; + */ + public static final int reentryEvent_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static StartEventType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static StartEventType forNumber(int value) { switch (value) { case 0: return startEvent; case 1: return rejoinEvent; + case 2: return reentryEvent; default: return null; } } @@ -25719,17 +37062,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + StartEventType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public StartEventType findValueByNumber(int number) { - return StartEventType.valueOf(number); + return StartEventType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.StartEventMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final StartEventType[] VALUES = values(); + + public static StartEventType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private StartEventType(int index, int value) { + private StartEventType(int value) { this.value = value; } @@ -25737,63 +37104,69 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override 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_; + private int startEventType_; /** * required .StartEventMessage.StartEventType startEventType = 2; + * @return Whether the startEventType field is set. */ - public boolean hasStartEventType() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasStartEventType() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .StartEventMessage.StartEventType startEventType = 2; + * @return The startEventType. */ - public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { - return startEventType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType result = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.valueOf(startEventType_); + return result == null ? de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent : result; } - // optional bool fillWithComputerPlayers = 3; public static final int FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER = 3; private boolean fillWithComputerPlayers_; /** * optional bool fillWithComputerPlayers = 3; + * @return Whether the fillWithComputerPlayers field is set. */ + @java.lang.Override public boolean hasFillWithComputerPlayers() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bool fillWithComputerPlayers = 3; + * @return The fillWithComputerPlayers. */ + @java.lang.Override public boolean getFillWithComputerPlayers() { return fillWithComputerPlayers_; } - private void initFields() { - gameId_ = 0; - startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; - fillWithComputerPlayers_ = false; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -25807,49 +37180,108 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, startEventType_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, startEventType_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, fillWithComputerPlayers_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, startEventType_.getNumber()); + .computeEnumSize(2, startEventType_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, fillWithComputerPlayers_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.StartEventMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.StartEventMessage other = (de.pokerth.protocol.ProtoBuf.StartEventMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasStartEventType() != other.hasStartEventType()) return false; + if (hasStartEventType()) { + if (startEventType_ != other.startEventType_) return false; + } + if (hasFillWithComputerPlayers() != other.hasFillWithComputerPlayers()) return false; + if (hasFillWithComputerPlayers()) { + if (getFillWithComputerPlayers() + != other.getFillWithComputerPlayers()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasStartEventType()) { + hash = (37 * hash) + STARTEVENTTYPE_FIELD_NUMBER; + hash = (53 * hash) + startEventType_; + } + if (hasFillWithComputerPlayers()) { + hash = (37 * hash) + FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFillWithComputerPlayers()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -25873,80 +37305,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartEventMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:StartEventMessage) + de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StartEventMessage.class, de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; + startEventType_ = 0; bitField0_ = (bitField0_ & ~0x00000002); fillWithComputerPlayers_ = false; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartEventMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartEventMessage build() { de.pokerth.protocol.ProtoBuf.StartEventMessage result = buildPartial(); if (!result.isInitialized()) { @@ -25955,26 +37428,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.startEventType_ = startEventType_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.fillWithComputerPlayers_ = fillWithComputerPlayers_; to_bitField0_ |= 0x00000004; } - result.fillWithComputerPlayers_ = fillWithComputerPlayers_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.StartEventMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.StartEventMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartEventMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -25986,21 +37503,23 @@ public final class ProtoBuf { if (other.hasFillWithComputerPlayers()) { setFillWithComputerPlayers(other.getFillWithComputerPlayers()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasStartEventType()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26010,7 +37529,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.StartEventMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -26020,129 +37539,191 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required .StartEventMessage.StartEventType startEventType = 2; - private de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; + private int startEventType_ = 0; /** * required .StartEventMessage.StartEventType startEventType = 2; + * @return Whether the startEventType field is set. */ - public boolean hasStartEventType() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasStartEventType() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .StartEventMessage.StartEventType startEventType = 2; + * @return The startEventType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType getStartEventType() { - return startEventType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType result = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.valueOf(startEventType_); + return result == null ? de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent : result; } /** * required .StartEventMessage.StartEventType startEventType = 2; + * @param value The startEventType to set. + * @return This builder for chaining. */ public Builder setStartEventType(de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - startEventType_ = value; - + startEventType_ = value.getNumber(); + onChanged(); return this; } /** * required .StartEventMessage.StartEventType startEventType = 2; + * @return This builder for chaining. */ public Builder clearStartEventType() { bitField0_ = (bitField0_ & ~0x00000002); - startEventType_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.StartEventType.startEvent; - + startEventType_ = 0; + onChanged(); return this; } - // optional bool fillWithComputerPlayers = 3; private boolean fillWithComputerPlayers_ ; /** * optional bool fillWithComputerPlayers = 3; + * @return Whether the fillWithComputerPlayers field is set. */ + @java.lang.Override public boolean hasFillWithComputerPlayers() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bool fillWithComputerPlayers = 3; + * @return The fillWithComputerPlayers. */ + @java.lang.Override public boolean getFillWithComputerPlayers() { return fillWithComputerPlayers_; } /** * optional bool fillWithComputerPlayers = 3; + * @param value The fillWithComputerPlayers to set. + * @return This builder for chaining. */ public Builder setFillWithComputerPlayers(boolean value) { bitField0_ |= 0x00000004; fillWithComputerPlayers_ = value; - + onChanged(); return this; } /** * optional bool fillWithComputerPlayers = 3; + * @return This builder for chaining. */ public Builder clearFillWithComputerPlayers() { bitField0_ = (bitField0_ & ~0x00000004); fillWithComputerPlayers_ = false; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:StartEventMessage) } + // @@protoc_insertion_point(class_scope:StartEventMessage) + private static final de.pokerth.protocol.ProtoBuf.StartEventMessage DEFAULT_INSTANCE; static { - defaultInstance = new StartEventMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.StartEventMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.StartEventMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartEventMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartEventMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartEventMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:StartEventMessage) } - public interface StartEventAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface StartEventAckMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:StartEventAckMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); } @@ -26150,30 +37731,40 @@ public final class ProtoBuf { * Protobuf type {@code StartEventAckMessage} */ public static final class StartEventAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartEventAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:StartEventAckMessage) + StartEventAckMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use StartEventAckMessage.newBuilder() to construct. - private StartEventAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private StartEventAckMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private StartEventAckMessage(boolean noInit) {} - - private static final StartEventAckMessage defaultInstance; - public static StartEventAckMessage getDefaultInstance() { - return defaultInstance; + private StartEventAckMessage() { } - public StartEventAckMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StartEventAckMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private StartEventAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -26182,68 +37773,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventAckMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.class, de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - private void initFields() { - gameId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -26253,35 +37845,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.StartEventAckMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.StartEventAckMessage other = (de.pokerth.protocol.ProtoBuf.StartEventAckMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -26305,61 +37938,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartEventAckMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code StartEventAckMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.StartEventAckMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:StartEventAckMessage) + de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventAckMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.class, de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -26367,14 +38037,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartEventAckMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartEventAckMessage build() { de.pokerth.protocol.ProtoBuf.StartEventAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -26383,34 +38057,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartEventAckMessage buildPartial() { de.pokerth.protocol.ProtoBuf.StartEventAckMessage result = new de.pokerth.protocol.ProtoBuf.StartEventAckMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.StartEventAckMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.StartEventAckMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartEventAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26420,7 +38141,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.StartEventAckMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -26430,84 +38151,137 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:StartEventAckMessage) } + // @@protoc_insertion_point(class_scope:StartEventAckMessage) + private static final de.pokerth.protocol.ProtoBuf.StartEventAckMessage DEFAULT_INSTANCE; static { - defaultInstance = new StartEventAckMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.StartEventAckMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.StartEventAckMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartEventAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartEventAckMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:StartEventAckMessage) } - public interface GameStartInitialMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameStartInitialMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameStartInitialMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. */ boolean hasStartDealerPlayerId(); /** * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. */ int getStartDealerPlayerId(); - // repeated uint32 playerSeats = 3 [packed = true]; /** * repeated uint32 playerSeats = 3 [packed = true]; + * @return A list containing the playerSeats. */ java.util.List getPlayerSeatsList(); /** * repeated uint32 playerSeats = 3 [packed = true]; + * @return The count of playerSeats. */ int getPlayerSeatsCount(); /** * repeated uint32 playerSeats = 3 [packed = true]; + * @param index The index of the element to return. + * @return The playerSeats at the given index. */ int getPlayerSeats(int index); } @@ -26515,30 +38289,41 @@ public final class ProtoBuf { * Protobuf type {@code GameStartInitialMessage} */ public static final class GameStartInitialMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartInitialMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameStartInitialMessage) + GameStartInitialMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameStartInitialMessage.newBuilder() to construct. - private GameStartInitialMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameStartInitialMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameStartInitialMessage(boolean noInit) {} - - private static final GameStartInitialMessage defaultInstance; - public static GameStartInitialMessage getDefaultInstance() { - return defaultInstance; + private GameStartInitialMessage() { + playerSeats_ = emptyIntList(); } - public GameStartInitialMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameStartInitialMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameStartInitialMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -26547,13 +38332,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -26565,121 +38343,134 @@ public final class ProtoBuf { break; } case 24: { - if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - playerSeats_ = new java.util.ArrayList(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + playerSeats_ = newIntList(); mutable_bitField0_ |= 0x00000004; } - playerSeats_.add(input.readUInt32()); + playerSeats_.addInt(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(); + if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { + playerSeats_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { - playerSeats_.add(input.readUInt32()); + playerSeats_.addInt(input.readUInt32()); } input.popLimit(limit); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); + if (((mutable_bitField0_ & 0x00000004) != 0)) { + playerSeats_.makeImmutable(); // C } + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartInitialMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartInitialMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.class, de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. */ + @java.lang.Override public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. */ + @java.lang.Override public int getStartDealerPlayerId() { return startDealerPlayerId_; } - // repeated uint32 playerSeats = 3 [packed = true]; public static final int PLAYERSEATS_FIELD_NUMBER = 3; - private java.util.List playerSeats_; + private com.google.protobuf.Internal.IntList playerSeats_; /** * repeated uint32 playerSeats = 3 [packed = true]; + * @return A list containing the playerSeats. */ + @java.lang.Override public java.util.List getPlayerSeatsList() { return playerSeats_; } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @return The count of playerSeats. */ public int getPlayerSeatsCount() { return playerSeats_.size(); } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @param index The index of the element to return. + * @return The playerSeats at the given index. */ public int getPlayerSeats(int index) { - return playerSeats_.get(index); + return playerSeats_.getInt(index); } private int playerSeatsMemoizedSerializedSize = -1; - private void initFields() { - gameId_ = 0; - startDealerPlayerId_ = 0; - playerSeats_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -26693,35 +38484,37 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, startDealerPlayerId_); } if (getPlayerSeatsList().size() > 0) { - output.writeRawVarint32(26); - output.writeRawVarint32(playerSeatsMemoizedSerializedSize); + output.writeUInt32NoTag(26); + output.writeUInt32NoTag(playerSeatsMemoizedSerializedSize); } for (int i = 0; i < playerSeats_.size(); i++) { - output.writeUInt32NoTag(playerSeats_.get(i)); + output.writeUInt32NoTag(playerSeats_.getInt(i)); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, startDealerPlayerId_); } @@ -26729,7 +38522,7 @@ public final class ProtoBuf { int dataSize = 0; for (int i = 0; i < playerSeats_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(playerSeats_.get(i)); + .computeUInt32SizeNoTag(playerSeats_.getInt(i)); } size += dataSize; if (!getPlayerSeatsList().isEmpty()) { @@ -26739,17 +38532,72 @@ public final class ProtoBuf { } playerSeatsMemoizedSerializedSize = dataSize; } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameStartInitialMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage other = (de.pokerth.protocol.ProtoBuf.GameStartInitialMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasStartDealerPlayerId() != other.hasStartDealerPlayerId()) return false; + if (hasStartDealerPlayerId()) { + if (getStartDealerPlayerId() + != other.getStartDealerPlayerId()) return false; + } + if (!getPlayerSeatsList() + .equals(other.getPlayerSeatsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasStartDealerPlayerId()) { + hash = (37 * hash) + STARTDEALERPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getStartDealerPlayerId(); + } + if (getPlayerSeatsCount() > 0) { + hash = (37 * hash) + PLAYERSEATS_FIELD_NUMBER; + hash = (53 * hash) + getPlayerSeatsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -26773,80 +38621,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameStartInitialMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameStartInitialMessage) + de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartInitialMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartInitialMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.class, de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); startDealerPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - playerSeats_ = java.util.Collections.emptyList(); + playerSeats_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartInitialMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage build() { de.pokerth.protocol.ProtoBuf.GameStartInitialMessage result = buildPartial(); if (!result.isInitialized()) { @@ -26855,27 +38744,71 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameStartInitialMessage result = new de.pokerth.protocol.ProtoBuf.GameStartInitialMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.startDealerPlayerId_ = startDealerPlayerId_; to_bitField0_ |= 0x00000002; } - result.startDealerPlayerId_ = startDealerPlayerId_; - if (((bitField0_ & 0x00000004) == 0x00000004)) { - playerSeats_ = java.util.Collections.unmodifiableList(playerSeats_); + if (((bitField0_ & 0x00000004) != 0)) { + playerSeats_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.playerSeats_ = playerSeats_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameStartInitialMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameStartInitialMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -26892,23 +38825,25 @@ public final class ProtoBuf { ensurePlayerSeatsIsMutable(); playerSeats_.addAll(other.playerSeats_); } - + onChanged(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasStartDealerPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -26918,7 +38853,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartInitialMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -26928,183 +38863,252 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. */ + @java.lang.Override public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. */ + @java.lang.Override public int getStartDealerPlayerId() { return startDealerPlayerId_; } /** * required uint32 startDealerPlayerId = 2; + * @param value The startDealerPlayerId to set. + * @return This builder for chaining. */ public Builder setStartDealerPlayerId(int value) { bitField0_ |= 0x00000002; startDealerPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 startDealerPlayerId = 2; + * @return This builder for chaining. */ public Builder clearStartDealerPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); startDealerPlayerId_ = 0; - + onChanged(); return this; } - // repeated uint32 playerSeats = 3 [packed = true]; - private java.util.List playerSeats_ = java.util.Collections.emptyList(); + private com.google.protobuf.Internal.IntList playerSeats_ = emptyIntList(); private void ensurePlayerSeatsIsMutable() { - if (!((bitField0_ & 0x00000004) == 0x00000004)) { - playerSeats_ = new java.util.ArrayList(playerSeats_); + if (!((bitField0_ & 0x00000004) != 0)) { + playerSeats_ = mutableCopy(playerSeats_); bitField0_ |= 0x00000004; } } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @return A list containing the playerSeats. */ public java.util.List getPlayerSeatsList() { - return java.util.Collections.unmodifiableList(playerSeats_); + return ((bitField0_ & 0x00000004) != 0) ? + java.util.Collections.unmodifiableList(playerSeats_) : playerSeats_; } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @return The count of playerSeats. */ public int getPlayerSeatsCount() { return playerSeats_.size(); } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @param index The index of the element to return. + * @return The playerSeats at the given index. */ public int getPlayerSeats(int index) { - return playerSeats_.get(index); + return playerSeats_.getInt(index); } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @param index The index to set the value at. + * @param value The playerSeats to set. + * @return This builder for chaining. */ public Builder setPlayerSeats( int index, int value) { ensurePlayerSeatsIsMutable(); - playerSeats_.set(index, value); - + playerSeats_.setInt(index, value); + onChanged(); return this; } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @param value The playerSeats to add. + * @return This builder for chaining. */ public Builder addPlayerSeats(int value) { ensurePlayerSeatsIsMutable(); - playerSeats_.add(value); - + playerSeats_.addInt(value); + onChanged(); return this; } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @param values The playerSeats to add. + * @return This builder for chaining. */ public Builder addAllPlayerSeats( java.lang.Iterable values) { ensurePlayerSeatsIsMutable(); - super.addAll(values, playerSeats_); - + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerSeats_); + onChanged(); return this; } /** * repeated uint32 playerSeats = 3 [packed = true]; + * @return This builder for chaining. */ public Builder clearPlayerSeats() { - playerSeats_ = java.util.Collections.emptyList(); + playerSeats_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameStartInitialMessage) } + // @@protoc_insertion_point(class_scope:GameStartInitialMessage) + private static final de.pokerth.protocol.ProtoBuf.GameStartInitialMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameStartInitialMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameStartInitialMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameStartInitialMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameStartInitialMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameStartInitialMessage) } - public interface GameStartRejoinMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameStartRejoinMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameStartRejoinMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 startDealerPlayerId = 2; /** * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. */ boolean hasStartDealerPlayerId(); /** * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. */ int getStartDealerPlayerId(); - // required uint32 handNum = 3; /** * required uint32 handNum = 3; + * @return Whether the handNum field is set. */ boolean hasHandNum(); /** * required uint32 handNum = 3; + * @return The handNum. */ int getHandNum(); - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ @@ -27118,35 +39122,56 @@ public final class ProtoBuf { * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ int getRejoinPlayerDataCount(); + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + java.util.List + getRejoinPlayerDataOrBuilderList(); + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder getRejoinPlayerDataOrBuilder( + int index); } /** * Protobuf type {@code GameStartRejoinMessage} */ public static final class GameStartRejoinMessage extends - com.google.protobuf.GeneratedMessageLite - implements GameStartRejoinMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameStartRejoinMessage) + GameStartRejoinMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use GameStartRejoinMessage.newBuilder() to construct. - private GameStartRejoinMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private GameStartRejoinMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private GameStartRejoinMessage(boolean noInit) {} - - private static final GameStartRejoinMessage defaultInstance; - public static GameStartRejoinMessage getDefaultInstance() { - return defaultInstance; + private GameStartRejoinMessage() { + rejoinPlayerData_ = java.util.Collections.emptyList(); } - public GameStartRejoinMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameStartRejoinMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private GameStartRejoinMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -27155,13 +39180,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -27178,11 +39196,19 @@ public final class ProtoBuf { break; } case 34: { - if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { rejoinPlayerData_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } - rejoinPlayerData_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.PARSER, extensionRegistry)); + rejoinPlayerData_.add( + input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.PARSER, extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -27191,49 +39217,51 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); } + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_descriptor; } - public interface RejoinPlayerDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.class, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder.class); + } + + public interface RejoinPlayerDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameStartRejoinMessage.RejoinPlayerData) + com.google.protobuf.MessageOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 1; + * @return The playerId. */ int getPlayerId(); - // required uint32 playerMoney = 2; /** * required uint32 playerMoney = 2; + * @return Whether the playerMoney field is set. */ boolean hasPlayerMoney(); /** * required uint32 playerMoney = 2; + * @return The playerMoney. */ int getPlayerMoney(); } @@ -27241,30 +39269,40 @@ public final class ProtoBuf { * Protobuf type {@code GameStartRejoinMessage.RejoinPlayerData} */ public static final class RejoinPlayerData extends - com.google.protobuf.GeneratedMessageLite - implements RejoinPlayerDataOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameStartRejoinMessage.RejoinPlayerData) + RejoinPlayerDataOrBuilder { + private static final long serialVersionUID = 0L; // Use RejoinPlayerData.newBuilder() to construct. - private RejoinPlayerData(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private RejoinPlayerData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private RejoinPlayerData(boolean noInit) {} - - private static final RejoinPlayerData defaultInstance; - public static RejoinPlayerData getDefaultInstance() { - return defaultInstance; + private RejoinPlayerData() { } - public RejoinPlayerData getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RejoinPlayerData(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private RejoinPlayerData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -27273,13 +39311,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; playerId_ = input.readUInt32(); @@ -27290,73 +39321,83 @@ public final class ProtoBuf { playerMoney_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_RejoinPlayerData_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_RejoinPlayerData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.class, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder.class); } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required uint32 playerMoney = 2; public static final int PLAYERMONEY_FIELD_NUMBER = 2; private int playerMoney_; /** * required uint32 playerMoney = 2; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerMoney = 2; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } - private void initFields() { - playerId_ = 0; - playerMoney_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -27370,42 +39411,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerMoney_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerMoney_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData other = (de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData) obj; + + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasPlayerMoney() != other.hasPlayerMoney()) return false; + if (hasPlayerMoney()) { + if (getPlayerMoney() + != other.getPlayerMoney()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasPlayerMoney()) { + hash = (37 * hash) + PLAYERMONEY_FIELD_NUMBER; + hash = (53 * hash) + getPlayerMoney(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( + java.nio.ByteBuffer 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( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -27429,61 +39520,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage.RejoinPlayerData) + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_RejoinPlayerData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_RejoinPlayerData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.class, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); playerId_ = 0; @@ -27493,14 +39621,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_RejoinPlayerData_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData build() { de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData result = buildPartial(); if (!result.isInitialized()) { @@ -27509,22 +39641,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000001; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerMoney_ = playerMoney_; to_bitField0_ |= 0x00000002; } - result.playerMoney_ = playerMoney_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData other) { if (other == de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance()) return this; if (other.hasPlayerId()) { @@ -27533,21 +39709,23 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPlayerId()) { - return false; } if (!hasPlayerMoney()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -27557,7 +39735,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -27567,144 +39745,207 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 1; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 1; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - + onChanged(); return this; } - // required uint32 playerMoney = 2; private int playerMoney_ ; /** * required uint32 playerMoney = 2; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerMoney = 2; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } /** * required uint32 playerMoney = 2; + * @param value The playerMoney to set. + * @return This builder for chaining. */ public Builder setPlayerMoney(int value) { bitField0_ |= 0x00000002; playerMoney_ = value; - + onChanged(); return this; } /** * required uint32 playerMoney = 2; + * @return This builder for chaining. */ public Builder clearPlayerMoney() { bitField0_ = (bitField0_ & ~0x00000002); playerMoney_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameStartRejoinMessage.RejoinPlayerData) } + // @@protoc_insertion_point(class_scope:GameStartRejoinMessage.RejoinPlayerData) + private static final de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData DEFAULT_INSTANCE; static { - defaultInstance = new RejoinPlayerData(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData(); + } + + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RejoinPlayerData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RejoinPlayerData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@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; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 startDealerPlayerId = 2; public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; private int startDealerPlayerId_; /** * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. */ + @java.lang.Override public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. */ + @java.lang.Override public int getStartDealerPlayerId() { return startDealerPlayerId_; } - // required uint32 handNum = 3; public static final int HANDNUM_FIELD_NUMBER = 3; private int handNum_; /** * required uint32 handNum = 3; + * @return Whether the handNum field is set. */ + @java.lang.Override public boolean hasHandNum() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 handNum = 3; + * @return The handNum. */ + @java.lang.Override 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; */ + @java.lang.Override public java.util.List getRejoinPlayerDataList() { return rejoinPlayerData_; } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ + @java.lang.Override public java.util.List getRejoinPlayerDataOrBuilderList() { return rejoinPlayerData_; @@ -27712,33 +39953,32 @@ public final class ProtoBuf { /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ + @java.lang.Override public int getRejoinPlayerDataCount() { return rejoinPlayerData_.size(); } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index) { return rejoinPlayerData_.get(index); } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder getRejoinPlayerDataOrBuilder( int index) { return rejoinPlayerData_.get(index); } - private void initFields() { - gameId_ = 0; - startDealerPlayerId_ = 0; - handNum_ = 0; - rejoinPlayerData_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -27762,38 +40002,39 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, startDealerPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, handNum_); } for (int i = 0; i < rejoinPlayerData_.size(); i++) { output.writeMessage(4, rejoinPlayerData_.get(i)); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, startDealerPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, handNum_); } @@ -27801,17 +40042,81 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, rejoinPlayerData_.get(i)); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage other = (de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasStartDealerPlayerId() != other.hasStartDealerPlayerId()) return false; + if (hasStartDealerPlayerId()) { + if (getStartDealerPlayerId() + != other.getStartDealerPlayerId()) return false; + } + if (hasHandNum() != other.hasHandNum()) return false; + if (hasHandNum()) { + if (getHandNum() + != other.getHandNum()) return false; + } + if (!getRejoinPlayerDataList() + .equals(other.getRejoinPlayerDataList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasStartDealerPlayerId()) { + hash = (37 * hash) + STARTDEALERPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getStartDealerPlayerId(); + } + if (hasHandNum()) { + hash = (37 * hash) + HANDNUM_FIELD_NUMBER; + hash = (53 * hash) + getHandNum(); + } + if (getRejoinPlayerDataCount() > 0) { + hash = (37 * hash) + REJOINPLAYERDATA_FIELD_NUMBER; + hash = (53 * hash) + getRejoinPlayerDataList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -27835,61 +40140,99 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code GameStartRejoinMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameStartRejoinMessage) + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.class, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getRejoinPlayerDataFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -27898,19 +40241,27 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000002); handNum_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - rejoinPlayerData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + if (rejoinPlayerDataBuilder_ == null) { + rejoinPlayerData_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + rejoinPlayerDataBuilder_.clear(); + } return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartRejoinMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage build() { de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage result = buildPartial(); if (!result.isInitialized()) { @@ -27919,31 +40270,79 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage buildPartial() { de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage result = new de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.startDealerPlayerId_ = startDealerPlayerId_; to_bitField0_ |= 0x00000002; } - result.startDealerPlayerId_ = startDealerPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.handNum_ = handNum_; to_bitField0_ |= 0x00000004; } - result.handNum_ = handNum_; - if (((bitField0_ & 0x00000008) == 0x00000008)) { - rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); - bitField0_ = (bitField0_ & ~0x00000008); + if (rejoinPlayerDataBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + rejoinPlayerData_ = java.util.Collections.unmodifiableList(rejoinPlayerData_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.rejoinPlayerData_ = rejoinPlayerData_; + } else { + result.rejoinPlayerData_ = rejoinPlayerDataBuilder_.build(); } - result.rejoinPlayerData_ = rejoinPlayerData_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage other) { if (other == de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -27955,41 +40354,57 @@ public final class ProtoBuf { if (other.hasHandNum()) { setHandNum(other.getHandNum()); } - if (!other.rejoinPlayerData_.isEmpty()) { - if (rejoinPlayerData_.isEmpty()) { - rejoinPlayerData_ = other.rejoinPlayerData_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.addAll(other.rejoinPlayerData_); + if (rejoinPlayerDataBuilder_ == null) { + if (!other.rejoinPlayerData_.isEmpty()) { + if (rejoinPlayerData_.isEmpty()) { + rejoinPlayerData_ = other.rejoinPlayerData_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.addAll(other.rejoinPlayerData_); + } + onChanged(); + } + } else { + if (!other.rejoinPlayerData_.isEmpty()) { + if (rejoinPlayerDataBuilder_.isEmpty()) { + rejoinPlayerDataBuilder_.dispose(); + rejoinPlayerDataBuilder_ = null; + rejoinPlayerData_ = other.rejoinPlayerData_; + bitField0_ = (bitField0_ & ~0x00000008); + rejoinPlayerDataBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRejoinPlayerDataFieldBuilder() : null; + } else { + rejoinPlayerDataBuilder_.addAllMessages(other.rejoinPlayerData_); + } } - } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasStartDealerPlayerId()) { - return false; } if (!hasHandNum()) { - return false; } for (int i = 0; i < getRejoinPlayerDataCount(); i++) { if (!getRejoinPlayerData(i).isInitialized()) { - return false; } } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -27999,7 +40414,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -28009,144 +40424,180 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 startDealerPlayerId = 2; private int startDealerPlayerId_ ; /** * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. */ + @java.lang.Override public boolean hasStartDealerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. */ + @java.lang.Override public int getStartDealerPlayerId() { return startDealerPlayerId_; } /** * required uint32 startDealerPlayerId = 2; + * @param value The startDealerPlayerId to set. + * @return This builder for chaining. */ public Builder setStartDealerPlayerId(int value) { bitField0_ |= 0x00000002; startDealerPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 startDealerPlayerId = 2; + * @return This builder for chaining. */ public Builder clearStartDealerPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); startDealerPlayerId_ = 0; - + onChanged(); return this; } - // required uint32 handNum = 3; private int handNum_ ; /** * required uint32 handNum = 3; + * @return Whether the handNum field is set. */ + @java.lang.Override public boolean hasHandNum() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 handNum = 3; + * @return The handNum. */ + @java.lang.Override public int getHandNum() { return handNum_; } /** * required uint32 handNum = 3; + * @param value The handNum to set. + * @return This builder for chaining. */ public Builder setHandNum(int value) { bitField0_ |= 0x00000004; handNum_ = value; - + onChanged(); return this; } /** * required uint32 handNum = 3; + * @return This builder for chaining. */ public Builder clearHandNum() { bitField0_ = (bitField0_ & ~0x00000004); handNum_ = 0; - + onChanged(); return this; } - // repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; private java.util.List rejoinPlayerData_ = java.util.Collections.emptyList(); private void ensureRejoinPlayerDataIsMutable() { - if (!((bitField0_ & 0x00000008) == 0x00000008)) { + if (!((bitField0_ & 0x00000008) != 0)) { rejoinPlayerData_ = new java.util.ArrayList(rejoinPlayerData_); bitField0_ |= 0x00000008; } } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder> rejoinPlayerDataBuilder_; + /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ public java.util.List getRejoinPlayerDataList() { - return java.util.Collections.unmodifiableList(rejoinPlayerData_); + if (rejoinPlayerDataBuilder_ == null) { + return java.util.Collections.unmodifiableList(rejoinPlayerData_); + } else { + return rejoinPlayerDataBuilder_.getMessageList(); + } } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ public int getRejoinPlayerDataCount() { - return rejoinPlayerData_.size(); + if (rejoinPlayerDataBuilder_ == null) { + return rejoinPlayerData_.size(); + } else { + return rejoinPlayerDataBuilder_.getCount(); + } } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData getRejoinPlayerData(int index) { - return rejoinPlayerData_.get(index); + if (rejoinPlayerDataBuilder_ == null) { + return rejoinPlayerData_.get(index); + } else { + return rejoinPlayerDataBuilder_.getMessage(index); + } } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ public Builder setRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { - if (value == null) { - throw new NullPointerException(); + if (rejoinPlayerDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.set(index, value); + onChanged(); + } else { + rejoinPlayerDataBuilder_.setMessage(index, value); } - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.set(index, value); - return this; } /** @@ -28154,21 +40605,29 @@ public final class ProtoBuf { */ public Builder setRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.set(index, builderForValue.build()); - + if (rejoinPlayerDataBuilder_ == null) { + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.set(index, builderForValue.build()); + onChanged(); + } else { + rejoinPlayerDataBuilder_.setMessage(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(); + if (rejoinPlayerDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.add(value); + onChanged(); + } else { + rejoinPlayerDataBuilder_.addMessage(value); } - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.add(value); - return this; } /** @@ -28176,12 +40635,16 @@ public final class ProtoBuf { */ public Builder addRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData value) { - if (value == null) { - throw new NullPointerException(); + if (rejoinPlayerDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.add(index, value); + onChanged(); + } else { + rejoinPlayerDataBuilder_.addMessage(index, value); } - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.add(index, value); - return this; } /** @@ -28189,9 +40652,13 @@ public final class ProtoBuf { */ public Builder addRejoinPlayerData( de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.add(builderForValue.build()); - + if (rejoinPlayerDataBuilder_ == null) { + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.add(builderForValue.build()); + onChanged(); + } else { + rejoinPlayerDataBuilder_.addMessage(builderForValue.build()); + } return this; } /** @@ -28199,9 +40666,13 @@ public final class ProtoBuf { */ public Builder addRejoinPlayerData( int index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder builderForValue) { - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.add(index, builderForValue.build()); - + if (rejoinPlayerDataBuilder_ == null) { + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.add(index, builderForValue.build()); + onChanged(); + } else { + rejoinPlayerDataBuilder_.addMessage(index, builderForValue.build()); + } return this; } /** @@ -28209,136 +40680,259 @@ public final class ProtoBuf { */ public Builder addAllRejoinPlayerData( java.lang.Iterable values) { - ensureRejoinPlayerDataIsMutable(); - super.addAll(values, rejoinPlayerData_); - + if (rejoinPlayerDataBuilder_ == null) { + ensureRejoinPlayerDataIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rejoinPlayerData_); + onChanged(); + } else { + rejoinPlayerDataBuilder_.addAllMessages(values); + } return this; } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ public Builder clearRejoinPlayerData() { - rejoinPlayerData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - + if (rejoinPlayerDataBuilder_ == null) { + rejoinPlayerData_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + rejoinPlayerDataBuilder_.clear(); + } return this; } /** * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; */ public Builder removeRejoinPlayerData(int index) { - ensureRejoinPlayerDataIsMutable(); - rejoinPlayerData_.remove(index); - + if (rejoinPlayerDataBuilder_ == null) { + ensureRejoinPlayerDataIsMutable(); + rejoinPlayerData_.remove(index); + onChanged(); + } else { + rejoinPlayerDataBuilder_.remove(index); + } return this; } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder getRejoinPlayerDataBuilder( + int index) { + return getRejoinPlayerDataFieldBuilder().getBuilder(index); + } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder getRejoinPlayerDataOrBuilder( + int index) { + if (rejoinPlayerDataBuilder_ == null) { + return rejoinPlayerData_.get(index); } else { + return rejoinPlayerDataBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + public java.util.List + getRejoinPlayerDataOrBuilderList() { + if (rejoinPlayerDataBuilder_ != null) { + return rejoinPlayerDataBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(rejoinPlayerData_); + } + } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder addRejoinPlayerDataBuilder() { + return getRejoinPlayerDataFieldBuilder().addBuilder( + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance()); + } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder addRejoinPlayerDataBuilder( + int index) { + return getRejoinPlayerDataFieldBuilder().addBuilder( + index, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.getDefaultInstance()); + } + /** + * repeated .GameStartRejoinMessage.RejoinPlayerData rejoinPlayerData = 4; + */ + public java.util.List + getRejoinPlayerDataBuilderList() { + return getRejoinPlayerDataFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder> + getRejoinPlayerDataFieldBuilder() { + if (rejoinPlayerDataBuilder_ == null) { + rejoinPlayerDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerData.Builder, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.RejoinPlayerDataOrBuilder>( + rejoinPlayerData_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + rejoinPlayerData_ = null; + } + return rejoinPlayerDataBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:GameStartRejoinMessage) } + // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) + private static final de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage DEFAULT_INSTANCE; static { - defaultInstance = new GameStartRejoinMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameStartRejoinMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameStartRejoinMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:GameStartRejoinMessage) } - public interface HandStartMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface GameStartReentryMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameStartReentryMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // optional .HandStartMessage.PlainCards plainCards = 2; /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. */ - boolean hasPlainCards(); + boolean hasStartDealerPlayerId(); /** - * optional .HandStartMessage.PlainCards plainCards = 2; + * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. */ - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards(); + int getStartDealerPlayerId(); - // optional bytes encryptedCards = 3; /** - * optional bytes encryptedCards = 3; + * required uint32 handNum = 3; + * @return Whether the handNum field is set. */ - boolean hasEncryptedCards(); + boolean hasHandNum(); /** - * optional bytes encryptedCards = 3; + * required uint32 handNum = 3; + * @return The handNum. */ - com.google.protobuf.ByteString getEncryptedCards(); + int getHandNum(); - // required uint32 smallBlind = 4; /** - * required uint32 smallBlind = 4; + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; */ - boolean hasSmallBlind(); + java.util.List + getReentryPlayerDataList(); /** - * required uint32 smallBlind = 4; + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; */ - int getSmallBlind(); - - // repeated .NetPlayerState seatStates = 5; + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData getReentryPlayerData(int index); /** - * repeated .NetPlayerState seatStates = 5; + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; */ - java.util.List getSeatStatesList(); + int getReentryPlayerDataCount(); /** - * repeated .NetPlayerState seatStates = 5; + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; */ - int getSeatStatesCount(); + java.util.List + getReentryPlayerDataOrBuilderList(); /** - * repeated .NetPlayerState seatStates = 5; + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; */ - de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index); - - // optional uint32 dealerPlayerId = 6; - /** - * optional uint32 dealerPlayerId = 6; - */ - boolean hasDealerPlayerId(); - /** - * optional uint32 dealerPlayerId = 6; - */ - int getDealerPlayerId(); + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerDataOrBuilder getReentryPlayerDataOrBuilder( + int index); } /** - * Protobuf type {@code HandStartMessage} + * Protobuf type {@code GameStartReentryMessage} */ - public static final class HandStartMessage extends - com.google.protobuf.GeneratedMessageLite - implements HandStartMessageOrBuilder { - // Use HandStartMessage.newBuilder() to construct. - private HandStartMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + public static final class GameStartReentryMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameStartReentryMessage) + GameStartReentryMessageOrBuilder { + private static final long serialVersionUID = 0L; + // Use GameStartReentryMessage.newBuilder() to construct. + private GameStartReentryMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private HandStartMessage(boolean noInit) {} - - private static final HandStartMessage defaultInstance; - public static HandStartMessage getDefaultInstance() { - return defaultInstance; + private GameStartReentryMessage() { + reentryPlayerData_ = java.util.Collections.emptyList(); } - public HandStartMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GameStartReentryMessage(); } - private HandStartMessage( + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GameStartReentryMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -28347,13 +40941,1787 @@ public final class ProtoBuf { case 0: done = true; 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: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + reentryPlayerData_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + reentryPlayerData_.add( + input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.PARSER, extensionRegistry)); + break; + } default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000008) != 0)) { + reentryPlayerData_ = java.util.Collections.unmodifiableList(reentryPlayerData_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.class, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder.class); + } + + public interface ReentryPlayerDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:GameStartReentryMessage.ReentryPlayerData) + com.google.protobuf.MessageOrBuilder { + + /** + * required uint32 playerId = 1; + * @return Whether the playerId field is set. + */ + boolean hasPlayerId(); + /** + * required uint32 playerId = 1; + * @return The playerId. + */ + int getPlayerId(); + + /** + * required uint32 playerMoney = 2; + * @return Whether the playerMoney field is set. + */ + boolean hasPlayerMoney(); + /** + * required uint32 playerMoney = 2; + * @return The playerMoney. + */ + int getPlayerMoney(); + } + /** + * Protobuf type {@code GameStartReentryMessage.ReentryPlayerData} + */ + public static final class ReentryPlayerData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:GameStartReentryMessage.ReentryPlayerData) + ReentryPlayerDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use ReentryPlayerData.newBuilder() to construct. + private ReentryPlayerData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReentryPlayerData() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReentryPlayerData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReentryPlayerData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + playerId_ = input.readUInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + playerMoney_ = input.readUInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_ReentryPlayerData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_ReentryPlayerData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.class, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder.class); + } + + private int bitField0_; + public static final int PLAYERID_FIELD_NUMBER = 1; + private int playerId_; + /** + * required uint32 playerId = 1; + * @return Whether the playerId field is set. + */ + @java.lang.Override + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required uint32 playerId = 1; + * @return The playerId. + */ + @java.lang.Override + public int getPlayerId() { + return playerId_; + } + + public static final int PLAYERMONEY_FIELD_NUMBER = 2; + private int playerMoney_; + /** + * required uint32 playerMoney = 2; + * @return Whether the playerMoney field is set. + */ + @java.lang.Override + public boolean hasPlayerMoney() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * required uint32 playerMoney = 2; + * @return The playerMoney. + */ + @java.lang.Override + public int getPlayerMoney() { + return playerMoney_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + if (!hasPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasPlayerMoney()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, playerId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(2, playerMoney_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, playerId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, playerMoney_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData other = (de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData) obj; + + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasPlayerMoney() != other.hasPlayerMoney()) return false; + if (hasPlayerMoney()) { + if (getPlayerMoney() + != other.getPlayerMoney()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasPlayerMoney()) { + hash = (37 * hash) + PLAYERMONEY_FIELD_NUMBER; + hash = (53 * hash) + getPlayerMoney(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData 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.GameStartReentryMessage.ReentryPlayerData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code GameStartReentryMessage.ReentryPlayerData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameStartReentryMessage.ReentryPlayerData) + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_ReentryPlayerData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_ReentryPlayerData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.class, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder.class); + } + + // Construct using de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + playerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + playerMoney_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_ReentryPlayerData_descriptor; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.getDefaultInstance(); + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData build() { + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData buildPartial() { + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData result = new de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.playerId_ = playerId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerMoney_ = playerMoney_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData other) { + if (other == de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.getDefaultInstance()) return this; + if (other.hasPlayerId()) { + setPlayerId(other.getPlayerId()); + } + if (other.hasPlayerMoney()) { + setPlayerMoney(other.getPlayerMoney()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + if (!hasPlayerId()) { + return false; + } + if (!hasPlayerMoney()) { + return false; + } + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int playerId_ ; + /** + * required uint32 playerId = 1; + * @return Whether the playerId field is set. + */ + @java.lang.Override + public boolean hasPlayerId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required uint32 playerId = 1; + * @return The playerId. + */ + @java.lang.Override + public int getPlayerId() { + return playerId_; + } + /** + * required uint32 playerId = 1; + * @param value The playerId to set. + * @return This builder for chaining. + */ + public Builder setPlayerId(int value) { + bitField0_ |= 0x00000001; + playerId_ = value; + onChanged(); + return this; + } + /** + * required uint32 playerId = 1; + * @return This builder for chaining. + */ + public Builder clearPlayerId() { + bitField0_ = (bitField0_ & ~0x00000001); + playerId_ = 0; + onChanged(); + return this; + } + + private int playerMoney_ ; + /** + * required uint32 playerMoney = 2; + * @return Whether the playerMoney field is set. + */ + @java.lang.Override + public boolean hasPlayerMoney() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * required uint32 playerMoney = 2; + * @return The playerMoney. + */ + @java.lang.Override + public int getPlayerMoney() { + return playerMoney_; + } + /** + * required uint32 playerMoney = 2; + * @param value The playerMoney to set. + * @return This builder for chaining. + */ + public Builder setPlayerMoney(int value) { + bitField0_ |= 0x00000002; + playerMoney_ = value; + onChanged(); + return this; + } + /** + * required uint32 playerMoney = 2; + * @return This builder for chaining. + */ + public Builder clearPlayerMoney() { + bitField0_ = (bitField0_ & ~0x00000002); + playerMoney_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:GameStartReentryMessage.ReentryPlayerData) + } + + // @@protoc_insertion_point(class_scope:GameStartReentryMessage.ReentryPlayerData) + private static final de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData(); + } + + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReentryPlayerData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReentryPlayerData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int bitField0_; + public static final int GAMEID_FIELD_NUMBER = 1; + private int gameId_; + /** + * required uint32 gameId = 1; + * @return Whether the gameId field is set. + */ + @java.lang.Override + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required uint32 gameId = 1; + * @return The gameId. + */ + @java.lang.Override + public int getGameId() { + return gameId_; + } + + public static final int STARTDEALERPLAYERID_FIELD_NUMBER = 2; + private int startDealerPlayerId_; + /** + * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. + */ + @java.lang.Override + public boolean hasStartDealerPlayerId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. + */ + @java.lang.Override + public int getStartDealerPlayerId() { + return startDealerPlayerId_; + } + + public static final int HANDNUM_FIELD_NUMBER = 3; + private int handNum_; + /** + * required uint32 handNum = 3; + * @return Whether the handNum field is set. + */ + @java.lang.Override + public boolean hasHandNum() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * required uint32 handNum = 3; + * @return The handNum. + */ + @java.lang.Override + public int getHandNum() { + return handNum_; + } + + public static final int REENTRYPLAYERDATA_FIELD_NUMBER = 4; + private java.util.List reentryPlayerData_; + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + @java.lang.Override + public java.util.List getReentryPlayerDataList() { + return reentryPlayerData_; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + @java.lang.Override + public java.util.List + getReentryPlayerDataOrBuilderList() { + return reentryPlayerData_; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + @java.lang.Override + public int getReentryPlayerDataCount() { + return reentryPlayerData_.size(); + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData getReentryPlayerData(int index) { + return reentryPlayerData_.get(index); + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerDataOrBuilder getReentryPlayerDataOrBuilder( + int index) { + return reentryPlayerData_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + if (!hasGameId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasStartDealerPlayerId()) { + memoizedIsInitialized = 0; + return false; + } + if (!hasHandNum()) { + memoizedIsInitialized = 0; + return false; + } + for (int i = 0; i < getReentryPlayerDataCount(); i++) { + if (!getReentryPlayerData(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeUInt32(1, gameId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(2, startDealerPlayerId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeUInt32(3, handNum_); + } + for (int i = 0; i < reentryPlayerData_.size(); i++) { + output.writeMessage(4, reentryPlayerData_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(1, gameId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(2, startDealerPlayerId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, handNum_); + } + for (int i = 0; i < reentryPlayerData_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, reentryPlayerData_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.GameStartReentryMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage other = (de.pokerth.protocol.ProtoBuf.GameStartReentryMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasStartDealerPlayerId() != other.hasStartDealerPlayerId()) return false; + if (hasStartDealerPlayerId()) { + if (getStartDealerPlayerId() + != other.getStartDealerPlayerId()) return false; + } + if (hasHandNum() != other.hasHandNum()) return false; + if (hasHandNum()) { + if (getHandNum() + != other.getHandNum()) return false; + } + if (!getReentryPlayerDataList() + .equals(other.getReentryPlayerDataList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasStartDealerPlayerId()) { + hash = (37 * hash) + STARTDEALERPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getStartDealerPlayerId(); + } + if (hasHandNum()) { + hash = (37 * hash) + HANDNUM_FIELD_NUMBER; + hash = (53 * hash) + getHandNum(); + } + if (getReentryPlayerDataCount() > 0) { + hash = (37 * hash) + REENTRYPLAYERDATA_FIELD_NUMBER; + hash = (53 * hash) + getReentryPlayerDataList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage 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.GameStartReentryMessage parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code GameStartReentryMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:GameStartReentryMessage) + de.pokerth.protocol.ProtoBuf.GameStartReentryMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.class, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder.class); + } + + // Construct using de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getReentryPlayerDataFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + gameId_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + startDealerPlayerId_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + handNum_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + if (reentryPlayerDataBuilder_ == null) { + reentryPlayerData_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + reentryPlayerDataBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_GameStartReentryMessage_descriptor; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage getDefaultInstanceForType() { + return de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.getDefaultInstance(); + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage build() { + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage buildPartial() { + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage result = new de.pokerth.protocol.ProtoBuf.GameStartReentryMessage(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.startDealerPlayerId_ = startDealerPlayerId_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.handNum_ = handNum_; + to_bitField0_ |= 0x00000004; + } + if (reentryPlayerDataBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + reentryPlayerData_ = java.util.Collections.unmodifiableList(reentryPlayerData_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.reentryPlayerData_ = reentryPlayerData_; + } else { + result.reentryPlayerData_ = reentryPlayerDataBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.GameStartReentryMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.GameStartReentryMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage other) { + if (other == de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.getDefaultInstance()) return this; + if (other.hasGameId()) { + setGameId(other.getGameId()); + } + if (other.hasStartDealerPlayerId()) { + setStartDealerPlayerId(other.getStartDealerPlayerId()); + } + if (other.hasHandNum()) { + setHandNum(other.getHandNum()); + } + if (reentryPlayerDataBuilder_ == null) { + if (!other.reentryPlayerData_.isEmpty()) { + if (reentryPlayerData_.isEmpty()) { + reentryPlayerData_ = other.reentryPlayerData_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.addAll(other.reentryPlayerData_); + } + onChanged(); + } + } else { + if (!other.reentryPlayerData_.isEmpty()) { + if (reentryPlayerDataBuilder_.isEmpty()) { + reentryPlayerDataBuilder_.dispose(); + reentryPlayerDataBuilder_ = null; + reentryPlayerData_ = other.reentryPlayerData_; + bitField0_ = (bitField0_ & ~0x00000008); + reentryPlayerDataBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getReentryPlayerDataFieldBuilder() : null; + } else { + reentryPlayerDataBuilder_.addAllMessages(other.reentryPlayerData_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + if (!hasGameId()) { + return false; + } + if (!hasStartDealerPlayerId()) { + return false; + } + if (!hasHandNum()) { + return false; + } + for (int i = 0; i < getReentryPlayerDataCount(); i++) { + if (!getReentryPlayerData(i).isInitialized()) { + return false; + } + } + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (de.pokerth.protocol.ProtoBuf.GameStartReentryMessage) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private int gameId_ ; + /** + * required uint32 gameId = 1; + * @return Whether the gameId field is set. + */ + @java.lang.Override + public boolean hasGameId() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required uint32 gameId = 1; + * @return The gameId. + */ + @java.lang.Override + public int getGameId() { + return gameId_; + } + /** + * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. + */ + public Builder setGameId(int value) { + bitField0_ |= 0x00000001; + gameId_ = value; + onChanged(); + return this; + } + /** + * required uint32 gameId = 1; + * @return This builder for chaining. + */ + public Builder clearGameId() { + bitField0_ = (bitField0_ & ~0x00000001); + gameId_ = 0; + onChanged(); + return this; + } + + private int startDealerPlayerId_ ; + /** + * required uint32 startDealerPlayerId = 2; + * @return Whether the startDealerPlayerId field is set. + */ + @java.lang.Override + public boolean hasStartDealerPlayerId() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * required uint32 startDealerPlayerId = 2; + * @return The startDealerPlayerId. + */ + @java.lang.Override + public int getStartDealerPlayerId() { + return startDealerPlayerId_; + } + /** + * required uint32 startDealerPlayerId = 2; + * @param value The startDealerPlayerId to set. + * @return This builder for chaining. + */ + public Builder setStartDealerPlayerId(int value) { + bitField0_ |= 0x00000002; + startDealerPlayerId_ = value; + onChanged(); + return this; + } + /** + * required uint32 startDealerPlayerId = 2; + * @return This builder for chaining. + */ + public Builder clearStartDealerPlayerId() { + bitField0_ = (bitField0_ & ~0x00000002); + startDealerPlayerId_ = 0; + onChanged(); + return this; + } + + private int handNum_ ; + /** + * required uint32 handNum = 3; + * @return Whether the handNum field is set. + */ + @java.lang.Override + public boolean hasHandNum() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * required uint32 handNum = 3; + * @return The handNum. + */ + @java.lang.Override + public int getHandNum() { + return handNum_; + } + /** + * required uint32 handNum = 3; + * @param value The handNum to set. + * @return This builder for chaining. + */ + public Builder setHandNum(int value) { + bitField0_ |= 0x00000004; + handNum_ = value; + onChanged(); + return this; + } + /** + * required uint32 handNum = 3; + * @return This builder for chaining. + */ + public Builder clearHandNum() { + bitField0_ = (bitField0_ & ~0x00000004); + handNum_ = 0; + onChanged(); + return this; + } + + private java.util.List reentryPlayerData_ = + java.util.Collections.emptyList(); + private void ensureReentryPlayerDataIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + reentryPlayerData_ = new java.util.ArrayList(reentryPlayerData_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerDataOrBuilder> reentryPlayerDataBuilder_; + + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public java.util.List getReentryPlayerDataList() { + if (reentryPlayerDataBuilder_ == null) { + return java.util.Collections.unmodifiableList(reentryPlayerData_); + } else { + return reentryPlayerDataBuilder_.getMessageList(); + } + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public int getReentryPlayerDataCount() { + if (reentryPlayerDataBuilder_ == null) { + return reentryPlayerData_.size(); + } else { + return reentryPlayerDataBuilder_.getCount(); + } + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData getReentryPlayerData(int index) { + if (reentryPlayerDataBuilder_ == null) { + return reentryPlayerData_.get(index); + } else { + return reentryPlayerDataBuilder_.getMessage(index); + } + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder setReentryPlayerData( + int index, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData value) { + if (reentryPlayerDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.set(index, value); + onChanged(); + } else { + reentryPlayerDataBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder setReentryPlayerData( + int index, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder builderForValue) { + if (reentryPlayerDataBuilder_ == null) { + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.set(index, builderForValue.build()); + onChanged(); + } else { + reentryPlayerDataBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder addReentryPlayerData(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData value) { + if (reentryPlayerDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.add(value); + onChanged(); + } else { + reentryPlayerDataBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder addReentryPlayerData( + int index, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData value) { + if (reentryPlayerDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.add(index, value); + onChanged(); + } else { + reentryPlayerDataBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder addReentryPlayerData( + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder builderForValue) { + if (reentryPlayerDataBuilder_ == null) { + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.add(builderForValue.build()); + onChanged(); + } else { + reentryPlayerDataBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder addReentryPlayerData( + int index, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder builderForValue) { + if (reentryPlayerDataBuilder_ == null) { + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.add(index, builderForValue.build()); + onChanged(); + } else { + reentryPlayerDataBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder addAllReentryPlayerData( + java.lang.Iterable values) { + if (reentryPlayerDataBuilder_ == null) { + ensureReentryPlayerDataIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, reentryPlayerData_); + onChanged(); + } else { + reentryPlayerDataBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder clearReentryPlayerData() { + if (reentryPlayerDataBuilder_ == null) { + reentryPlayerData_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + reentryPlayerDataBuilder_.clear(); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public Builder removeReentryPlayerData(int index) { + if (reentryPlayerDataBuilder_ == null) { + ensureReentryPlayerDataIsMutable(); + reentryPlayerData_.remove(index); + onChanged(); + } else { + reentryPlayerDataBuilder_.remove(index); + } + return this; + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder getReentryPlayerDataBuilder( + int index) { + return getReentryPlayerDataFieldBuilder().getBuilder(index); + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerDataOrBuilder getReentryPlayerDataOrBuilder( + int index) { + if (reentryPlayerDataBuilder_ == null) { + return reentryPlayerData_.get(index); } else { + return reentryPlayerDataBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public java.util.List + getReentryPlayerDataOrBuilderList() { + if (reentryPlayerDataBuilder_ != null) { + return reentryPlayerDataBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(reentryPlayerData_); + } + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder addReentryPlayerDataBuilder() { + return getReentryPlayerDataFieldBuilder().addBuilder( + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.getDefaultInstance()); + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder addReentryPlayerDataBuilder( + int index) { + return getReentryPlayerDataFieldBuilder().addBuilder( + index, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.getDefaultInstance()); + } + /** + * repeated .GameStartReentryMessage.ReentryPlayerData reentryPlayerData = 4; + */ + public java.util.List + getReentryPlayerDataBuilderList() { + return getReentryPlayerDataFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerDataOrBuilder> + getReentryPlayerDataFieldBuilder() { + if (reentryPlayerDataBuilder_ == null) { + reentryPlayerDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerData.Builder, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.ReentryPlayerDataOrBuilder>( + reentryPlayerData_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + reentryPlayerData_ = null; + } + return reentryPlayerDataBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:GameStartReentryMessage) + } + + // @@protoc_insertion_point(class_scope:GameStartReentryMessage) + private static final de.pokerth.protocol.ProtoBuf.GameStartReentryMessage DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.GameStartReentryMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.GameStartReentryMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GameStartReentryMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GameStartReentryMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface HandStartMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:HandStartMessage) + com.google.protobuf.MessageOrBuilder { + + /** + * required uint32 gameId = 1; + * @return Whether the gameId field is set. + */ + boolean hasGameId(); + /** + * required uint32 gameId = 1; + * @return The gameId. + */ + int getGameId(); + + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + * @return Whether the plainCards field is set. + */ + boolean hasPlainCards(); + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + * @return The plainCards. + */ + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards(); + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder getPlainCardsOrBuilder(); + + /** + * optional bytes encryptedCards = 3; + * @return Whether the encryptedCards field is set. + */ + boolean hasEncryptedCards(); + /** + * optional bytes encryptedCards = 3; + * @return The encryptedCards. + */ + com.google.protobuf.ByteString getEncryptedCards(); + + /** + * required uint32 smallBlind = 4; + * @return Whether the smallBlind field is set. + */ + boolean hasSmallBlind(); + /** + * required uint32 smallBlind = 4; + * @return The smallBlind. + */ + int getSmallBlind(); + + /** + * repeated .NetPlayerState seatStates = 5; + * @return A list containing the seatStates. + */ + java.util.List getSeatStatesList(); + /** + * repeated .NetPlayerState seatStates = 5; + * @return The count of seatStates. + */ + int getSeatStatesCount(); + /** + * repeated .NetPlayerState seatStates = 5; + * @param index The index of the element to return. + * @return The seatStates at the given index. + */ + de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index); + + /** + * optional uint32 dealerPlayerId = 6; + * @return Whether the dealerPlayerId field is set. + */ + boolean hasDealerPlayerId(); + /** + * optional uint32 dealerPlayerId = 6; + * @return The dealerPlayerId. + */ + int getDealerPlayerId(); + } + /** + * Protobuf type {@code HandStartMessage} + */ + public static final class HandStartMessage extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:HandStartMessage) + HandStartMessageOrBuilder { + private static final long serialVersionUID = 0L; + // Use HandStartMessage.newBuilder() to construct. + private HandStartMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private HandStartMessage() { + encryptedCards_ = com.google.protobuf.ByteString.EMPTY; + seatStates_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new HandStartMessage(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private HandStartMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -28361,7 +42729,7 @@ public final class ProtoBuf { } case 18: { de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { subBuilder = plainCards_.toBuilder(); } plainCards_ = input.readMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.PARSER, extensionRegistry); @@ -28384,13 +42752,16 @@ public final class ProtoBuf { } case 40: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") 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(); + if (value == null) { + unknownFields.mergeVarintField(5, rawValue); + } else { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } - seatStates_.add(value); + seatStates_.add(rawValue); } break; } @@ -28399,13 +42770,16 @@ public final class ProtoBuf { int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") 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(); + if (value == null) { + unknownFields.mergeVarintField(5, rawValue); + } else { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + seatStates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } - seatStates_.add(value); + seatStates_.add(rawValue); } } input.popLimit(oldLimit); @@ -28416,55 +42790,64 @@ public final class ProtoBuf { dealerPlayerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { seatStates_ = java.util.Collections.unmodifiableList(seatStates_); } + this.unknownFields = unknownFields.build(); 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_descriptor; } - public interface PlainCardsOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.HandStartMessage.class, de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder.class); + } + + public interface PlainCardsOrBuilder extends + // @@protoc_insertion_point(interface_extends:HandStartMessage.PlainCards) + com.google.protobuf.MessageOrBuilder { - // required uint32 plainCard1 = 1; /** * required uint32 plainCard1 = 1; + * @return Whether the plainCard1 field is set. */ boolean hasPlainCard1(); /** * required uint32 plainCard1 = 1; + * @return The plainCard1. */ int getPlainCard1(); - // required uint32 plainCard2 = 2; /** * required uint32 plainCard2 = 2; + * @return Whether the plainCard2 field is set. */ boolean hasPlainCard2(); /** * required uint32 plainCard2 = 2; + * @return The plainCard2. */ int getPlainCard2(); } @@ -28472,30 +42855,40 @@ public final class ProtoBuf { * Protobuf type {@code HandStartMessage.PlainCards} */ public static final class PlainCards extends - com.google.protobuf.GeneratedMessageLite - implements PlainCardsOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:HandStartMessage.PlainCards) + PlainCardsOrBuilder { + private static final long serialVersionUID = 0L; // Use PlainCards.newBuilder() to construct. - private PlainCards(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlainCards(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlainCards(boolean noInit) {} - - private static final PlainCards defaultInstance; - public static PlainCards getDefaultInstance() { - return defaultInstance; + private PlainCards() { } - public PlainCards getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlainCards(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlainCards( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -28504,13 +42897,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; plainCard1_ = input.readUInt32(); @@ -28521,73 +42907,83 @@ public final class ProtoBuf { plainCard2_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_PlainCards_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_PlainCards_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.class, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder.class); } private int bitField0_; - // required uint32 plainCard1 = 1; public static final int PLAINCARD1_FIELD_NUMBER = 1; private int plainCard1_; /** * required uint32 plainCard1 = 1; + * @return Whether the plainCard1 field is set. */ + @java.lang.Override public boolean hasPlainCard1() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 plainCard1 = 1; + * @return The plainCard1. */ + @java.lang.Override public int getPlainCard1() { return plainCard1_; } - // required uint32 plainCard2 = 2; public static final int PLAINCARD2_FIELD_NUMBER = 2; private int plainCard2_; /** * required uint32 plainCard2 = 2; + * @return Whether the plainCard2 field is set. */ + @java.lang.Override public boolean hasPlainCard2() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 plainCard2 = 2; + * @return The plainCard2. */ + @java.lang.Override public int getPlainCard2() { return plainCard2_; } - private void initFields() { - plainCard1_ = 0; - plainCard2_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlainCard1()) { memoizedIsInitialized = 0; @@ -28601,42 +42997,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, plainCard1_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, plainCard2_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, plainCard1_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, plainCard2_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards other = (de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards) obj; + + if (hasPlainCard1() != other.hasPlainCard1()) return false; + if (hasPlainCard1()) { + if (getPlainCard1() + != other.getPlainCard1()) return false; + } + if (hasPlainCard2() != other.hasPlainCard2()) return false; + if (hasPlainCard2()) { + if (getPlainCard2() + != other.getPlainCard2()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlainCard1()) { + hash = (37 * hash) + PLAINCARD1_FIELD_NUMBER; + hash = (53 * hash) + getPlainCard1(); + } + if (hasPlainCard2()) { + hash = (37 * hash) + PLAINCARD2_FIELD_NUMBER; + hash = (53 * hash) + getPlainCard2(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( + java.nio.ByteBuffer 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( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -28660,61 +43106,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:HandStartMessage.PlainCards) + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_PlainCards_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_PlainCards_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.class, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); plainCard1_ = 0; @@ -28724,14 +43207,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_PlainCards_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards build() { de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards result = buildPartial(); if (!result.isInitialized()) { @@ -28740,22 +43227,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.plainCard1_ = plainCard1_; to_bitField0_ |= 0x00000001; } - result.plainCard1_ = plainCard1_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.plainCard2_ = plainCard2_; to_bitField0_ |= 0x00000002; } - result.plainCard2_ = plainCard2_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards other) { if (other == de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance()) return this; if (other.hasPlainCard1()) { @@ -28764,21 +43295,23 @@ public final class ProtoBuf { if (other.hasPlainCard2()) { setPlainCard2(other.getPlainCard2()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPlainCard1()) { - return false; } if (!hasPlainCard2()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -28788,7 +43321,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -28798,198 +43331,284 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 plainCard1 = 1; private int plainCard1_ ; /** * required uint32 plainCard1 = 1; + * @return Whether the plainCard1 field is set. */ + @java.lang.Override public boolean hasPlainCard1() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 plainCard1 = 1; + * @return The plainCard1. */ + @java.lang.Override public int getPlainCard1() { return plainCard1_; } /** * required uint32 plainCard1 = 1; + * @param value The plainCard1 to set. + * @return This builder for chaining. */ public Builder setPlainCard1(int value) { bitField0_ |= 0x00000001; plainCard1_ = value; - + onChanged(); return this; } /** * required uint32 plainCard1 = 1; + * @return This builder for chaining. */ public Builder clearPlainCard1() { bitField0_ = (bitField0_ & ~0x00000001); plainCard1_ = 0; - + onChanged(); return this; } - // required uint32 plainCard2 = 2; private int plainCard2_ ; /** * required uint32 plainCard2 = 2; + * @return Whether the plainCard2 field is set. */ + @java.lang.Override public boolean hasPlainCard2() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 plainCard2 = 2; + * @return The plainCard2. */ + @java.lang.Override public int getPlainCard2() { return plainCard2_; } /** * required uint32 plainCard2 = 2; + * @param value The plainCard2 to set. + * @return This builder for chaining. */ public Builder setPlainCard2(int value) { bitField0_ |= 0x00000002; plainCard2_ = value; - + onChanged(); return this; } /** * required uint32 plainCard2 = 2; + * @return This builder for chaining. */ public Builder clearPlainCard2() { bitField0_ = (bitField0_ & ~0x00000002); plainCard2_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:HandStartMessage.PlainCards) } + // @@protoc_insertion_point(class_scope:HandStartMessage.PlainCards) + private static final de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards DEFAULT_INSTANCE; static { - defaultInstance = new PlainCards(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards(); + } + + public static de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlainCards parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlainCards(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@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; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override 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; + * @return Whether the plainCards field is set. */ + @java.lang.Override public boolean hasPlainCards() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + * @return The plainCards. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards() { + return plainCards_ == null ? de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance() : plainCards_; } /** * optional .HandStartMessage.PlainCards plainCards = 2; */ - public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards() { - return plainCards_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder getPlainCardsOrBuilder() { + return plainCards_ == null ? de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance() : plainCards_; } - // optional bytes encryptedCards = 3; public static final int ENCRYPTEDCARDS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encryptedCards_; /** * optional bytes encryptedCards = 3; + * @return Whether the encryptedCards field is set. */ + @java.lang.Override public boolean hasEncryptedCards() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes encryptedCards = 3; + * @return The encryptedCards. */ + @java.lang.Override 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; + * @return Whether the smallBlind field is set. */ + @java.lang.Override public boolean hasSmallBlind() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 smallBlind = 4; + * @return The smallBlind. */ + @java.lang.Override public int getSmallBlind() { return smallBlind_; } - // repeated .NetPlayerState seatStates = 5; public static final int SEATSTATES_FIELD_NUMBER = 5; - private java.util.List seatStates_; + private java.util.List seatStates_; + private static final com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, de.pokerth.protocol.ProtoBuf.NetPlayerState> seatStates_converter_ = + new com.google.protobuf.Internal.ListAdapter.Converter< + java.lang.Integer, de.pokerth.protocol.ProtoBuf.NetPlayerState>() { + public de.pokerth.protocol.ProtoBuf.NetPlayerState convert(java.lang.Integer from) { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerState result = de.pokerth.protocol.ProtoBuf.NetPlayerState.valueOf(from); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerState.netPlayerStateNormal : result; + } + }; /** * repeated .NetPlayerState seatStates = 5; + * @return A list containing the seatStates. */ + @java.lang.Override public java.util.List getSeatStatesList() { - return seatStates_; + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, de.pokerth.protocol.ProtoBuf.NetPlayerState>(seatStates_, seatStates_converter_); } /** * repeated .NetPlayerState seatStates = 5; + * @return The count of seatStates. */ + @java.lang.Override public int getSeatStatesCount() { return seatStates_.size(); } /** * repeated .NetPlayerState seatStates = 5; + * @param index The index of the element to return. + * @return The seatStates at the given index. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index) { - return seatStates_.get(index); + return seatStates_converter_.convert(seatStates_.get(index)); } - // optional uint32 dealerPlayerId = 6; public static final int DEALERPLAYERID_FIELD_NUMBER = 6; private int dealerPlayerId_; /** * optional uint32 dealerPlayerId = 6; + * @return Whether the dealerPlayerId field is set. */ + @java.lang.Override public boolean hasDealerPlayerId() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * optional uint32 dealerPlayerId = 6; + * @return The dealerPlayerId. */ + @java.lang.Override public int getDealerPlayerId() { return dealerPlayerId_; } - private void initFields() { - gameId_ = 0; - plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); - encryptedCards_ = com.google.protobuf.ByteString.EMPTY; - smallBlind_ = 0; - seatStates_ = java.util.Collections.emptyList(); - dealerPlayerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -29009,48 +43628,49 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeMessage(2, plainCards_); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getPlainCards()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, encryptedCards_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, smallBlind_); } for (int i = 0; i < seatStates_.size(); i++) { - output.writeEnum(5, seatStates_.get(i).getNumber()); + output.writeEnum(5, seatStates_.get(i)); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(6, dealerPlayerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, plainCards_); + .computeMessageSize(2, getPlainCards()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, encryptedCards_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, smallBlind_); } @@ -29058,26 +43678,107 @@ public final class ProtoBuf { int dataSize = 0; for (int i = 0; i < seatStates_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(seatStates_.get(i).getNumber()); + .computeEnumSizeNoTag(seatStates_.get(i)); } size += dataSize; size += 1 * seatStates_.size(); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, dealerPlayerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.HandStartMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.HandStartMessage other = (de.pokerth.protocol.ProtoBuf.HandStartMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlainCards() != other.hasPlainCards()) return false; + if (hasPlainCards()) { + if (!getPlainCards() + .equals(other.getPlainCards())) return false; + } + if (hasEncryptedCards() != other.hasEncryptedCards()) return false; + if (hasEncryptedCards()) { + if (!getEncryptedCards() + .equals(other.getEncryptedCards())) return false; + } + if (hasSmallBlind() != other.hasSmallBlind()) return false; + if (hasSmallBlind()) { + if (getSmallBlind() + != other.getSmallBlind()) return false; + } + if (!seatStates_.equals(other.seatStates_)) return false; + if (hasDealerPlayerId() != other.hasDealerPlayerId()) return false; + if (hasDealerPlayerId()) { + if (getDealerPlayerId() + != other.getDealerPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlainCards()) { + hash = (37 * hash) + PLAINCARDS_FIELD_NUMBER; + hash = (53 * hash) + getPlainCards().hashCode(); + } + if (hasEncryptedCards()) { + hash = (37 * hash) + ENCRYPTEDCARDS_FIELD_NUMBER; + hash = (53 * hash) + getEncryptedCards().hashCode(); + } + if (hasSmallBlind()) { + hash = (37 * hash) + SMALLBLIND_FIELD_NUMBER; + hash = (53 * hash) + getSmallBlind(); + } + if (getSeatStatesCount() > 0) { + hash = (37 * hash) + SEATSTATES_FIELD_NUMBER; + hash = (53 * hash) + seatStates_.hashCode(); + } + if (hasDealerPlayerId()) { + hash = (37 * hash) + DEALERPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getDealerPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -29101,66 +43802,108 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.HandStartMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.HandStartMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code HandStartMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.HandStartMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:HandStartMessage) + de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.HandStartMessage.class, de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPlainCardsFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); + if (plainCardsBuilder_ == null) { + plainCards_ = null; + } else { + plainCardsBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); encryptedCards_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); @@ -29173,14 +43916,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_HandStartMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.HandStartMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.HandStartMessage build() { de.pokerth.protocol.ProtoBuf.HandStartMessage result = buildPartial(); if (!result.isInitialized()) { @@ -29189,39 +43936,87 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.HandStartMessage buildPartial() { de.pokerth.protocol.ProtoBuf.HandStartMessage result = new de.pokerth.protocol.ProtoBuf.HandStartMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + if (plainCardsBuilder_ == null) { + result.plainCards_ = plainCards_; + } else { + result.plainCards_ = plainCardsBuilder_.build(); + } to_bitField0_ |= 0x00000002; } - result.plainCards_ = plainCards_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.encryptedCards_ = encryptedCards_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.smallBlind_ = smallBlind_; to_bitField0_ |= 0x00000008; } - result.smallBlind_ = smallBlind_; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { seatStates_ = java.util.Collections.unmodifiableList(seatStates_); bitField0_ = (bitField0_ & ~0x00000010); } result.seatStates_ = seatStates_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.dealerPlayerId_ = dealerPlayerId_; to_bitField0_ |= 0x00000010; } - result.dealerPlayerId_ = dealerPlayerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.HandStartMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.HandStartMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.HandStartMessage other) { if (other == de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -29244,32 +44039,33 @@ public final class ProtoBuf { ensureSeatStatesIsMutable(); seatStates_.addAll(other.seatStates_); } - + onChanged(); } if (other.hasDealerPlayerId()) { setDealerPlayerId(other.getDealerPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasSmallBlind()) { - return false; } if (hasPlainCards()) { if (!getPlainCards().isInitialized()) { - return false; } } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -29279,7 +44075,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.HandStartMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -29289,62 +44085,79 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // optional .HandStartMessage.PlainCards plainCards = 2; - private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards plainCards_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder> plainCardsBuilder_; /** * optional .HandStartMessage.PlainCards plainCards = 2; + * @return Whether the plainCards field is set. */ public boolean hasPlainCards() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional .HandStartMessage.PlainCards plainCards = 2; + * @return The plainCards. */ public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards getPlainCards() { - return plainCards_; + if (plainCardsBuilder_ == null) { + return plainCards_ == null ? de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance() : plainCards_; + } else { + return plainCardsBuilder_.getMessage(); + } } /** * optional .HandStartMessage.PlainCards plainCards = 2; */ public Builder setPlainCards(de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards value) { - if (value == null) { - throw new NullPointerException(); + if (plainCardsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + plainCards_ = value; + onChanged(); + } else { + plainCardsBuilder_.setMessage(value); } - plainCards_ = value; - bitField0_ |= 0x00000002; return this; } @@ -29353,8 +44166,12 @@ public final class ProtoBuf { */ public Builder setPlainCards( de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder builderForValue) { - plainCards_ = builderForValue.build(); - + if (plainCardsBuilder_ == null) { + plainCards_ = builderForValue.build(); + onChanged(); + } else { + plainCardsBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000002; return this; } @@ -29362,14 +44179,19 @@ public final class ProtoBuf { * 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()) { - plainCards_ = - de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder(plainCards_).mergeFrom(value).buildPartial(); + if (plainCardsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + plainCards_ != null && + plainCards_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance()) { + plainCards_ = + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.newBuilder(plainCards_).mergeFrom(value).buildPartial(); + } else { + plainCards_ = value; + } + onChanged(); } else { - plainCards_ = value; + plainCardsBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; return this; } @@ -29377,28 +44199,72 @@ public final class ProtoBuf { * optional .HandStartMessage.PlainCards plainCards = 2; */ public Builder clearPlainCards() { - plainCards_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance(); - + if (plainCardsBuilder_ == null) { + plainCards_ = null; + onChanged(); + } else { + plainCardsBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); return this; } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder getPlainCardsBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPlainCardsFieldBuilder().getBuilder(); + } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ + public de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder getPlainCardsOrBuilder() { + if (plainCardsBuilder_ != null) { + return plainCardsBuilder_.getMessageOrBuilder(); + } else { + return plainCards_ == null ? + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.getDefaultInstance() : plainCards_; + } + } + /** + * optional .HandStartMessage.PlainCards plainCards = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder> + getPlainCardsFieldBuilder() { + if (plainCardsBuilder_ == null) { + plainCardsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCards.Builder, de.pokerth.protocol.ProtoBuf.HandStartMessage.PlainCardsOrBuilder>( + getPlainCards(), + getParentForChildren(), + isClean()); + plainCards_ = null; + } + return plainCardsBuilder_; + } - // optional bytes encryptedCards = 3; private com.google.protobuf.ByteString encryptedCards_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes encryptedCards = 3; + * @return Whether the encryptedCards field is set. */ + @java.lang.Override public boolean hasEncryptedCards() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes encryptedCards = 3; + * @return The encryptedCards. */ + @java.lang.Override public com.google.protobuf.ByteString getEncryptedCards() { return encryptedCards_; } /** * optional bytes encryptedCards = 3; + * @param value The encryptedCards to set. + * @return This builder for chaining. */ public Builder setEncryptedCards(com.google.protobuf.ByteString value) { if (value == null) { @@ -29406,81 +44272,95 @@ public final class ProtoBuf { } bitField0_ |= 0x00000004; encryptedCards_ = value; - + onChanged(); return this; } /** * optional bytes encryptedCards = 3; + * @return This builder for chaining. */ public Builder clearEncryptedCards() { bitField0_ = (bitField0_ & ~0x00000004); encryptedCards_ = getDefaultInstance().getEncryptedCards(); - + onChanged(); return this; } - // required uint32 smallBlind = 4; private int smallBlind_ ; /** * required uint32 smallBlind = 4; + * @return Whether the smallBlind field is set. */ + @java.lang.Override public boolean hasSmallBlind() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 smallBlind = 4; + * @return The smallBlind. */ + @java.lang.Override public int getSmallBlind() { return smallBlind_; } /** * required uint32 smallBlind = 4; + * @param value The smallBlind to set. + * @return This builder for chaining. */ public Builder setSmallBlind(int value) { bitField0_ |= 0x00000008; smallBlind_ = value; - + onChanged(); return this; } /** * required uint32 smallBlind = 4; + * @return This builder for chaining. */ public Builder clearSmallBlind() { bitField0_ = (bitField0_ & ~0x00000008); smallBlind_ = 0; - + onChanged(); return this; } - // repeated .NetPlayerState seatStates = 5; - private java.util.List seatStates_ = + private java.util.List seatStates_ = java.util.Collections.emptyList(); private void ensureSeatStatesIsMutable() { - if (!((bitField0_ & 0x00000010) == 0x00000010)) { - seatStates_ = new java.util.ArrayList(seatStates_); + if (!((bitField0_ & 0x00000010) != 0)) { + seatStates_ = new java.util.ArrayList(seatStates_); bitField0_ |= 0x00000010; } } /** * repeated .NetPlayerState seatStates = 5; + * @return A list containing the seatStates. */ public java.util.List getSeatStatesList() { - return java.util.Collections.unmodifiableList(seatStates_); + return new com.google.protobuf.Internal.ListAdapter< + java.lang.Integer, de.pokerth.protocol.ProtoBuf.NetPlayerState>(seatStates_, seatStates_converter_); } /** * repeated .NetPlayerState seatStates = 5; + * @return The count of seatStates. */ public int getSeatStatesCount() { return seatStates_.size(); } /** * repeated .NetPlayerState seatStates = 5; + * @param index The index of the element to return. + * @return The seatStates at the given index. */ public de.pokerth.protocol.ProtoBuf.NetPlayerState getSeatStates(int index) { - return seatStates_.get(index); + return seatStates_converter_.convert(seatStates_.get(index)); } /** * repeated .NetPlayerState seatStates = 5; + * @param index The index to set the value at. + * @param value The seatStates to set. + * @return This builder for chaining. */ public Builder setSeatStates( int index, de.pokerth.protocol.ProtoBuf.NetPlayerState value) { @@ -29488,116 +44368,174 @@ public final class ProtoBuf { throw new NullPointerException(); } ensureSeatStatesIsMutable(); - seatStates_.set(index, value); - + seatStates_.set(index, value.getNumber()); + onChanged(); return this; } /** * repeated .NetPlayerState seatStates = 5; + * @param value The seatStates to add. + * @return This builder for chaining. */ public Builder addSeatStates(de.pokerth.protocol.ProtoBuf.NetPlayerState value) { if (value == null) { throw new NullPointerException(); } ensureSeatStatesIsMutable(); - seatStates_.add(value); - + seatStates_.add(value.getNumber()); + onChanged(); return this; } /** * repeated .NetPlayerState seatStates = 5; + * @param values The seatStates to add. + * @return This builder for chaining. */ public Builder addAllSeatStates( java.lang.Iterable values) { ensureSeatStatesIsMutable(); - super.addAll(values, seatStates_); - + for (de.pokerth.protocol.ProtoBuf.NetPlayerState value : values) { + seatStates_.add(value.getNumber()); + } + onChanged(); return this; } /** * repeated .NetPlayerState seatStates = 5; + * @return This builder for chaining. */ public Builder clearSeatStates() { seatStates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); - + onChanged(); return this; } - // optional uint32 dealerPlayerId = 6; private int dealerPlayerId_ ; /** * optional uint32 dealerPlayerId = 6; + * @return Whether the dealerPlayerId field is set. */ + @java.lang.Override public boolean hasDealerPlayerId() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * optional uint32 dealerPlayerId = 6; + * @return The dealerPlayerId. */ + @java.lang.Override public int getDealerPlayerId() { return dealerPlayerId_; } /** * optional uint32 dealerPlayerId = 6; + * @param value The dealerPlayerId to set. + * @return This builder for chaining. */ public Builder setDealerPlayerId(int value) { bitField0_ |= 0x00000020; dealerPlayerId_ = value; - + onChanged(); return this; } /** * optional uint32 dealerPlayerId = 6; + * @return This builder for chaining. */ public Builder clearDealerPlayerId() { bitField0_ = (bitField0_ & ~0x00000020); dealerPlayerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:HandStartMessage) } + // @@protoc_insertion_point(class_scope:HandStartMessage) + private static final de.pokerth.protocol.ProtoBuf.HandStartMessage DEFAULT_INSTANCE; static { - defaultInstance = new HandStartMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.HandStartMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.HandStartMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HandStartMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HandStartMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.HandStartMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:HandStartMessage) } - public interface PlayersTurnMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayersTurnMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayersTurnMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ boolean hasGameState(); /** * required .NetGameState gameState = 3; + * @return The gameState. */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); } @@ -29605,30 +44543,41 @@ public final class ProtoBuf { * Protobuf type {@code PlayersTurnMessage} */ public static final class PlayersTurnMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayersTurnMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayersTurnMessage) + PlayersTurnMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayersTurnMessage.newBuilder() to construct. - private PlayersTurnMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayersTurnMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayersTurnMessage(boolean noInit) {} - - private static final PlayersTurnMessage defaultInstance; - public static PlayersTurnMessage getDefaultInstance() { - return defaultInstance; + private PlayersTurnMessage() { + gameState_ = 0; } - public PlayersTurnMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayersTurnMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayersTurnMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -29637,13 +44586,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -29656,10 +44598,20 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - gameState_ = value; + gameState_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -29669,84 +44621,89 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersTurnMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersTurnMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.class, de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + private int gameState_; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetGameState gameState = 3; + * @return The gameState. */ - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -29764,49 +44721,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, gameState_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); + .computeEnumSize(3, gameState_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayersTurnMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage other = (de.pokerth.protocol.ProtoBuf.PlayersTurnMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasGameState() != other.hasGameState()) return false; + if (hasGameState()) { + if (gameState_ != other.gameState_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasGameState()) { + hash = (37 * hash) + GAMESTATE_FIELD_NUMBER; + hash = (53 * hash) + gameState_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -29830,80 +44845,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code PlayersTurnMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayersTurnMessage) + de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersTurnMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersTurnMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.class, de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + gameState_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersTurnMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage build() { de.pokerth.protocol.ProtoBuf.PlayersTurnMessage result = buildPartial(); if (!result.isInitialized()) { @@ -29912,26 +44968,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.gameState_ = gameState_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayersTurnMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayersTurnMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -29943,25 +45043,26 @@ public final class ProtoBuf { if (other.hasGameState()) { setGameState(other.getGameState()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasGameState()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -29971,7 +45072,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayersTurnMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -29981,169 +45082,235 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required .NetGameState gameState = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + private int gameState_ = 0; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetGameState gameState = 3; + * @return The gameState. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } /** * required .NetGameState gameState = 3; + * @param value The gameState to set. + * @return This builder for chaining. */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - gameState_ = value; - + gameState_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameState gameState = 3; + * @return This builder for chaining. */ public Builder clearGameState() { bitField0_ = (bitField0_ & ~0x00000004); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - + gameState_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayersTurnMessage) } + // @@protoc_insertion_point(class_scope:PlayersTurnMessage) + private static final de.pokerth.protocol.ProtoBuf.PlayersTurnMessage DEFAULT_INSTANCE; static { - defaultInstance = new PlayersTurnMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayersTurnMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayersTurnMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayersTurnMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PlayersTurnMessage) } - public interface MyActionRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface MyActionRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:MyActionRequestMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 handNum = 2; /** * required uint32 handNum = 2; + * @return Whether the handNum field is set. */ boolean hasHandNum(); /** * required uint32 handNum = 2; + * @return The handNum. */ int getHandNum(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ boolean hasGameState(); /** * required .NetGameState gameState = 3; + * @return The gameState. */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction myAction = 4; /** * required .NetPlayerAction myAction = 4; + * @return Whether the myAction field is set. */ boolean hasMyAction(); /** * required .NetPlayerAction myAction = 4; + * @return The myAction. */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction(); - // required uint32 myRelativeBet = 5; /** * required uint32 myRelativeBet = 5; + * @return Whether the myRelativeBet field is set. */ boolean hasMyRelativeBet(); /** * required uint32 myRelativeBet = 5; + * @return The myRelativeBet. */ int getMyRelativeBet(); } @@ -30151,30 +45318,42 @@ public final class ProtoBuf { * Protobuf type {@code MyActionRequestMessage} */ public static final class MyActionRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements MyActionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:MyActionRequestMessage) + MyActionRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use MyActionRequestMessage.newBuilder() to construct. - private MyActionRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private MyActionRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private MyActionRequestMessage(boolean noInit) {} - - private static final MyActionRequestMessage defaultInstance; - public static MyActionRequestMessage getDefaultInstance() { - return defaultInstance; + private MyActionRequestMessage() { + gameState_ = 0; + myAction_ = 0; } - public MyActionRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MyActionRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private MyActionRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -30183,13 +45362,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -30202,19 +45374,25 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - gameState_ = value; + gameState_ = rawValue; } break; } case 32: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(4, rawValue); + } else { bitField0_ |= 0x00000008; - myAction_ = value; + myAction_ = rawValue; } break; } @@ -30223,124 +45401,140 @@ public final class ProtoBuf { myRelativeBet_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_MyActionRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_MyActionRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.class, de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 handNum = 2; public static final int HANDNUM_FIELD_NUMBER = 2; private int handNum_; /** * required uint32 handNum = 2; + * @return Whether the handNum field is set. */ + @java.lang.Override public boolean hasHandNum() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 handNum = 2; + * @return The handNum. */ + @java.lang.Override public int getHandNum() { return handNum_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + private int gameState_; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetGameState gameState = 3; + * @return The gameState. */ - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } - // required .NetPlayerAction myAction = 4; public static final int MYACTION_FIELD_NUMBER = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_; + private int myAction_; /** * required .NetPlayerAction myAction = 4; + * @return Whether the myAction field is set. */ - public boolean hasMyAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasMyAction() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .NetPlayerAction myAction = 4; + * @return The myAction. */ - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { - return myAction_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerAction result = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(myAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone : result; } - // required uint32 myRelativeBet = 5; public static final int MYRELATIVEBET_FIELD_NUMBER = 5; private int myRelativeBet_; /** * required uint32 myRelativeBet = 5; + * @return Whether the myRelativeBet field is set. */ + @java.lang.Override public boolean hasMyRelativeBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 myRelativeBet = 5; + * @return The myRelativeBet. */ + @java.lang.Override public int getMyRelativeBet() { return myRelativeBet_; } - private void initFields() { - gameId_ = 0; - handNum_ = 0; - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - myRelativeBet_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -30366,63 +45560,138 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, handNum_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, gameState_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, myAction_.getNumber()); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeEnum(4, myAction_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, myRelativeBet_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, handNum_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); + .computeEnumSize(3, gameState_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, myAction_.getNumber()); + .computeEnumSize(4, myAction_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, myRelativeBet_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.MyActionRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage other = (de.pokerth.protocol.ProtoBuf.MyActionRequestMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasHandNum() != other.hasHandNum()) return false; + if (hasHandNum()) { + if (getHandNum() + != other.getHandNum()) return false; + } + if (hasGameState() != other.hasGameState()) return false; + if (hasGameState()) { + if (gameState_ != other.gameState_) return false; + } + if (hasMyAction() != other.hasMyAction()) return false; + if (hasMyAction()) { + if (myAction_ != other.myAction_) return false; + } + if (hasMyRelativeBet() != other.hasMyRelativeBet()) return false; + if (hasMyRelativeBet()) { + if (getMyRelativeBet() + != other.getMyRelativeBet()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasHandNum()) { + hash = (37 * hash) + HANDNUM_FIELD_NUMBER; + hash = (53 * hash) + getHandNum(); + } + if (hasGameState()) { + hash = (37 * hash) + GAMESTATE_FIELD_NUMBER; + hash = (53 * hash) + gameState_; + } + if (hasMyAction()) { + hash = (37 * hash) + MYACTION_FIELD_NUMBER; + hash = (53 * hash) + myAction_; + } + if (hasMyRelativeBet()) { + hash = (37 * hash) + MYRELATIVEBET_FIELD_NUMBER; + hash = (53 * hash) + getMyRelativeBet(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -30446,84 +45715,125 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code MyActionRequestMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:MyActionRequestMessage) + de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_MyActionRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_MyActionRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.class, de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); handNum_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + gameState_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + myAction_ = 0; bitField0_ = (bitField0_ & ~0x00000008); myRelativeBet_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_MyActionRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage build() { de.pokerth.protocol.ProtoBuf.MyActionRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -30532,34 +45842,78 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.handNum_ = handNum_; to_bitField0_ |= 0x00000002; } - result.handNum_ = handNum_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.gameState_ = gameState_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.myAction_ = myAction_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.myRelativeBet_ = myRelativeBet_; to_bitField0_ |= 0x00000010; } - result.myRelativeBet_ = myRelativeBet_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.MyActionRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.MyActionRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -30577,33 +45931,32 @@ public final class ProtoBuf { if (other.hasMyRelativeBet()) { setMyRelativeBet(other.getMyRelativeBet()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasHandNum()) { - return false; } if (!hasGameState()) { - return false; } if (!hasMyAction()) { - return false; } if (!hasMyRelativeBet()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -30613,7 +45966,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.MyActionRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -30623,238 +45976,317 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 handNum = 2; private int handNum_ ; /** * required uint32 handNum = 2; + * @return Whether the handNum field is set. */ + @java.lang.Override public boolean hasHandNum() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 handNum = 2; + * @return The handNum. */ + @java.lang.Override public int getHandNum() { return handNum_; } /** * required uint32 handNum = 2; + * @param value The handNum to set. + * @return This builder for chaining. */ public Builder setHandNum(int value) { bitField0_ |= 0x00000002; handNum_ = value; - + onChanged(); return this; } /** * required uint32 handNum = 2; + * @return This builder for chaining. */ public Builder clearHandNum() { bitField0_ = (bitField0_ & ~0x00000002); handNum_ = 0; - + onChanged(); return this; } - // required .NetGameState gameState = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + private int gameState_ = 0; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetGameState gameState = 3; + * @return The gameState. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } /** * required .NetGameState gameState = 3; + * @param value The gameState to set. + * @return This builder for chaining. */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - gameState_ = value; - + gameState_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameState gameState = 3; + * @return This builder for chaining. */ public Builder clearGameState() { bitField0_ = (bitField0_ & ~0x00000004); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - + gameState_ = 0; + onChanged(); return this; } - // required .NetPlayerAction myAction = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + private int myAction_ = 0; /** * required .NetPlayerAction myAction = 4; + * @return Whether the myAction field is set. */ - public boolean hasMyAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasMyAction() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .NetPlayerAction myAction = 4; + * @return The myAction. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerAction getMyAction() { - return myAction_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerAction result = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(myAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone : result; } /** * required .NetPlayerAction myAction = 4; + * @param value The myAction to set. + * @return This builder for chaining. */ public Builder setMyAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; - myAction_ = value; - + myAction_ = value.getNumber(); + onChanged(); return this; } /** * required .NetPlayerAction myAction = 4; + * @return This builder for chaining. */ public Builder clearMyAction() { bitField0_ = (bitField0_ & ~0x00000008); - myAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - + myAction_ = 0; + onChanged(); return this; } - // required uint32 myRelativeBet = 5; private int myRelativeBet_ ; /** * required uint32 myRelativeBet = 5; + * @return Whether the myRelativeBet field is set. */ + @java.lang.Override public boolean hasMyRelativeBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 myRelativeBet = 5; + * @return The myRelativeBet. */ + @java.lang.Override public int getMyRelativeBet() { return myRelativeBet_; } /** * required uint32 myRelativeBet = 5; + * @param value The myRelativeBet to set. + * @return This builder for chaining. */ public Builder setMyRelativeBet(int value) { bitField0_ |= 0x00000010; myRelativeBet_ = value; - + onChanged(); return this; } /** * required uint32 myRelativeBet = 5; + * @return This builder for chaining. */ public Builder clearMyRelativeBet() { bitField0_ = (bitField0_ & ~0x00000010); myRelativeBet_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:MyActionRequestMessage) } + // @@protoc_insertion_point(class_scope:MyActionRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.MyActionRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new MyActionRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.MyActionRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:MyActionRequestMessage) } - public interface YourActionRejectedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface YourActionRejectedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:YourActionRejectedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required .NetGameState gameState = 2; /** * required .NetGameState gameState = 2; + * @return Whether the gameState field is set. */ boolean hasGameState(); /** * required .NetGameState gameState = 2; + * @return The gameState. */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction yourAction = 3; /** * required .NetPlayerAction yourAction = 3; + * @return Whether the yourAction field is set. */ boolean hasYourAction(); /** * required .NetPlayerAction yourAction = 3; + * @return The yourAction. */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction(); - // required uint32 yourRelativeBet = 4; /** * required uint32 yourRelativeBet = 4; + * @return Whether the yourRelativeBet field is set. */ boolean hasYourRelativeBet(); /** * required uint32 yourRelativeBet = 4; + * @return The yourRelativeBet. */ int getYourRelativeBet(); - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @return Whether the rejectionReason field is set. */ boolean hasRejectionReason(); /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @return The rejectionReason. */ de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason(); } @@ -30862,30 +46294,43 @@ public final class ProtoBuf { * Protobuf type {@code YourActionRejectedMessage} */ public static final class YourActionRejectedMessage extends - com.google.protobuf.GeneratedMessageLite - implements YourActionRejectedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:YourActionRejectedMessage) + YourActionRejectedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use YourActionRejectedMessage.newBuilder() to construct. - private YourActionRejectedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private YourActionRejectedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private YourActionRejectedMessage(boolean noInit) {} - - private static final YourActionRejectedMessage defaultInstance; - public static YourActionRejectedMessage getDefaultInstance() { - return defaultInstance; + private YourActionRejectedMessage() { + gameState_ = 0; + yourAction_ = 0; + rejectionReason_ = 1; } - public YourActionRejectedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new YourActionRejectedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private YourActionRejectedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -30894,13 +46339,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -30908,19 +46346,25 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - gameState_ = value; + gameState_ = rawValue; } break; } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - yourAction_ = value; + yourAction_ = rawValue; } break; } @@ -30931,10 +46375,20 @@ public final class ProtoBuf { } case 40: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(5, rawValue); + } else { bitField0_ |= 0x00000010; - rejectionReason_ = value; + rejectionReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -30944,43 +46398,42 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_YourActionRejectedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_YourActionRejectedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.class, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder.class); } /** * Protobuf enum {@code YourActionRejectedMessage.RejectionReason} */ public enum RejectionReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * rejectedInvalidGameState = 1; */ - rejectedInvalidGameState(0, 1), + rejectedInvalidGameState(1), /** * rejectedNotYourTurn = 2; */ - rejectedNotYourTurn(1, 2), + rejectedNotYourTurn(2), /** * rejectedActionNotAllowed = 3; */ - rejectedActionNotAllowed(2, 3), + rejectedActionNotAllowed(3), ; /** @@ -30997,9 +46450,25 @@ public final class ProtoBuf { public static final int rejectedActionNotAllowed_VALUE = 3; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static RejectionReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RejectionReason forNumber(int value) { switch (value) { case 1: return rejectedInvalidGameState; case 2: return rejectedNotYourTurn; @@ -31012,17 +46481,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + RejectionReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RejectionReason findValueByNumber(int number) { - return RejectionReason.valueOf(number); + return RejectionReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final RejectionReason[] VALUES = values(); + + public static RejectionReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private RejectionReason(int index, int value) { + private RejectionReason(int value) { this.value = value; } @@ -31030,97 +46523,107 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required .NetGameState gameState = 2; public static final int GAMESTATE_FIELD_NUMBER = 2; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + private int gameState_; /** * required .NetGameState gameState = 2; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameState gameState = 2; + * @return The gameState. */ - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } - // required .NetPlayerAction yourAction = 3; public static final int YOURACTION_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_; + private int yourAction_; /** * required .NetPlayerAction yourAction = 3; + * @return Whether the yourAction field is set. */ - public boolean hasYourAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasYourAction() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetPlayerAction yourAction = 3; + * @return The yourAction. */ - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { - return yourAction_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerAction result = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(yourAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone : result; } - // required uint32 yourRelativeBet = 4; public static final int YOURRELATIVEBET_FIELD_NUMBER = 4; private int yourRelativeBet_; /** * required uint32 yourRelativeBet = 4; + * @return Whether the yourRelativeBet field is set. */ + @java.lang.Override public boolean hasYourRelativeBet() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 yourRelativeBet = 4; + * @return The yourRelativeBet. */ + @java.lang.Override public int getYourRelativeBet() { return yourRelativeBet_; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; public static final int REJECTIONREASON_FIELD_NUMBER = 5; - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_; + private int rejectionReason_; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @return Whether the rejectionReason field is set. */ - public boolean hasRejectionReason() { - return ((bitField0_ & 0x00000010) == 0x00000010); + @java.lang.Override public boolean hasRejectionReason() { + return ((bitField0_ & 0x00000010) != 0); } /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @return The rejectionReason. */ - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { - return rejectionReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason result = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.valueOf(rejectionReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState : result; } - private void initFields() { - gameId_ = 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; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -31146,63 +46649,137 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, gameState_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, gameState_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, yourAction_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, yourAction_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, yourRelativeBet_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeEnum(5, rejectionReason_.getNumber()); + if (((bitField0_ & 0x00000010) != 0)) { + output.writeEnum(5, rejectionReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, gameState_.getNumber()); + .computeEnumSize(2, gameState_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, yourAction_.getNumber()); + .computeEnumSize(3, yourAction_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, yourRelativeBet_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, rejectionReason_.getNumber()); + .computeEnumSize(5, rejectionReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage other = (de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasGameState() != other.hasGameState()) return false; + if (hasGameState()) { + if (gameState_ != other.gameState_) return false; + } + if (hasYourAction() != other.hasYourAction()) return false; + if (hasYourAction()) { + if (yourAction_ != other.yourAction_) return false; + } + if (hasYourRelativeBet() != other.hasYourRelativeBet()) return false; + if (hasYourRelativeBet()) { + if (getYourRelativeBet() + != other.getYourRelativeBet()) return false; + } + if (hasRejectionReason() != other.hasRejectionReason()) return false; + if (hasRejectionReason()) { + if (rejectionReason_ != other.rejectionReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasGameState()) { + hash = (37 * hash) + GAMESTATE_FIELD_NUMBER; + hash = (53 * hash) + gameState_; + } + if (hasYourAction()) { + hash = (37 * hash) + YOURACTION_FIELD_NUMBER; + hash = (53 * hash) + yourAction_; + } + if (hasYourRelativeBet()) { + hash = (37 * hash) + YOURRELATIVEBET_FIELD_NUMBER; + hash = (53 * hash) + getYourRelativeBet(); + } + if (hasRejectionReason()) { + hash = (37 * hash) + REJECTIONREASON_FIELD_NUMBER; + hash = (53 * hash) + rejectionReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -31226,84 +46803,125 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code YourActionRejectedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:YourActionRejectedMessage) + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_YourActionRejectedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_YourActionRejectedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.class, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + gameState_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + yourAction_ = 0; bitField0_ = (bitField0_ & ~0x00000004); yourRelativeBet_ = 0; bitField0_ = (bitField0_ & ~0x00000008); - rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; + rejectionReason_ = 1; bitField0_ = (bitField0_ & ~0x00000010); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_YourActionRejectedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage build() { de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -31312,34 +46930,78 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.gameState_ = gameState_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.yourAction_ = yourAction_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.yourRelativeBet_ = yourRelativeBet_; to_bitField0_ |= 0x00000008; } - result.yourRelativeBet_ = yourRelativeBet_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.rejectionReason_ = rejectionReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -31357,33 +47019,32 @@ public final class ProtoBuf { if (other.hasRejectionReason()) { setRejectionReason(other.getRejectionReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasGameState()) { - return false; } if (!hasYourAction()) { - return false; } if (!hasYourRelativeBet()) { - return false; } if (!hasRejectionReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31393,7 +47054,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -31403,271 +47064,354 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required .NetGameState gameState = 2; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + private int gameState_ = 0; /** * required .NetGameState gameState = 2; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .NetGameState gameState = 2; + * @return The gameState. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } /** * required .NetGameState gameState = 2; + * @param value The gameState to set. + * @return This builder for chaining. */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - gameState_ = value; - + gameState_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameState gameState = 2; + * @return This builder for chaining. */ public Builder clearGameState() { bitField0_ = (bitField0_ & ~0x00000002); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - + gameState_ = 0; + onChanged(); return this; } - // required .NetPlayerAction yourAction = 3; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + private int yourAction_ = 0; /** * required .NetPlayerAction yourAction = 3; + * @return Whether the yourAction field is set. */ - public boolean hasYourAction() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasYourAction() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetPlayerAction yourAction = 3; + * @return The yourAction. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerAction getYourAction() { - return yourAction_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerAction result = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(yourAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone : result; } /** * required .NetPlayerAction yourAction = 3; + * @param value The yourAction to set. + * @return This builder for chaining. */ public Builder setYourAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - yourAction_ = value; - + yourAction_ = value.getNumber(); + onChanged(); return this; } /** * required .NetPlayerAction yourAction = 3; + * @return This builder for chaining. */ public Builder clearYourAction() { bitField0_ = (bitField0_ & ~0x00000004); - yourAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - + yourAction_ = 0; + onChanged(); return this; } - // required uint32 yourRelativeBet = 4; private int yourRelativeBet_ ; /** * required uint32 yourRelativeBet = 4; + * @return Whether the yourRelativeBet field is set. */ + @java.lang.Override public boolean hasYourRelativeBet() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 yourRelativeBet = 4; + * @return The yourRelativeBet. */ + @java.lang.Override public int getYourRelativeBet() { return yourRelativeBet_; } /** * required uint32 yourRelativeBet = 4; + * @param value The yourRelativeBet to set. + * @return This builder for chaining. */ public Builder setYourRelativeBet(int value) { bitField0_ |= 0x00000008; yourRelativeBet_ = value; - + onChanged(); return this; } /** * required uint32 yourRelativeBet = 4; + * @return This builder for chaining. */ public Builder clearYourRelativeBet() { bitField0_ = (bitField0_ & ~0x00000008); yourRelativeBet_ = 0; - + onChanged(); return this; } - // required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; + private int rejectionReason_ = 1; /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @return Whether the rejectionReason field is set. */ - public boolean hasRejectionReason() { - return ((bitField0_ & 0x00000010) == 0x00000010); + @java.lang.Override public boolean hasRejectionReason() { + return ((bitField0_ & 0x00000010) != 0); } /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @return The rejectionReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason getRejectionReason() { - return rejectionReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason result = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.valueOf(rejectionReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState : result; } /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @param value The rejectionReason to set. + * @return This builder for chaining. */ public Builder setRejectionReason(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; - rejectionReason_ = value; - + rejectionReason_ = value.getNumber(); + onChanged(); return this; } /** * required .YourActionRejectedMessage.RejectionReason rejectionReason = 5; + * @return This builder for chaining. */ public Builder clearRejectionReason() { bitField0_ = (bitField0_ & ~0x00000010); - rejectionReason_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.RejectionReason.rejectedInvalidGameState; - + rejectionReason_ = 1; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:YourActionRejectedMessage) } + // @@protoc_insertion_point(class_scope:YourActionRejectedMessage) + private static final de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage DEFAULT_INSTANCE; static { - defaultInstance = new YourActionRejectedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YourActionRejectedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YourActionRejectedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:YourActionRejectedMessage) } - public interface PlayersActionDoneMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayersActionDoneMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayersActionDoneMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required .NetGameState gameState = 3; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ boolean hasGameState(); /** * required .NetGameState gameState = 3; + * @return The gameState. */ de.pokerth.protocol.ProtoBuf.NetGameState getGameState(); - // required .NetPlayerAction playerAction = 4; /** * required .NetPlayerAction playerAction = 4; + * @return Whether the playerAction field is set. */ boolean hasPlayerAction(); /** * required .NetPlayerAction playerAction = 4; + * @return The playerAction. */ de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction(); - // required uint32 totalPlayerBet = 5; /** * required uint32 totalPlayerBet = 5; + * @return Whether the totalPlayerBet field is set. */ boolean hasTotalPlayerBet(); /** * required uint32 totalPlayerBet = 5; + * @return The totalPlayerBet. */ int getTotalPlayerBet(); - // required uint32 playerMoney = 6; /** * required uint32 playerMoney = 6; + * @return Whether the playerMoney field is set. */ boolean hasPlayerMoney(); /** * required uint32 playerMoney = 6; + * @return The playerMoney. */ int getPlayerMoney(); - // required uint32 highestSet = 7; /** * required uint32 highestSet = 7; + * @return Whether the highestSet field is set. */ boolean hasHighestSet(); /** * required uint32 highestSet = 7; + * @return The highestSet. */ int getHighestSet(); - // required uint32 minimumRaise = 8; /** * required uint32 minimumRaise = 8; + * @return Whether the minimumRaise field is set. */ boolean hasMinimumRaise(); /** * required uint32 minimumRaise = 8; + * @return The minimumRaise. */ int getMinimumRaise(); } @@ -31675,30 +47419,42 @@ public final class ProtoBuf { * Protobuf type {@code PlayersActionDoneMessage} */ public static final class PlayersActionDoneMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayersActionDoneMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayersActionDoneMessage) + PlayersActionDoneMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayersActionDoneMessage.newBuilder() to construct. - private PlayersActionDoneMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayersActionDoneMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayersActionDoneMessage(boolean noInit) {} - - private static final PlayersActionDoneMessage defaultInstance; - public static PlayersActionDoneMessage getDefaultInstance() { - return defaultInstance; + private PlayersActionDoneMessage() { + gameState_ = 0; + playerAction_ = 0; } - public PlayersActionDoneMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayersActionDoneMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayersActionDoneMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -31707,13 +47463,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -31726,19 +47475,25 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetGameState value = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - gameState_ = value; + gameState_ = rawValue; } break; } case 32: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.NetPlayerAction value = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(4, rawValue); + } else { bitField0_ |= 0x00000008; - playerAction_ = value; + playerAction_ = rawValue; } break; } @@ -31762,175 +47517,197 @@ public final class ProtoBuf { minimumRaise_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersActionDoneMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersActionDoneMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.class, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required .NetGameState gameState = 3; public static final int GAMESTATE_FIELD_NUMBER = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_; + private int gameState_; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetGameState gameState = 3; + * @return The gameState. */ - public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } - // required .NetPlayerAction playerAction = 4; public static final int PLAYERACTION_FIELD_NUMBER = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_; + private int playerAction_; /** * required .NetPlayerAction playerAction = 4; + * @return Whether the playerAction field is set. */ - public boolean hasPlayerAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasPlayerAction() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .NetPlayerAction playerAction = 4; + * @return The playerAction. */ - public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { - return playerAction_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerAction result = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(playerAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone : result; } - // required uint32 totalPlayerBet = 5; public static final int TOTALPLAYERBET_FIELD_NUMBER = 5; private int totalPlayerBet_; /** * required uint32 totalPlayerBet = 5; + * @return Whether the totalPlayerBet field is set. */ + @java.lang.Override public boolean hasTotalPlayerBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 totalPlayerBet = 5; + * @return The totalPlayerBet. */ + @java.lang.Override public int getTotalPlayerBet() { return totalPlayerBet_; } - // required uint32 playerMoney = 6; public static final int PLAYERMONEY_FIELD_NUMBER = 6; private int playerMoney_; /** * required uint32 playerMoney = 6; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * required uint32 playerMoney = 6; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } - // required uint32 highestSet = 7; public static final int HIGHESTSET_FIELD_NUMBER = 7; private int highestSet_; /** * required uint32 highestSet = 7; + * @return Whether the highestSet field is set. */ + @java.lang.Override public boolean hasHighestSet() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** * required uint32 highestSet = 7; + * @return The highestSet. */ + @java.lang.Override public int getHighestSet() { return highestSet_; } - // required uint32 minimumRaise = 8; public static final int MINIMUMRAISE_FIELD_NUMBER = 8; private int minimumRaise_; /** * required uint32 minimumRaise = 8; + * @return Whether the minimumRaise field is set. */ + @java.lang.Override public boolean hasMinimumRaise() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** * required uint32 minimumRaise = 8; + * @return The minimumRaise. */ + @java.lang.Override 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; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -31968,84 +47745,186 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, gameState_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, gameState_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeEnum(4, playerAction_.getNumber()); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeEnum(4, playerAction_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, totalPlayerBet_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, playerMoney_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt32(7, highestSet_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { output.writeUInt32(8, minimumRaise_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, gameState_.getNumber()); + .computeEnumSize(3, gameState_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, playerAction_.getNumber()); + .computeEnumSize(4, playerAction_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, totalPlayerBet_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, playerMoney_); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, highestSet_); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, minimumRaise_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage other = (de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasGameState() != other.hasGameState()) return false; + if (hasGameState()) { + if (gameState_ != other.gameState_) return false; + } + if (hasPlayerAction() != other.hasPlayerAction()) return false; + if (hasPlayerAction()) { + if (playerAction_ != other.playerAction_) return false; + } + if (hasTotalPlayerBet() != other.hasTotalPlayerBet()) return false; + if (hasTotalPlayerBet()) { + if (getTotalPlayerBet() + != other.getTotalPlayerBet()) return false; + } + if (hasPlayerMoney() != other.hasPlayerMoney()) return false; + if (hasPlayerMoney()) { + if (getPlayerMoney() + != other.getPlayerMoney()) return false; + } + if (hasHighestSet() != other.hasHighestSet()) return false; + if (hasHighestSet()) { + if (getHighestSet() + != other.getHighestSet()) return false; + } + if (hasMinimumRaise() != other.hasMinimumRaise()) return false; + if (hasMinimumRaise()) { + if (getMinimumRaise() + != other.getMinimumRaise()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasGameState()) { + hash = (37 * hash) + GAMESTATE_FIELD_NUMBER; + hash = (53 * hash) + gameState_; + } + if (hasPlayerAction()) { + hash = (37 * hash) + PLAYERACTION_FIELD_NUMBER; + hash = (53 * hash) + playerAction_; + } + if (hasTotalPlayerBet()) { + hash = (37 * hash) + TOTALPLAYERBET_FIELD_NUMBER; + hash = (53 * hash) + getTotalPlayerBet(); + } + if (hasPlayerMoney()) { + hash = (37 * hash) + PLAYERMONEY_FIELD_NUMBER; + hash = (53 * hash) + getPlayerMoney(); + } + if (hasHighestSet()) { + hash = (37 * hash) + HIGHESTSET_FIELD_NUMBER; + hash = (53 * hash) + getHighestSet(); + } + if (hasMinimumRaise()) { + hash = (37 * hash) + MINIMUMRAISE_FIELD_NUMBER; + hash = (53 * hash) + getMinimumRaise(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -32069,70 +47948,107 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code PlayersActionDoneMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayersActionDoneMessage) + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersActionDoneMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersActionDoneMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.class, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + gameState_ = 0; bitField0_ = (bitField0_ & ~0x00000004); - playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + playerAction_ = 0; bitField0_ = (bitField0_ & ~0x00000008); totalPlayerBet_ = 0; bitField0_ = (bitField0_ & ~0x00000010); @@ -32145,14 +48061,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayersActionDoneMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage build() { de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage result = buildPartial(); if (!result.isInitialized()) { @@ -32161,46 +48081,90 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.gameState_ = gameState_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.playerAction_ = playerAction_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.totalPlayerBet_ = totalPlayerBet_; to_bitField0_ |= 0x00000010; } - result.totalPlayerBet_ = totalPlayerBet_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.playerMoney_ = playerMoney_; to_bitField0_ |= 0x00000020; } - result.playerMoney_ = playerMoney_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + result.highestSet_ = highestSet_; to_bitField0_ |= 0x00000040; } - result.highestSet_ = highestSet_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + if (((from_bitField0_ & 0x00000080) != 0)) { + result.minimumRaise_ = minimumRaise_; to_bitField0_ |= 0x00000080; } - result.minimumRaise_ = minimumRaise_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -32227,45 +48191,41 @@ public final class ProtoBuf { if (other.hasMinimumRaise()) { setMinimumRaise(other.getMinimumRaise()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasGameState()) { - return false; } if (!hasPlayerAction()) { - return false; } if (!hasTotalPlayerBet()) { - return false; } if (!hasPlayerMoney()) { - return false; } if (!hasHighestSet()) { - return false; } if (!hasMinimumRaise()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -32275,7 +48235,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -32285,327 +48245,423 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required .NetGameState gameState = 3; - private de.pokerth.protocol.ProtoBuf.NetGameState gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; + private int gameState_ = 0; /** * required .NetGameState gameState = 3; + * @return Whether the gameState field is set. */ - public boolean hasGameState() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasGameState() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .NetGameState gameState = 3; + * @return The gameState. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetGameState getGameState() { - return gameState_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetGameState result = de.pokerth.protocol.ProtoBuf.NetGameState.valueOf(gameState_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop : result; } /** * required .NetGameState gameState = 3; + * @param value The gameState to set. + * @return This builder for chaining. */ public Builder setGameState(de.pokerth.protocol.ProtoBuf.NetGameState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - gameState_ = value; - + gameState_ = value.getNumber(); + onChanged(); return this; } /** * required .NetGameState gameState = 3; + * @return This builder for chaining. */ public Builder clearGameState() { bitField0_ = (bitField0_ & ~0x00000004); - gameState_ = de.pokerth.protocol.ProtoBuf.NetGameState.netStatePreflop; - + gameState_ = 0; + onChanged(); return this; } - // required .NetPlayerAction playerAction = 4; - private de.pokerth.protocol.ProtoBuf.NetPlayerAction playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; + private int playerAction_ = 0; /** * required .NetPlayerAction playerAction = 4; + * @return Whether the playerAction field is set. */ - public boolean hasPlayerAction() { - return ((bitField0_ & 0x00000008) == 0x00000008); + @java.lang.Override public boolean hasPlayerAction() { + return ((bitField0_ & 0x00000008) != 0); } /** * required .NetPlayerAction playerAction = 4; + * @return The playerAction. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.NetPlayerAction getPlayerAction() { - return playerAction_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.NetPlayerAction result = de.pokerth.protocol.ProtoBuf.NetPlayerAction.valueOf(playerAction_); + return result == null ? de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone : result; } /** * required .NetPlayerAction playerAction = 4; + * @param value The playerAction to set. + * @return This builder for chaining. */ public Builder setPlayerAction(de.pokerth.protocol.ProtoBuf.NetPlayerAction value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; - playerAction_ = value; - + playerAction_ = value.getNumber(); + onChanged(); return this; } /** * required .NetPlayerAction playerAction = 4; + * @return This builder for chaining. */ public Builder clearPlayerAction() { bitField0_ = (bitField0_ & ~0x00000008); - playerAction_ = de.pokerth.protocol.ProtoBuf.NetPlayerAction.netActionNone; - + playerAction_ = 0; + onChanged(); return this; } - // required uint32 totalPlayerBet = 5; private int totalPlayerBet_ ; /** * required uint32 totalPlayerBet = 5; + * @return Whether the totalPlayerBet field is set. */ + @java.lang.Override public boolean hasTotalPlayerBet() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 totalPlayerBet = 5; + * @return The totalPlayerBet. */ + @java.lang.Override public int getTotalPlayerBet() { return totalPlayerBet_; } /** * required uint32 totalPlayerBet = 5; + * @param value The totalPlayerBet to set. + * @return This builder for chaining. */ public Builder setTotalPlayerBet(int value) { bitField0_ |= 0x00000010; totalPlayerBet_ = value; - + onChanged(); return this; } /** * required uint32 totalPlayerBet = 5; + * @return This builder for chaining. */ public Builder clearTotalPlayerBet() { bitField0_ = (bitField0_ & ~0x00000010); totalPlayerBet_ = 0; - + onChanged(); return this; } - // required uint32 playerMoney = 6; private int playerMoney_ ; /** * required uint32 playerMoney = 6; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * required uint32 playerMoney = 6; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } /** * required uint32 playerMoney = 6; + * @param value The playerMoney to set. + * @return This builder for chaining. */ public Builder setPlayerMoney(int value) { bitField0_ |= 0x00000020; playerMoney_ = value; - + onChanged(); return this; } /** * required uint32 playerMoney = 6; + * @return This builder for chaining. */ public Builder clearPlayerMoney() { bitField0_ = (bitField0_ & ~0x00000020); playerMoney_ = 0; - + onChanged(); return this; } - // required uint32 highestSet = 7; private int highestSet_ ; /** * required uint32 highestSet = 7; + * @return Whether the highestSet field is set. */ + @java.lang.Override public boolean hasHighestSet() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** * required uint32 highestSet = 7; + * @return The highestSet. */ + @java.lang.Override public int getHighestSet() { return highestSet_; } /** * required uint32 highestSet = 7; + * @param value The highestSet to set. + * @return This builder for chaining. */ public Builder setHighestSet(int value) { bitField0_ |= 0x00000040; highestSet_ = value; - + onChanged(); return this; } /** * required uint32 highestSet = 7; + * @return This builder for chaining. */ public Builder clearHighestSet() { bitField0_ = (bitField0_ & ~0x00000040); highestSet_ = 0; - + onChanged(); return this; } - // required uint32 minimumRaise = 8; private int minimumRaise_ ; /** * required uint32 minimumRaise = 8; + * @return Whether the minimumRaise field is set. */ + @java.lang.Override public boolean hasMinimumRaise() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** * required uint32 minimumRaise = 8; + * @return The minimumRaise. */ + @java.lang.Override public int getMinimumRaise() { return minimumRaise_; } /** * required uint32 minimumRaise = 8; + * @param value The minimumRaise to set. + * @return This builder for chaining. */ public Builder setMinimumRaise(int value) { bitField0_ |= 0x00000080; minimumRaise_ = value; - + onChanged(); return this; } /** * required uint32 minimumRaise = 8; + * @return This builder for chaining. */ public Builder clearMinimumRaise() { bitField0_ = (bitField0_ & ~0x00000080); minimumRaise_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayersActionDoneMessage) } + // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) + private static final de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage DEFAULT_INSTANCE; static { - defaultInstance = new PlayersActionDoneMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayersActionDoneMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayersActionDoneMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PlayersActionDoneMessage) } - public interface DealFlopCardsMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface DealFlopCardsMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:DealFlopCardsMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 flopCard1 = 2; /** * required uint32 flopCard1 = 2; + * @return Whether the flopCard1 field is set. */ boolean hasFlopCard1(); /** * required uint32 flopCard1 = 2; + * @return The flopCard1. */ int getFlopCard1(); - // required uint32 flopCard2 = 3; /** * required uint32 flopCard2 = 3; + * @return Whether the flopCard2 field is set. */ boolean hasFlopCard2(); /** * required uint32 flopCard2 = 3; + * @return The flopCard2. */ int getFlopCard2(); - // required uint32 flopCard3 = 4; /** * required uint32 flopCard3 = 4; + * @return Whether the flopCard3 field is set. */ boolean hasFlopCard3(); /** * required uint32 flopCard3 = 4; + * @return The flopCard3. */ int getFlopCard3(); } @@ -32613,30 +48669,40 @@ public final class ProtoBuf { * Protobuf type {@code DealFlopCardsMessage} */ public static final class DealFlopCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealFlopCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:DealFlopCardsMessage) + DealFlopCardsMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use DealFlopCardsMessage.newBuilder() to construct. - private DealFlopCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private DealFlopCardsMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private DealFlopCardsMessage(boolean noInit) {} - - private static final DealFlopCardsMessage defaultInstance; - public static DealFlopCardsMessage getDefaultInstance() { - return defaultInstance; + private DealFlopCardsMessage() { } - public DealFlopCardsMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DealFlopCardsMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private DealFlopCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -32645,13 +48711,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -32672,107 +48731,121 @@ public final class ProtoBuf { flopCard3_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealFlopCardsMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealFlopCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.class, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 flopCard1 = 2; public static final int FLOPCARD1_FIELD_NUMBER = 2; private int flopCard1_; /** * required uint32 flopCard1 = 2; + * @return Whether the flopCard1 field is set. */ + @java.lang.Override public boolean hasFlopCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 flopCard1 = 2; + * @return The flopCard1. */ + @java.lang.Override public int getFlopCard1() { return flopCard1_; } - // required uint32 flopCard2 = 3; public static final int FLOPCARD2_FIELD_NUMBER = 3; private int flopCard2_; /** * required uint32 flopCard2 = 3; + * @return Whether the flopCard2 field is set. */ + @java.lang.Override public boolean hasFlopCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 flopCard2 = 3; + * @return The flopCard2. */ + @java.lang.Override public int getFlopCard2() { return flopCard2_; } - // required uint32 flopCard3 = 4; public static final int FLOPCARD3_FIELD_NUMBER = 4; private int flopCard3_; /** * required uint32 flopCard3 = 4; + * @return Whether the flopCard3 field is set. */ + @java.lang.Override public boolean hasFlopCard3() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 flopCard3 = 4; + * @return The flopCard3. */ + @java.lang.Override public int getFlopCard3() { return flopCard3_; } - private void initFields() { - gameId_ = 0; - flopCard1_ = 0; - flopCard2_ = 0; - flopCard3_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -32794,56 +48867,124 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, flopCard1_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, flopCard2_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, flopCard3_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, flopCard1_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, flopCard2_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, flopCard3_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage other = (de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasFlopCard1() != other.hasFlopCard1()) return false; + if (hasFlopCard1()) { + if (getFlopCard1() + != other.getFlopCard1()) return false; + } + if (hasFlopCard2() != other.hasFlopCard2()) return false; + if (hasFlopCard2()) { + if (getFlopCard2() + != other.getFlopCard2()) return false; + } + if (hasFlopCard3() != other.hasFlopCard3()) return false; + if (hasFlopCard3()) { + if (getFlopCard3() + != other.getFlopCard3()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasFlopCard1()) { + hash = (37 * hash) + FLOPCARD1_FIELD_NUMBER; + hash = (53 * hash) + getFlopCard1(); + } + if (hasFlopCard2()) { + hash = (37 * hash) + FLOPCARD2_FIELD_NUMBER; + hash = (53 * hash) + getFlopCard2(); + } + if (hasFlopCard3()) { + hash = (37 * hash) + FLOPCARD3_FIELD_NUMBER; + hash = (53 * hash) + getFlopCard3(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -32867,61 +49008,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code DealFlopCardsMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:DealFlopCardsMessage) + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealFlopCardsMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealFlopCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.class, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -32935,14 +49113,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealFlopCardsMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage build() { de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -32951,30 +49133,74 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.flopCard1_ = flopCard1_; to_bitField0_ |= 0x00000002; } - result.flopCard1_ = flopCard1_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.flopCard2_ = flopCard2_; to_bitField0_ |= 0x00000004; } - result.flopCard2_ = flopCard2_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.flopCard3_ = flopCard3_; to_bitField0_ |= 0x00000008; } - result.flopCard3_ = flopCard3_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -32989,29 +49215,29 @@ public final class ProtoBuf { if (other.hasFlopCard3()) { setFlopCard3(other.getFlopCard3()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasFlopCard1()) { - return false; } if (!hasFlopCard2()) { - return false; } if (!hasFlopCard3()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -33021,7 +49247,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -33031,169 +49257,237 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 flopCard1 = 2; private int flopCard1_ ; /** * required uint32 flopCard1 = 2; + * @return Whether the flopCard1 field is set. */ + @java.lang.Override public boolean hasFlopCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 flopCard1 = 2; + * @return The flopCard1. */ + @java.lang.Override public int getFlopCard1() { return flopCard1_; } /** * required uint32 flopCard1 = 2; + * @param value The flopCard1 to set. + * @return This builder for chaining. */ public Builder setFlopCard1(int value) { bitField0_ |= 0x00000002; flopCard1_ = value; - + onChanged(); return this; } /** * required uint32 flopCard1 = 2; + * @return This builder for chaining. */ public Builder clearFlopCard1() { bitField0_ = (bitField0_ & ~0x00000002); flopCard1_ = 0; - + onChanged(); return this; } - // required uint32 flopCard2 = 3; private int flopCard2_ ; /** * required uint32 flopCard2 = 3; + * @return Whether the flopCard2 field is set. */ + @java.lang.Override public boolean hasFlopCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 flopCard2 = 3; + * @return The flopCard2. */ + @java.lang.Override public int getFlopCard2() { return flopCard2_; } /** * required uint32 flopCard2 = 3; + * @param value The flopCard2 to set. + * @return This builder for chaining. */ public Builder setFlopCard2(int value) { bitField0_ |= 0x00000004; flopCard2_ = value; - + onChanged(); return this; } /** * required uint32 flopCard2 = 3; + * @return This builder for chaining. */ public Builder clearFlopCard2() { bitField0_ = (bitField0_ & ~0x00000004); flopCard2_ = 0; - + onChanged(); return this; } - // required uint32 flopCard3 = 4; private int flopCard3_ ; /** * required uint32 flopCard3 = 4; + * @return Whether the flopCard3 field is set. */ + @java.lang.Override public boolean hasFlopCard3() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 flopCard3 = 4; + * @return The flopCard3. */ + @java.lang.Override public int getFlopCard3() { return flopCard3_; } /** * required uint32 flopCard3 = 4; + * @param value The flopCard3 to set. + * @return This builder for chaining. */ public Builder setFlopCard3(int value) { bitField0_ |= 0x00000008; flopCard3_ = value; - + onChanged(); return this; } /** * required uint32 flopCard3 = 4; + * @return This builder for chaining. */ public Builder clearFlopCard3() { bitField0_ = (bitField0_ & ~0x00000008); flopCard3_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:DealFlopCardsMessage) } + // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) + private static final de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage DEFAULT_INSTANCE; static { - defaultInstance = new DealFlopCardsMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DealFlopCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DealFlopCardsMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:DealFlopCardsMessage) } - public interface DealTurnCardMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface DealTurnCardMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:DealTurnCardMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 turnCard = 2; /** * required uint32 turnCard = 2; + * @return Whether the turnCard field is set. */ boolean hasTurnCard(); /** * required uint32 turnCard = 2; + * @return The turnCard. */ int getTurnCard(); } @@ -33201,30 +49495,40 @@ public final class ProtoBuf { * Protobuf type {@code DealTurnCardMessage} */ public static final class DealTurnCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealTurnCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:DealTurnCardMessage) + DealTurnCardMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use DealTurnCardMessage.newBuilder() to construct. - private DealTurnCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private DealTurnCardMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private DealTurnCardMessage(boolean noInit) {} - - private static final DealTurnCardMessage defaultInstance; - public static DealTurnCardMessage getDefaultInstance() { - return defaultInstance; + private DealTurnCardMessage() { } - public DealTurnCardMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DealTurnCardMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private DealTurnCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -33233,13 +49537,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -33250,73 +49547,83 @@ public final class ProtoBuf { turnCard_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealTurnCardMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealTurnCardMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.class, de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 turnCard = 2; public static final int TURNCARD_FIELD_NUMBER = 2; private int turnCard_; /** * required uint32 turnCard = 2; + * @return Whether the turnCard field is set. */ + @java.lang.Override public boolean hasTurnCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 turnCard = 2; + * @return The turnCard. */ + @java.lang.Override public int getTurnCard() { return turnCard_; } - private void initFields() { - gameId_ = 0; - turnCard_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -33330,42 +49637,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, turnCard_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, turnCard_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.DealTurnCardMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage other = (de.pokerth.protocol.ProtoBuf.DealTurnCardMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasTurnCard() != other.hasTurnCard()) return false; + if (hasTurnCard()) { + if (getTurnCard() + != other.getTurnCard()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasTurnCard()) { + hash = (37 * hash) + TURNCARD_FIELD_NUMBER; + hash = (53 * hash) + getTurnCard(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -33389,61 +49746,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code DealTurnCardMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:DealTurnCardMessage) + de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealTurnCardMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealTurnCardMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.class, de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -33453,14 +49847,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealTurnCardMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage build() { de.pokerth.protocol.ProtoBuf.DealTurnCardMessage result = buildPartial(); if (!result.isInitialized()) { @@ -33469,22 +49867,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.turnCard_ = turnCard_; to_bitField0_ |= 0x00000002; } - result.turnCard_ = turnCard_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.DealTurnCardMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.DealTurnCardMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -33493,21 +49935,23 @@ public final class ProtoBuf { if (other.hasTurnCard()) { setTurnCard(other.getTurnCard()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasTurnCard()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -33517,7 +49961,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.DealTurnCardMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -33527,103 +49971,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 turnCard = 2; private int turnCard_ ; /** * required uint32 turnCard = 2; + * @return Whether the turnCard field is set. */ + @java.lang.Override public boolean hasTurnCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 turnCard = 2; + * @return The turnCard. */ + @java.lang.Override public int getTurnCard() { return turnCard_; } /** * required uint32 turnCard = 2; + * @param value The turnCard to set. + * @return This builder for chaining. */ public Builder setTurnCard(int value) { bitField0_ |= 0x00000002; turnCard_ = value; - + onChanged(); return this; } /** * required uint32 turnCard = 2; + * @return This builder for chaining. */ public Builder clearTurnCard() { bitField0_ = (bitField0_ & ~0x00000002); turnCard_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:DealTurnCardMessage) } + // @@protoc_insertion_point(class_scope:DealTurnCardMessage) + private static final de.pokerth.protocol.ProtoBuf.DealTurnCardMessage DEFAULT_INSTANCE; static { - defaultInstance = new DealTurnCardMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.DealTurnCardMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DealTurnCardMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DealTurnCardMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:DealTurnCardMessage) } - public interface DealRiverCardMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface DealRiverCardMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:DealRiverCardMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 riverCard = 2; /** * required uint32 riverCard = 2; + * @return Whether the riverCard field is set. */ boolean hasRiverCard(); /** * required uint32 riverCard = 2; + * @return The riverCard. */ int getRiverCard(); } @@ -33631,30 +50131,40 @@ public final class ProtoBuf { * Protobuf type {@code DealRiverCardMessage} */ public static final class DealRiverCardMessage extends - com.google.protobuf.GeneratedMessageLite - implements DealRiverCardMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:DealRiverCardMessage) + DealRiverCardMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use DealRiverCardMessage.newBuilder() to construct. - private DealRiverCardMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private DealRiverCardMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private DealRiverCardMessage(boolean noInit) {} - - private static final DealRiverCardMessage defaultInstance; - public static DealRiverCardMessage getDefaultInstance() { - return defaultInstance; + private DealRiverCardMessage() { } - public DealRiverCardMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DealRiverCardMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private DealRiverCardMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -33663,13 +50173,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -33680,73 +50183,83 @@ public final class ProtoBuf { riverCard_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealRiverCardMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealRiverCardMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.class, de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 riverCard = 2; public static final int RIVERCARD_FIELD_NUMBER = 2; private int riverCard_; /** * required uint32 riverCard = 2; + * @return Whether the riverCard field is set. */ + @java.lang.Override public boolean hasRiverCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 riverCard = 2; + * @return The riverCard. */ + @java.lang.Override public int getRiverCard() { return riverCard_; } - private void initFields() { - gameId_ = 0; - riverCard_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -33760,42 +50273,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, riverCard_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, riverCard_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.DealRiverCardMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage other = (de.pokerth.protocol.ProtoBuf.DealRiverCardMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasRiverCard() != other.hasRiverCard()) return false; + if (hasRiverCard()) { + if (getRiverCard() + != other.getRiverCard()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasRiverCard()) { + hash = (37 * hash) + RIVERCARD_FIELD_NUMBER; + hash = (53 * hash) + getRiverCard(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -33819,61 +50382,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:DealRiverCardMessage) + de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealRiverCardMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealRiverCardMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.class, de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -33883,14 +50483,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_DealRiverCardMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage build() { de.pokerth.protocol.ProtoBuf.DealRiverCardMessage result = buildPartial(); if (!result.isInitialized()) { @@ -33899,22 +50503,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.riverCard_ = riverCard_; to_bitField0_ |= 0x00000002; } - result.riverCard_ = riverCard_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.DealRiverCardMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.DealRiverCardMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -33923,21 +50571,23 @@ public final class ProtoBuf { if (other.hasRiverCard()) { setRiverCard(other.getRiverCard()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasRiverCard()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -33947,7 +50597,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.DealRiverCardMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -33957,97 +50607,151 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 riverCard = 2; private int riverCard_ ; /** * required uint32 riverCard = 2; + * @return Whether the riverCard field is set. */ + @java.lang.Override public boolean hasRiverCard() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 riverCard = 2; + * @return The riverCard. */ + @java.lang.Override public int getRiverCard() { return riverCard_; } /** * required uint32 riverCard = 2; + * @param value The riverCard to set. + * @return This builder for chaining. */ public Builder setRiverCard(int value) { bitField0_ |= 0x00000002; riverCard_ = value; - + onChanged(); return this; } /** * required uint32 riverCard = 2; + * @return This builder for chaining. */ public Builder clearRiverCard() { bitField0_ = (bitField0_ & ~0x00000002); riverCard_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:DealRiverCardMessage) } + // @@protoc_insertion_point(class_scope:DealRiverCardMessage) + private static final de.pokerth.protocol.ProtoBuf.DealRiverCardMessage DEFAULT_INSTANCE; static { - defaultInstance = new DealRiverCardMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.DealRiverCardMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DealRiverCardMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DealRiverCardMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:DealRiverCardMessage) } - public interface AllInShowCardsMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AllInShowCardsMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AllInShowCardsMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ @@ -34061,35 +50765,56 @@ public final class ProtoBuf { * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ int getPlayersAllInCount(); + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + java.util.List + getPlayersAllInOrBuilderList(); + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder getPlayersAllInOrBuilder( + int index); } /** * Protobuf type {@code AllInShowCardsMessage} */ public static final class AllInShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements AllInShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AllInShowCardsMessage) + AllInShowCardsMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AllInShowCardsMessage.newBuilder() to construct. - private AllInShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AllInShowCardsMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AllInShowCardsMessage(boolean noInit) {} - - private static final AllInShowCardsMessage defaultInstance; - public static AllInShowCardsMessage getDefaultInstance() { - return defaultInstance; + private AllInShowCardsMessage() { + playersAllIn_ = java.util.Collections.emptyList(); } - public AllInShowCardsMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AllInShowCardsMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AllInShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -34098,24 +50823,25 @@ public final class ProtoBuf { 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)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { playersAllIn_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } - playersAllIn_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.PARSER, extensionRegistry)); + playersAllIn_.add( + input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.PARSER, extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -34124,59 +50850,62 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); } + this.unknownFields = unknownFields.build(); 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_descriptor; } - public interface PlayerAllInOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.class, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder.class); + } + + public interface PlayerAllInOrBuilder extends + // @@protoc_insertion_point(interface_extends:AllInShowCardsMessage.PlayerAllIn) + com.google.protobuf.MessageOrBuilder { - // required uint32 playerId = 1; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 1; + * @return The playerId. */ int getPlayerId(); - // required uint32 allInCard1 = 2; /** * required uint32 allInCard1 = 2; + * @return Whether the allInCard1 field is set. */ boolean hasAllInCard1(); /** * required uint32 allInCard1 = 2; + * @return The allInCard1. */ int getAllInCard1(); - // required uint32 allInCard2 = 3; /** * required uint32 allInCard2 = 3; + * @return Whether the allInCard2 field is set. */ boolean hasAllInCard2(); /** * required uint32 allInCard2 = 3; + * @return The allInCard2. */ int getAllInCard2(); } @@ -34184,30 +50913,40 @@ public final class ProtoBuf { * Protobuf type {@code AllInShowCardsMessage.PlayerAllIn} */ public static final class PlayerAllIn extends - com.google.protobuf.GeneratedMessageLite - implements PlayerAllInOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AllInShowCardsMessage.PlayerAllIn) + PlayerAllInOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayerAllIn.newBuilder() to construct. - private PlayerAllIn(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayerAllIn(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayerAllIn(boolean noInit) {} - - private static final PlayerAllIn defaultInstance; - public static PlayerAllIn getDefaultInstance() { - return defaultInstance; + private PlayerAllIn() { } - public PlayerAllIn getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerAllIn(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayerAllIn( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -34216,13 +50955,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; playerId_ = input.readUInt32(); @@ -34238,90 +50970,102 @@ public final class ProtoBuf { allInCard2_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_PlayerAllIn_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_PlayerAllIn_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.class, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder.class); } private int bitField0_; - // required uint32 playerId = 1; public static final int PLAYERID_FIELD_NUMBER = 1; private int playerId_; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required uint32 allInCard1 = 2; public static final int ALLINCARD1_FIELD_NUMBER = 2; private int allInCard1_; /** * required uint32 allInCard1 = 2; + * @return Whether the allInCard1 field is set. */ + @java.lang.Override public boolean hasAllInCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 allInCard1 = 2; + * @return The allInCard1. */ + @java.lang.Override public int getAllInCard1() { return allInCard1_; } - // required uint32 allInCard2 = 3; public static final int ALLINCARD2_FIELD_NUMBER = 3; private int allInCard2_; /** * required uint32 allInCard2 = 3; + * @return Whether the allInCard2 field is set. */ + @java.lang.Override public boolean hasAllInCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 allInCard2 = 3; + * @return The allInCard2. */ + @java.lang.Override public int getAllInCard2() { return allInCard2_; } - private void initFields() { - playerId_ = 0; - allInCard1_ = 0; - allInCard2_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlayerId()) { memoizedIsInitialized = 0; @@ -34339,49 +51083,108 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, allInCard1_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, allInCard2_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, playerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, allInCard1_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, allInCard2_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn other = (de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn) obj; + + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasAllInCard1() != other.hasAllInCard1()) return false; + if (hasAllInCard1()) { + if (getAllInCard1() + != other.getAllInCard1()) return false; + } + if (hasAllInCard2() != other.hasAllInCard2()) return false; + if (hasAllInCard2()) { + if (getAllInCard2() + != other.getAllInCard2()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasAllInCard1()) { + hash = (37 * hash) + ALLINCARD1_FIELD_NUMBER; + hash = (53 * hash) + getAllInCard1(); + } + if (hasAllInCard2()) { + hash = (37 * hash) + ALLINCARD2_FIELD_NUMBER; + hash = (53 * hash) + getAllInCard2(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( + java.nio.ByteBuffer 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( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -34405,61 +51208,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage.PlayerAllIn) + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_PlayerAllIn_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_PlayerAllIn_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.class, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); playerId_ = 0; @@ -34471,14 +51311,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_PlayerAllIn_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn build() { de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn result = buildPartial(); if (!result.isInitialized()) { @@ -34487,26 +51331,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000001; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.allInCard1_ = allInCard1_; to_bitField0_ |= 0x00000002; } - result.allInCard1_ = allInCard1_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.allInCard2_ = allInCard2_; to_bitField0_ |= 0x00000004; } - result.allInCard2_ = allInCard2_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn other) { if (other == de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance()) return this; if (other.hasPlayerId()) { @@ -34518,25 +51406,26 @@ public final class ProtoBuf { if (other.hasAllInCard2()) { setAllInCard2(other.getAllInCard2()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPlayerId()) { - return false; } if (!hasAllInCard1()) { - return false; } if (!hasAllInCard2()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -34546,7 +51435,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -34556,145 +51445,208 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 playerId = 1; private int playerId_ ; /** * required uint32 playerId = 1; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 playerId = 1; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 1; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000001; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 1; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; - + onChanged(); return this; } - // required uint32 allInCard1 = 2; private int allInCard1_ ; /** * required uint32 allInCard1 = 2; + * @return Whether the allInCard1 field is set. */ + @java.lang.Override public boolean hasAllInCard1() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 allInCard1 = 2; + * @return The allInCard1. */ + @java.lang.Override public int getAllInCard1() { return allInCard1_; } /** * required uint32 allInCard1 = 2; + * @param value The allInCard1 to set. + * @return This builder for chaining. */ public Builder setAllInCard1(int value) { bitField0_ |= 0x00000002; allInCard1_ = value; - + onChanged(); return this; } /** * required uint32 allInCard1 = 2; + * @return This builder for chaining. */ public Builder clearAllInCard1() { bitField0_ = (bitField0_ & ~0x00000002); allInCard1_ = 0; - + onChanged(); return this; } - // required uint32 allInCard2 = 3; private int allInCard2_ ; /** * required uint32 allInCard2 = 3; + * @return Whether the allInCard2 field is set. */ + @java.lang.Override public boolean hasAllInCard2() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 allInCard2 = 3; + * @return The allInCard2. */ + @java.lang.Override public int getAllInCard2() { return allInCard2_; } /** * required uint32 allInCard2 = 3; + * @param value The allInCard2 to set. + * @return This builder for chaining. */ public Builder setAllInCard2(int value) { bitField0_ |= 0x00000004; allInCard2_ = value; - + onChanged(); return this; } /** * required uint32 allInCard2 = 3; + * @return This builder for chaining. */ public Builder clearAllInCard2() { bitField0_ = (bitField0_ & ~0x00000004); allInCard2_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AllInShowCardsMessage.PlayerAllIn) } + // @@protoc_insertion_point(class_scope:AllInShowCardsMessage.PlayerAllIn) + private static final de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn DEFAULT_INSTANCE; static { - defaultInstance = new PlayerAllIn(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn(); + } + + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerAllIn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerAllIn(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@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; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override 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; */ + @java.lang.Override public java.util.List getPlayersAllInList() { return playersAllIn_; } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ + @java.lang.Override public java.util.List getPlayersAllInOrBuilderList() { return playersAllIn_; @@ -34702,31 +51654,32 @@ public final class ProtoBuf { /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ + @java.lang.Override public int getPlayersAllInCount() { return playersAllIn_.size(); } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index) { return playersAllIn_.get(index); } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder getPlayersAllInOrBuilder( int index) { return playersAllIn_.get(index); } - private void initFields() { - gameId_ = 0; - playersAllIn_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -34742,24 +51695,25 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } for (int i = 0; i < playersAllIn_.size(); i++) { output.writeMessage(2, playersAllIn_.get(i)); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } @@ -34767,17 +51721,63 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playersAllIn_.get(i)); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage other = (de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (!getPlayersAllInList() + .equals(other.getPlayersAllInList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (getPlayersAllInCount() > 0) { + hash = (37 * hash) + PLAYERSALLIN_FIELD_NUMBER; + hash = (53 * hash) + getPlayersAllInList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -34801,78 +51801,124 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AllInShowCardsMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AllInShowCardsMessage) + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.class, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPlayersAllInFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playersAllIn_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + if (playersAllInBuilder_ == null) { + playersAllIn_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + playersAllInBuilder_.clear(); + } return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AllInShowCardsMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage build() { de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -34881,55 +51927,121 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); - bitField0_ = (bitField0_ & ~0x00000002); + if (playersAllInBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + playersAllIn_ = java.util.Collections.unmodifiableList(playersAllIn_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.playersAllIn_ = playersAllIn_; + } else { + result.playersAllIn_ = playersAllInBuilder_.build(); } - result.playersAllIn_ = playersAllIn_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (!other.playersAllIn_.isEmpty()) { - if (playersAllIn_.isEmpty()) { - playersAllIn_ = other.playersAllIn_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensurePlayersAllInIsMutable(); - playersAllIn_.addAll(other.playersAllIn_); + if (playersAllInBuilder_ == null) { + if (!other.playersAllIn_.isEmpty()) { + if (playersAllIn_.isEmpty()) { + playersAllIn_ = other.playersAllIn_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensurePlayersAllInIsMutable(); + playersAllIn_.addAll(other.playersAllIn_); + } + onChanged(); + } + } else { + if (!other.playersAllIn_.isEmpty()) { + if (playersAllInBuilder_.isEmpty()) { + playersAllInBuilder_.dispose(); + playersAllInBuilder_ = null; + playersAllIn_ = other.playersAllIn_; + bitField0_ = (bitField0_ & ~0x00000002); + playersAllInBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPlayersAllInFieldBuilder() : null; + } else { + playersAllInBuilder_.addAllMessages(other.playersAllIn_); + } } - } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } for (int i = 0; i < getPlayersAllInCount(); i++) { if (!getPlayersAllIn(i).isInitialized()) { - return false; } } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -34939,7 +52051,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -34949,78 +52061,102 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; private java.util.List playersAllIn_ = java.util.Collections.emptyList(); private void ensurePlayersAllInIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { playersAllIn_ = new java.util.ArrayList(playersAllIn_); bitField0_ |= 0x00000002; } } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder> playersAllInBuilder_; + /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ public java.util.List getPlayersAllInList() { - return java.util.Collections.unmodifiableList(playersAllIn_); + if (playersAllInBuilder_ == null) { + return java.util.Collections.unmodifiableList(playersAllIn_); + } else { + return playersAllInBuilder_.getMessageList(); + } } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ public int getPlayersAllInCount() { - return playersAllIn_.size(); + if (playersAllInBuilder_ == null) { + return playersAllIn_.size(); + } else { + return playersAllInBuilder_.getCount(); + } } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn getPlayersAllIn(int index) { - return playersAllIn_.get(index); + if (playersAllInBuilder_ == null) { + return playersAllIn_.get(index); + } else { + return playersAllInBuilder_.getMessage(index); + } } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ public Builder setPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { - if (value == null) { - throw new NullPointerException(); + if (playersAllInBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlayersAllInIsMutable(); + playersAllIn_.set(index, value); + onChanged(); + } else { + playersAllInBuilder_.setMessage(index, value); } - ensurePlayersAllInIsMutable(); - playersAllIn_.set(index, value); - return this; } /** @@ -35028,21 +52164,29 @@ public final class ProtoBuf { */ public Builder setPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { - ensurePlayersAllInIsMutable(); - playersAllIn_.set(index, builderForValue.build()); - + if (playersAllInBuilder_ == null) { + ensurePlayersAllInIsMutable(); + playersAllIn_.set(index, builderForValue.build()); + onChanged(); + } else { + playersAllInBuilder_.setMessage(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(); + if (playersAllInBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlayersAllInIsMutable(); + playersAllIn_.add(value); + onChanged(); + } else { + playersAllInBuilder_.addMessage(value); } - ensurePlayersAllInIsMutable(); - playersAllIn_.add(value); - return this; } /** @@ -35050,12 +52194,16 @@ public final class ProtoBuf { */ public Builder addPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn value) { - if (value == null) { - throw new NullPointerException(); + if (playersAllInBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlayersAllInIsMutable(); + playersAllIn_.add(index, value); + onChanged(); + } else { + playersAllInBuilder_.addMessage(index, value); } - ensurePlayersAllInIsMutable(); - playersAllIn_.add(index, value); - return this; } /** @@ -35063,9 +52211,13 @@ public final class ProtoBuf { */ public Builder addPlayersAllIn( de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { - ensurePlayersAllInIsMutable(); - playersAllIn_.add(builderForValue.build()); - + if (playersAllInBuilder_ == null) { + ensurePlayersAllInIsMutable(); + playersAllIn_.add(builderForValue.build()); + onChanged(); + } else { + playersAllInBuilder_.addMessage(builderForValue.build()); + } return this; } /** @@ -35073,9 +52225,13 @@ public final class ProtoBuf { */ public Builder addPlayersAllIn( int index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder builderForValue) { - ensurePlayersAllInIsMutable(); - playersAllIn_.add(index, builderForValue.build()); - + if (playersAllInBuilder_ == null) { + ensurePlayersAllInIsMutable(); + playersAllIn_.add(index, builderForValue.build()); + onChanged(); + } else { + playersAllInBuilder_.addMessage(index, builderForValue.build()); + } return this; } /** @@ -35083,55 +52239,174 @@ public final class ProtoBuf { */ public Builder addAllPlayersAllIn( java.lang.Iterable values) { - ensurePlayersAllInIsMutable(); - super.addAll(values, playersAllIn_); - + if (playersAllInBuilder_ == null) { + ensurePlayersAllInIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playersAllIn_); + onChanged(); + } else { + playersAllInBuilder_.addAllMessages(values); + } return this; } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ public Builder clearPlayersAllIn() { - playersAllIn_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - + if (playersAllInBuilder_ == null) { + playersAllIn_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + playersAllInBuilder_.clear(); + } return this; } /** * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; */ public Builder removePlayersAllIn(int index) { - ensurePlayersAllInIsMutable(); - playersAllIn_.remove(index); - + if (playersAllInBuilder_ == null) { + ensurePlayersAllInIsMutable(); + playersAllIn_.remove(index); + onChanged(); + } else { + playersAllInBuilder_.remove(index); + } return this; } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder getPlayersAllInBuilder( + int index) { + return getPlayersAllInFieldBuilder().getBuilder(index); + } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder getPlayersAllInOrBuilder( + int index) { + if (playersAllInBuilder_ == null) { + return playersAllIn_.get(index); } else { + return playersAllInBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + public java.util.List + getPlayersAllInOrBuilderList() { + if (playersAllInBuilder_ != null) { + return playersAllInBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(playersAllIn_); + } + } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder addPlayersAllInBuilder() { + return getPlayersAllInFieldBuilder().addBuilder( + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance()); + } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder addPlayersAllInBuilder( + int index) { + return getPlayersAllInFieldBuilder().addBuilder( + index, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.getDefaultInstance()); + } + /** + * repeated .AllInShowCardsMessage.PlayerAllIn playersAllIn = 2; + */ + public java.util.List + getPlayersAllInBuilderList() { + return getPlayersAllInFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder> + getPlayersAllInFieldBuilder() { + if (playersAllInBuilder_ == null) { + playersAllInBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllIn.Builder, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PlayerAllInOrBuilder>( + playersAllIn_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + playersAllIn_ = null; + } + return playersAllInBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AllInShowCardsMessage) } + // @@protoc_insertion_point(class_scope:AllInShowCardsMessage) + private static final de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage DEFAULT_INSTANCE; static { - defaultInstance = new AllInShowCardsMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllInShowCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AllInShowCardsMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AllInShowCardsMessage) } - public interface EndOfHandShowCardsMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface EndOfHandShowCardsMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:EndOfHandShowCardsMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // repeated .PlayerResult playerResults = 2; /** * repeated .PlayerResult playerResults = 2; */ @@ -35145,35 +52420,56 @@ public final class ProtoBuf { * repeated .PlayerResult playerResults = 2; */ int getPlayerResultsCount(); + /** + * repeated .PlayerResult playerResults = 2; + */ + java.util.List + getPlayerResultsOrBuilderList(); + /** + * repeated .PlayerResult playerResults = 2; + */ + de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultsOrBuilder( + int index); } /** * Protobuf type {@code EndOfHandShowCardsMessage} */ public static final class EndOfHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:EndOfHandShowCardsMessage) + EndOfHandShowCardsMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use EndOfHandShowCardsMessage.newBuilder() to construct. - private EndOfHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private EndOfHandShowCardsMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private EndOfHandShowCardsMessage(boolean noInit) {} - - private static final EndOfHandShowCardsMessage defaultInstance; - public static EndOfHandShowCardsMessage getDefaultInstance() { - return defaultInstance; + private EndOfHandShowCardsMessage() { + playerResults_ = java.util.Collections.emptyList(); } - public EndOfHandShowCardsMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EndOfHandShowCardsMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private EndOfHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -35182,24 +52478,25 @@ public final class ProtoBuf { 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)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { playerResults_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } - playerResults_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerResult.PARSER, extensionRegistry)); + playerResults_.add( + input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerResult.PARSER, extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -35208,58 +52505,61 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { playerResults_ = java.util.Collections.unmodifiableList(playerResults_); } + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandShowCardsMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandShowCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.class, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override 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; */ + @java.lang.Override public java.util.List getPlayerResultsList() { return playerResults_; } /** * repeated .PlayerResult playerResults = 2; */ + @java.lang.Override public java.util.List getPlayerResultsOrBuilderList() { return playerResults_; @@ -35267,31 +52567,32 @@ public final class ProtoBuf { /** * repeated .PlayerResult playerResults = 2; */ + @java.lang.Override public int getPlayerResultsCount() { return playerResults_.size(); } /** * repeated .PlayerResult playerResults = 2; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index) { return playerResults_.get(index); } /** * repeated .PlayerResult playerResults = 2; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultsOrBuilder( int index) { return playerResults_.get(index); } - private void initFields() { - gameId_ = 0; - playerResults_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -35307,24 +52608,25 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } for (int i = 0; i < playerResults_.size(); i++) { output.writeMessage(2, playerResults_.get(i)); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } @@ -35332,17 +52634,63 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, playerResults_.get(i)); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage other = (de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (!getPlayerResultsList() + .equals(other.getPlayerResultsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (getPlayerResultsCount() > 0) { + hash = (37 * hash) + PLAYERRESULTS_FIELD_NUMBER; + hash = (53 * hash) + getPlayerResultsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -35366,78 +52714,124 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code EndOfHandShowCardsMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:EndOfHandShowCardsMessage) + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandShowCardsMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandShowCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.class, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPlayerResultsFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - playerResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + if (playerResultsBuilder_ == null) { + playerResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + playerResultsBuilder_.clear(); + } return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandShowCardsMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage build() { de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -35446,55 +52840,121 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((bitField0_ & 0x00000002) == 0x00000002)) { - playerResults_ = java.util.Collections.unmodifiableList(playerResults_); - bitField0_ = (bitField0_ & ~0x00000002); + if (playerResultsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + playerResults_ = java.util.Collections.unmodifiableList(playerResults_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.playerResults_ = playerResults_; + } else { + result.playerResults_ = playerResultsBuilder_.build(); } - result.playerResults_ = playerResults_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) return this; if (other.hasGameId()) { setGameId(other.getGameId()); } - if (!other.playerResults_.isEmpty()) { - if (playerResults_.isEmpty()) { - playerResults_ = other.playerResults_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensurePlayerResultsIsMutable(); - playerResults_.addAll(other.playerResults_); + if (playerResultsBuilder_ == null) { + if (!other.playerResults_.isEmpty()) { + if (playerResults_.isEmpty()) { + playerResults_ = other.playerResults_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensurePlayerResultsIsMutable(); + playerResults_.addAll(other.playerResults_); + } + onChanged(); + } + } else { + if (!other.playerResults_.isEmpty()) { + if (playerResultsBuilder_.isEmpty()) { + playerResultsBuilder_.dispose(); + playerResultsBuilder_ = null; + playerResults_ = other.playerResults_; + bitField0_ = (bitField0_ & ~0x00000002); + playerResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPlayerResultsFieldBuilder() : null; + } else { + playerResultsBuilder_.addAllMessages(other.playerResults_); + } } - } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } for (int i = 0; i < getPlayerResultsCount(); i++) { if (!getPlayerResults(i).isInitialized()) { - return false; } } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -35504,7 +52964,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -35514,78 +52974,102 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // repeated .PlayerResult playerResults = 2; private java.util.List playerResults_ = java.util.Collections.emptyList(); private void ensurePlayerResultsIsMutable() { - if (!((bitField0_ & 0x00000002) == 0x00000002)) { + if (!((bitField0_ & 0x00000002) != 0)) { playerResults_ = new java.util.ArrayList(playerResults_); bitField0_ |= 0x00000002; } } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerResult, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder, de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder> playerResultsBuilder_; + /** * repeated .PlayerResult playerResults = 2; */ public java.util.List getPlayerResultsList() { - return java.util.Collections.unmodifiableList(playerResults_); + if (playerResultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(playerResults_); + } else { + return playerResultsBuilder_.getMessageList(); + } } /** * repeated .PlayerResult playerResults = 2; */ public int getPlayerResultsCount() { - return playerResults_.size(); + if (playerResultsBuilder_ == null) { + return playerResults_.size(); + } else { + return playerResultsBuilder_.getCount(); + } } /** * repeated .PlayerResult playerResults = 2; */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResults(int index) { - return playerResults_.get(index); + if (playerResultsBuilder_ == null) { + return playerResults_.get(index); + } else { + return playerResultsBuilder_.getMessage(index); + } } /** * repeated .PlayerResult playerResults = 2; */ public Builder setPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult value) { - if (value == null) { - throw new NullPointerException(); + if (playerResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlayerResultsIsMutable(); + playerResults_.set(index, value); + onChanged(); + } else { + playerResultsBuilder_.setMessage(index, value); } - ensurePlayerResultsIsMutable(); - playerResults_.set(index, value); - return this; } /** @@ -35593,21 +53077,29 @@ public final class ProtoBuf { */ public Builder setPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { - ensurePlayerResultsIsMutable(); - playerResults_.set(index, builderForValue.build()); - + if (playerResultsBuilder_ == null) { + ensurePlayerResultsIsMutable(); + playerResults_.set(index, builderForValue.build()); + onChanged(); + } else { + playerResultsBuilder_.setMessage(index, builderForValue.build()); + } return this; } /** * repeated .PlayerResult playerResults = 2; */ public Builder addPlayerResults(de.pokerth.protocol.ProtoBuf.PlayerResult value) { - if (value == null) { - throw new NullPointerException(); + if (playerResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlayerResultsIsMutable(); + playerResults_.add(value); + onChanged(); + } else { + playerResultsBuilder_.addMessage(value); } - ensurePlayerResultsIsMutable(); - playerResults_.add(value); - return this; } /** @@ -35615,12 +53107,16 @@ public final class ProtoBuf { */ public Builder addPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult value) { - if (value == null) { - throw new NullPointerException(); + if (playerResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePlayerResultsIsMutable(); + playerResults_.add(index, value); + onChanged(); + } else { + playerResultsBuilder_.addMessage(index, value); } - ensurePlayerResultsIsMutable(); - playerResults_.add(index, value); - return this; } /** @@ -35628,9 +53124,13 @@ public final class ProtoBuf { */ public Builder addPlayerResults( de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { - ensurePlayerResultsIsMutable(); - playerResults_.add(builderForValue.build()); - + if (playerResultsBuilder_ == null) { + ensurePlayerResultsIsMutable(); + playerResults_.add(builderForValue.build()); + onChanged(); + } else { + playerResultsBuilder_.addMessage(builderForValue.build()); + } return this; } /** @@ -35638,9 +53138,13 @@ public final class ProtoBuf { */ public Builder addPlayerResults( int index, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { - ensurePlayerResultsIsMutable(); - playerResults_.add(index, builderForValue.build()); - + if (playerResultsBuilder_ == null) { + ensurePlayerResultsIsMutable(); + playerResults_.add(index, builderForValue.build()); + onChanged(); + } else { + playerResultsBuilder_.addMessage(index, builderForValue.build()); + } return this; } /** @@ -35648,81 +53152,204 @@ public final class ProtoBuf { */ public Builder addAllPlayerResults( java.lang.Iterable values) { - ensurePlayerResultsIsMutable(); - super.addAll(values, playerResults_); - + if (playerResultsBuilder_ == null) { + ensurePlayerResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, playerResults_); + onChanged(); + } else { + playerResultsBuilder_.addAllMessages(values); + } return this; } /** * repeated .PlayerResult playerResults = 2; */ public Builder clearPlayerResults() { - playerResults_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - + if (playerResultsBuilder_ == null) { + playerResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + playerResultsBuilder_.clear(); + } return this; } /** * repeated .PlayerResult playerResults = 2; */ public Builder removePlayerResults(int index) { - ensurePlayerResultsIsMutable(); - playerResults_.remove(index); - + if (playerResultsBuilder_ == null) { + ensurePlayerResultsIsMutable(); + playerResults_.remove(index); + onChanged(); + } else { + playerResultsBuilder_.remove(index); + } return this; } + /** + * repeated .PlayerResult playerResults = 2; + */ + public de.pokerth.protocol.ProtoBuf.PlayerResult.Builder getPlayerResultsBuilder( + int index) { + return getPlayerResultsFieldBuilder().getBuilder(index); + } + /** + * repeated .PlayerResult playerResults = 2; + */ + public de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultsOrBuilder( + int index) { + if (playerResultsBuilder_ == null) { + return playerResults_.get(index); } else { + return playerResultsBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .PlayerResult playerResults = 2; + */ + public java.util.List + getPlayerResultsOrBuilderList() { + if (playerResultsBuilder_ != null) { + return playerResultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(playerResults_); + } + } + /** + * repeated .PlayerResult playerResults = 2; + */ + public de.pokerth.protocol.ProtoBuf.PlayerResult.Builder addPlayerResultsBuilder() { + return getPlayerResultsFieldBuilder().addBuilder( + de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance()); + } + /** + * repeated .PlayerResult playerResults = 2; + */ + public de.pokerth.protocol.ProtoBuf.PlayerResult.Builder addPlayerResultsBuilder( + int index) { + return getPlayerResultsFieldBuilder().addBuilder( + index, de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance()); + } + /** + * repeated .PlayerResult playerResults = 2; + */ + public java.util.List + getPlayerResultsBuilderList() { + return getPlayerResultsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerResult, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder, de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder> + getPlayerResultsFieldBuilder() { + if (playerResultsBuilder_ == null) { + playerResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerResult, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder, de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder>( + playerResults_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + playerResults_ = null; + } + return playerResultsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:EndOfHandShowCardsMessage) } + // @@protoc_insertion_point(class_scope:EndOfHandShowCardsMessage) + private static final de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage DEFAULT_INSTANCE; static { - defaultInstance = new EndOfHandShowCardsMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EndOfHandShowCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndOfHandShowCardsMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:EndOfHandShowCardsMessage) } - public interface EndOfHandHideCardsMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface EndOfHandHideCardsMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:EndOfHandHideCardsMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required uint32 moneyWon = 3; /** * required uint32 moneyWon = 3; + * @return Whether the moneyWon field is set. */ boolean hasMoneyWon(); /** * required uint32 moneyWon = 3; + * @return The moneyWon. */ int getMoneyWon(); - // required uint32 playerMoney = 4; /** * required uint32 playerMoney = 4; + * @return Whether the playerMoney field is set. */ boolean hasPlayerMoney(); /** * required uint32 playerMoney = 4; + * @return The playerMoney. */ int getPlayerMoney(); } @@ -35730,30 +53357,40 @@ public final class ProtoBuf { * Protobuf type {@code EndOfHandHideCardsMessage} */ public static final class EndOfHandHideCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfHandHideCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:EndOfHandHideCardsMessage) + EndOfHandHideCardsMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use EndOfHandHideCardsMessage.newBuilder() to construct. - private EndOfHandHideCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private EndOfHandHideCardsMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private EndOfHandHideCardsMessage(boolean noInit) {} - - private static final EndOfHandHideCardsMessage defaultInstance; - public static EndOfHandHideCardsMessage getDefaultInstance() { - return defaultInstance; + private EndOfHandHideCardsMessage() { } - public EndOfHandHideCardsMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EndOfHandHideCardsMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private EndOfHandHideCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -35762,13 +53399,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -35789,107 +53419,121 @@ public final class ProtoBuf { playerMoney_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandHideCardsMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandHideCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.class, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - // required uint32 moneyWon = 3; public static final int MONEYWON_FIELD_NUMBER = 3; private int moneyWon_; /** * required uint32 moneyWon = 3; + * @return Whether the moneyWon field is set. */ + @java.lang.Override public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 moneyWon = 3; + * @return The moneyWon. */ + @java.lang.Override public int getMoneyWon() { return moneyWon_; } - // required uint32 playerMoney = 4; public static final int PLAYERMONEY_FIELD_NUMBER = 4; private int playerMoney_; /** * required uint32 playerMoney = 4; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 playerMoney = 4; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - moneyWon_ = 0; - playerMoney_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -35911,56 +53555,124 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, moneyWon_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, playerMoney_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, moneyWon_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, playerMoney_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage other = (de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasMoneyWon() != other.hasMoneyWon()) return false; + if (hasMoneyWon()) { + if (getMoneyWon() + != other.getMoneyWon()) return false; + } + if (hasPlayerMoney() != other.hasPlayerMoney()) return false; + if (hasPlayerMoney()) { + if (getPlayerMoney() + != other.getPlayerMoney()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasMoneyWon()) { + hash = (37 * hash) + MONEYWON_FIELD_NUMBER; + hash = (53 * hash) + getMoneyWon(); + } + if (hasPlayerMoney()) { + hash = (37 * hash) + PLAYERMONEY_FIELD_NUMBER; + hash = (53 * hash) + getPlayerMoney(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -35984,61 +53696,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:EndOfHandHideCardsMessage) + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandHideCardsMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandHideCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.class, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -36052,14 +53801,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfHandHideCardsMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage build() { de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -36068,30 +53821,74 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.moneyWon_ = moneyWon_; to_bitField0_ |= 0x00000004; } - result.moneyWon_ = moneyWon_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.playerMoney_ = playerMoney_; to_bitField0_ |= 0x00000008; } - result.playerMoney_ = playerMoney_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -36106,29 +53903,29 @@ public final class ProtoBuf { if (other.hasPlayerMoney()) { setPlayerMoney(other.getPlayerMoney()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasMoneyWon()) { - return false; } if (!hasPlayerMoney()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -36138,7 +53935,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -36148,179 +53945,255 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required uint32 moneyWon = 3; private int moneyWon_ ; /** * required uint32 moneyWon = 3; + * @return Whether the moneyWon field is set. */ + @java.lang.Override public boolean hasMoneyWon() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 moneyWon = 3; + * @return The moneyWon. */ + @java.lang.Override public int getMoneyWon() { return moneyWon_; } /** * required uint32 moneyWon = 3; + * @param value The moneyWon to set. + * @return This builder for chaining. */ public Builder setMoneyWon(int value) { bitField0_ |= 0x00000004; moneyWon_ = value; - + onChanged(); return this; } /** * required uint32 moneyWon = 3; + * @return This builder for chaining. */ public Builder clearMoneyWon() { bitField0_ = (bitField0_ & ~0x00000004); moneyWon_ = 0; - + onChanged(); return this; } - // required uint32 playerMoney = 4; private int playerMoney_ ; /** * required uint32 playerMoney = 4; + * @return Whether the playerMoney field is set. */ + @java.lang.Override public boolean hasPlayerMoney() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 playerMoney = 4; + * @return The playerMoney. */ + @java.lang.Override public int getPlayerMoney() { return playerMoney_; } /** * required uint32 playerMoney = 4; + * @param value The playerMoney to set. + * @return This builder for chaining. */ public Builder setPlayerMoney(int value) { bitField0_ |= 0x00000008; playerMoney_ = value; - + onChanged(); return this; } /** * required uint32 playerMoney = 4; + * @return This builder for chaining. */ public Builder clearPlayerMoney() { bitField0_ = (bitField0_ & ~0x00000008); playerMoney_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:EndOfHandHideCardsMessage) } + // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) + private static final de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage DEFAULT_INSTANCE; static { - defaultInstance = new EndOfHandHideCardsMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EndOfHandHideCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndOfHandHideCardsMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:EndOfHandHideCardsMessage) } - public interface ShowMyCardsRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ShowMyCardsRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ShowMyCardsRequestMessage) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code ShowMyCardsRequestMessage} */ public static final class ShowMyCardsRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements ShowMyCardsRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ShowMyCardsRequestMessage) + ShowMyCardsRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ShowMyCardsRequestMessage.newBuilder() to construct. - private ShowMyCardsRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ShowMyCardsRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ShowMyCardsRequestMessage(boolean noInit) {} - - private static final ShowMyCardsRequestMessage defaultInstance; - public static ShowMyCardsRequestMessage getDefaultInstance() { - return defaultInstance; + private ShowMyCardsRequestMessage() { } - public ShowMyCardsRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ShowMyCardsRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ShowMyCardsRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -36330,8 +54203,8 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -36342,59 +54215,90 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ShowMyCardsRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ShowMyCardsRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.class, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder.class); } - private void initFields() { - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage other = (de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -36418,74 +54322,115 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code ShowMyCardsRequestMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ShowMyCardsRequestMessage) + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ShowMyCardsRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ShowMyCardsRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.class, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ShowMyCardsRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage build() { de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -36494,20 +54439,68 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage result = new de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage(this); + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -36517,7 +54510,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -36525,59 +54518,116 @@ public final class ProtoBuf { } return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ShowMyCardsRequestMessage) } + // @@protoc_insertion_point(class_scope:ShowMyCardsRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new ShowMyCardsRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ShowMyCardsRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ShowMyCardsRequestMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ShowMyCardsRequestMessage) } - public interface AfterHandShowCardsMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AfterHandShowCardsMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AfterHandShowCardsMessage) + com.google.protobuf.MessageOrBuilder { - // required .PlayerResult playerResult = 1; /** * required .PlayerResult playerResult = 1; + * @return Whether the playerResult field is set. */ boolean hasPlayerResult(); /** * required .PlayerResult playerResult = 1; + * @return The playerResult. */ de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResult(); + /** + * required .PlayerResult playerResult = 1; + */ + de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultOrBuilder(); } /** * Protobuf type {@code AfterHandShowCardsMessage} */ public static final class AfterHandShowCardsMessage extends - com.google.protobuf.GeneratedMessageLite - implements AfterHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AfterHandShowCardsMessage) + AfterHandShowCardsMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AfterHandShowCardsMessage.newBuilder() to construct. - private AfterHandShowCardsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AfterHandShowCardsMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AfterHandShowCardsMessage(boolean noInit) {} - - private static final AfterHandShowCardsMessage defaultInstance; - public static AfterHandShowCardsMessage getDefaultInstance() { - return defaultInstance; + private AfterHandShowCardsMessage() { } - public AfterHandShowCardsMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AfterHandShowCardsMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AfterHandShowCardsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -36586,16 +54636,9 @@ public final class ProtoBuf { 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)) { + if (((bitField0_ & 0x00000001) != 0)) { subBuilder = playerResult_.toBuilder(); } playerResult_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerResult.PARSER, extensionRegistry); @@ -36606,56 +54649,71 @@ public final class ProtoBuf { bitField0_ |= 0x00000001; break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AfterHandShowCardsMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AfterHandShowCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.class, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder.class); } 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; + * @return Whether the playerResult field is set. */ + @java.lang.Override public boolean hasPlayerResult() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); + } + /** + * required .PlayerResult playerResult = 1; + * @return The playerResult. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResult() { + return playerResult_ == null ? de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance() : playerResult_; } /** * required .PlayerResult playerResult = 1; */ - public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResult() { - return playerResult_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultOrBuilder() { + return playerResult_ == null ? de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance() : playerResult_; } - private void initFields() { - playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPlayerResult()) { memoizedIsInitialized = 0; @@ -36669,35 +54727,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeMessage(1, playerResult_); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getPlayerResult()); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, playerResult_); + .computeMessageSize(1, getPlayerResult()); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage other = (de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage) obj; + + if (hasPlayerResult() != other.hasPlayerResult()) return false; + if (hasPlayerResult()) { + if (!getPlayerResult() + .equals(other.getPlayerResult())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasPlayerResult()) { + hash = (37 * hash) + PLAYERRESULT_FIELD_NUMBER; + hash = (53 * hash) + getPlayerResult().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -36721,76 +54820,122 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AfterHandShowCardsMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AfterHandShowCardsMessage) + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AfterHandShowCardsMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AfterHandShowCardsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.class, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getPlayerResultFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); + if (playerResultBuilder_ == null) { + playerResult_ = null; + } else { + playerResultBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AfterHandShowCardsMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage build() { de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -36799,38 +54944,88 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage result = new de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + if (playerResultBuilder_ == null) { + result.playerResult_ = playerResult_; + } else { + result.playerResult_ = playerResultBuilder_.build(); + } to_bitField0_ |= 0x00000001; } - result.playerResult_ = playerResult_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance()) return this; if (other.hasPlayerResult()) { mergePlayerResult(other.getPlayerResult()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasPlayerResult()) { - return false; } if (!getPlayerResult().isInitialized()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -36840,7 +55035,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -36850,29 +55045,40 @@ public final class ProtoBuf { } private int bitField0_; - // required .PlayerResult playerResult = 1; - private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayerResult playerResult_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerResult, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder, de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder> playerResultBuilder_; /** * required .PlayerResult playerResult = 1; + * @return Whether the playerResult field is set. */ public boolean hasPlayerResult() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required .PlayerResult playerResult = 1; + * @return The playerResult. */ public de.pokerth.protocol.ProtoBuf.PlayerResult getPlayerResult() { - return playerResult_; + if (playerResultBuilder_ == null) { + return playerResult_ == null ? de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance() : playerResult_; + } else { + return playerResultBuilder_.getMessage(); + } } /** * required .PlayerResult playerResult = 1; */ public Builder setPlayerResult(de.pokerth.protocol.ProtoBuf.PlayerResult value) { - if (value == null) { - throw new NullPointerException(); + if (playerResultBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playerResult_ = value; + onChanged(); + } else { + playerResultBuilder_.setMessage(value); } - playerResult_ = value; - bitField0_ |= 0x00000001; return this; } @@ -36881,8 +55087,12 @@ public final class ProtoBuf { */ public Builder setPlayerResult( de.pokerth.protocol.ProtoBuf.PlayerResult.Builder builderForValue) { - playerResult_ = builderForValue.build(); - + if (playerResultBuilder_ == null) { + playerResult_ = builderForValue.build(); + onChanged(); + } else { + playerResultBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000001; return this; } @@ -36890,14 +55100,19 @@ public final class ProtoBuf { * required .PlayerResult playerResult = 1; */ public Builder mergePlayerResult(de.pokerth.protocol.ProtoBuf.PlayerResult value) { - if (((bitField0_ & 0x00000001) == 0x00000001) && - playerResult_ != de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance()) { - playerResult_ = - de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder(playerResult_).mergeFrom(value).buildPartial(); + if (playerResultBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + playerResult_ != null && + playerResult_ != de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance()) { + playerResult_ = + de.pokerth.protocol.ProtoBuf.PlayerResult.newBuilder(playerResult_).mergeFrom(value).buildPartial(); + } else { + playerResult_ = value; + } + onChanged(); } else { - playerResult_ = value; + playerResultBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; return this; } @@ -36905,43 +55120,126 @@ public final class ProtoBuf { * required .PlayerResult playerResult = 1; */ public Builder clearPlayerResult() { - playerResult_ = de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance(); - + if (playerResultBuilder_ == null) { + playerResult_ = null; + onChanged(); + } else { + playerResultBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000001); return this; } + /** + * required .PlayerResult playerResult = 1; + */ + public de.pokerth.protocol.ProtoBuf.PlayerResult.Builder getPlayerResultBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getPlayerResultFieldBuilder().getBuilder(); + } + /** + * required .PlayerResult playerResult = 1; + */ + public de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder getPlayerResultOrBuilder() { + if (playerResultBuilder_ != null) { + return playerResultBuilder_.getMessageOrBuilder(); + } else { + return playerResult_ == null ? + de.pokerth.protocol.ProtoBuf.PlayerResult.getDefaultInstance() : playerResult_; + } + } + /** + * required .PlayerResult playerResult = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerResult, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder, de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder> + getPlayerResultFieldBuilder() { + if (playerResultBuilder_ == null) { + playerResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerResult, de.pokerth.protocol.ProtoBuf.PlayerResult.Builder, de.pokerth.protocol.ProtoBuf.PlayerResultOrBuilder>( + getPlayerResult(), + getParentForChildren(), + isClean()); + playerResult_ = null; + } + return playerResultBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AfterHandShowCardsMessage) } + // @@protoc_insertion_point(class_scope:AfterHandShowCardsMessage) + private static final de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage DEFAULT_INSTANCE; static { - defaultInstance = new AfterHandShowCardsMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AfterHandShowCardsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AfterHandShowCardsMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AfterHandShowCardsMessage) } - public interface EndOfGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface EndOfGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:EndOfGameMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 winnerPlayerId = 2; /** * required uint32 winnerPlayerId = 2; + * @return Whether the winnerPlayerId field is set. */ boolean hasWinnerPlayerId(); /** * required uint32 winnerPlayerId = 2; + * @return The winnerPlayerId. */ int getWinnerPlayerId(); } @@ -36949,30 +55247,40 @@ public final class ProtoBuf { * Protobuf type {@code EndOfGameMessage} */ public static final class EndOfGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndOfGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:EndOfGameMessage) + EndOfGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use EndOfGameMessage.newBuilder() to construct. - private EndOfGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private EndOfGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private EndOfGameMessage(boolean noInit) {} - - private static final EndOfGameMessage defaultInstance; - public static EndOfGameMessage getDefaultInstance() { - return defaultInstance; + private EndOfGameMessage() { } - public EndOfGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EndOfGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private EndOfGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -36981,13 +55289,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -36998,73 +55299,83 @@ public final class ProtoBuf { winnerPlayerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.class, de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 winnerPlayerId = 2; public static final int WINNERPLAYERID_FIELD_NUMBER = 2; private int winnerPlayerId_; /** * required uint32 winnerPlayerId = 2; + * @return Whether the winnerPlayerId field is set. */ + @java.lang.Override public boolean hasWinnerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 winnerPlayerId = 2; + * @return The winnerPlayerId. */ + @java.lang.Override public int getWinnerPlayerId() { return winnerPlayerId_; } - private void initFields() { - gameId_ = 0; - winnerPlayerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -37078,42 +55389,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, winnerPlayerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, winnerPlayerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.EndOfGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.EndOfGameMessage other = (de.pokerth.protocol.ProtoBuf.EndOfGameMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasWinnerPlayerId() != other.hasWinnerPlayerId()) return false; + if (hasWinnerPlayerId()) { + if (getWinnerPlayerId() + != other.getWinnerPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasWinnerPlayerId()) { + hash = (37 * hash) + WINNERPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getWinnerPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -37137,61 +55498,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndOfGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code EndOfGameMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.EndOfGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:EndOfGameMessage) + de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.class, de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -37201,14 +55599,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndOfGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndOfGameMessage build() { de.pokerth.protocol.ProtoBuf.EndOfGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -37217,22 +55619,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.winnerPlayerId_ = winnerPlayerId_; to_bitField0_ |= 0x00000002; } - result.winnerPlayerId_ = winnerPlayerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.EndOfGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.EndOfGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndOfGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -37241,21 +55687,23 @@ public final class ProtoBuf { if (other.hasWinnerPlayerId()) { setWinnerPlayerId(other.getWinnerPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasWinnerPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -37265,7 +55713,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.EndOfGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -37275,103 +55723,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 winnerPlayerId = 2; private int winnerPlayerId_ ; /** * required uint32 winnerPlayerId = 2; + * @return Whether the winnerPlayerId field is set. */ + @java.lang.Override public boolean hasWinnerPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 winnerPlayerId = 2; + * @return The winnerPlayerId. */ + @java.lang.Override public int getWinnerPlayerId() { return winnerPlayerId_; } /** * required uint32 winnerPlayerId = 2; + * @param value The winnerPlayerId to set. + * @return This builder for chaining. */ public Builder setWinnerPlayerId(int value) { bitField0_ |= 0x00000002; winnerPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 winnerPlayerId = 2; + * @return This builder for chaining. */ public Builder clearWinnerPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); winnerPlayerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:EndOfGameMessage) } + // @@protoc_insertion_point(class_scope:EndOfGameMessage) + private static final de.pokerth.protocol.ProtoBuf.EndOfGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new EndOfGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.EndOfGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.EndOfGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EndOfGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndOfGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:EndOfGameMessage) } - public interface PlayerIdChangedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PlayerIdChangedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:PlayerIdChangedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 oldPlayerId = 1; /** * required uint32 oldPlayerId = 1; + * @return Whether the oldPlayerId field is set. */ boolean hasOldPlayerId(); /** * required uint32 oldPlayerId = 1; + * @return The oldPlayerId. */ int getOldPlayerId(); - // required uint32 newPlayerId = 2; /** * required uint32 newPlayerId = 2; + * @return Whether the newPlayerId field is set. */ boolean hasNewPlayerId(); /** * required uint32 newPlayerId = 2; + * @return The newPlayerId. */ int getNewPlayerId(); } @@ -37379,30 +55883,40 @@ public final class ProtoBuf { * Protobuf type {@code PlayerIdChangedMessage} */ public static final class PlayerIdChangedMessage extends - com.google.protobuf.GeneratedMessageLite - implements PlayerIdChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PlayerIdChangedMessage) + PlayerIdChangedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use PlayerIdChangedMessage.newBuilder() to construct. - private PlayerIdChangedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PlayerIdChangedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PlayerIdChangedMessage(boolean noInit) {} - - private static final PlayerIdChangedMessage defaultInstance; - public static PlayerIdChangedMessage getDefaultInstance() { - return defaultInstance; + private PlayerIdChangedMessage() { } - public PlayerIdChangedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PlayerIdChangedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PlayerIdChangedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -37411,13 +55925,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; oldPlayerId_ = input.readUInt32(); @@ -37428,73 +55935,83 @@ public final class ProtoBuf { newPlayerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerIdChangedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerIdChangedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.class, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder.class); } private int bitField0_; - // required uint32 oldPlayerId = 1; public static final int OLDPLAYERID_FIELD_NUMBER = 1; private int oldPlayerId_; /** * required uint32 oldPlayerId = 1; + * @return Whether the oldPlayerId field is set. */ + @java.lang.Override public boolean hasOldPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 oldPlayerId = 1; + * @return The oldPlayerId. */ + @java.lang.Override public int getOldPlayerId() { return oldPlayerId_; } - // required uint32 newPlayerId = 2; public static final int NEWPLAYERID_FIELD_NUMBER = 2; private int newPlayerId_; /** * required uint32 newPlayerId = 2; + * @return Whether the newPlayerId field is set. */ + @java.lang.Override public boolean hasNewPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 newPlayerId = 2; + * @return The newPlayerId. */ + @java.lang.Override public int getNewPlayerId() { return newPlayerId_; } - private void initFields() { - oldPlayerId_ = 0; - newPlayerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasOldPlayerId()) { memoizedIsInitialized = 0; @@ -37508,42 +56025,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, oldPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, newPlayerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, oldPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, newPlayerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage other = (de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage) obj; + + if (hasOldPlayerId() != other.hasOldPlayerId()) return false; + if (hasOldPlayerId()) { + if (getOldPlayerId() + != other.getOldPlayerId()) return false; + } + if (hasNewPlayerId() != other.hasNewPlayerId()) return false; + if (hasNewPlayerId()) { + if (getNewPlayerId() + != other.getNewPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasOldPlayerId()) { + hash = (37 * hash) + OLDPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getOldPlayerId(); + } + if (hasNewPlayerId()) { + hash = (37 * hash) + NEWPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getNewPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -37567,61 +56134,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code PlayerIdChangedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PlayerIdChangedMessage) + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerIdChangedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerIdChangedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.class, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); oldPlayerId_ = 0; @@ -37631,14 +56235,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PlayerIdChangedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage build() { de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -37647,22 +56255,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.oldPlayerId_ = oldPlayerId_; to_bitField0_ |= 0x00000001; } - result.oldPlayerId_ = oldPlayerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.newPlayerId_ = newPlayerId_; to_bitField0_ |= 0x00000002; } - result.newPlayerId_ = newPlayerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) return this; if (other.hasOldPlayerId()) { @@ -37671,21 +56323,23 @@ public final class ProtoBuf { if (other.hasNewPlayerId()) { setNewPlayerId(other.getNewPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasOldPlayerId()) { - return false; } if (!hasNewPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -37695,7 +56349,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -37705,103 +56359,159 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 oldPlayerId = 1; private int oldPlayerId_ ; /** * required uint32 oldPlayerId = 1; + * @return Whether the oldPlayerId field is set. */ + @java.lang.Override public boolean hasOldPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 oldPlayerId = 1; + * @return The oldPlayerId. */ + @java.lang.Override public int getOldPlayerId() { return oldPlayerId_; } /** * required uint32 oldPlayerId = 1; + * @param value The oldPlayerId to set. + * @return This builder for chaining. */ public Builder setOldPlayerId(int value) { bitField0_ |= 0x00000001; oldPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 oldPlayerId = 1; + * @return This builder for chaining. */ public Builder clearOldPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); oldPlayerId_ = 0; - + onChanged(); return this; } - // required uint32 newPlayerId = 2; private int newPlayerId_ ; /** * required uint32 newPlayerId = 2; + * @return Whether the newPlayerId field is set. */ + @java.lang.Override public boolean hasNewPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 newPlayerId = 2; + * @return The newPlayerId. */ + @java.lang.Override public int getNewPlayerId() { return newPlayerId_; } /** * required uint32 newPlayerId = 2; + * @param value The newPlayerId to set. + * @return This builder for chaining. */ public Builder setNewPlayerId(int value) { bitField0_ |= 0x00000002; newPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 newPlayerId = 2; + * @return This builder for chaining. */ public Builder clearNewPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); newPlayerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PlayerIdChangedMessage) } + // @@protoc_insertion_point(class_scope:PlayerIdChangedMessage) + private static final de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage DEFAULT_INSTANCE; static { - defaultInstance = new PlayerIdChangedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PlayerIdChangedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PlayerIdChangedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PlayerIdChangedMessage) } - public interface AskKickPlayerMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AskKickPlayerMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AskKickPlayerMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); } @@ -37809,30 +56519,40 @@ public final class ProtoBuf { * Protobuf type {@code AskKickPlayerMessage} */ public static final class AskKickPlayerMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AskKickPlayerMessage) + AskKickPlayerMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AskKickPlayerMessage.newBuilder() to construct. - private AskKickPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AskKickPlayerMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AskKickPlayerMessage(boolean noInit) {} - - private static final AskKickPlayerMessage defaultInstance; - public static AskKickPlayerMessage getDefaultInstance() { - return defaultInstance; + private AskKickPlayerMessage() { } - public AskKickPlayerMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AskKickPlayerMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AskKickPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -37841,13 +56561,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -37858,73 +56571,83 @@ public final class ProtoBuf { playerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickPlayerMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickPlayerMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.class, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -37938,42 +56661,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage other = (de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -37997,61 +56770,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AskKickPlayerMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AskKickPlayerMessage) + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickPlayerMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickPlayerMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.class, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -38061,14 +56871,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickPlayerMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage build() { de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage result = buildPartial(); if (!result.isInitialized()) { @@ -38077,22 +56891,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -38101,21 +56959,23 @@ public final class ProtoBuf { if (other.hasPlayerId()) { setPlayerId(other.getPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -38125,7 +56985,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -38135,113 +56995,170 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AskKickPlayerMessage) } + // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) + private static final de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage DEFAULT_INSTANCE; static { - defaultInstance = new AskKickPlayerMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AskKickPlayerMessage) } - public interface AskKickDeniedMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AskKickDeniedMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AskKickDeniedMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 playerId = 2; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * required uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @return Whether the kickDeniedReason field is set. */ boolean hasKickDeniedReason(); /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @return The kickDeniedReason. */ de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason(); } @@ -38249,30 +57166,41 @@ public final class ProtoBuf { * Protobuf type {@code AskKickDeniedMessage} */ public static final class AskKickDeniedMessage extends - com.google.protobuf.GeneratedMessageLite - implements AskKickDeniedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AskKickDeniedMessage) + AskKickDeniedMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AskKickDeniedMessage.newBuilder() to construct. - private AskKickDeniedMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AskKickDeniedMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AskKickDeniedMessage(boolean noInit) {} - - private static final AskKickDeniedMessage defaultInstance; - public static AskKickDeniedMessage getDefaultInstance() { - return defaultInstance; + private AskKickDeniedMessage() { + kickDeniedReason_ = 0; } - public AskKickDeniedMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AskKickDeniedMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AskKickDeniedMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -38281,13 +57209,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -38300,10 +57221,20 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - kickDeniedReason_ = value; + kickDeniedReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -38313,51 +57244,50 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickDeniedMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickDeniedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.class, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder.class); } /** * Protobuf enum {@code AskKickDeniedMessage.KickDeniedReason} */ public enum KickDeniedReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * kickDeniedInvalidGameState = 0; */ - kickDeniedInvalidGameState(0, 0), + kickDeniedInvalidGameState(0), /** * kickDeniedNotPossible = 1; */ - kickDeniedNotPossible(1, 1), + kickDeniedNotPossible(1), /** * kickDeniedTryAgainLater = 2; */ - kickDeniedTryAgainLater(2, 2), + kickDeniedTryAgainLater(2), /** * kickDeniedAlreadyInProgress = 3; */ - kickDeniedAlreadyInProgress(3, 3), + kickDeniedAlreadyInProgress(3), /** * kickDeniedInvalidPlayerId = 4; */ - kickDeniedInvalidPlayerId(4, 4), + kickDeniedInvalidPlayerId(4), ; /** @@ -38382,9 +57312,25 @@ public final class ProtoBuf { public static final int kickDeniedInvalidPlayerId_VALUE = 4; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static KickDeniedReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static KickDeniedReason forNumber(int value) { switch (value) { case 0: return kickDeniedInvalidGameState; case 1: return kickDeniedNotPossible; @@ -38399,17 +57345,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + KickDeniedReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public KickDeniedReason findValueByNumber(int number) { - return KickDeniedReason.valueOf(number); + return KickDeniedReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final KickDeniedReason[] VALUES = values(); + + public static KickDeniedReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private KickDeniedReason(int index, int value) { + private KickDeniedReason(int value) { this.value = value; } @@ -38417,63 +57387,69 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override 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_; + private int kickDeniedReason_; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @return Whether the kickDeniedReason field is set. */ - public boolean hasKickDeniedReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasKickDeniedReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @return The kickDeniedReason. */ - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { - return kickDeniedReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason result = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.valueOf(kickDeniedReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState : result; } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -38491,49 +57467,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, kickDeniedReason_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, kickDeniedReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, kickDeniedReason_.getNumber()); + .computeEnumSize(3, kickDeniedReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage other = (de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasKickDeniedReason() != other.hasKickDeniedReason()) return false; + if (hasKickDeniedReason()) { + if (kickDeniedReason_ != other.kickDeniedReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasKickDeniedReason()) { + hash = (37 * hash) + KICKDENIEDREASON_FIELD_NUMBER; + hash = (53 * hash) + kickDeniedReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -38557,80 +57591,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AskKickDeniedMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AskKickDeniedMessage) + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickDeniedMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickDeniedMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.class, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; + kickDeniedReason_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AskKickDeniedMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage build() { de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage result = buildPartial(); if (!result.isInitialized()) { @@ -38639,26 +57714,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.kickDeniedReason_ = kickDeniedReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -38670,25 +57789,26 @@ public final class ProtoBuf { if (other.hasKickDeniedReason()) { setKickDeniedReason(other.getKickDeniedReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPlayerId()) { - return false; } if (!hasKickDeniedReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -38698,7 +57818,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -38708,179 +57828,246 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 playerId = 2; private int playerId_ ; /** * required uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * required uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * required uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; - private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; + private int kickDeniedReason_ = 0; /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @return Whether the kickDeniedReason field is set. */ - public boolean hasKickDeniedReason() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasKickDeniedReason() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @return The kickDeniedReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason getKickDeniedReason() { - return kickDeniedReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason result = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.valueOf(kickDeniedReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState : result; } /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @param value The kickDeniedReason to set. + * @return This builder for chaining. */ public Builder setKickDeniedReason(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - kickDeniedReason_ = value; - + kickDeniedReason_ = value.getNumber(); + onChanged(); return this; } /** * required .AskKickDeniedMessage.KickDeniedReason kickDeniedReason = 3; + * @return This builder for chaining. */ public Builder clearKickDeniedReason() { bitField0_ = (bitField0_ & ~0x00000004); - kickDeniedReason_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.KickDeniedReason.kickDeniedInvalidGameState; - + kickDeniedReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AskKickDeniedMessage) } + // @@protoc_insertion_point(class_scope:AskKickDeniedMessage) + private static final de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage DEFAULT_INSTANCE; static { - defaultInstance = new AskKickDeniedMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AskKickDeniedMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AskKickDeniedMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AskKickDeniedMessage) } - public interface StartKickPetitionMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface StartKickPetitionMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:StartKickPetitionMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ boolean hasPetitionId(); /** * required uint32 petitionId = 2; + * @return The petitionId. */ int getPetitionId(); - // required uint32 proposingPlayerId = 3; /** * required uint32 proposingPlayerId = 3; + * @return Whether the proposingPlayerId field is set. */ boolean hasProposingPlayerId(); /** * required uint32 proposingPlayerId = 3; + * @return The proposingPlayerId. */ int getProposingPlayerId(); - // required uint32 kickPlayerId = 4; /** * required uint32 kickPlayerId = 4; + * @return Whether the kickPlayerId field is set. */ boolean hasKickPlayerId(); /** * required uint32 kickPlayerId = 4; + * @return The kickPlayerId. */ int getKickPlayerId(); - // required uint32 kickTimeoutSec = 5; /** * required uint32 kickTimeoutSec = 5; + * @return Whether the kickTimeoutSec field is set. */ boolean hasKickTimeoutSec(); /** * required uint32 kickTimeoutSec = 5; + * @return The kickTimeoutSec. */ int getKickTimeoutSec(); - // required uint32 numVotesNeededToKick = 6; /** * required uint32 numVotesNeededToKick = 6; + * @return Whether the numVotesNeededToKick field is set. */ boolean hasNumVotesNeededToKick(); /** * required uint32 numVotesNeededToKick = 6; + * @return The numVotesNeededToKick. */ int getNumVotesNeededToKick(); } @@ -38888,30 +58075,40 @@ public final class ProtoBuf { * Protobuf type {@code StartKickPetitionMessage} */ public static final class StartKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements StartKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:StartKickPetitionMessage) + StartKickPetitionMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use StartKickPetitionMessage.newBuilder() to construct. - private StartKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private StartKickPetitionMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private StartKickPetitionMessage(boolean noInit) {} - - private static final StartKickPetitionMessage defaultInstance; - public static StartKickPetitionMessage getDefaultInstance() { - return defaultInstance; + private StartKickPetitionMessage() { } - public StartKickPetitionMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StartKickPetitionMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private StartKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -38920,13 +58117,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -38957,141 +58147,159 @@ public final class ProtoBuf { numVotesNeededToKick_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartKickPetitionMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartKickPetitionMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.class, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } - // required uint32 proposingPlayerId = 3; public static final int PROPOSINGPLAYERID_FIELD_NUMBER = 3; private int proposingPlayerId_; /** * required uint32 proposingPlayerId = 3; + * @return Whether the proposingPlayerId field is set. */ + @java.lang.Override public boolean hasProposingPlayerId() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 proposingPlayerId = 3; + * @return The proposingPlayerId. */ + @java.lang.Override public int getProposingPlayerId() { return proposingPlayerId_; } - // required uint32 kickPlayerId = 4; public static final int KICKPLAYERID_FIELD_NUMBER = 4; private int kickPlayerId_; /** * required uint32 kickPlayerId = 4; + * @return Whether the kickPlayerId field is set. */ + @java.lang.Override public boolean hasKickPlayerId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 kickPlayerId = 4; + * @return The kickPlayerId. */ + @java.lang.Override public int getKickPlayerId() { return kickPlayerId_; } - // required uint32 kickTimeoutSec = 5; public static final int KICKTIMEOUTSEC_FIELD_NUMBER = 5; private int kickTimeoutSec_; /** * required uint32 kickTimeoutSec = 5; + * @return Whether the kickTimeoutSec field is set. */ + @java.lang.Override public boolean hasKickTimeoutSec() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 kickTimeoutSec = 5; + * @return The kickTimeoutSec. */ + @java.lang.Override public int getKickTimeoutSec() { return kickTimeoutSec_; } - // required uint32 numVotesNeededToKick = 6; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 6; private int numVotesNeededToKick_; /** * required uint32 numVotesNeededToKick = 6; + * @return Whether the numVotesNeededToKick field is set. */ + @java.lang.Override public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * required uint32 numVotesNeededToKick = 6; + * @return The numVotesNeededToKick. */ + @java.lang.Override public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } - private void initFields() { - gameId_ = 0; - petitionId_ = 0; - proposingPlayerId_ = 0; - kickPlayerId_ = 0; - kickTimeoutSec_ = 0; - numVotesNeededToKick_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -39121,70 +58329,156 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, proposingPlayerId_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, kickPlayerId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, kickTimeoutSec_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { output.writeUInt32(6, numVotesNeededToKick_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, proposingPlayerId_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, kickPlayerId_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, kickTimeoutSec_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, numVotesNeededToKick_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage other = (de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPetitionId() != other.hasPetitionId()) return false; + if (hasPetitionId()) { + if (getPetitionId() + != other.getPetitionId()) return false; + } + if (hasProposingPlayerId() != other.hasProposingPlayerId()) return false; + if (hasProposingPlayerId()) { + if (getProposingPlayerId() + != other.getProposingPlayerId()) return false; + } + if (hasKickPlayerId() != other.hasKickPlayerId()) return false; + if (hasKickPlayerId()) { + if (getKickPlayerId() + != other.getKickPlayerId()) return false; + } + if (hasKickTimeoutSec() != other.hasKickTimeoutSec()) return false; + if (hasKickTimeoutSec()) { + if (getKickTimeoutSec() + != other.getKickTimeoutSec()) return false; + } + if (hasNumVotesNeededToKick() != other.hasNumVotesNeededToKick()) return false; + if (hasNumVotesNeededToKick()) { + if (getNumVotesNeededToKick() + != other.getNumVotesNeededToKick()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPetitionId()) { + hash = (37 * hash) + PETITIONID_FIELD_NUMBER; + hash = (53 * hash) + getPetitionId(); + } + if (hasProposingPlayerId()) { + hash = (37 * hash) + PROPOSINGPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getProposingPlayerId(); + } + if (hasKickPlayerId()) { + hash = (37 * hash) + KICKPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getKickPlayerId(); + } + if (hasKickTimeoutSec()) { + hash = (37 * hash) + KICKTIMEOUTSEC_FIELD_NUMBER; + hash = (53 * hash) + getKickTimeoutSec(); + } + if (hasNumVotesNeededToKick()) { + hash = (37 * hash) + NUMVOTESNEEDEDTOKICK_FIELD_NUMBER; + hash = (53 * hash) + getNumVotesNeededToKick(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -39208,61 +58502,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code StartKickPetitionMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:StartKickPetitionMessage) + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartKickPetitionMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartKickPetitionMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.class, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -39280,14 +58611,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_StartKickPetitionMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage build() { de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage result = buildPartial(); if (!result.isInitialized()) { @@ -39296,38 +58631,82 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.petitionId_ = petitionId_; to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.proposingPlayerId_ = proposingPlayerId_; to_bitField0_ |= 0x00000004; } - result.proposingPlayerId_ = proposingPlayerId_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.kickPlayerId_ = kickPlayerId_; to_bitField0_ |= 0x00000008; } - result.kickPlayerId_ = kickPlayerId_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.kickTimeoutSec_ = kickTimeoutSec_; to_bitField0_ |= 0x00000010; } - result.kickTimeoutSec_ = kickTimeoutSec_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + result.numVotesNeededToKick_ = numVotesNeededToKick_; to_bitField0_ |= 0x00000020; } - result.numVotesNeededToKick_ = numVotesNeededToKick_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -39348,37 +58727,35 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPetitionId()) { - return false; } if (!hasProposingPlayerId()) { - return false; } if (!hasKickPlayerId()) { - return false; } if (!hasKickTimeoutSec()) { - return false; } if (!hasNumVotesNeededToKick()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -39388,7 +58765,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -39398,245 +58775,326 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } /** * required uint32 petitionId = 2; + * @param value The petitionId to set. + * @return This builder for chaining. */ public Builder setPetitionId(int value) { bitField0_ |= 0x00000002; petitionId_ = value; - + onChanged(); return this; } /** * required uint32 petitionId = 2; + * @return This builder for chaining. */ public Builder clearPetitionId() { bitField0_ = (bitField0_ & ~0x00000002); petitionId_ = 0; - + onChanged(); return this; } - // required uint32 proposingPlayerId = 3; private int proposingPlayerId_ ; /** * required uint32 proposingPlayerId = 3; + * @return Whether the proposingPlayerId field is set. */ + @java.lang.Override public boolean hasProposingPlayerId() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 proposingPlayerId = 3; + * @return The proposingPlayerId. */ + @java.lang.Override public int getProposingPlayerId() { return proposingPlayerId_; } /** * required uint32 proposingPlayerId = 3; + * @param value The proposingPlayerId to set. + * @return This builder for chaining. */ public Builder setProposingPlayerId(int value) { bitField0_ |= 0x00000004; proposingPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 proposingPlayerId = 3; + * @return This builder for chaining. */ public Builder clearProposingPlayerId() { bitField0_ = (bitField0_ & ~0x00000004); proposingPlayerId_ = 0; - + onChanged(); return this; } - // required uint32 kickPlayerId = 4; private int kickPlayerId_ ; /** * required uint32 kickPlayerId = 4; + * @return Whether the kickPlayerId field is set. */ + @java.lang.Override public boolean hasKickPlayerId() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 kickPlayerId = 4; + * @return The kickPlayerId. */ + @java.lang.Override public int getKickPlayerId() { return kickPlayerId_; } /** * required uint32 kickPlayerId = 4; + * @param value The kickPlayerId to set. + * @return This builder for chaining. */ public Builder setKickPlayerId(int value) { bitField0_ |= 0x00000008; kickPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 kickPlayerId = 4; + * @return This builder for chaining. */ public Builder clearKickPlayerId() { bitField0_ = (bitField0_ & ~0x00000008); kickPlayerId_ = 0; - + onChanged(); return this; } - // required uint32 kickTimeoutSec = 5; private int kickTimeoutSec_ ; /** * required uint32 kickTimeoutSec = 5; + * @return Whether the kickTimeoutSec field is set. */ + @java.lang.Override public boolean hasKickTimeoutSec() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 kickTimeoutSec = 5; + * @return The kickTimeoutSec. */ + @java.lang.Override public int getKickTimeoutSec() { return kickTimeoutSec_; } /** * required uint32 kickTimeoutSec = 5; + * @param value The kickTimeoutSec to set. + * @return This builder for chaining. */ public Builder setKickTimeoutSec(int value) { bitField0_ |= 0x00000010; kickTimeoutSec_ = value; - + onChanged(); return this; } /** * required uint32 kickTimeoutSec = 5; + * @return This builder for chaining. */ public Builder clearKickTimeoutSec() { bitField0_ = (bitField0_ & ~0x00000010); kickTimeoutSec_ = 0; - + onChanged(); return this; } - // required uint32 numVotesNeededToKick = 6; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 6; + * @return Whether the numVotesNeededToKick field is set. */ + @java.lang.Override public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * required uint32 numVotesNeededToKick = 6; + * @return The numVotesNeededToKick. */ + @java.lang.Override public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } /** * required uint32 numVotesNeededToKick = 6; + * @param value The numVotesNeededToKick to set. + * @return This builder for chaining. */ public Builder setNumVotesNeededToKick(int value) { bitField0_ |= 0x00000020; numVotesNeededToKick_ = value; - + onChanged(); return this; } /** * required uint32 numVotesNeededToKick = 6; + * @return This builder for chaining. */ public Builder clearNumVotesNeededToKick() { bitField0_ = (bitField0_ & ~0x00000020); numVotesNeededToKick_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:StartKickPetitionMessage) } + // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) + private static final de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage DEFAULT_INSTANCE; static { - defaultInstance = new StartKickPetitionMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StartKickPetitionMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartKickPetitionMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:StartKickPetitionMessage) } - public interface VoteKickRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface VoteKickRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:VoteKickRequestMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ boolean hasPetitionId(); /** * required uint32 petitionId = 2; + * @return The petitionId. */ int getPetitionId(); - // required bool voteKick = 3; /** * required bool voteKick = 3; + * @return Whether the voteKick field is set. */ boolean hasVoteKick(); /** * required bool voteKick = 3; + * @return The voteKick. */ boolean getVoteKick(); } @@ -39644,30 +59102,40 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickRequestMessage} */ public static final class VoteKickRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:VoteKickRequestMessage) + VoteKickRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use VoteKickRequestMessage.newBuilder() to construct. - private VoteKickRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private VoteKickRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private VoteKickRequestMessage(boolean noInit) {} - - private static final VoteKickRequestMessage defaultInstance; - public static VoteKickRequestMessage getDefaultInstance() { - return defaultInstance; + private VoteKickRequestMessage() { } - public VoteKickRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new VoteKickRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private VoteKickRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -39676,13 +59144,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -39698,90 +59159,102 @@ public final class ProtoBuf { voteKick_ = input.readBool(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.class, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } - // required bool voteKick = 3; public static final int VOTEKICK_FIELD_NUMBER = 3; private boolean voteKick_; /** * required bool voteKick = 3; + * @return Whether the voteKick field is set. */ + @java.lang.Override public boolean hasVoteKick() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required bool voteKick = 3; + * @return The voteKick. */ + @java.lang.Override public boolean getVoteKick() { return voteKick_; } - private void initFields() { - gameId_ = 0; - petitionId_ = 0; - voteKick_ = false; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -39799,49 +59272,109 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(3, voteKick_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, voteKick_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage other = (de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPetitionId() != other.hasPetitionId()) return false; + if (hasPetitionId()) { + if (getPetitionId() + != other.getPetitionId()) return false; + } + if (hasVoteKick() != other.hasVoteKick()) return false; + if (hasVoteKick()) { + if (getVoteKick() + != other.getVoteKick()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPetitionId()) { + hash = (37 * hash) + PETITIONID_FIELD_NUMBER; + hash = (53 * hash) + getPetitionId(); + } + if (hasVoteKick()) { + hash = (37 * hash) + VOTEKICK_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getVoteKick()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -39865,61 +59398,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code VoteKickRequestMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:VoteKickRequestMessage) + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.class, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -39931,14 +59501,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage build() { de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -39947,26 +59521,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.petitionId_ = petitionId_; to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.voteKick_ = voteKick_; to_bitField0_ |= 0x00000004; } - result.voteKick_ = voteKick_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -39978,25 +59596,26 @@ public final class ProtoBuf { if (other.hasVoteKick()) { setVoteKick(other.getVoteKick()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPetitionId()) { - return false; } if (!hasVoteKick()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -40006,7 +59625,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -40016,146 +59635,209 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } /** * required uint32 petitionId = 2; + * @param value The petitionId to set. + * @return This builder for chaining. */ public Builder setPetitionId(int value) { bitField0_ |= 0x00000002; petitionId_ = value; - + onChanged(); return this; } /** * required uint32 petitionId = 2; + * @return This builder for chaining. */ public Builder clearPetitionId() { bitField0_ = (bitField0_ & ~0x00000002); petitionId_ = 0; - + onChanged(); return this; } - // required bool voteKick = 3; private boolean voteKick_ ; /** * required bool voteKick = 3; + * @return Whether the voteKick field is set. */ + @java.lang.Override public boolean hasVoteKick() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required bool voteKick = 3; + * @return The voteKick. */ + @java.lang.Override public boolean getVoteKick() { return voteKick_; } /** * required bool voteKick = 3; + * @param value The voteKick to set. + * @return This builder for chaining. */ public Builder setVoteKick(boolean value) { bitField0_ |= 0x00000004; voteKick_ = value; - + onChanged(); return this; } /** * required bool voteKick = 3; + * @return This builder for chaining. */ public Builder clearVoteKick() { bitField0_ = (bitField0_ & ~0x00000004); voteKick_ = false; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:VoteKickRequestMessage) } + // @@protoc_insertion_point(class_scope:VoteKickRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new VoteKickRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:VoteKickRequestMessage) } - public interface VoteKickReplyMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface VoteKickReplyMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:VoteKickReplyMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ boolean hasPetitionId(); /** * required uint32 petitionId = 2; + * @return The petitionId. */ int getPetitionId(); - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @return Whether the voteKickReplyType field is set. */ boolean hasVoteKickReplyType(); /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @return The voteKickReplyType. */ de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType(); } @@ -40163,30 +59845,41 @@ public final class ProtoBuf { * Protobuf type {@code VoteKickReplyMessage} */ public static final class VoteKickReplyMessage extends - com.google.protobuf.GeneratedMessageLite - implements VoteKickReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:VoteKickReplyMessage) + VoteKickReplyMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use VoteKickReplyMessage.newBuilder() to construct. - private VoteKickReplyMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private VoteKickReplyMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private VoteKickReplyMessage(boolean noInit) {} - - private static final VoteKickReplyMessage defaultInstance; - public static VoteKickReplyMessage getDefaultInstance() { - return defaultInstance; + private VoteKickReplyMessage() { + voteKickReplyType_ = 0; } - public VoteKickReplyMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new VoteKickReplyMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private VoteKickReplyMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -40195,13 +59888,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -40214,10 +59900,20 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - voteKickReplyType_ = value; + voteKickReplyType_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -40227,43 +59923,42 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickReplyMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickReplyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.class, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder.class); } /** * Protobuf enum {@code VoteKickReplyMessage.VoteKickReplyType} */ public enum VoteKickReplyType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * voteKickAck = 0; */ - voteKickAck(0, 0), + voteKickAck(0), /** * voteKickDeniedInvalid = 1; */ - voteKickDeniedInvalid(1, 1), + voteKickDeniedInvalid(1), /** * voteKickDeniedAlreadyVoted = 2; */ - voteKickDeniedAlreadyVoted(2, 2), + voteKickDeniedAlreadyVoted(2), ; /** @@ -40280,9 +59975,25 @@ public final class ProtoBuf { public static final int voteKickDeniedAlreadyVoted_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static VoteKickReplyType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static VoteKickReplyType forNumber(int value) { switch (value) { case 0: return voteKickAck; case 1: return voteKickDeniedInvalid; @@ -40295,17 +60006,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + VoteKickReplyType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public VoteKickReplyType findValueByNumber(int number) { - return VoteKickReplyType.valueOf(number); + return VoteKickReplyType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final VoteKickReplyType[] VALUES = values(); + + public static VoteKickReplyType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private VoteKickReplyType(int index, int value) { + private VoteKickReplyType(int value) { this.value = value; } @@ -40313,63 +60048,69 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override 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_; + private int voteKickReplyType_; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @return Whether the voteKickReplyType field is set. */ - public boolean hasVoteKickReplyType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasVoteKickReplyType() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @return The voteKickReplyType. */ - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { - return voteKickReplyType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType result = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.valueOf(voteKickReplyType_); + return result == null ? de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck : result; } - private void initFields() { - gameId_ = 0; - petitionId_ = 0; - voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -40387,49 +60128,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, voteKickReplyType_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, voteKickReplyType_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, voteKickReplyType_.getNumber()); + .computeEnumSize(3, voteKickReplyType_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage other = (de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPetitionId() != other.hasPetitionId()) return false; + if (hasPetitionId()) { + if (getPetitionId() + != other.getPetitionId()) return false; + } + if (hasVoteKickReplyType() != other.hasVoteKickReplyType()) return false; + if (hasVoteKickReplyType()) { + if (voteKickReplyType_ != other.voteKickReplyType_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPetitionId()) { + hash = (37 * hash) + PETITIONID_FIELD_NUMBER; + hash = (53 * hash) + getPetitionId(); + } + if (hasVoteKickReplyType()) { + hash = (37 * hash) + VOTEKICKREPLYTYPE_FIELD_NUMBER; + hash = (53 * hash) + voteKickReplyType_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -40453,80 +60252,121 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code VoteKickReplyMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:VoteKickReplyMessage) + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickReplyMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickReplyMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.class, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); petitionId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; + voteKickReplyType_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_VoteKickReplyMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage build() { de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage result = buildPartial(); if (!result.isInitialized()) { @@ -40535,26 +60375,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.petitionId_ = petitionId_; to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.voteKickReplyType_ = voteKickReplyType_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage other) { if (other == de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -40566,25 +60450,26 @@ public final class ProtoBuf { if (other.hasVoteKickReplyType()) { setVoteKickReplyType(other.getVoteKickReplyType()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPetitionId()) { - return false; } if (!hasVoteKickReplyType()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -40594,7 +60479,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -40604,169 +60489,235 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } /** * required uint32 petitionId = 2; + * @param value The petitionId to set. + * @return This builder for chaining. */ public Builder setPetitionId(int value) { bitField0_ |= 0x00000002; petitionId_ = value; - + onChanged(); return this; } /** * required uint32 petitionId = 2; + * @return This builder for chaining. */ public Builder clearPetitionId() { bitField0_ = (bitField0_ & ~0x00000002); petitionId_ = 0; - + onChanged(); return this; } - // required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; - private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; + private int voteKickReplyType_ = 0; /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @return Whether the voteKickReplyType field is set. */ - public boolean hasVoteKickReplyType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasVoteKickReplyType() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @return The voteKickReplyType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType getVoteKickReplyType() { - return voteKickReplyType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType result = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.valueOf(voteKickReplyType_); + return result == null ? de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck : result; } /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @param value The voteKickReplyType to set. + * @return This builder for chaining. */ public Builder setVoteKickReplyType(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - voteKickReplyType_ = value; - + voteKickReplyType_ = value.getNumber(); + onChanged(); return this; } /** * required .VoteKickReplyMessage.VoteKickReplyType voteKickReplyType = 3; + * @return This builder for chaining. */ public Builder clearVoteKickReplyType() { bitField0_ = (bitField0_ & ~0x00000004); - voteKickReplyType_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.VoteKickReplyType.voteKickAck; - + voteKickReplyType_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:VoteKickReplyMessage) } + // @@protoc_insertion_point(class_scope:VoteKickReplyMessage) + private static final de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage DEFAULT_INSTANCE; static { - defaultInstance = new VoteKickReplyMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VoteKickReplyMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VoteKickReplyMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:VoteKickReplyMessage) } - public interface KickPetitionUpdateMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface KickPetitionUpdateMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:KickPetitionUpdateMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ boolean hasPetitionId(); /** * required uint32 petitionId = 2; + * @return The petitionId. */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; + * @return Whether the numVotesAgainstKicking field is set. */ boolean hasNumVotesAgainstKicking(); /** * required uint32 numVotesAgainstKicking = 3; + * @return The numVotesAgainstKicking. */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; + * @return Whether the numVotesInFavourOfKicking field is set. */ boolean hasNumVotesInFavourOfKicking(); /** * required uint32 numVotesInFavourOfKicking = 4; + * @return The numVotesInFavourOfKicking. */ int getNumVotesInFavourOfKicking(); - // required uint32 numVotesNeededToKick = 5; /** * required uint32 numVotesNeededToKick = 5; + * @return Whether the numVotesNeededToKick field is set. */ boolean hasNumVotesNeededToKick(); /** * required uint32 numVotesNeededToKick = 5; + * @return The numVotesNeededToKick. */ int getNumVotesNeededToKick(); } @@ -40774,30 +60725,40 @@ public final class ProtoBuf { * Protobuf type {@code KickPetitionUpdateMessage} */ public static final class KickPetitionUpdateMessage extends - com.google.protobuf.GeneratedMessageLite - implements KickPetitionUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:KickPetitionUpdateMessage) + KickPetitionUpdateMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use KickPetitionUpdateMessage.newBuilder() to construct. - private KickPetitionUpdateMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private KickPetitionUpdateMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private KickPetitionUpdateMessage(boolean noInit) {} - - private static final KickPetitionUpdateMessage defaultInstance; - public static KickPetitionUpdateMessage getDefaultInstance() { - return defaultInstance; + private KickPetitionUpdateMessage() { } - public KickPetitionUpdateMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new KickPetitionUpdateMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private KickPetitionUpdateMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -40806,13 +60767,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -40838,124 +60792,140 @@ public final class ProtoBuf { numVotesNeededToKick_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPetitionUpdateMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPetitionUpdateMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.class, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder.class); } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** * required uint32 numVotesAgainstKicking = 3; + * @return Whether the numVotesAgainstKicking field is set. */ + @java.lang.Override public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 numVotesAgainstKicking = 3; + * @return The numVotesAgainstKicking. */ + @java.lang.Override public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** * required uint32 numVotesInFavourOfKicking = 4; + * @return Whether the numVotesInFavourOfKicking field is set. */ + @java.lang.Override public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 numVotesInFavourOfKicking = 4; + * @return The numVotesInFavourOfKicking. */ + @java.lang.Override public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } - // required uint32 numVotesNeededToKick = 5; public static final int NUMVOTESNEEDEDTOKICK_FIELD_NUMBER = 5; private int numVotesNeededToKick_; /** * required uint32 numVotesNeededToKick = 5; + * @return Whether the numVotesNeededToKick field is set. */ + @java.lang.Override public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 numVotesNeededToKick = 5; + * @return The numVotesNeededToKick. */ + @java.lang.Override public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } - private void initFields() { - gameId_ = 0; - petitionId_ = 0; - numVotesAgainstKicking_ = 0; - numVotesInFavourOfKicking_ = 0; - numVotesNeededToKick_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -40981,63 +60951,140 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, numVotesAgainstKicking_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, numVotesInFavourOfKicking_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, numVotesNeededToKick_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, numVotesAgainstKicking_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, numVotesInFavourOfKicking_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numVotesNeededToKick_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage other = (de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPetitionId() != other.hasPetitionId()) return false; + if (hasPetitionId()) { + if (getPetitionId() + != other.getPetitionId()) return false; + } + if (hasNumVotesAgainstKicking() != other.hasNumVotesAgainstKicking()) return false; + if (hasNumVotesAgainstKicking()) { + if (getNumVotesAgainstKicking() + != other.getNumVotesAgainstKicking()) return false; + } + if (hasNumVotesInFavourOfKicking() != other.hasNumVotesInFavourOfKicking()) return false; + if (hasNumVotesInFavourOfKicking()) { + if (getNumVotesInFavourOfKicking() + != other.getNumVotesInFavourOfKicking()) return false; + } + if (hasNumVotesNeededToKick() != other.hasNumVotesNeededToKick()) return false; + if (hasNumVotesNeededToKick()) { + if (getNumVotesNeededToKick() + != other.getNumVotesNeededToKick()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPetitionId()) { + hash = (37 * hash) + PETITIONID_FIELD_NUMBER; + hash = (53 * hash) + getPetitionId(); + } + if (hasNumVotesAgainstKicking()) { + hash = (37 * hash) + NUMVOTESAGAINSTKICKING_FIELD_NUMBER; + hash = (53 * hash) + getNumVotesAgainstKicking(); + } + if (hasNumVotesInFavourOfKicking()) { + hash = (37 * hash) + NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER; + hash = (53 * hash) + getNumVotesInFavourOfKicking(); + } + if (hasNumVotesNeededToKick()) { + hash = (37 * hash) + NUMVOTESNEEDEDTOKICK_FIELD_NUMBER; + hash = (53 * hash) + getNumVotesNeededToKick(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -41061,61 +61108,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code KickPetitionUpdateMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:KickPetitionUpdateMessage) + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPetitionUpdateMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPetitionUpdateMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.class, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -41131,14 +61215,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_KickPetitionUpdateMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage build() { de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage result = buildPartial(); if (!result.isInitialized()) { @@ -41147,34 +61235,78 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.petitionId_ = petitionId_; to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.numVotesAgainstKicking_ = numVotesAgainstKicking_; to_bitField0_ |= 0x00000004; } - result.numVotesAgainstKicking_ = numVotesAgainstKicking_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; to_bitField0_ |= 0x00000008; } - result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.numVotesNeededToKick_ = numVotesNeededToKick_; to_bitField0_ |= 0x00000010; } - result.numVotesNeededToKick_ = numVotesNeededToKick_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage other) { if (other == de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -41192,33 +61324,32 @@ public final class ProtoBuf { if (other.hasNumVotesNeededToKick()) { setNumVotesNeededToKick(other.getNumVotesNeededToKick()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasGameId()) { - return false; } if (!hasPetitionId()) { - return false; } if (!hasNumVotesAgainstKicking()) { - return false; } if (!hasNumVotesInFavourOfKicking()) { - return false; } if (!hasNumVotesNeededToKick()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -41228,7 +61359,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -41238,242 +61369,320 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } /** * required uint32 petitionId = 2; + * @param value The petitionId to set. + * @return This builder for chaining. */ public Builder setPetitionId(int value) { bitField0_ |= 0x00000002; petitionId_ = value; - + onChanged(); return this; } /** * required uint32 petitionId = 2; + * @return This builder for chaining. */ public Builder clearPetitionId() { bitField0_ = (bitField0_ & ~0x00000002); petitionId_ = 0; - + onChanged(); return this; } - // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; + * @return Whether the numVotesAgainstKicking field is set. */ + @java.lang.Override public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 numVotesAgainstKicking = 3; + * @return The numVotesAgainstKicking. */ + @java.lang.Override public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } /** * required uint32 numVotesAgainstKicking = 3; + * @param value The numVotesAgainstKicking to set. + * @return This builder for chaining. */ public Builder setNumVotesAgainstKicking(int value) { bitField0_ |= 0x00000004; numVotesAgainstKicking_ = value; - + onChanged(); return this; } /** * required uint32 numVotesAgainstKicking = 3; + * @return This builder for chaining. */ public Builder clearNumVotesAgainstKicking() { bitField0_ = (bitField0_ & ~0x00000004); numVotesAgainstKicking_ = 0; - + onChanged(); return this; } - // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; + * @return Whether the numVotesInFavourOfKicking field is set. */ + @java.lang.Override public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 numVotesInFavourOfKicking = 4; + * @return The numVotesInFavourOfKicking. */ + @java.lang.Override public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } /** * required uint32 numVotesInFavourOfKicking = 4; + * @param value The numVotesInFavourOfKicking to set. + * @return This builder for chaining. */ public Builder setNumVotesInFavourOfKicking(int value) { bitField0_ |= 0x00000008; numVotesInFavourOfKicking_ = value; - + onChanged(); return this; } /** * required uint32 numVotesInFavourOfKicking = 4; + * @return This builder for chaining. */ public Builder clearNumVotesInFavourOfKicking() { bitField0_ = (bitField0_ & ~0x00000008); numVotesInFavourOfKicking_ = 0; - + onChanged(); return this; } - // required uint32 numVotesNeededToKick = 5; private int numVotesNeededToKick_ ; /** * required uint32 numVotesNeededToKick = 5; + * @return Whether the numVotesNeededToKick field is set. */ + @java.lang.Override public boolean hasNumVotesNeededToKick() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 numVotesNeededToKick = 5; + * @return The numVotesNeededToKick. */ + @java.lang.Override public int getNumVotesNeededToKick() { return numVotesNeededToKick_; } /** * required uint32 numVotesNeededToKick = 5; + * @param value The numVotesNeededToKick to set. + * @return This builder for chaining. */ public Builder setNumVotesNeededToKick(int value) { bitField0_ |= 0x00000010; numVotesNeededToKick_ = value; - + onChanged(); return this; } /** * required uint32 numVotesNeededToKick = 5; + * @return This builder for chaining. */ public Builder clearNumVotesNeededToKick() { bitField0_ = (bitField0_ & ~0x00000010); numVotesNeededToKick_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:KickPetitionUpdateMessage) } + // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) + private static final de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage DEFAULT_INSTANCE; static { - defaultInstance = new KickPetitionUpdateMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:KickPetitionUpdateMessage) } - public interface EndKickPetitionMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface EndKickPetitionMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:EndKickPetitionMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 gameId = 1; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * required uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // required uint32 petitionId = 2; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ boolean hasPetitionId(); /** * required uint32 petitionId = 2; + * @return The petitionId. */ int getPetitionId(); - // required uint32 numVotesAgainstKicking = 3; /** * required uint32 numVotesAgainstKicking = 3; + * @return Whether the numVotesAgainstKicking field is set. */ boolean hasNumVotesAgainstKicking(); /** * required uint32 numVotesAgainstKicking = 3; + * @return The numVotesAgainstKicking. */ int getNumVotesAgainstKicking(); - // required uint32 numVotesInFavourOfKicking = 4; /** * required uint32 numVotesInFavourOfKicking = 4; + * @return Whether the numVotesInFavourOfKicking field is set. */ boolean hasNumVotesInFavourOfKicking(); /** * required uint32 numVotesInFavourOfKicking = 4; + * @return The numVotesInFavourOfKicking. */ int getNumVotesInFavourOfKicking(); - // required uint32 resultPlayerKicked = 5; /** * required uint32 resultPlayerKicked = 5; + * @return Whether the resultPlayerKicked field is set. */ boolean hasResultPlayerKicked(); /** * required uint32 resultPlayerKicked = 5; + * @return The resultPlayerKicked. */ int getResultPlayerKicked(); - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @return Whether the petitionEndReason field is set. */ boolean hasPetitionEndReason(); /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @return The petitionEndReason. */ de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason(); } @@ -41481,30 +61690,41 @@ public final class ProtoBuf { * Protobuf type {@code EndKickPetitionMessage} */ public static final class EndKickPetitionMessage extends - com.google.protobuf.GeneratedMessageLite - implements EndKickPetitionMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:EndKickPetitionMessage) + EndKickPetitionMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use EndKickPetitionMessage.newBuilder() to construct. - private EndKickPetitionMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private EndKickPetitionMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private EndKickPetitionMessage(boolean noInit) {} - - private static final EndKickPetitionMessage defaultInstance; - public static EndKickPetitionMessage getDefaultInstance() { - return defaultInstance; + private EndKickPetitionMessage() { + petitionEndReason_ = 0; } - public EndKickPetitionMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EndKickPetitionMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private EndKickPetitionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -41513,13 +61733,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -41547,10 +61760,20 @@ public final class ProtoBuf { } case 48: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(6, rawValue); + } else { bitField0_ |= 0x00000020; - petitionEndReason_ = value; + petitionEndReason_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -41560,47 +61783,46 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndKickPetitionMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndKickPetitionMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.class, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder.class); } /** * Protobuf enum {@code EndKickPetitionMessage.PetitionEndReason} */ public enum PetitionEndReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * petitionEndEnoughVotes = 0; */ - petitionEndEnoughVotes(0, 0), + petitionEndEnoughVotes(0), /** * petitionEndTooFewPlayers = 1; */ - petitionEndTooFewPlayers(1, 1), + petitionEndTooFewPlayers(1), /** * petitionEndPlayerLeft = 2; */ - petitionEndPlayerLeft(2, 2), + petitionEndPlayerLeft(2), /** * petitionEndTimeout = 3; */ - petitionEndTimeout(3, 3), + petitionEndTimeout(3), ; /** @@ -41621,9 +61843,25 @@ public final class ProtoBuf { public static final int petitionEndTimeout_VALUE = 3; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static PetitionEndReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PetitionEndReason forNumber(int value) { switch (value) { case 0: return petitionEndEnoughVotes; case 1: return petitionEndTooFewPlayers; @@ -41637,17 +61875,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + PetitionEndReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PetitionEndReason findValueByNumber(int number) { - return PetitionEndReason.valueOf(number); + return PetitionEndReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final PetitionEndReason[] VALUES = values(); + + public static PetitionEndReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private PetitionEndReason(int index, int value) { + private PetitionEndReason(int value) { this.value = value; } @@ -41655,114 +61917,126 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // required uint32 petitionId = 2; public static final int PETITIONID_FIELD_NUMBER = 2; private int petitionId_; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } - // required uint32 numVotesAgainstKicking = 3; public static final int NUMVOTESAGAINSTKICKING_FIELD_NUMBER = 3; private int numVotesAgainstKicking_; /** * required uint32 numVotesAgainstKicking = 3; + * @return Whether the numVotesAgainstKicking field is set. */ + @java.lang.Override public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 numVotesAgainstKicking = 3; + * @return The numVotesAgainstKicking. */ + @java.lang.Override public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } - // required uint32 numVotesInFavourOfKicking = 4; public static final int NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER = 4; private int numVotesInFavourOfKicking_; /** * required uint32 numVotesInFavourOfKicking = 4; + * @return Whether the numVotesInFavourOfKicking field is set. */ + @java.lang.Override public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 numVotesInFavourOfKicking = 4; + * @return The numVotesInFavourOfKicking. */ + @java.lang.Override public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } - // required uint32 resultPlayerKicked = 5; public static final int RESULTPLAYERKICKED_FIELD_NUMBER = 5; private int resultPlayerKicked_; /** * required uint32 resultPlayerKicked = 5; + * @return Whether the resultPlayerKicked field is set. */ + @java.lang.Override public boolean hasResultPlayerKicked() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 resultPlayerKicked = 5; + * @return The resultPlayerKicked. */ + @java.lang.Override 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_; + private int petitionEndReason_; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @return Whether the petitionEndReason field is set. */ - public boolean hasPetitionEndReason() { - return ((bitField0_ & 0x00000020) == 0x00000020); + @java.lang.Override public boolean hasPetitionEndReason() { + return ((bitField0_ & 0x00000020) != 0); } /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @return The petitionEndReason. */ - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { - return petitionEndReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason result = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.valueOf(petitionEndReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes : result; } - 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; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasGameId()) { memoizedIsInitialized = 0; @@ -41792,70 +62066,155 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeUInt32(3, numVotesAgainstKicking_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeUInt32(4, numVotesInFavourOfKicking_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { output.writeUInt32(5, resultPlayerKicked_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeEnum(6, petitionEndReason_.getNumber()); + if (((bitField0_ & 0x00000020) != 0)) { + output.writeEnum(6, petitionEndReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, petitionId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, numVotesAgainstKicking_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, numVotesInFavourOfKicking_); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, resultPlayerKicked_); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, petitionEndReason_.getNumber()); + .computeEnumSize(6, petitionEndReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage other = (de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPetitionId() != other.hasPetitionId()) return false; + if (hasPetitionId()) { + if (getPetitionId() + != other.getPetitionId()) return false; + } + if (hasNumVotesAgainstKicking() != other.hasNumVotesAgainstKicking()) return false; + if (hasNumVotesAgainstKicking()) { + if (getNumVotesAgainstKicking() + != other.getNumVotesAgainstKicking()) return false; + } + if (hasNumVotesInFavourOfKicking() != other.hasNumVotesInFavourOfKicking()) return false; + if (hasNumVotesInFavourOfKicking()) { + if (getNumVotesInFavourOfKicking() + != other.getNumVotesInFavourOfKicking()) return false; + } + if (hasResultPlayerKicked() != other.hasResultPlayerKicked()) return false; + if (hasResultPlayerKicked()) { + if (getResultPlayerKicked() + != other.getResultPlayerKicked()) return false; + } + if (hasPetitionEndReason() != other.hasPetitionEndReason()) return false; + if (hasPetitionEndReason()) { + if (petitionEndReason_ != other.petitionEndReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPetitionId()) { + hash = (37 * hash) + PETITIONID_FIELD_NUMBER; + hash = (53 * hash) + getPetitionId(); + } + if (hasNumVotesAgainstKicking()) { + hash = (37 * hash) + NUMVOTESAGAINSTKICKING_FIELD_NUMBER; + hash = (53 * hash) + getNumVotesAgainstKicking(); + } + if (hasNumVotesInFavourOfKicking()) { + hash = (37 * hash) + NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER; + hash = (53 * hash) + getNumVotesInFavourOfKicking(); + } + if (hasResultPlayerKicked()) { + hash = (37 * hash) + RESULTPLAYERKICKED_FIELD_NUMBER; + hash = (53 * hash) + getResultPlayerKicked(); + } + if (hasPetitionEndReason()) { + hash = (37 * hash) + PETITIONENDREASON_FIELD_NUMBER; + hash = (53 * hash) + petitionEndReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -41879,61 +62238,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:EndKickPetitionMessage) + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndKickPetitionMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndKickPetitionMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.class, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; @@ -41946,19 +62342,23 @@ public final class ProtoBuf { bitField0_ = (bitField0_ & ~0x00000008); resultPlayerKicked_ = 0; bitField0_ = (bitField0_ & ~0x00000010); - petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; + petitionEndReason_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_EndKickPetitionMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage build() { de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage result = buildPartial(); if (!result.isInitialized()) { @@ -41967,38 +62367,82 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.petitionId_ = petitionId_; to_bitField0_ |= 0x00000002; } - result.petitionId_ = petitionId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + result.numVotesAgainstKicking_ = numVotesAgainstKicking_; to_bitField0_ |= 0x00000004; } - result.numVotesAgainstKicking_ = numVotesAgainstKicking_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; to_bitField0_ |= 0x00000008; } - result.numVotesInFavourOfKicking_ = numVotesInFavourOfKicking_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + result.resultPlayerKicked_ = resultPlayerKicked_; to_bitField0_ |= 0x00000010; } - result.resultPlayerKicked_ = resultPlayerKicked_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.petitionEndReason_ = petitionEndReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage other) { if (other == de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -42019,37 +62463,35 @@ public final class ProtoBuf { if (other.hasPetitionEndReason()) { setPetitionEndReason(other.getPetitionEndReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override 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; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -42059,7 +62501,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -42069,222 +62511,300 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 gameId = 1; private int gameId_ ; /** * required uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * required uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * required uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // required uint32 petitionId = 2; private int petitionId_ ; /** * required uint32 petitionId = 2; + * @return Whether the petitionId field is set. */ + @java.lang.Override public boolean hasPetitionId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 petitionId = 2; + * @return The petitionId. */ + @java.lang.Override public int getPetitionId() { return petitionId_; } /** * required uint32 petitionId = 2; + * @param value The petitionId to set. + * @return This builder for chaining. */ public Builder setPetitionId(int value) { bitField0_ |= 0x00000002; petitionId_ = value; - + onChanged(); return this; } /** * required uint32 petitionId = 2; + * @return This builder for chaining. */ public Builder clearPetitionId() { bitField0_ = (bitField0_ & ~0x00000002); petitionId_ = 0; - + onChanged(); return this; } - // required uint32 numVotesAgainstKicking = 3; private int numVotesAgainstKicking_ ; /** * required uint32 numVotesAgainstKicking = 3; + * @return Whether the numVotesAgainstKicking field is set. */ + @java.lang.Override public boolean hasNumVotesAgainstKicking() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required uint32 numVotesAgainstKicking = 3; + * @return The numVotesAgainstKicking. */ + @java.lang.Override public int getNumVotesAgainstKicking() { return numVotesAgainstKicking_; } /** * required uint32 numVotesAgainstKicking = 3; + * @param value The numVotesAgainstKicking to set. + * @return This builder for chaining. */ public Builder setNumVotesAgainstKicking(int value) { bitField0_ |= 0x00000004; numVotesAgainstKicking_ = value; - + onChanged(); return this; } /** * required uint32 numVotesAgainstKicking = 3; + * @return This builder for chaining. */ public Builder clearNumVotesAgainstKicking() { bitField0_ = (bitField0_ & ~0x00000004); numVotesAgainstKicking_ = 0; - + onChanged(); return this; } - // required uint32 numVotesInFavourOfKicking = 4; private int numVotesInFavourOfKicking_ ; /** * required uint32 numVotesInFavourOfKicking = 4; + * @return Whether the numVotesInFavourOfKicking field is set. */ + @java.lang.Override public boolean hasNumVotesInFavourOfKicking() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required uint32 numVotesInFavourOfKicking = 4; + * @return The numVotesInFavourOfKicking. */ + @java.lang.Override public int getNumVotesInFavourOfKicking() { return numVotesInFavourOfKicking_; } /** * required uint32 numVotesInFavourOfKicking = 4; + * @param value The numVotesInFavourOfKicking to set. + * @return This builder for chaining. */ public Builder setNumVotesInFavourOfKicking(int value) { bitField0_ |= 0x00000008; numVotesInFavourOfKicking_ = value; - + onChanged(); return this; } /** * required uint32 numVotesInFavourOfKicking = 4; + * @return This builder for chaining. */ public Builder clearNumVotesInFavourOfKicking() { bitField0_ = (bitField0_ & ~0x00000008); numVotesInFavourOfKicking_ = 0; - + onChanged(); return this; } - // required uint32 resultPlayerKicked = 5; private int resultPlayerKicked_ ; /** * required uint32 resultPlayerKicked = 5; + * @return Whether the resultPlayerKicked field is set. */ + @java.lang.Override public boolean hasResultPlayerKicked() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * required uint32 resultPlayerKicked = 5; + * @return The resultPlayerKicked. */ + @java.lang.Override public int getResultPlayerKicked() { return resultPlayerKicked_; } /** * required uint32 resultPlayerKicked = 5; + * @param value The resultPlayerKicked to set. + * @return This builder for chaining. */ public Builder setResultPlayerKicked(int value) { bitField0_ |= 0x00000010; resultPlayerKicked_ = value; - + onChanged(); return this; } /** * required uint32 resultPlayerKicked = 5; + * @return This builder for chaining. */ public Builder clearResultPlayerKicked() { bitField0_ = (bitField0_ & ~0x00000010); resultPlayerKicked_ = 0; - + onChanged(); return this; } - // required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; - private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; + private int petitionEndReason_ = 0; /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @return Whether the petitionEndReason field is set. */ - public boolean hasPetitionEndReason() { - return ((bitField0_ & 0x00000020) == 0x00000020); + @java.lang.Override public boolean hasPetitionEndReason() { + return ((bitField0_ & 0x00000020) != 0); } /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @return The petitionEndReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason getPetitionEndReason() { - return petitionEndReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason result = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.valueOf(petitionEndReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes : result; } /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @param value The petitionEndReason to set. + * @return This builder for chaining. */ public Builder setPetitionEndReason(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; - petitionEndReason_ = value; - + petitionEndReason_ = value.getNumber(); + onChanged(); return this; } /** * required .EndKickPetitionMessage.PetitionEndReason petitionEndReason = 6; + * @return This builder for chaining. */ public Builder clearPetitionEndReason() { bitField0_ = (bitField0_ & ~0x00000020); - petitionEndReason_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PetitionEndReason.petitionEndEnoughVotes; - + petitionEndReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:EndKickPetitionMessage) } + // @@protoc_insertion_point(class_scope:EndKickPetitionMessage) + private static final de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage DEFAULT_INSTANCE; static { - defaultInstance = new EndKickPetitionMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EndKickPetitionMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EndKickPetitionMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:EndKickPetitionMessage) } - public interface StatisticsMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface StatisticsMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:StatisticsMessage) + com.google.protobuf.MessageOrBuilder { - // repeated .StatisticsMessage.StatisticsData statisticsData = 1; /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ @@ -42298,35 +62818,56 @@ public final class ProtoBuf { * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ int getStatisticsDataCount(); + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + java.util.List + getStatisticsDataOrBuilderList(); + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder getStatisticsDataOrBuilder( + int index); } /** * Protobuf type {@code StatisticsMessage} */ public static final class StatisticsMessage extends - com.google.protobuf.GeneratedMessageLite - implements StatisticsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:StatisticsMessage) + StatisticsMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use StatisticsMessage.newBuilder() to construct. - private StatisticsMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private StatisticsMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private StatisticsMessage(boolean noInit) {} - - private static final StatisticsMessage defaultInstance; - public static StatisticsMessage getDefaultInstance() { - return defaultInstance; + private StatisticsMessage() { + statisticsData_ = java.util.Collections.emptyList(); } - public StatisticsMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatisticsMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private StatisticsMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -42335,19 +62876,20 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 10: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { statisticsData_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } - statisticsData_.add(input.readMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.PARSER, extensionRegistry)); + statisticsData_.add( + input.readMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.PARSER, extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -42356,49 +62898,51 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { statisticsData_ = java.util.Collections.unmodifiableList(statisticsData_); } + this.unknownFields = unknownFields.build(); 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 static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_descriptor; } - public interface StatisticsDataOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StatisticsMessage.class, de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder.class); + } + + public interface StatisticsDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:StatisticsMessage.StatisticsData) + com.google.protobuf.MessageOrBuilder { - // required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @return Whether the statisticsType field is set. */ boolean hasStatisticsType(); /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @return The statisticsType. */ de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType(); - // required uint32 statisticsValue = 2; /** * required uint32 statisticsValue = 2; + * @return Whether the statisticsValue field is set. */ boolean hasStatisticsValue(); /** * required uint32 statisticsValue = 2; + * @return The statisticsValue. */ int getStatisticsValue(); } @@ -42406,30 +62950,41 @@ public final class ProtoBuf { * Protobuf type {@code StatisticsMessage.StatisticsData} */ public static final class StatisticsData extends - com.google.protobuf.GeneratedMessageLite - implements StatisticsDataOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:StatisticsMessage.StatisticsData) + StatisticsDataOrBuilder { + private static final long serialVersionUID = 0L; // Use StatisticsData.newBuilder() to construct. - private StatisticsData(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private StatisticsData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private StatisticsData(boolean noInit) {} - - private static final StatisticsData defaultInstance; - public static StatisticsData getDefaultInstance() { - return defaultInstance; + private StatisticsData() { + statisticsType_ = 1; } - public StatisticsData getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StatisticsData(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private StatisticsData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -42438,19 +62993,15 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType value = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { bitField0_ |= 0x00000001; - statisticsType_ = value; + statisticsType_ = rawValue; } break; } @@ -42459,41 +63010,47 @@ public final class ProtoBuf { statisticsValue_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_StatisticsData_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_StatisticsData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.class, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder.class); } /** * Protobuf enum {@code StatisticsMessage.StatisticsData.StatisticsType} */ public enum StatisticsType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * statNumberOfPlayers = 1; */ - statNumberOfPlayers(0, 1), + statNumberOfPlayers(1), ; /** @@ -42502,9 +63059,25 @@ public final class ProtoBuf { public static final int statNumberOfPlayers_VALUE = 1; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static StatisticsType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static StatisticsType forNumber(int value) { switch (value) { case 1: return statNumberOfPlayers; default: return null; @@ -42515,17 +63088,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + StatisticsType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public StatisticsType findValueByNumber(int number) { - return StatisticsType.valueOf(number); + return StatisticsType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDescriptor().getEnumTypes().get(0); + } + + private static final StatisticsType[] VALUES = values(); + + public static StatisticsType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private StatisticsType(int index, int value) { + private StatisticsType(int value) { this.value = value; } @@ -42533,46 +63130,50 @@ public final class ProtoBuf { } 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_; + private int statisticsType_; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @return Whether the statisticsType field is set. */ - public boolean hasStatisticsType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasStatisticsType() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @return The statisticsType. */ - public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType() { - return statisticsType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType result = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.valueOf(statisticsType_); + return result == null ? de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers : result; } - // required uint32 statisticsValue = 2; public static final int STATISTICSVALUE_FIELD_NUMBER = 2; private int statisticsValue_; /** * required uint32 statisticsValue = 2; + * @return Whether the statisticsValue field is set. */ + @java.lang.Override public boolean hasStatisticsValue() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 statisticsValue = 2; + * @return The statisticsValue. */ + @java.lang.Override public int getStatisticsValue() { return statisticsValue_; } - private void initFields() { - statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; - statisticsValue_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasStatisticsType()) { memoizedIsInitialized = 0; @@ -42586,42 +63187,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, statisticsType_.getNumber()); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, statisticsType_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, statisticsValue_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, statisticsType_.getNumber()); + .computeEnumSize(1, statisticsType_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, statisticsValue_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData other = (de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData) obj; + + if (hasStatisticsType() != other.hasStatisticsType()) return false; + if (hasStatisticsType()) { + if (statisticsType_ != other.statisticsType_) return false; + } + if (hasStatisticsValue() != other.hasStatisticsValue()) return false; + if (hasStatisticsValue()) { + if (getStatisticsValue() + != other.getStatisticsValue()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStatisticsType()) { + hash = (37 * hash) + STATISTICSTYPE_FIELD_NUMBER; + hash = (53 * hash) + statisticsType_; + } + if (hasStatisticsValue()) { + hash = (37 * hash) + STATISTICSVALUE_FIELD_NUMBER; + hash = (53 * hash) + getStatisticsValue(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( + java.nio.ByteBuffer 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( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -42645,78 +63295,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:StatisticsMessage.StatisticsData) + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_StatisticsData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_StatisticsData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.class, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; + statisticsType_ = 1; bitField0_ = (bitField0_ & ~0x00000001); statisticsValue_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_StatisticsData_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData build() { de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData result = buildPartial(); if (!result.isInitialized()) { @@ -42725,22 +63416,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.statisticsType_ = statisticsType_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.statisticsValue_ = statisticsValue_; to_bitField0_ |= 0x00000002; } - result.statisticsValue_ = statisticsValue_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData other) { if (other == de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance()) return this; if (other.hasStatisticsType()) { @@ -42749,21 +63484,23 @@ public final class ProtoBuf { if (other.hasStatisticsValue()) { setStatisticsValue(other.getStatisticsValue()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasStatisticsType()) { - return false; } if (!hasStatisticsValue()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -42773,7 +63510,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -42783,98 +63520,153 @@ public final class ProtoBuf { } 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; + private int statisticsType_ = 1; /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @return Whether the statisticsType field is set. */ - public boolean hasStatisticsType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasStatisticsType() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @return The statisticsType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType getStatisticsType() { - return statisticsType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType result = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.valueOf(statisticsType_); + return result == null ? de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers : result; } /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @param value The statisticsType to set. + * @return This builder for chaining. */ public Builder setStatisticsType(de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - statisticsType_ = value; - + statisticsType_ = value.getNumber(); + onChanged(); return this; } /** * required .StatisticsMessage.StatisticsData.StatisticsType statisticsType = 1; + * @return This builder for chaining. */ public Builder clearStatisticsType() { bitField0_ = (bitField0_ & ~0x00000001); - statisticsType_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.StatisticsType.statNumberOfPlayers; - + statisticsType_ = 1; + onChanged(); return this; } - // required uint32 statisticsValue = 2; private int statisticsValue_ ; /** * required uint32 statisticsValue = 2; + * @return Whether the statisticsValue field is set. */ + @java.lang.Override public boolean hasStatisticsValue() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 statisticsValue = 2; + * @return The statisticsValue. */ + @java.lang.Override public int getStatisticsValue() { return statisticsValue_; } /** * required uint32 statisticsValue = 2; + * @param value The statisticsValue to set. + * @return This builder for chaining. */ public Builder setStatisticsValue(int value) { bitField0_ |= 0x00000002; statisticsValue_ = value; - + onChanged(); return this; } /** * required uint32 statisticsValue = 2; + * @return This builder for chaining. */ public Builder clearStatisticsValue() { bitField0_ = (bitField0_ & ~0x00000002); statisticsValue_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:StatisticsMessage.StatisticsData) } + // @@protoc_insertion_point(class_scope:StatisticsMessage.StatisticsData) + private static final de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData DEFAULT_INSTANCE; static { - defaultInstance = new StatisticsData(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData(); + } + + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatisticsData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatisticsData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@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; */ + @java.lang.Override public java.util.List getStatisticsDataList() { return statisticsData_; } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ + @java.lang.Override public java.util.List getStatisticsDataOrBuilderList() { return statisticsData_; @@ -42882,30 +63674,32 @@ public final class ProtoBuf { /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ + @java.lang.Override public int getStatisticsDataCount() { return statisticsData_.size(); } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getStatisticsData(int index) { return statisticsData_.get(index); } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder getStatisticsDataOrBuilder( int index) { return statisticsData_.get(index); } - private void initFields() { - statisticsData_ = java.util.Collections.emptyList(); - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getStatisticsDataCount(); i++) { if (!getStatisticsData(i).isInitialized()) { @@ -42917,17 +63711,18 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); for (int i = 0; i < statisticsData_.size(); i++) { output.writeMessage(1, statisticsData_.get(i)); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -42935,17 +63730,54 @@ public final class ProtoBuf { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, statisticsData_.get(i)); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.StatisticsMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.StatisticsMessage other = (de.pokerth.protocol.ProtoBuf.StatisticsMessage) obj; + + if (!getStatisticsDataList() + .equals(other.getStatisticsDataList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getStatisticsDataCount() > 0) { + hash = (37 * hash) + STATISTICSDATA_FIELD_NUMBER; + hash = (53 * hash) + getStatisticsDataList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -42969,76 +63801,122 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.StatisticsMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.StatisticsMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code StatisticsMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.StatisticsMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:StatisticsMessage) + de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.StatisticsMessage.class, de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getStatisticsDataFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - statisticsData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + if (statisticsDataBuilder_ == null) { + statisticsData_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + statisticsDataBuilder_.clear(); + } return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_StatisticsMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage build() { de.pokerth.protocol.ProtoBuf.StatisticsMessage result = buildPartial(); if (!result.isInitialized()) { @@ -43047,42 +63925,109 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.StatisticsMessage buildPartial() { de.pokerth.protocol.ProtoBuf.StatisticsMessage result = new de.pokerth.protocol.ProtoBuf.StatisticsMessage(this); int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - statisticsData_ = java.util.Collections.unmodifiableList(statisticsData_); - bitField0_ = (bitField0_ & ~0x00000001); + if (statisticsDataBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + statisticsData_ = java.util.Collections.unmodifiableList(statisticsData_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.statisticsData_ = statisticsData_; + } else { + result.statisticsData_ = statisticsDataBuilder_.build(); } - result.statisticsData_ = statisticsData_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.StatisticsMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.StatisticsMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.StatisticsMessage other) { if (other == de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance()) return this; - if (!other.statisticsData_.isEmpty()) { - if (statisticsData_.isEmpty()) { - statisticsData_ = other.statisticsData_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureStatisticsDataIsMutable(); - statisticsData_.addAll(other.statisticsData_); + if (statisticsDataBuilder_ == null) { + if (!other.statisticsData_.isEmpty()) { + if (statisticsData_.isEmpty()) { + statisticsData_ = other.statisticsData_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureStatisticsDataIsMutable(); + statisticsData_.addAll(other.statisticsData_); + } + onChanged(); + } + } else { + if (!other.statisticsData_.isEmpty()) { + if (statisticsDataBuilder_.isEmpty()) { + statisticsDataBuilder_.dispose(); + statisticsDataBuilder_ = null; + statisticsData_ = other.statisticsData_; + bitField0_ = (bitField0_ & ~0x00000001); + statisticsDataBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getStatisticsDataFieldBuilder() : null; + } else { + statisticsDataBuilder_.addAllMessages(other.statisticsData_); + } } - } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getStatisticsDataCount(); i++) { if (!getStatisticsData(i).isInitialized()) { - return false; } } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -43092,7 +64037,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.StatisticsMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -43102,45 +64047,63 @@ public final class ProtoBuf { } private int bitField0_; - // repeated .StatisticsMessage.StatisticsData statisticsData = 1; private java.util.List statisticsData_ = java.util.Collections.emptyList(); private void ensureStatisticsDataIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { + if (!((bitField0_ & 0x00000001) != 0)) { statisticsData_ = new java.util.ArrayList(statisticsData_); bitField0_ |= 0x00000001; } } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder> statisticsDataBuilder_; + /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ public java.util.List getStatisticsDataList() { - return java.util.Collections.unmodifiableList(statisticsData_); + if (statisticsDataBuilder_ == null) { + return java.util.Collections.unmodifiableList(statisticsData_); + } else { + return statisticsDataBuilder_.getMessageList(); + } } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ public int getStatisticsDataCount() { - return statisticsData_.size(); + if (statisticsDataBuilder_ == null) { + return statisticsData_.size(); + } else { + return statisticsDataBuilder_.getCount(); + } } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData getStatisticsData(int index) { - return statisticsData_.get(index); + if (statisticsDataBuilder_ == null) { + return statisticsData_.get(index); + } else { + return statisticsDataBuilder_.getMessage(index); + } } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ public Builder setStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData value) { - if (value == null) { - throw new NullPointerException(); + if (statisticsDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatisticsDataIsMutable(); + statisticsData_.set(index, value); + onChanged(); + } else { + statisticsDataBuilder_.setMessage(index, value); } - ensureStatisticsDataIsMutable(); - statisticsData_.set(index, value); - return this; } /** @@ -43148,21 +64111,29 @@ public final class ProtoBuf { */ public Builder setStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder builderForValue) { - ensureStatisticsDataIsMutable(); - statisticsData_.set(index, builderForValue.build()); - + if (statisticsDataBuilder_ == null) { + ensureStatisticsDataIsMutable(); + statisticsData_.set(index, builderForValue.build()); + onChanged(); + } else { + statisticsDataBuilder_.setMessage(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(); + if (statisticsDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatisticsDataIsMutable(); + statisticsData_.add(value); + onChanged(); + } else { + statisticsDataBuilder_.addMessage(value); } - ensureStatisticsDataIsMutable(); - statisticsData_.add(value); - return this; } /** @@ -43170,12 +64141,16 @@ public final class ProtoBuf { */ public Builder addStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData value) { - if (value == null) { - throw new NullPointerException(); + if (statisticsDataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStatisticsDataIsMutable(); + statisticsData_.add(index, value); + onChanged(); + } else { + statisticsDataBuilder_.addMessage(index, value); } - ensureStatisticsDataIsMutable(); - statisticsData_.add(index, value); - return this; } /** @@ -43183,9 +64158,13 @@ public final class ProtoBuf { */ public Builder addStatisticsData( de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder builderForValue) { - ensureStatisticsDataIsMutable(); - statisticsData_.add(builderForValue.build()); - + if (statisticsDataBuilder_ == null) { + ensureStatisticsDataIsMutable(); + statisticsData_.add(builderForValue.build()); + onChanged(); + } else { + statisticsDataBuilder_.addMessage(builderForValue.build()); + } return this; } /** @@ -43193,9 +64172,13 @@ public final class ProtoBuf { */ public Builder addStatisticsData( int index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder builderForValue) { - ensureStatisticsDataIsMutable(); - statisticsData_.add(index, builderForValue.build()); - + if (statisticsDataBuilder_ == null) { + ensureStatisticsDataIsMutable(); + statisticsData_.add(index, builderForValue.build()); + onChanged(); + } else { + statisticsDataBuilder_.addMessage(index, builderForValue.build()); + } return this; } /** @@ -43203,75 +64186,198 @@ public final class ProtoBuf { */ public Builder addAllStatisticsData( java.lang.Iterable values) { - ensureStatisticsDataIsMutable(); - super.addAll(values, statisticsData_); - + if (statisticsDataBuilder_ == null) { + ensureStatisticsDataIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, statisticsData_); + onChanged(); + } else { + statisticsDataBuilder_.addAllMessages(values); + } return this; } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ public Builder clearStatisticsData() { - statisticsData_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - + if (statisticsDataBuilder_ == null) { + statisticsData_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + statisticsDataBuilder_.clear(); + } return this; } /** * repeated .StatisticsMessage.StatisticsData statisticsData = 1; */ public Builder removeStatisticsData(int index) { - ensureStatisticsDataIsMutable(); - statisticsData_.remove(index); - + if (statisticsDataBuilder_ == null) { + ensureStatisticsDataIsMutable(); + statisticsData_.remove(index); + onChanged(); + } else { + statisticsDataBuilder_.remove(index); + } return this; } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder getStatisticsDataBuilder( + int index) { + return getStatisticsDataFieldBuilder().getBuilder(index); + } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder getStatisticsDataOrBuilder( + int index) { + if (statisticsDataBuilder_ == null) { + return statisticsData_.get(index); } else { + return statisticsDataBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + public java.util.List + getStatisticsDataOrBuilderList() { + if (statisticsDataBuilder_ != null) { + return statisticsDataBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(statisticsData_); + } + } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder addStatisticsDataBuilder() { + return getStatisticsDataFieldBuilder().addBuilder( + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance()); + } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder addStatisticsDataBuilder( + int index) { + return getStatisticsDataFieldBuilder().addBuilder( + index, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.getDefaultInstance()); + } + /** + * repeated .StatisticsMessage.StatisticsData statisticsData = 1; + */ + public java.util.List + getStatisticsDataBuilderList() { + return getStatisticsDataFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder> + getStatisticsDataFieldBuilder() { + if (statisticsDataBuilder_ == null) { + statisticsDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsData.Builder, de.pokerth.protocol.ProtoBuf.StatisticsMessage.StatisticsDataOrBuilder>( + statisticsData_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + statisticsData_ = null; + } + return statisticsDataBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:StatisticsMessage) } + // @@protoc_insertion_point(class_scope:StatisticsMessage) + private static final de.pokerth.protocol.ProtoBuf.StatisticsMessage DEFAULT_INSTANCE; static { - defaultInstance = new StatisticsMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.StatisticsMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.StatisticsMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StatisticsMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StatisticsMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StatisticsMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:StatisticsMessage) } - public interface ChatRequestMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ChatRequestMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ChatRequestMessage) + com.google.protobuf.MessageOrBuilder { - // optional uint32 targetGameId = 1; /** * optional uint32 targetGameId = 1; + * @return Whether the targetGameId field is set. */ boolean hasTargetGameId(); /** * optional uint32 targetGameId = 1; + * @return The targetGameId. */ int getTargetGameId(); - // optional uint32 targetPlayerId = 2; /** * optional uint32 targetPlayerId = 2; + * @return Whether the targetPlayerId field is set. */ boolean hasTargetPlayerId(); /** * optional uint32 targetPlayerId = 2; + * @return The targetPlayerId. */ int getTargetPlayerId(); - // required string chatText = 3; /** * required string chatText = 3; + * @return Whether the chatText field is set. */ boolean hasChatText(); /** * required string chatText = 3; + * @return The chatText. */ java.lang.String getChatText(); /** * required string chatText = 3; + * @return The bytes for chatText. */ com.google.protobuf.ByteString getChatTextBytes(); @@ -43280,30 +64386,41 @@ public final class ProtoBuf { * Protobuf type {@code ChatRequestMessage} */ public static final class ChatRequestMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatRequestMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ChatRequestMessage) + ChatRequestMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ChatRequestMessage.newBuilder() to construct. - private ChatRequestMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ChatRequestMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ChatRequestMessage(boolean noInit) {} - - private static final ChatRequestMessage defaultInstance; - public static ChatRequestMessage getDefaultInstance() { - return defaultInstance; + private ChatRequestMessage() { + chatText_ = ""; } - public ChatRequestMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChatRequestMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ChatRequestMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -43312,13 +64429,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; targetGameId_ = input.readUInt32(); @@ -43330,8 +64440,16 @@ public final class ProtoBuf { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - chatText_ = input.readBytes(); + chatText_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -43340,71 +64458,79 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRequestMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.class, de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder.class); } private int bitField0_; - // optional uint32 targetGameId = 1; public static final int TARGETGAMEID_FIELD_NUMBER = 1; private int targetGameId_; /** * optional uint32 targetGameId = 1; + * @return Whether the targetGameId field is set. */ + @java.lang.Override public boolean hasTargetGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 targetGameId = 1; + * @return The targetGameId. */ + @java.lang.Override public int getTargetGameId() { return targetGameId_; } - // optional uint32 targetPlayerId = 2; public static final int TARGETPLAYERID_FIELD_NUMBER = 2; private int targetPlayerId_; /** * optional uint32 targetPlayerId = 2; + * @return Whether the targetPlayerId field is set. */ + @java.lang.Override public boolean hasTargetPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 targetPlayerId = 2; + * @return The targetPlayerId. */ + @java.lang.Override public int getTargetPlayerId() { return targetPlayerId_; } - // required string chatText = 3; public static final int CHATTEXT_FIELD_NUMBER = 3; - private java.lang.Object chatText_; + private volatile java.lang.Object chatText_; /** * required string chatText = 3; + * @return Whether the chatText field is set. */ + @java.lang.Override public boolean hasChatText() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required string chatText = 3; + * @return The chatText. */ + @java.lang.Override public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (ref instanceof java.lang.String) { @@ -43421,7 +64547,9 @@ public final class ProtoBuf { } /** * required string chatText = 3; + * @return The bytes for chatText. */ + @java.lang.Override public com.google.protobuf.ByteString getChatTextBytes() { java.lang.Object ref = chatText_; @@ -43436,15 +64564,12 @@ public final class ProtoBuf { } } - private void initFields() { - targetGameId_ = 0; - targetPlayerId_ = 0; - chatText_ = ""; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasChatText()) { memoizedIsInitialized = 0; @@ -43454,49 +64579,107 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, targetGameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, targetPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeBytes(3, getChatTextBytes()); + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, chatText_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, targetGameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, targetPlayerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, getChatTextBytes()); + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, chatText_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ChatRequestMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ChatRequestMessage other = (de.pokerth.protocol.ProtoBuf.ChatRequestMessage) obj; + + if (hasTargetGameId() != other.hasTargetGameId()) return false; + if (hasTargetGameId()) { + if (getTargetGameId() + != other.getTargetGameId()) return false; + } + if (hasTargetPlayerId() != other.hasTargetPlayerId()) return false; + if (hasTargetPlayerId()) { + if (getTargetPlayerId() + != other.getTargetPlayerId()) return false; + } + if (hasChatText() != other.hasChatText()) return false; + if (hasChatText()) { + if (!getChatText() + .equals(other.getChatText())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTargetGameId()) { + hash = (37 * hash) + TARGETGAMEID_FIELD_NUMBER; + hash = (53 * hash) + getTargetGameId(); + } + if (hasTargetPlayerId()) { + hash = (37 * hash) + TARGETPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getTargetPlayerId(); + } + if (hasChatText()) { + hash = (37 * hash) + CHATTEXT_FIELD_NUMBER; + hash = (53 * hash) + getChatText().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -43520,61 +64703,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatRequestMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ChatRequestMessage) + de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRequestMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRequestMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.class, de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); targetGameId_ = 0; @@ -43586,14 +64806,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRequestMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatRequestMessage build() { de.pokerth.protocol.ProtoBuf.ChatRequestMessage result = buildPartial(); if (!result.isInitialized()) { @@ -43602,26 +64826,70 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.targetGameId_ = targetGameId_; to_bitField0_ |= 0x00000001; } - result.targetGameId_ = targetGameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.targetPlayerId_ = targetPlayerId_; to_bitField0_ |= 0x00000002; } - result.targetPlayerId_ = targetPlayerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.chatText_ = chatText_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ChatRequestMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ChatRequestMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatRequestMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) return this; if (other.hasTargetGameId()) { @@ -43633,19 +64901,22 @@ public final class ProtoBuf { if (other.hasChatText()) { bitField0_ |= 0x00000004; chatText_ = other.chatText_; - + onChanged(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasChatText()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -43655,7 +64926,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ChatRequestMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -43665,89 +64936,105 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 targetGameId = 1; private int targetGameId_ ; /** * optional uint32 targetGameId = 1; + * @return Whether the targetGameId field is set. */ + @java.lang.Override public boolean hasTargetGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 targetGameId = 1; + * @return The targetGameId. */ + @java.lang.Override public int getTargetGameId() { return targetGameId_; } /** * optional uint32 targetGameId = 1; + * @param value The targetGameId to set. + * @return This builder for chaining. */ public Builder setTargetGameId(int value) { bitField0_ |= 0x00000001; targetGameId_ = value; - + onChanged(); return this; } /** * optional uint32 targetGameId = 1; + * @return This builder for chaining. */ public Builder clearTargetGameId() { bitField0_ = (bitField0_ & ~0x00000001); targetGameId_ = 0; - + onChanged(); return this; } - // optional uint32 targetPlayerId = 2; private int targetPlayerId_ ; /** * optional uint32 targetPlayerId = 2; + * @return Whether the targetPlayerId field is set. */ + @java.lang.Override public boolean hasTargetPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 targetPlayerId = 2; + * @return The targetPlayerId. */ + @java.lang.Override public int getTargetPlayerId() { return targetPlayerId_; } /** * optional uint32 targetPlayerId = 2; + * @param value The targetPlayerId to set. + * @return This builder for chaining. */ public Builder setTargetPlayerId(int value) { bitField0_ |= 0x00000002; targetPlayerId_ = value; - + onChanged(); return this; } /** * optional uint32 targetPlayerId = 2; + * @return This builder for chaining. */ public Builder clearTargetPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); targetPlayerId_ = 0; - + onChanged(); return this; } - // required string chatText = 3; private java.lang.Object chatText_ = ""; /** * required string chatText = 3; + * @return Whether the chatText field is set. */ public boolean hasChatText() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * required string chatText = 3; + * @return The chatText. */ public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - chatText_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + chatText_ = s; + } return s; } else { return (java.lang.String) ref; @@ -43755,6 +65042,7 @@ public final class ProtoBuf { } /** * required string chatText = 3; + * @return The bytes for chatText. */ public com.google.protobuf.ByteString getChatTextBytes() { @@ -43771,6 +65059,8 @@ public final class ProtoBuf { } /** * required string chatText = 3; + * @param value The chatText to set. + * @return This builder for chaining. */ public Builder setChatText( java.lang.String value) { @@ -43779,20 +65069,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000004; chatText_ = value; - + onChanged(); return this; } /** * required string chatText = 3; + * @return This builder for chaining. */ public Builder clearChatText() { bitField0_ = (bitField0_ & ~0x00000004); chatText_ = getDefaultInstance().getChatText(); - + onChanged(); return this; } /** * required string chatText = 3; + * @param value The bytes for chatText to set. + * @return This builder for chaining. */ public Builder setChatTextBytes( com.google.protobuf.ByteString value) { @@ -43801,65 +65094,112 @@ public final class ProtoBuf { } bitField0_ |= 0x00000004; chatText_ = value; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ChatRequestMessage) } + // @@protoc_insertion_point(class_scope:ChatRequestMessage) + private static final de.pokerth.protocol.ProtoBuf.ChatRequestMessage DEFAULT_INSTANCE; static { - defaultInstance = new ChatRequestMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ChatRequestMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ChatRequestMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChatRequestMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChatRequestMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ChatRequestMessage) } - public interface ChatMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ChatMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ChatMessage) + com.google.protobuf.MessageOrBuilder { - // optional uint32 gameId = 1; /** * optional uint32 gameId = 1; + * @return Whether the gameId field is set. */ boolean hasGameId(); /** * optional uint32 gameId = 1; + * @return The gameId. */ int getGameId(); - // optional uint32 playerId = 2; /** * optional uint32 playerId = 2; + * @return Whether the playerId field is set. */ boolean hasPlayerId(); /** * optional uint32 playerId = 2; + * @return The playerId. */ int getPlayerId(); - // required .ChatMessage.ChatType chatType = 3; /** * required .ChatMessage.ChatType chatType = 3; + * @return Whether the chatType field is set. */ boolean hasChatType(); /** * required .ChatMessage.ChatType chatType = 3; + * @return The chatType. */ de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType(); - // required string chatText = 4; /** * required string chatText = 4; + * @return Whether the chatText field is set. */ boolean hasChatText(); /** * required string chatText = 4; + * @return The chatText. */ java.lang.String getChatText(); /** * required string chatText = 4; + * @return The bytes for chatText. */ com.google.protobuf.ByteString getChatTextBytes(); @@ -43868,30 +65208,42 @@ public final class ProtoBuf { * Protobuf type {@code ChatMessage} */ public static final class ChatMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ChatMessage) + ChatMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ChatMessage.newBuilder() to construct. - private ChatMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ChatMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ChatMessage(boolean noInit) {} - - private static final ChatMessage defaultInstance; - public static ChatMessage getDefaultInstance() { - return defaultInstance; + private ChatMessage() { + chatType_ = 0; + chatText_ = ""; } - public ChatMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChatMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ChatMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -43900,13 +65252,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; gameId_ = input.readUInt32(); @@ -43919,16 +65264,27 @@ public final class ProtoBuf { } case 24: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(3, rawValue); + } else { bitField0_ |= 0x00000004; - chatType_ = value; + chatType_ = rawValue; } break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - chatText_ = input.readBytes(); + chatText_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -43937,51 +65293,50 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ChatMessage.class, de.pokerth.protocol.ProtoBuf.ChatMessage.Builder.class); } /** * Protobuf enum {@code ChatMessage.ChatType} */ public enum ChatType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * chatTypeLobby = 0; */ - chatTypeLobby(0, 0), + chatTypeLobby(0), /** * chatTypeGame = 1; */ - chatTypeGame(1, 1), + chatTypeGame(1), /** * chatTypeBot = 2; */ - chatTypeBot(2, 2), + chatTypeBot(2), /** * chatTypeBroadcast = 3; */ - chatTypeBroadcast(3, 3), + chatTypeBroadcast(3), /** * chatTypePrivate = 4; */ - chatTypePrivate(4, 4), + chatTypePrivate(4), ; /** @@ -44006,9 +65361,25 @@ public final class ProtoBuf { public static final int chatTypePrivate_VALUE = 4; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static ChatType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ChatType forNumber(int value) { switch (value) { case 0: return chatTypeLobby; case 1: return chatTypeGame; @@ -44023,17 +65394,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + ChatType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ChatType findValueByNumber(int number) { - return ChatType.valueOf(number); + return ChatType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.ChatMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final ChatType[] VALUES = values(); + + public static ChatType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private ChatType(int index, int value) { + private ChatType(int value) { this.value = value; } @@ -44041,66 +65436,78 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; public static final int GAMEID_FIELD_NUMBER = 1; private int gameId_; /** * optional uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } - // optional uint32 playerId = 2; public static final int PLAYERID_FIELD_NUMBER = 2; private int playerId_; /** * optional uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override 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_; + private int chatType_; /** * required .ChatMessage.ChatType chatType = 3; + * @return Whether the chatType field is set. */ - public boolean hasChatType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasChatType() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .ChatMessage.ChatType chatType = 3; + * @return The chatType. */ - public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { - return chatType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType result = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.valueOf(chatType_); + return result == null ? de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby : result; } - // required string chatText = 4; public static final int CHATTEXT_FIELD_NUMBER = 4; - private java.lang.Object chatText_; + private volatile java.lang.Object chatText_; /** * required string chatText = 4; + * @return Whether the chatText field is set. */ + @java.lang.Override public boolean hasChatText() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required string chatText = 4; + * @return The chatText. */ + @java.lang.Override public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (ref instanceof java.lang.String) { @@ -44117,7 +65524,9 @@ public final class ProtoBuf { } /** * required string chatText = 4; + * @return The bytes for chatText. */ + @java.lang.Override public com.google.protobuf.ByteString getChatTextBytes() { java.lang.Object ref = chatText_; @@ -44132,16 +65541,12 @@ public final class ProtoBuf { } } - private void initFields() { - gameId_ = 0; - playerId_ = 0; - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; - chatText_ = ""; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasChatType()) { memoizedIsInitialized = 0; @@ -44155,56 +65560,122 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeEnum(3, chatType_.getNumber()); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeEnum(3, chatType_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeBytes(4, getChatTextBytes()); + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, chatText_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, gameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, playerId_); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, chatType_.getNumber()); + .computeEnumSize(3, chatType_); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(4, getChatTextBytes()); + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, chatText_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ChatMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ChatMessage other = (de.pokerth.protocol.ProtoBuf.ChatMessage) obj; + + if (hasGameId() != other.hasGameId()) return false; + if (hasGameId()) { + if (getGameId() + != other.getGameId()) return false; + } + if (hasPlayerId() != other.hasPlayerId()) return false; + if (hasPlayerId()) { + if (getPlayerId() + != other.getPlayerId()) return false; + } + if (hasChatType() != other.hasChatType()) return false; + if (hasChatType()) { + if (chatType_ != other.chatType_) return false; + } + if (hasChatText() != other.hasChatText()) return false; + if (hasChatText()) { + if (!getChatText() + .equals(other.getChatText())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGameId()) { + hash = (37 * hash) + GAMEID_FIELD_NUMBER; + hash = (53 * hash) + getGameId(); + } + if (hasPlayerId()) { + hash = (37 * hash) + PLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getPlayerId(); + } + if (hasChatType()) { + hash = (37 * hash) + CHATTYPE_FIELD_NUMBER; + hash = (53 * hash) + chatType_; + } + if (hasChatText()) { + hash = (37 * hash) + CHATTEXT_FIELD_NUMBER; + hash = (53 * hash) + getChatText().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -44228,82 +65699,123 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ChatMessage) + de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ChatMessage.class, de.pokerth.protocol.ProtoBuf.ChatMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); gameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); playerId_ = 0; bitField0_ = (bitField0_ & ~0x00000002); - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + chatType_ = 0; bitField0_ = (bitField0_ & ~0x00000004); chatText_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatMessage build() { de.pokerth.protocol.ProtoBuf.ChatMessage result = buildPartial(); if (!result.isInitialized()) { @@ -44312,30 +65824,74 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.gameId_ = gameId_; to_bitField0_ |= 0x00000001; } - result.gameId_ = gameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.playerId_ = playerId_; to_bitField0_ |= 0x00000002; } - result.playerId_ = playerId_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.chatType_ = chatType_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.chatText_ = chatText_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ChatMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ChatMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) return this; if (other.hasGameId()) { @@ -44350,23 +65906,25 @@ public final class ProtoBuf { if (other.hasChatText()) { bitField0_ |= 0x00000008; chatText_ = other.chatText_; - + onChanged(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasChatType()) { - return false; } if (!hasChatText()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -44376,7 +65934,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ChatMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -44386,125 +65944,148 @@ public final class ProtoBuf { } private int bitField0_; - // optional uint32 gameId = 1; private int gameId_ ; /** * optional uint32 gameId = 1; + * @return Whether the gameId field is set. */ + @java.lang.Override public boolean hasGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * optional uint32 gameId = 1; + * @return The gameId. */ + @java.lang.Override public int getGameId() { return gameId_; } /** * optional uint32 gameId = 1; + * @param value The gameId to set. + * @return This builder for chaining. */ public Builder setGameId(int value) { bitField0_ |= 0x00000001; gameId_ = value; - + onChanged(); return this; } /** * optional uint32 gameId = 1; + * @return This builder for chaining. */ public Builder clearGameId() { bitField0_ = (bitField0_ & ~0x00000001); gameId_ = 0; - + onChanged(); return this; } - // optional uint32 playerId = 2; private int playerId_ ; /** * optional uint32 playerId = 2; + * @return Whether the playerId field is set. */ + @java.lang.Override public boolean hasPlayerId() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional uint32 playerId = 2; + * @return The playerId. */ + @java.lang.Override public int getPlayerId() { return playerId_; } /** * optional uint32 playerId = 2; + * @param value The playerId to set. + * @return This builder for chaining. */ public Builder setPlayerId(int value) { bitField0_ |= 0x00000002; playerId_ = value; - + onChanged(); return this; } /** * optional uint32 playerId = 2; + * @return This builder for chaining. */ public Builder clearPlayerId() { bitField0_ = (bitField0_ & ~0x00000002); playerId_ = 0; - + onChanged(); return this; } - // required .ChatMessage.ChatType chatType = 3; - private de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; + private int chatType_ = 0; /** * required .ChatMessage.ChatType chatType = 3; + * @return Whether the chatType field is set. */ - public boolean hasChatType() { - return ((bitField0_ & 0x00000004) == 0x00000004); + @java.lang.Override public boolean hasChatType() { + return ((bitField0_ & 0x00000004) != 0); } /** * required .ChatMessage.ChatType chatType = 3; + * @return The chatType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType getChatType() { - return chatType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType result = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.valueOf(chatType_); + return result == null ? de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby : result; } /** * required .ChatMessage.ChatType chatType = 3; + * @param value The chatType to set. + * @return This builder for chaining. */ public Builder setChatType(de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; - chatType_ = value; - + chatType_ = value.getNumber(); + onChanged(); return this; } /** * required .ChatMessage.ChatType chatType = 3; + * @return This builder for chaining. */ public Builder clearChatType() { bitField0_ = (bitField0_ & ~0x00000004); - chatType_ = de.pokerth.protocol.ProtoBuf.ChatMessage.ChatType.chatTypeLobby; - + chatType_ = 0; + onChanged(); return this; } - // required string chatText = 4; private java.lang.Object chatText_ = ""; /** * required string chatText = 4; + * @return Whether the chatText field is set. */ public boolean hasChatText() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * required string chatText = 4; + * @return The chatText. */ public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - chatText_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + chatText_ = s; + } return s; } else { return (java.lang.String) ref; @@ -44512,6 +66093,7 @@ public final class ProtoBuf { } /** * required string chatText = 4; + * @return The bytes for chatText. */ public com.google.protobuf.ByteString getChatTextBytes() { @@ -44528,6 +66110,8 @@ public final class ProtoBuf { } /** * required string chatText = 4; + * @param value The chatText to set. + * @return This builder for chaining. */ public Builder setChatText( java.lang.String value) { @@ -44536,20 +66120,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000008; chatText_ = value; - + onChanged(); return this; } /** * required string chatText = 4; + * @return This builder for chaining. */ public Builder clearChatText() { bitField0_ = (bitField0_ & ~0x00000008); chatText_ = getDefaultInstance().getChatText(); - + onChanged(); return this; } /** * required string chatText = 4; + * @param value The bytes for chatText to set. + * @return This builder for chaining. */ public Builder setChatTextBytes( com.google.protobuf.ByteString value) { @@ -44558,35 +66145,79 @@ public final class ProtoBuf { } bitField0_ |= 0x00000008; chatText_ = value; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ChatMessage) } + // @@protoc_insertion_point(class_scope:ChatMessage) + private static final de.pokerth.protocol.ProtoBuf.ChatMessage DEFAULT_INSTANCE; static { - defaultInstance = new ChatMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ChatMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ChatMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChatMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChatMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ChatMessage) } - public interface ChatRejectMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ChatRejectMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ChatRejectMessage) + com.google.protobuf.MessageOrBuilder { - // required string chatText = 1; /** * required string chatText = 1; + * @return Whether the chatText field is set. */ boolean hasChatText(); /** * required string chatText = 1; + * @return The chatText. */ java.lang.String getChatText(); /** * required string chatText = 1; + * @return The bytes for chatText. */ com.google.protobuf.ByteString getChatTextBytes(); @@ -44595,30 +66226,41 @@ public final class ProtoBuf { * Protobuf type {@code ChatRejectMessage} */ public static final class ChatRejectMessage extends - com.google.protobuf.GeneratedMessageLite - implements ChatRejectMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ChatRejectMessage) + ChatRejectMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ChatRejectMessage.newBuilder() to construct. - private ChatRejectMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ChatRejectMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ChatRejectMessage(boolean noInit) {} - - private static final ChatRejectMessage defaultInstance; - public static ChatRejectMessage getDefaultInstance() { - return defaultInstance; + private ChatRejectMessage() { + chatText_ = ""; } - public ChatRejectMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ChatRejectMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ChatRejectMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -44627,16 +66269,17 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + chatText_ = bs; break; } - case 10: { - bitField0_ |= 0x00000001; - chatText_ = input.readBytes(); + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -44645,39 +66288,41 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRejectMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRejectMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.class, de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder.class); } private int bitField0_; - // required string chatText = 1; public static final int CHATTEXT_FIELD_NUMBER = 1; - private java.lang.Object chatText_; + private volatile java.lang.Object chatText_; /** * required string chatText = 1; + * @return Whether the chatText field is set. */ + @java.lang.Override public boolean hasChatText() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string chatText = 1; + * @return The chatText. */ + @java.lang.Override public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (ref instanceof java.lang.String) { @@ -44694,7 +66339,9 @@ public final class ProtoBuf { } /** * required string chatText = 1; + * @return The bytes for chatText. */ + @java.lang.Override public com.google.protobuf.ByteString getChatTextBytes() { java.lang.Object ref = chatText_; @@ -44709,13 +66356,12 @@ public final class ProtoBuf { } } - private void initFields() { - chatText_ = ""; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasChatText()) { memoizedIsInitialized = 0; @@ -44725,35 +66371,75 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getChatTextBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, chatText_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getChatTextBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, chatText_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ChatRejectMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ChatRejectMessage other = (de.pokerth.protocol.ProtoBuf.ChatRejectMessage) obj; + + if (hasChatText() != other.hasChatText()) return false; + if (hasChatText()) { + if (!getChatText() + .equals(other.getChatText())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasChatText()) { + hash = (37 * hash) + CHATTEXT_FIELD_NUMBER; + hash = (53 * hash) + getChatText().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -44777,61 +66463,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ChatRejectMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code ChatRejectMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ChatRejectMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ChatRejectMessage) + de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRejectMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRejectMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.class, de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); chatText_ = ""; @@ -44839,14 +66562,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ChatRejectMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatRejectMessage build() { de.pokerth.protocol.ProtoBuf.ChatRejectMessage result = buildPartial(); if (!result.isInitialized()) { @@ -44855,36 +66582,83 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ChatRejectMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ChatRejectMessage result = new de.pokerth.protocol.ProtoBuf.ChatRejectMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.chatText_ = chatText_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ChatRejectMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ChatRejectMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ChatRejectMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) return this; if (other.hasChatText()) { bitField0_ |= 0x00000001; chatText_ = other.chatText_; - + onChanged(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasChatText()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -44894,7 +66668,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ChatRejectMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -44904,23 +66678,27 @@ public final class ProtoBuf { } private int bitField0_; - // required string chatText = 1; private java.lang.Object chatText_ = ""; /** * required string chatText = 1; + * @return Whether the chatText field is set. */ public boolean hasChatText() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string chatText = 1; + * @return The chatText. */ public java.lang.String getChatText() { java.lang.Object ref = chatText_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - chatText_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + chatText_ = s; + } return s; } else { return (java.lang.String) ref; @@ -44928,6 +66706,7 @@ public final class ProtoBuf { } /** * required string chatText = 1; + * @return The bytes for chatText. */ public com.google.protobuf.ByteString getChatTextBytes() { @@ -44944,6 +66723,8 @@ public final class ProtoBuf { } /** * required string chatText = 1; + * @param value The chatText to set. + * @return This builder for chaining. */ public Builder setChatText( java.lang.String value) { @@ -44952,20 +66733,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; chatText_ = value; - + onChanged(); return this; } /** * required string chatText = 1; + * @return This builder for chaining. */ public Builder clearChatText() { bitField0_ = (bitField0_ & ~0x00000001); chatText_ = getDefaultInstance().getChatText(); - + onChanged(); return this; } /** * required string chatText = 1; + * @param value The bytes for chatText to set. + * @return This builder for chaining. */ public Builder setChatTextBytes( com.google.protobuf.ByteString value) { @@ -44974,35 +66758,79 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; chatText_ = value; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ChatRejectMessage) } + // @@protoc_insertion_point(class_scope:ChatRejectMessage) + private static final de.pokerth.protocol.ProtoBuf.ChatRejectMessage DEFAULT_INSTANCE; static { - defaultInstance = new ChatRejectMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ChatRejectMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ChatRejectMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChatRejectMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ChatRejectMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ChatRejectMessage) } - public interface DialogMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface DialogMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:DialogMessage) + com.google.protobuf.MessageOrBuilder { - // required string notificationText = 1; /** * required string notificationText = 1; + * @return Whether the notificationText field is set. */ boolean hasNotificationText(); /** * required string notificationText = 1; + * @return The notificationText. */ java.lang.String getNotificationText(); /** * required string notificationText = 1; + * @return The bytes for notificationText. */ com.google.protobuf.ByteString getNotificationTextBytes(); @@ -45011,30 +66839,41 @@ public final class ProtoBuf { * Protobuf type {@code DialogMessage} */ public static final class DialogMessage extends - com.google.protobuf.GeneratedMessageLite - implements DialogMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:DialogMessage) + DialogMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use DialogMessage.newBuilder() to construct. - private DialogMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private DialogMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private DialogMessage(boolean noInit) {} - - private static final DialogMessage defaultInstance; - public static DialogMessage getDefaultInstance() { - return defaultInstance; + private DialogMessage() { + notificationText_ = ""; } - public DialogMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DialogMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private DialogMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -45043,16 +66882,17 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + notificationText_ = bs; break; } - case 10: { - bitField0_ |= 0x00000001; - notificationText_ = input.readBytes(); + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } break; } } @@ -45061,39 +66901,41 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DialogMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DialogMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DialogMessage.class, de.pokerth.protocol.ProtoBuf.DialogMessage.Builder.class); } private int bitField0_; - // required string notificationText = 1; public static final int NOTIFICATIONTEXT_FIELD_NUMBER = 1; - private java.lang.Object notificationText_; + private volatile java.lang.Object notificationText_; /** * required string notificationText = 1; + * @return Whether the notificationText field is set. */ + @java.lang.Override public boolean hasNotificationText() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string notificationText = 1; + * @return The notificationText. */ + @java.lang.Override public java.lang.String getNotificationText() { java.lang.Object ref = notificationText_; if (ref instanceof java.lang.String) { @@ -45110,7 +66952,9 @@ public final class ProtoBuf { } /** * required string notificationText = 1; + * @return The bytes for notificationText. */ + @java.lang.Override public com.google.protobuf.ByteString getNotificationTextBytes() { java.lang.Object ref = notificationText_; @@ -45125,13 +66969,12 @@ public final class ProtoBuf { } } - private void initFields() { - notificationText_ = ""; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasNotificationText()) { memoizedIsInitialized = 0; @@ -45141,35 +66984,75 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getNotificationTextBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, notificationText_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getNotificationTextBytes()); + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, notificationText_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.DialogMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.DialogMessage other = (de.pokerth.protocol.ProtoBuf.DialogMessage) obj; + + if (hasNotificationText() != other.hasNotificationText()) return false; + if (hasNotificationText()) { + if (!getNotificationText() + .equals(other.getNotificationText())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasNotificationText()) { + hash = (37 * hash) + NOTIFICATIONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getNotificationText().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -45193,61 +67076,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.DialogMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.DialogMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code DialogMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.DialogMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:DialogMessage) + de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_DialogMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_DialogMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.DialogMessage.class, de.pokerth.protocol.ProtoBuf.DialogMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); notificationText_ = ""; @@ -45255,14 +67175,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_DialogMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DialogMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DialogMessage build() { de.pokerth.protocol.ProtoBuf.DialogMessage result = buildPartial(); if (!result.isInitialized()) { @@ -45271,36 +67195,83 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.DialogMessage buildPartial() { de.pokerth.protocol.ProtoBuf.DialogMessage result = new de.pokerth.protocol.ProtoBuf.DialogMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.notificationText_ = notificationText_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.DialogMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.DialogMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.DialogMessage other) { if (other == de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance()) return this; if (other.hasNotificationText()) { bitField0_ |= 0x00000001; notificationText_ = other.notificationText_; - + onChanged(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasNotificationText()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -45310,7 +67281,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.DialogMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -45320,23 +67291,27 @@ public final class ProtoBuf { } private int bitField0_; - // required string notificationText = 1; private java.lang.Object notificationText_ = ""; /** * required string notificationText = 1; + * @return Whether the notificationText field is set. */ public boolean hasNotificationText() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required string notificationText = 1; + * @return The notificationText. */ public java.lang.String getNotificationText() { java.lang.Object ref = notificationText_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - notificationText_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + notificationText_ = s; + } return s; } else { return (java.lang.String) ref; @@ -45344,6 +67319,7 @@ public final class ProtoBuf { } /** * required string notificationText = 1; + * @return The bytes for notificationText. */ public com.google.protobuf.ByteString getNotificationTextBytes() { @@ -45360,6 +67336,8 @@ public final class ProtoBuf { } /** * required string notificationText = 1; + * @param value The notificationText to set. + * @return This builder for chaining. */ public Builder setNotificationText( java.lang.String value) { @@ -45368,20 +67346,23 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; notificationText_ = value; - + onChanged(); return this; } /** * required string notificationText = 1; + * @return This builder for chaining. */ public Builder clearNotificationText() { bitField0_ = (bitField0_ & ~0x00000001); notificationText_ = getDefaultInstance().getNotificationText(); - + onChanged(); return this; } /** * required string notificationText = 1; + * @param value The bytes for notificationText to set. + * @return This builder for chaining. */ public Builder setNotificationTextBytes( com.google.protobuf.ByteString value) { @@ -45390,41 +67371,85 @@ public final class ProtoBuf { } bitField0_ |= 0x00000001; notificationText_ = value; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:DialogMessage) } + // @@protoc_insertion_point(class_scope:DialogMessage) + private static final de.pokerth.protocol.ProtoBuf.DialogMessage DEFAULT_INSTANCE; static { - defaultInstance = new DialogMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.DialogMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.DialogMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DialogMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DialogMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DialogMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:DialogMessage) } - public interface TimeoutWarningMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface TimeoutWarningMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:TimeoutWarningMessage) + com.google.protobuf.MessageOrBuilder { - // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @return Whether the timeoutReason field is set. */ boolean hasTimeoutReason(); /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @return The timeoutReason. */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason(); - // required uint32 remainingSeconds = 2; /** * required uint32 remainingSeconds = 2; + * @return Whether the remainingSeconds field is set. */ boolean hasRemainingSeconds(); /** * required uint32 remainingSeconds = 2; + * @return The remainingSeconds. */ int getRemainingSeconds(); } @@ -45432,30 +67457,41 @@ public final class ProtoBuf { * Protobuf type {@code TimeoutWarningMessage} */ public static final class TimeoutWarningMessage extends - com.google.protobuf.GeneratedMessageLite - implements TimeoutWarningMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:TimeoutWarningMessage) + TimeoutWarningMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use TimeoutWarningMessage.newBuilder() to construct. - private TimeoutWarningMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private TimeoutWarningMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private TimeoutWarningMessage(boolean noInit) {} - - private static final TimeoutWarningMessage defaultInstance; - public static TimeoutWarningMessage getDefaultInstance() { - return defaultInstance; + private TimeoutWarningMessage() { + timeoutReason_ = 0; } - public TimeoutWarningMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TimeoutWarningMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private TimeoutWarningMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -45464,19 +67500,15 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason value = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { bitField0_ |= 0x00000001; - timeoutReason_ = value; + timeoutReason_ = rawValue; } break; } @@ -45485,49 +67517,55 @@ public final class ProtoBuf { remainingSeconds_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_TimeoutWarningMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_TimeoutWarningMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.class, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder.class); } /** * Protobuf enum {@code TimeoutWarningMessage.TimeoutReason} */ public enum TimeoutReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * timeoutNoDataReceived = 0; */ - timeoutNoDataReceived(0, 0), + timeoutNoDataReceived(0), /** * timeoutInactiveGame = 1; */ - timeoutInactiveGame(1, 1), + timeoutInactiveGame(1), /** * timeoutKickAfterAutofold = 2; */ - timeoutKickAfterAutofold(2, 2), + timeoutKickAfterAutofold(2), ; /** @@ -45544,9 +67582,25 @@ public final class ProtoBuf { public static final int timeoutKickAfterAutofold_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static TimeoutReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static TimeoutReason forNumber(int value) { switch (value) { case 0: return timeoutNoDataReceived; case 1: return timeoutInactiveGame; @@ -45559,17 +67613,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + TimeoutReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public TimeoutReason findValueByNumber(int number) { - return TimeoutReason.valueOf(number); + return TimeoutReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final TimeoutReason[] VALUES = values(); + + public static TimeoutReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private TimeoutReason(int index, int value) { + private TimeoutReason(int value) { this.value = value; } @@ -45577,46 +67655,50 @@ public final class ProtoBuf { } private int bitField0_; - // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; public static final int TIMEOUTREASON_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason timeoutReason_; + private int timeoutReason_; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @return Whether the timeoutReason field is set. */ - public boolean hasTimeoutReason() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasTimeoutReason() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @return The timeoutReason. */ - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason() { - return timeoutReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason result = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.valueOf(timeoutReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived : result; } - // required uint32 remainingSeconds = 2; public static final int REMAININGSECONDS_FIELD_NUMBER = 2; private int remainingSeconds_; /** * required uint32 remainingSeconds = 2; + * @return Whether the remainingSeconds field is set. */ + @java.lang.Override public boolean hasRemainingSeconds() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 remainingSeconds = 2; + * @return The remainingSeconds. */ + @java.lang.Override public int getRemainingSeconds() { return remainingSeconds_; } - private void initFields() { - timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; - remainingSeconds_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasTimeoutReason()) { memoizedIsInitialized = 0; @@ -45630,42 +67712,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, timeoutReason_.getNumber()); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, timeoutReason_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeUInt32(2, remainingSeconds_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, timeoutReason_.getNumber()); + .computeEnumSize(1, timeoutReason_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, remainingSeconds_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage other = (de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage) obj; + + if (hasTimeoutReason() != other.hasTimeoutReason()) return false; + if (hasTimeoutReason()) { + if (timeoutReason_ != other.timeoutReason_) return false; + } + if (hasRemainingSeconds() != other.hasRemainingSeconds()) return false; + if (hasRemainingSeconds()) { + if (getRemainingSeconds() + != other.getRemainingSeconds()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTimeoutReason()) { + hash = (37 * hash) + TIMEOUTREASON_FIELD_NUMBER; + hash = (53 * hash) + timeoutReason_; + } + if (hasRemainingSeconds()) { + hash = (37 * hash) + REMAININGSECONDS_FIELD_NUMBER; + hash = (53 * hash) + getRemainingSeconds(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -45689,78 +67820,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:TimeoutWarningMessage) + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_TimeoutWarningMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_TimeoutWarningMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.class, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; + timeoutReason_ = 0; bitField0_ = (bitField0_ & ~0x00000001); remainingSeconds_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_TimeoutWarningMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage build() { de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage result = buildPartial(); if (!result.isInitialized()) { @@ -45769,22 +67941,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.timeoutReason_ = timeoutReason_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + result.remainingSeconds_ = remainingSeconds_; to_bitField0_ |= 0x00000002; } - result.remainingSeconds_ = remainingSeconds_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage other) { if (other == de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) return this; if (other.hasTimeoutReason()) { @@ -45793,21 +68009,23 @@ public final class ProtoBuf { if (other.hasRemainingSeconds()) { setRemainingSeconds(other.getRemainingSeconds()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasTimeoutReason()) { - return false; } if (!hasRemainingSeconds()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -45817,7 +68035,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -45827,116 +68045,181 @@ public final class ProtoBuf { } private int bitField0_; - // required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; - private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; + private int timeoutReason_ = 0; /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @return Whether the timeoutReason field is set. */ - public boolean hasTimeoutReason() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasTimeoutReason() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @return The timeoutReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason getTimeoutReason() { - return timeoutReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason result = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.valueOf(timeoutReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived : result; } /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @param value The timeoutReason to set. + * @return This builder for chaining. */ public Builder setTimeoutReason(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - timeoutReason_ = value; - + timeoutReason_ = value.getNumber(); + onChanged(); return this; } /** * required .TimeoutWarningMessage.TimeoutReason timeoutReason = 1; + * @return This builder for chaining. */ public Builder clearTimeoutReason() { bitField0_ = (bitField0_ & ~0x00000001); - timeoutReason_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.TimeoutReason.timeoutNoDataReceived; - + timeoutReason_ = 0; + onChanged(); return this; } - // required uint32 remainingSeconds = 2; private int remainingSeconds_ ; /** * required uint32 remainingSeconds = 2; + * @return Whether the remainingSeconds field is set. */ + @java.lang.Override public boolean hasRemainingSeconds() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required uint32 remainingSeconds = 2; + * @return The remainingSeconds. */ + @java.lang.Override public int getRemainingSeconds() { return remainingSeconds_; } /** * required uint32 remainingSeconds = 2; + * @param value The remainingSeconds to set. + * @return This builder for chaining. */ public Builder setRemainingSeconds(int value) { bitField0_ |= 0x00000002; remainingSeconds_ = value; - + onChanged(); return this; } /** * required uint32 remainingSeconds = 2; + * @return This builder for chaining. */ public Builder clearRemainingSeconds() { bitField0_ = (bitField0_ & ~0x00000002); remainingSeconds_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:TimeoutWarningMessage) } + // @@protoc_insertion_point(class_scope:TimeoutWarningMessage) + private static final de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage DEFAULT_INSTANCE; static { - defaultInstance = new TimeoutWarningMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimeoutWarningMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimeoutWarningMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:TimeoutWarningMessage) } - public interface ResetTimeoutMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ResetTimeoutMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ResetTimeoutMessage) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code ResetTimeoutMessage} */ public static final class ResetTimeoutMessage extends - com.google.protobuf.GeneratedMessageLite - implements ResetTimeoutMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ResetTimeoutMessage) + ResetTimeoutMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ResetTimeoutMessage.newBuilder() to construct. - private ResetTimeoutMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ResetTimeoutMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ResetTimeoutMessage(boolean noInit) {} - - private static final ResetTimeoutMessage defaultInstance; - public static ResetTimeoutMessage getDefaultInstance() { - return defaultInstance; + private ResetTimeoutMessage() { } - public ResetTimeoutMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResetTimeoutMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ResetTimeoutMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -45946,8 +68229,8 @@ public final class ProtoBuf { done = true; break; default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { done = true; } break; @@ -45958,59 +68241,90 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ResetTimeoutMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ResetTimeoutMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.class, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder.class); } - private void initFields() { - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage other = (de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -46034,74 +68348,115 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code ResetTimeoutMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ResetTimeoutMessage) + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ResetTimeoutMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ResetTimeoutMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.class, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ResetTimeoutMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage build() { de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage result = buildPartial(); if (!result.isInitialized()) { @@ -46110,20 +68465,68 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage result = new de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage(this); + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -46133,7 +68536,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -46141,38 +68544,82 @@ public final class ProtoBuf { } return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ResetTimeoutMessage) } + // @@protoc_insertion_point(class_scope:ResetTimeoutMessage) + private static final de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage DEFAULT_INSTANCE; static { - defaultInstance = new ResetTimeoutMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetTimeoutMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetTimeoutMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ResetTimeoutMessage) } - public interface ReportAvatarMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ReportAvatarMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ReportAvatarMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; + * @return Whether the reportedPlayerId field is set. */ boolean hasReportedPlayerId(); /** * required uint32 reportedPlayerId = 1; + * @return The reportedPlayerId. */ int getReportedPlayerId(); - // required bytes reportedAvatarHash = 2; /** * required bytes reportedAvatarHash = 2; + * @return Whether the reportedAvatarHash field is set. */ boolean hasReportedAvatarHash(); /** * required bytes reportedAvatarHash = 2; + * @return The reportedAvatarHash. */ com.google.protobuf.ByteString getReportedAvatarHash(); } @@ -46180,30 +68627,41 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarMessage} */ public static final class ReportAvatarMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ReportAvatarMessage) + ReportAvatarMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ReportAvatarMessage.newBuilder() to construct. - private ReportAvatarMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ReportAvatarMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ReportAvatarMessage(boolean noInit) {} - - private static final ReportAvatarMessage defaultInstance; - public static ReportAvatarMessage getDefaultInstance() { - return defaultInstance; + private ReportAvatarMessage() { + reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; } - public ReportAvatarMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReportAvatarMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ReportAvatarMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -46212,13 +68670,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; reportedPlayerId_ = input.readUInt32(); @@ -46229,73 +68680,83 @@ public final class ProtoBuf { reportedAvatarHash_ = input.readBytes(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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 final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.class, de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder.class); } private int bitField0_; - // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** * required uint32 reportedPlayerId = 1; + * @return Whether the reportedPlayerId field is set. */ + @java.lang.Override public boolean hasReportedPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedPlayerId = 1; + * @return The reportedPlayerId. */ + @java.lang.Override public int getReportedPlayerId() { return reportedPlayerId_; } - // required bytes reportedAvatarHash = 2; public static final int REPORTEDAVATARHASH_FIELD_NUMBER = 2; private com.google.protobuf.ByteString reportedAvatarHash_; /** * required bytes reportedAvatarHash = 2; + * @return Whether the reportedAvatarHash field is set. */ + @java.lang.Override public boolean hasReportedAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes reportedAvatarHash = 2; + * @return The reportedAvatarHash. */ + @java.lang.Override public com.google.protobuf.ByteString getReportedAvatarHash() { return reportedAvatarHash_; } - private void initFields() { - reportedPlayerId_ = 0; - reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasReportedPlayerId()) { memoizedIsInitialized = 0; @@ -46309,42 +68770,92 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, reportedPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeBytes(2, reportedAvatarHash_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, reportedPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, reportedAvatarHash_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ReportAvatarMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage other = (de.pokerth.protocol.ProtoBuf.ReportAvatarMessage) obj; + + if (hasReportedPlayerId() != other.hasReportedPlayerId()) return false; + if (hasReportedPlayerId()) { + if (getReportedPlayerId() + != other.getReportedPlayerId()) return false; + } + if (hasReportedAvatarHash() != other.hasReportedAvatarHash()) return false; + if (hasReportedAvatarHash()) { + if (!getReportedAvatarHash() + .equals(other.getReportedAvatarHash())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasReportedPlayerId()) { + hash = (37 * hash) + REPORTEDPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getReportedPlayerId(); + } + if (hasReportedAvatarHash()) { + hash = (37 * hash) + REPORTEDAVATARHASH_FIELD_NUMBER; + hash = (53 * hash) + getReportedAvatarHash().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -46368,61 +68879,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code ReportAvatarMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ReportAvatarMessage) + de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.class, de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); reportedPlayerId_ = 0; @@ -46432,14 +68980,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage build() { de.pokerth.protocol.ProtoBuf.ReportAvatarMessage result = buildPartial(); if (!result.isInitialized()) { @@ -46448,22 +69000,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reportedPlayerId_ = reportedPlayerId_; to_bitField0_ |= 0x00000001; } - result.reportedPlayerId_ = reportedPlayerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.reportedAvatarHash_ = reportedAvatarHash_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ReportAvatarMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ReportAvatarMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) return this; if (other.hasReportedPlayerId()) { @@ -46472,21 +69068,23 @@ public final class ProtoBuf { if (other.hasReportedAvatarHash()) { setReportedAvatarHash(other.getReportedAvatarHash()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasReportedPlayerId()) { - return false; } if (!hasReportedAvatarHash()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -46496,7 +69094,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportAvatarMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -46506,55 +69104,66 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; + * @return Whether the reportedPlayerId field is set. */ + @java.lang.Override public boolean hasReportedPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedPlayerId = 1; + * @return The reportedPlayerId. */ + @java.lang.Override public int getReportedPlayerId() { return reportedPlayerId_; } /** * required uint32 reportedPlayerId = 1; + * @param value The reportedPlayerId to set. + * @return This builder for chaining. */ public Builder setReportedPlayerId(int value) { bitField0_ |= 0x00000001; reportedPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 reportedPlayerId = 1; + * @return This builder for chaining. */ public Builder clearReportedPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); reportedPlayerId_ = 0; - + onChanged(); return this; } - // required bytes reportedAvatarHash = 2; private com.google.protobuf.ByteString reportedAvatarHash_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes reportedAvatarHash = 2; + * @return Whether the reportedAvatarHash field is set. */ + @java.lang.Override public boolean hasReportedAvatarHash() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * required bytes reportedAvatarHash = 2; + * @return The reportedAvatarHash. */ + @java.lang.Override public com.google.protobuf.ByteString getReportedAvatarHash() { return reportedAvatarHash_; } /** * required bytes reportedAvatarHash = 2; + * @param value The reportedAvatarHash to set. + * @return This builder for chaining. */ public Builder setReportedAvatarHash(com.google.protobuf.ByteString value) { if (value == null) { @@ -46562,50 +69171,95 @@ public final class ProtoBuf { } bitField0_ |= 0x00000002; reportedAvatarHash_ = value; - + onChanged(); return this; } /** * required bytes reportedAvatarHash = 2; + * @return This builder for chaining. */ public Builder clearReportedAvatarHash() { bitField0_ = (bitField0_ & ~0x00000002); reportedAvatarHash_ = getDefaultInstance().getReportedAvatarHash(); - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ReportAvatarMessage) } + // @@protoc_insertion_point(class_scope:ReportAvatarMessage) + private static final de.pokerth.protocol.ProtoBuf.ReportAvatarMessage DEFAULT_INSTANCE; static { - defaultInstance = new ReportAvatarMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ReportAvatarMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + 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.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ReportAvatarMessage) } - public interface ReportAvatarAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ReportAvatarAckMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ReportAvatarAckMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 reportedPlayerId = 1; /** * required uint32 reportedPlayerId = 1; + * @return Whether the reportedPlayerId field is set. */ boolean hasReportedPlayerId(); /** * required uint32 reportedPlayerId = 1; + * @return The reportedPlayerId. */ int getReportedPlayerId(); - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @return Whether the reportAvatarResult field is set. */ boolean hasReportAvatarResult(); /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @return The reportAvatarResult. */ de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult(); } @@ -46613,30 +69267,41 @@ public final class ProtoBuf { * Protobuf type {@code ReportAvatarAckMessage} */ public static final class ReportAvatarAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportAvatarAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ReportAvatarAckMessage) + ReportAvatarAckMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ReportAvatarAckMessage.newBuilder() to construct. - private ReportAvatarAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ReportAvatarAckMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ReportAvatarAckMessage(boolean noInit) {} - - private static final ReportAvatarAckMessage defaultInstance; - public static ReportAvatarAckMessage getDefaultInstance() { - return defaultInstance; + private ReportAvatarAckMessage() { + reportAvatarResult_ = 0; } - public ReportAvatarAckMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReportAvatarAckMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ReportAvatarAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -46645,13 +69310,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; reportedPlayerId_ = input.readUInt32(); @@ -46659,10 +69317,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult value = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - reportAvatarResult_ = value; + reportAvatarResult_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -46672,43 +69340,42 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarAckMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.class, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder.class); } /** * Protobuf enum {@code ReportAvatarAckMessage.ReportAvatarResult} */ public enum ReportAvatarResult - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * avatarReportAccepted = 0; */ - avatarReportAccepted(0, 0), + avatarReportAccepted(0), /** * avatarReportDuplicate = 1; */ - avatarReportDuplicate(1, 1), + avatarReportDuplicate(1), /** * avatarReportInvalid = 2; */ - avatarReportInvalid(2, 2), + avatarReportInvalid(2), ; /** @@ -46725,9 +69392,25 @@ public final class ProtoBuf { public static final int avatarReportInvalid_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static ReportAvatarResult valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ReportAvatarResult forNumber(int value) { switch (value) { case 0: return avatarReportAccepted; case 1: return avatarReportDuplicate; @@ -46740,17 +69423,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + ReportAvatarResult> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ReportAvatarResult findValueByNumber(int number) { - return ReportAvatarResult.valueOf(number); + return ReportAvatarResult.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final ReportAvatarResult[] VALUES = values(); + + public static ReportAvatarResult valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private ReportAvatarResult(int index, int value) { + private ReportAvatarResult(int value) { this.value = value; } @@ -46758,46 +69465,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; public static final int REPORTEDPLAYERID_FIELD_NUMBER = 1; private int reportedPlayerId_; /** * required uint32 reportedPlayerId = 1; + * @return Whether the reportedPlayerId field is set. */ + @java.lang.Override public boolean hasReportedPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedPlayerId = 1; + * @return The reportedPlayerId. */ + @java.lang.Override 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_; + private int reportAvatarResult_; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @return Whether the reportAvatarResult field is set. */ - public boolean hasReportAvatarResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasReportAvatarResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @return The reportAvatarResult. */ - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult() { - return reportAvatarResult_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult result = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.valueOf(reportAvatarResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted : result; } - private void initFields() { - reportedPlayerId_ = 0; - reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasReportedPlayerId()) { memoizedIsInitialized = 0; @@ -46811,42 +69522,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, reportedPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, reportAvatarResult_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, reportAvatarResult_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, reportedPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reportAvatarResult_.getNumber()); + .computeEnumSize(2, reportAvatarResult_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage other = (de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage) obj; + + if (hasReportedPlayerId() != other.hasReportedPlayerId()) return false; + if (hasReportedPlayerId()) { + if (getReportedPlayerId() + != other.getReportedPlayerId()) return false; + } + if (hasReportAvatarResult() != other.hasReportAvatarResult()) return false; + if (hasReportAvatarResult()) { + if (reportAvatarResult_ != other.reportAvatarResult_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasReportedPlayerId()) { + hash = (37 * hash) + REPORTEDPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getReportedPlayerId(); + } + if (hasReportAvatarResult()) { + hash = (37 * hash) + REPORTAVATARRESULT_FIELD_NUMBER; + hash = (53 * hash) + reportAvatarResult_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -46870,78 +69630,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ReportAvatarAckMessage) + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarAckMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.class, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); reportedPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; + reportAvatarResult_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportAvatarAckMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage build() { de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -46950,22 +69751,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reportedPlayerId_ = reportedPlayerId_; to_bitField0_ |= 0x00000001; } - result.reportedPlayerId_ = reportedPlayerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.reportAvatarResult_ = reportAvatarResult_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) return this; if (other.hasReportedPlayerId()) { @@ -46974,21 +69819,23 @@ public final class ProtoBuf { if (other.hasReportAvatarResult()) { setReportAvatarResult(other.getReportAvatarResult()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasReportedPlayerId()) { - return false; } if (!hasReportAvatarResult()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -46998,7 +69845,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -47008,96 +69855,152 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedPlayerId = 1; private int reportedPlayerId_ ; /** * required uint32 reportedPlayerId = 1; + * @return Whether the reportedPlayerId field is set. */ + @java.lang.Override public boolean hasReportedPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedPlayerId = 1; + * @return The reportedPlayerId. */ + @java.lang.Override public int getReportedPlayerId() { return reportedPlayerId_; } /** * required uint32 reportedPlayerId = 1; + * @param value The reportedPlayerId to set. + * @return This builder for chaining. */ public Builder setReportedPlayerId(int value) { bitField0_ |= 0x00000001; reportedPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 reportedPlayerId = 1; + * @return This builder for chaining. */ public Builder clearReportedPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); reportedPlayerId_ = 0; - + onChanged(); return this; } - // required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; - private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; + private int reportAvatarResult_ = 0; /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @return Whether the reportAvatarResult field is set. */ - public boolean hasReportAvatarResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasReportAvatarResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @return The reportAvatarResult. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult getReportAvatarResult() { - return reportAvatarResult_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult result = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.valueOf(reportAvatarResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted : result; } /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @param value The reportAvatarResult to set. + * @return This builder for chaining. */ public Builder setReportAvatarResult(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - reportAvatarResult_ = value; - + reportAvatarResult_ = value.getNumber(); + onChanged(); return this; } /** * required .ReportAvatarAckMessage.ReportAvatarResult reportAvatarResult = 2; + * @return This builder for chaining. */ public Builder clearReportAvatarResult() { bitField0_ = (bitField0_ & ~0x00000002); - reportAvatarResult_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.ReportAvatarResult.avatarReportAccepted; - + reportAvatarResult_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ReportAvatarAckMessage) } + // @@protoc_insertion_point(class_scope:ReportAvatarAckMessage) + private static final de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage DEFAULT_INSTANCE; static { - defaultInstance = new ReportAvatarAckMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportAvatarAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReportAvatarAckMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ReportAvatarAckMessage) } - public interface ReportGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ReportGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ReportGameMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; + * @return Whether the reportedGameId field is set. */ boolean hasReportedGameId(); /** * required uint32 reportedGameId = 1; + * @return The reportedGameId. */ int getReportedGameId(); } @@ -47105,30 +70008,40 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameMessage} */ public static final class ReportGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ReportGameMessage) + ReportGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ReportGameMessage.newBuilder() to construct. - private ReportGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ReportGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ReportGameMessage(boolean noInit) {} - - private static final ReportGameMessage defaultInstance; - public static ReportGameMessage getDefaultInstance() { - return defaultInstance; + private ReportGameMessage() { } - public ReportGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReportGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ReportGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -47137,68 +70050,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; reportedGameId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportGameMessage.class, de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder.class); } private int bitField0_; - // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** * required uint32 reportedGameId = 1; + * @return Whether the reportedGameId field is set. */ + @java.lang.Override public boolean hasReportedGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedGameId = 1; + * @return The reportedGameId. */ + @java.lang.Override public int getReportedGameId() { return reportedGameId_; } - private void initFields() { - reportedGameId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasReportedGameId()) { memoizedIsInitialized = 0; @@ -47208,35 +70122,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, reportedGameId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, reportedGameId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ReportGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ReportGameMessage other = (de.pokerth.protocol.ProtoBuf.ReportGameMessage) obj; + + if (hasReportedGameId() != other.hasReportedGameId()) return false; + if (hasReportedGameId()) { + if (getReportedGameId() + != other.getReportedGameId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasReportedGameId()) { + hash = (37 * hash) + REPORTEDGAMEID_FIELD_NUMBER; + hash = (53 * hash) + getReportedGameId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -47260,61 +70215,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ReportGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code ReportGameMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ReportGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ReportGameMessage) + de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportGameMessage.class, de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); reportedGameId_ = 0; @@ -47322,14 +70314,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportGameMessage build() { de.pokerth.protocol.ProtoBuf.ReportGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -47338,34 +70334,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ReportGameMessage result = new de.pokerth.protocol.ProtoBuf.ReportGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reportedGameId_ = reportedGameId_; to_bitField0_ |= 0x00000001; } - result.reportedGameId_ = reportedGameId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ReportGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ReportGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance()) return this; if (other.hasReportedGameId()) { setReportedGameId(other.getReportedGameId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasReportedGameId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -47375,7 +70418,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -47385,70 +70428,120 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; + * @return Whether the reportedGameId field is set. */ + @java.lang.Override public boolean hasReportedGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedGameId = 1; + * @return The reportedGameId. */ + @java.lang.Override public int getReportedGameId() { return reportedGameId_; } /** * required uint32 reportedGameId = 1; + * @param value The reportedGameId to set. + * @return This builder for chaining. */ public Builder setReportedGameId(int value) { bitField0_ |= 0x00000001; reportedGameId_ = value; - + onChanged(); return this; } /** * required uint32 reportedGameId = 1; + * @return This builder for chaining. */ public Builder clearReportedGameId() { bitField0_ = (bitField0_ & ~0x00000001); reportedGameId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ReportGameMessage) } + // @@protoc_insertion_point(class_scope:ReportGameMessage) + private static final de.pokerth.protocol.ProtoBuf.ReportGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new ReportGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ReportGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ReportGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReportGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ReportGameMessage) } - public interface ReportGameAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ReportGameAckMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ReportGameAckMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 reportedGameId = 1; /** * required uint32 reportedGameId = 1; + * @return Whether the reportedGameId field is set. */ boolean hasReportedGameId(); /** * required uint32 reportedGameId = 1; + * @return The reportedGameId. */ int getReportedGameId(); - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @return Whether the reportGameResult field is set. */ boolean hasReportGameResult(); /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @return The reportGameResult. */ de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult(); } @@ -47456,30 +70549,41 @@ public final class ProtoBuf { * Protobuf type {@code ReportGameAckMessage} */ public static final class ReportGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements ReportGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ReportGameAckMessage) + ReportGameAckMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ReportGameAckMessage.newBuilder() to construct. - private ReportGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ReportGameAckMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ReportGameAckMessage(boolean noInit) {} - - private static final ReportGameAckMessage defaultInstance; - public static ReportGameAckMessage getDefaultInstance() { - return defaultInstance; + private ReportGameAckMessage() { + reportGameResult_ = 0; } - public ReportGameAckMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReportGameAckMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ReportGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -47488,13 +70592,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; reportedGameId_ = input.readUInt32(); @@ -47502,10 +70599,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult value = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - reportGameResult_ = value; + reportGameResult_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -47515,43 +70622,42 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameAckMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.class, de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder.class); } /** * Protobuf enum {@code ReportGameAckMessage.ReportGameResult} */ public enum ReportGameResult - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * gameReportAccepted = 0; */ - gameReportAccepted(0, 0), + gameReportAccepted(0), /** * gameReportDuplicate = 1; */ - gameReportDuplicate(1, 1), + gameReportDuplicate(1), /** * gameReportInvalid = 2; */ - gameReportInvalid(2, 2), + gameReportInvalid(2), ; /** @@ -47568,9 +70674,25 @@ public final class ProtoBuf { public static final int gameReportInvalid_VALUE = 2; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static ReportGameResult valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ReportGameResult forNumber(int value) { switch (value) { case 0: return gameReportAccepted; case 1: return gameReportDuplicate; @@ -47583,17 +70705,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + ReportGameResult> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ReportGameResult findValueByNumber(int number) { - return ReportGameResult.valueOf(number); + return ReportGameResult.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final ReportGameResult[] VALUES = values(); + + public static ReportGameResult valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private ReportGameResult(int index, int value) { + private ReportGameResult(int value) { this.value = value; } @@ -47601,46 +70747,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; public static final int REPORTEDGAMEID_FIELD_NUMBER = 1; private int reportedGameId_; /** * required uint32 reportedGameId = 1; + * @return Whether the reportedGameId field is set. */ + @java.lang.Override public boolean hasReportedGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedGameId = 1; + * @return The reportedGameId. */ + @java.lang.Override 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_; + private int reportGameResult_; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @return Whether the reportGameResult field is set. */ - public boolean hasReportGameResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasReportGameResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @return The reportGameResult. */ - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult() { - return reportGameResult_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult result = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.valueOf(reportGameResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted : result; } - private void initFields() { - reportedGameId_ = 0; - reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasReportedGameId()) { memoizedIsInitialized = 0; @@ -47654,42 +70804,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, reportedGameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, reportGameResult_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, reportGameResult_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, reportedGameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reportGameResult_.getNumber()); + .computeEnumSize(2, reportGameResult_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ReportGameAckMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage other = (de.pokerth.protocol.ProtoBuf.ReportGameAckMessage) obj; + + if (hasReportedGameId() != other.hasReportedGameId()) return false; + if (hasReportedGameId()) { + if (getReportedGameId() + != other.getReportedGameId()) return false; + } + if (hasReportGameResult() != other.hasReportGameResult()) return false; + if (hasReportGameResult()) { + if (reportGameResult_ != other.reportGameResult_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasReportedGameId()) { + hash = (37 * hash) + REPORTEDGAMEID_FIELD_NUMBER; + hash = (53 * hash) + getReportedGameId(); + } + if (hasReportGameResult()) { + hash = (37 * hash) + REPORTGAMERESULT_FIELD_NUMBER; + hash = (53 * hash) + reportGameResult_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -47713,78 +70912,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ReportGameAckMessage) + de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameAckMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.class, de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); reportedGameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; + reportGameResult_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ReportGameAckMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage build() { de.pokerth.protocol.ProtoBuf.ReportGameAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -47793,22 +71033,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.reportedGameId_ = reportedGameId_; to_bitField0_ |= 0x00000001; } - result.reportedGameId_ = reportedGameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.reportGameResult_ = reportGameResult_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ReportGameAckMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ReportGameAckMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) return this; if (other.hasReportedGameId()) { @@ -47817,21 +71101,23 @@ public final class ProtoBuf { if (other.hasReportGameResult()) { setReportGameResult(other.getReportGameResult()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasReportedGameId()) { - return false; } if (!hasReportGameResult()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -47841,7 +71127,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ReportGameAckMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -47851,96 +71137,152 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 reportedGameId = 1; private int reportedGameId_ ; /** * required uint32 reportedGameId = 1; + * @return Whether the reportedGameId field is set. */ + @java.lang.Override public boolean hasReportedGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 reportedGameId = 1; + * @return The reportedGameId. */ + @java.lang.Override public int getReportedGameId() { return reportedGameId_; } /** * required uint32 reportedGameId = 1; + * @param value The reportedGameId to set. + * @return This builder for chaining. */ public Builder setReportedGameId(int value) { bitField0_ |= 0x00000001; reportedGameId_ = value; - + onChanged(); return this; } /** * required uint32 reportedGameId = 1; + * @return This builder for chaining. */ public Builder clearReportedGameId() { bitField0_ = (bitField0_ & ~0x00000001); reportedGameId_ = 0; - + onChanged(); return this; } - // required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; - private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; + private int reportGameResult_ = 0; /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @return Whether the reportGameResult field is set. */ - public boolean hasReportGameResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasReportGameResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @return The reportGameResult. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult getReportGameResult() { - return reportGameResult_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult result = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.valueOf(reportGameResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted : result; } /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @param value The reportGameResult to set. + * @return This builder for chaining. */ public Builder setReportGameResult(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - reportGameResult_ = value; - + reportGameResult_ = value.getNumber(); + onChanged(); return this; } /** * required .ReportGameAckMessage.ReportGameResult reportGameResult = 2; + * @return This builder for chaining. */ public Builder clearReportGameResult() { bitField0_ = (bitField0_ & ~0x00000002); - reportGameResult_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.ReportGameResult.gameReportAccepted; - + reportGameResult_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ReportGameAckMessage) } + // @@protoc_insertion_point(class_scope:ReportGameAckMessage) + private static final de.pokerth.protocol.ProtoBuf.ReportGameAckMessage DEFAULT_INSTANCE; static { - defaultInstance = new ReportGameAckMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ReportGameAckMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReportGameAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReportGameAckMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ReportGameAckMessage) } - public interface ErrorMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface ErrorMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:ErrorMessage) + com.google.protobuf.MessageOrBuilder { - // required .ErrorMessage.ErrorReason errorReason = 1; /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @return Whether the errorReason field is set. */ boolean hasErrorReason(); /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @return The errorReason. */ de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason getErrorReason(); } @@ -47948,30 +71290,41 @@ public final class ProtoBuf { * Protobuf type {@code ErrorMessage} */ public static final class ErrorMessage extends - com.google.protobuf.GeneratedMessageLite - implements ErrorMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:ErrorMessage) + ErrorMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use ErrorMessage.newBuilder() to construct. - private ErrorMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private ErrorMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private ErrorMessage(boolean noInit) {} - - private static final ErrorMessage defaultInstance; - public static ErrorMessage getDefaultInstance() { - return defaultInstance; + private ErrorMessage() { + errorReason_ = 0; } - public ErrorMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ErrorMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private ErrorMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -47980,19 +71333,22 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; + case 8: { + int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { + bitField0_ |= 0x00000001; + errorReason_ = rawValue; } 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; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -48002,91 +71358,90 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ErrorMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ErrorMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ErrorMessage.class, de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder.class); } /** * Protobuf enum {@code ErrorMessage.ErrorReason} */ public enum ErrorReason - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * custReserved = 0; */ - custReserved(0, 0), + custReserved(0), /** * initVersionNotSupported = 1; */ - initVersionNotSupported(1, 1), + initVersionNotSupported(1), /** * initServerFull = 2; */ - initServerFull(2, 2), + initServerFull(2), /** * initAuthFailure = 3; */ - initAuthFailure(3, 3), + initAuthFailure(3), /** * initPlayerNameInUse = 4; */ - initPlayerNameInUse(4, 4), + initPlayerNameInUse(4), /** * initInvalidPlayerName = 5; */ - initInvalidPlayerName(5, 5), + initInvalidPlayerName(5), /** * initServerMaintenance = 6; */ - initServerMaintenance(6, 6), + initServerMaintenance(6), /** * initBlocked = 7; */ - initBlocked(7, 7), + initBlocked(7), /** * avatarTooLarge = 8; */ - avatarTooLarge(8, 8), + avatarTooLarge(8), /** * invalidPacket = 9; */ - invalidPacket(9, 9), + invalidPacket(9), /** * invalidState = 10; */ - invalidState(10, 10), + invalidState(10), /** * kickedFromServer = 11; */ - kickedFromServer(11, 11), + kickedFromServer(11), /** * bannedFromServer = 12; */ - bannedFromServer(12, 12), + bannedFromServer(12), /** * blockedByServer = 13; */ - blockedByServer(13, 13), + blockedByServer(13), /** * sessionTimeout = 14; */ - sessionTimeout(14, 14), + sessionTimeout(14), ; /** @@ -48151,9 +71506,25 @@ public final class ProtoBuf { public static final int sessionTimeout_VALUE = 14; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static ErrorReason valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ErrorReason forNumber(int value) { switch (value) { case 0: return custReserved; case 1: return initVersionNotSupported; @@ -48178,17 +71549,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + ErrorReason> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ErrorReason findValueByNumber(int number) { - return ErrorReason.valueOf(number); + return ErrorReason.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.ErrorMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final ErrorReason[] VALUES = values(); + + public static ErrorReason valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private ErrorReason(int index, int value) { + private ErrorReason(int value) { this.value = value; } @@ -48196,29 +71591,31 @@ public final class ProtoBuf { } private int bitField0_; - // required .ErrorMessage.ErrorReason errorReason = 1; public static final int ERRORREASON_FIELD_NUMBER = 1; - private de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason errorReason_; + private int errorReason_; /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @return Whether the errorReason field is set. */ - public boolean hasErrorReason() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasErrorReason() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @return The errorReason. */ - public de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason getErrorReason() { - return errorReason_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason getErrorReason() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason result = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(errorReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.custReserved : result; } - private void initFields() { - errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.custReserved; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasErrorReason()) { memoizedIsInitialized = 0; @@ -48228,35 +71625,75 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, errorReason_.getNumber()); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, errorReason_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, errorReason_.getNumber()); + .computeEnumSize(1, errorReason_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.ErrorMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.ErrorMessage other = (de.pokerth.protocol.ProtoBuf.ErrorMessage) obj; + + if (hasErrorReason() != other.hasErrorReason()) return false; + if (hasErrorReason()) { + if (errorReason_ != other.errorReason_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasErrorReason()) { + hash = (37 * hash) + ERRORREASON_FIELD_NUMBER; + hash = (53 * hash) + errorReason_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -48280,76 +71717,117 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.ErrorMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.ErrorMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code ErrorMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.ErrorMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:ErrorMessage) + de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_ErrorMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_ErrorMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.ErrorMessage.class, de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.custReserved; + errorReason_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_ErrorMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ErrorMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ErrorMessage build() { de.pokerth.protocol.ProtoBuf.ErrorMessage result = buildPartial(); if (!result.isInitialized()) { @@ -48358,34 +71836,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ErrorMessage buildPartial() { de.pokerth.protocol.ProtoBuf.ErrorMessage result = new de.pokerth.protocol.ProtoBuf.ErrorMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.errorReason_ = errorReason_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.ErrorMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.ErrorMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.ErrorMessage other) { if (other == de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) return this; if (other.hasErrorReason()) { setErrorReason(other.getErrorReason()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasErrorReason()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -48395,7 +71920,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.ErrorMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -48405,63 +71930,113 @@ public final class ProtoBuf { } private int bitField0_; - // required .ErrorMessage.ErrorReason errorReason = 1; - private de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.custReserved; + private int errorReason_ = 0; /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @return Whether the errorReason field is set. */ - public boolean hasErrorReason() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasErrorReason() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @return The errorReason. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason getErrorReason() { - return errorReason_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason result = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.valueOf(errorReason_); + return result == null ? de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.custReserved : result; } /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @param value The errorReason to set. + * @return This builder for chaining. */ public Builder setErrorReason(de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - errorReason_ = value; - + errorReason_ = value.getNumber(); + onChanged(); return this; } /** * required .ErrorMessage.ErrorReason errorReason = 1; + * @return This builder for chaining. */ public Builder clearErrorReason() { bitField0_ = (bitField0_ & ~0x00000001); - errorReason_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.ErrorReason.custReserved; - + errorReason_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:ErrorMessage) } + // @@protoc_insertion_point(class_scope:ErrorMessage) + private static final de.pokerth.protocol.ProtoBuf.ErrorMessage DEFAULT_INSTANCE; static { - defaultInstance = new ErrorMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.ErrorMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.ErrorMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ErrorMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ErrorMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:ErrorMessage) } - public interface AdminRemoveGameMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AdminRemoveGameMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AdminRemoveGameMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; + * @return Whether the removeGameId field is set. */ boolean hasRemoveGameId(); /** * required uint32 removeGameId = 1; + * @return The removeGameId. */ int getRemoveGameId(); } @@ -48469,30 +72044,40 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameMessage} */ public static final class AdminRemoveGameMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminRemoveGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AdminRemoveGameMessage) + AdminRemoveGameMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AdminRemoveGameMessage.newBuilder() to construct. - private AdminRemoveGameMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AdminRemoveGameMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AdminRemoveGameMessage(boolean noInit) {} - - private static final AdminRemoveGameMessage defaultInstance; - public static AdminRemoveGameMessage getDefaultInstance() { - return defaultInstance; + private AdminRemoveGameMessage() { } - public AdminRemoveGameMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AdminRemoveGameMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AdminRemoveGameMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -48501,68 +72086,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; removeGameId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.class, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder.class); } private int bitField0_; - // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** * required uint32 removeGameId = 1; + * @return Whether the removeGameId field is set. */ + @java.lang.Override public boolean hasRemoveGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 removeGameId = 1; + * @return The removeGameId. */ + @java.lang.Override public int getRemoveGameId() { return removeGameId_; } - private void initFields() { - removeGameId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRemoveGameId()) { memoizedIsInitialized = 0; @@ -48572,35 +72158,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, removeGameId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, removeGameId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage other = (de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage) obj; + + if (hasRemoveGameId() != other.hasRemoveGameId()) return false; + if (hasRemoveGameId()) { + if (getRemoveGameId() + != other.getRemoveGameId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRemoveGameId()) { + hash = (37 * hash) + REMOVEGAMEID_FIELD_NUMBER; + hash = (53 * hash) + getRemoveGameId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -48624,61 +72251,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AdminRemoveGameMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AdminRemoveGameMessage) + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.class, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); removeGameId_ = 0; @@ -48686,14 +72350,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage build() { de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage result = buildPartial(); if (!result.isInitialized()) { @@ -48702,34 +72370,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage result = new de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.removeGameId_ = removeGameId_; to_bitField0_ |= 0x00000001; } - result.removeGameId_ = removeGameId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance()) return this; if (other.hasRemoveGameId()) { setRemoveGameId(other.getRemoveGameId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRemoveGameId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -48739,7 +72454,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -48749,70 +72464,120 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; + * @return Whether the removeGameId field is set. */ + @java.lang.Override public boolean hasRemoveGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 removeGameId = 1; + * @return The removeGameId. */ + @java.lang.Override public int getRemoveGameId() { return removeGameId_; } /** * required uint32 removeGameId = 1; + * @param value The removeGameId to set. + * @return This builder for chaining. */ public Builder setRemoveGameId(int value) { bitField0_ |= 0x00000001; removeGameId_ = value; - + onChanged(); return this; } /** * required uint32 removeGameId = 1; + * @return This builder for chaining. */ public Builder clearRemoveGameId() { bitField0_ = (bitField0_ & ~0x00000001); removeGameId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AdminRemoveGameMessage) } + // @@protoc_insertion_point(class_scope:AdminRemoveGameMessage) + private static final de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage DEFAULT_INSTANCE; static { - defaultInstance = new AdminRemoveGameMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminRemoveGameMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminRemoveGameMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AdminRemoveGameMessage) } - public interface AdminRemoveGameAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AdminRemoveGameAckMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AdminRemoveGameAckMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 removeGameId = 1; /** * required uint32 removeGameId = 1; + * @return Whether the removeGameId field is set. */ boolean hasRemoveGameId(); /** * required uint32 removeGameId = 1; + * @return The removeGameId. */ int getRemoveGameId(); - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @return Whether the removeGameResult field is set. */ boolean hasRemoveGameResult(); /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @return The removeGameResult. */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult(); } @@ -48820,30 +72585,41 @@ public final class ProtoBuf { * Protobuf type {@code AdminRemoveGameAckMessage} */ public static final class AdminRemoveGameAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminRemoveGameAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AdminRemoveGameAckMessage) + AdminRemoveGameAckMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AdminRemoveGameAckMessage.newBuilder() to construct. - private AdminRemoveGameAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AdminRemoveGameAckMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AdminRemoveGameAckMessage(boolean noInit) {} - - private static final AdminRemoveGameAckMessage defaultInstance; - public static AdminRemoveGameAckMessage getDefaultInstance() { - return defaultInstance; + private AdminRemoveGameAckMessage() { + removeGameResult_ = 0; } - public AdminRemoveGameAckMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AdminRemoveGameAckMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AdminRemoveGameAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -48852,13 +72628,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; removeGameId_ = input.readUInt32(); @@ -48866,10 +72635,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult value = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - removeGameResult_ = value; + removeGameResult_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -48879,39 +72658,38 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameAckMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.class, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder.class); } /** * Protobuf enum {@code AdminRemoveGameAckMessage.AdminRemoveGameResult} */ public enum AdminRemoveGameResult - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * gameRemoveAccepted = 0; */ - gameRemoveAccepted(0, 0), + gameRemoveAccepted(0), /** * gameRemoveInvalid = 1; */ - gameRemoveInvalid(1, 1), + gameRemoveInvalid(1), ; /** @@ -48924,9 +72702,25 @@ public final class ProtoBuf { public static final int gameRemoveInvalid_VALUE = 1; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static AdminRemoveGameResult valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AdminRemoveGameResult forNumber(int value) { switch (value) { case 0: return gameRemoveAccepted; case 1: return gameRemoveInvalid; @@ -48938,17 +72732,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + AdminRemoveGameResult> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AdminRemoveGameResult findValueByNumber(int number) { - return AdminRemoveGameResult.valueOf(number); + return AdminRemoveGameResult.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final AdminRemoveGameResult[] VALUES = values(); + + public static AdminRemoveGameResult valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private AdminRemoveGameResult(int index, int value) { + private AdminRemoveGameResult(int value) { this.value = value; } @@ -48956,46 +72774,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; public static final int REMOVEGAMEID_FIELD_NUMBER = 1; private int removeGameId_; /** * required uint32 removeGameId = 1; + * @return Whether the removeGameId field is set. */ + @java.lang.Override public boolean hasRemoveGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 removeGameId = 1; + * @return The removeGameId. */ + @java.lang.Override 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_; + private int removeGameResult_; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @return Whether the removeGameResult field is set. */ - public boolean hasRemoveGameResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasRemoveGameResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @return The removeGameResult. */ - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult() { - return removeGameResult_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult result = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.valueOf(removeGameResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted : result; } - private void initFields() { - removeGameId_ = 0; - removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRemoveGameId()) { memoizedIsInitialized = 0; @@ -49009,42 +72831,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, removeGameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, removeGameResult_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, removeGameResult_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, removeGameId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, removeGameResult_.getNumber()); + .computeEnumSize(2, removeGameResult_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage other = (de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage) obj; + + if (hasRemoveGameId() != other.hasRemoveGameId()) return false; + if (hasRemoveGameId()) { + if (getRemoveGameId() + != other.getRemoveGameId()) return false; + } + if (hasRemoveGameResult() != other.hasRemoveGameResult()) return false; + if (hasRemoveGameResult()) { + if (removeGameResult_ != other.removeGameResult_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRemoveGameId()) { + hash = (37 * hash) + REMOVEGAMEID_FIELD_NUMBER; + hash = (53 * hash) + getRemoveGameId(); + } + if (hasRemoveGameResult()) { + hash = (37 * hash) + REMOVEGAMERESULT_FIELD_NUMBER; + hash = (53 * hash) + removeGameResult_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -49068,78 +72939,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AdminRemoveGameAckMessage) + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameAckMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.class, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); removeGameId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; + removeGameResult_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminRemoveGameAckMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage build() { de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -49148,22 +73060,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.removeGameId_ = removeGameId_; to_bitField0_ |= 0x00000001; } - result.removeGameId_ = removeGameId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.removeGameResult_ = removeGameResult_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) return this; if (other.hasRemoveGameId()) { @@ -49172,21 +73128,23 @@ public final class ProtoBuf { if (other.hasRemoveGameResult()) { setRemoveGameResult(other.getRemoveGameResult()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasRemoveGameId()) { - return false; } if (!hasRemoveGameResult()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -49196,7 +73154,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -49206,96 +73164,152 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 removeGameId = 1; private int removeGameId_ ; /** * required uint32 removeGameId = 1; + * @return Whether the removeGameId field is set. */ + @java.lang.Override public boolean hasRemoveGameId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 removeGameId = 1; + * @return The removeGameId. */ + @java.lang.Override public int getRemoveGameId() { return removeGameId_; } /** * required uint32 removeGameId = 1; + * @param value The removeGameId to set. + * @return This builder for chaining. */ public Builder setRemoveGameId(int value) { bitField0_ |= 0x00000001; removeGameId_ = value; - + onChanged(); return this; } /** * required uint32 removeGameId = 1; + * @return This builder for chaining. */ public Builder clearRemoveGameId() { bitField0_ = (bitField0_ & ~0x00000001); removeGameId_ = 0; - + onChanged(); return this; } - // required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; + private int removeGameResult_ = 0; /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @return Whether the removeGameResult field is set. */ - public boolean hasRemoveGameResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasRemoveGameResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @return The removeGameResult. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult getRemoveGameResult() { - return removeGameResult_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult result = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.valueOf(removeGameResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted : result; } /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @param value The removeGameResult to set. + * @return This builder for chaining. */ public Builder setRemoveGameResult(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - removeGameResult_ = value; - + removeGameResult_ = value.getNumber(); + onChanged(); return this; } /** * required .AdminRemoveGameAckMessage.AdminRemoveGameResult removeGameResult = 2; + * @return This builder for chaining. */ public Builder clearRemoveGameResult() { bitField0_ = (bitField0_ & ~0x00000002); - removeGameResult_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.AdminRemoveGameResult.gameRemoveAccepted; - + removeGameResult_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AdminRemoveGameAckMessage) } + // @@protoc_insertion_point(class_scope:AdminRemoveGameAckMessage) + private static final de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage DEFAULT_INSTANCE; static { - defaultInstance = new AdminRemoveGameAckMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminRemoveGameAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminRemoveGameAckMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AdminRemoveGameAckMessage) } - public interface AdminBanPlayerMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AdminBanPlayerMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AdminBanPlayerMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; + * @return Whether the banPlayerId field is set. */ boolean hasBanPlayerId(); /** * required uint32 banPlayerId = 1; + * @return The banPlayerId. */ int getBanPlayerId(); } @@ -49303,30 +73317,40 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerMessage} */ public static final class AdminBanPlayerMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminBanPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AdminBanPlayerMessage) + AdminBanPlayerMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AdminBanPlayerMessage.newBuilder() to construct. - private AdminBanPlayerMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AdminBanPlayerMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AdminBanPlayerMessage(boolean noInit) {} - - private static final AdminBanPlayerMessage defaultInstance; - public static AdminBanPlayerMessage getDefaultInstance() { - return defaultInstance; + private AdminBanPlayerMessage() { } - public AdminBanPlayerMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AdminBanPlayerMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AdminBanPlayerMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -49335,68 +73359,69 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; banPlayerId_ = input.readUInt32(); break; } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.class, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder.class); } private int bitField0_; - // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** * required uint32 banPlayerId = 1; + * @return Whether the banPlayerId field is set. */ + @java.lang.Override public boolean hasBanPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 banPlayerId = 1; + * @return The banPlayerId. */ + @java.lang.Override public int getBanPlayerId() { return banPlayerId_; } - private void initFields() { - banPlayerId_ = 0; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasBanPlayerId()) { memoizedIsInitialized = 0; @@ -49406,35 +73431,76 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, banPlayerId_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, banPlayerId_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage other = (de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage) obj; + + if (hasBanPlayerId() != other.hasBanPlayerId()) return false; + if (hasBanPlayerId()) { + if (getBanPlayerId() + != other.getBanPlayerId()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBanPlayerId()) { + hash = (37 * hash) + BANPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getBanPlayerId(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -49458,61 +73524,98 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code AdminBanPlayerMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AdminBanPlayerMessage) + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.class, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); banPlayerId_ = 0; @@ -49520,14 +73623,18 @@ public final class ProtoBuf { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage build() { de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage result = buildPartial(); if (!result.isInitialized()) { @@ -49536,34 +73643,81 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage buildPartial() { de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage result = new de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.banPlayerId_ = banPlayerId_; to_bitField0_ |= 0x00000001; } - result.banPlayerId_ = banPlayerId_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance()) return this; if (other.hasBanPlayerId()) { setBanPlayerId(other.getBanPlayerId()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasBanPlayerId()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -49573,7 +73727,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -49583,70 +73737,120 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; + * @return Whether the banPlayerId field is set. */ + @java.lang.Override public boolean hasBanPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 banPlayerId = 1; + * @return The banPlayerId. */ + @java.lang.Override public int getBanPlayerId() { return banPlayerId_; } /** * required uint32 banPlayerId = 1; + * @param value The banPlayerId to set. + * @return This builder for chaining. */ public Builder setBanPlayerId(int value) { bitField0_ |= 0x00000001; banPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 banPlayerId = 1; + * @return This builder for chaining. */ public Builder clearBanPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); banPlayerId_ = 0; - + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AdminBanPlayerMessage) } + // @@protoc_insertion_point(class_scope:AdminBanPlayerMessage) + private static final de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage DEFAULT_INSTANCE; static { - defaultInstance = new AdminBanPlayerMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminBanPlayerMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminBanPlayerMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AdminBanPlayerMessage) } - public interface AdminBanPlayerAckMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface AdminBanPlayerAckMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:AdminBanPlayerAckMessage) + com.google.protobuf.MessageOrBuilder { - // required uint32 banPlayerId = 1; /** * required uint32 banPlayerId = 1; + * @return Whether the banPlayerId field is set. */ boolean hasBanPlayerId(); /** * required uint32 banPlayerId = 1; + * @return The banPlayerId. */ int getBanPlayerId(); - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @return Whether the banPlayerResult field is set. */ boolean hasBanPlayerResult(); /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @return The banPlayerResult. */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult(); } @@ -49654,30 +73858,41 @@ public final class ProtoBuf { * Protobuf type {@code AdminBanPlayerAckMessage} */ public static final class AdminBanPlayerAckMessage extends - com.google.protobuf.GeneratedMessageLite - implements AdminBanPlayerAckMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:AdminBanPlayerAckMessage) + AdminBanPlayerAckMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use AdminBanPlayerAckMessage.newBuilder() to construct. - private AdminBanPlayerAckMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private AdminBanPlayerAckMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private AdminBanPlayerAckMessage(boolean noInit) {} - - private static final AdminBanPlayerAckMessage defaultInstance; - public static AdminBanPlayerAckMessage getDefaultInstance() { - return defaultInstance; + private AdminBanPlayerAckMessage() { + banPlayerResult_ = 0; } - public AdminBanPlayerAckMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AdminBanPlayerAckMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private AdminBanPlayerAckMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -49686,13 +73901,6 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { bitField0_ |= 0x00000001; banPlayerId_ = input.readUInt32(); @@ -49700,10 +73908,20 @@ public final class ProtoBuf { } case 16: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult value = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(2, rawValue); + } else { bitField0_ |= 0x00000002; - banPlayerResult_ = value; + banPlayerResult_ = rawValue; + } + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } break; } @@ -49713,51 +73931,50 @@ public final class ProtoBuf { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerAckMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.class, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder.class); } /** * Protobuf enum {@code AdminBanPlayerAckMessage.AdminBanPlayerResult} */ public enum AdminBanPlayerResult - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * banPlayerAccepted = 0; */ - banPlayerAccepted(0, 0), + banPlayerAccepted(0), /** * banPlayerPending = 1; */ - banPlayerPending(1, 1), + banPlayerPending(1), /** * banPlayerNoDB = 2; */ - banPlayerNoDB(2, 2), + banPlayerNoDB(2), /** * banPlayerDBError = 3; */ - banPlayerDBError(3, 3), + banPlayerDBError(3), /** * banPlayerInvalid = 4; */ - banPlayerInvalid(4, 4), + banPlayerInvalid(4), ; /** @@ -49782,9 +73999,25 @@ public final class ProtoBuf { public static final int banPlayerInvalid_VALUE = 4; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static AdminBanPlayerResult valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static AdminBanPlayerResult forNumber(int value) { switch (value) { case 0: return banPlayerAccepted; case 1: return banPlayerPending; @@ -49799,17 +74032,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + AdminBanPlayerResult> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public AdminBanPlayerResult findValueByNumber(int number) { - return AdminBanPlayerResult.valueOf(number); + return AdminBanPlayerResult.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final AdminBanPlayerResult[] VALUES = values(); + + public static AdminBanPlayerResult valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private AdminBanPlayerResult(int index, int value) { + private AdminBanPlayerResult(int value) { this.value = value; } @@ -49817,46 +74074,50 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; public static final int BANPLAYERID_FIELD_NUMBER = 1; private int banPlayerId_; /** * required uint32 banPlayerId = 1; + * @return Whether the banPlayerId field is set. */ + @java.lang.Override public boolean hasBanPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 banPlayerId = 1; + * @return The banPlayerId. */ + @java.lang.Override 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_; + private int banPlayerResult_; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @return Whether the banPlayerResult field is set. */ - public boolean hasBanPlayerResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasBanPlayerResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @return The banPlayerResult. */ - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult() { - return banPlayerResult_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult result = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.valueOf(banPlayerResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted : result; } - private void initFields() { - banPlayerId_ = 0; - banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; - } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasBanPlayerId()) { memoizedIsInitialized = 0; @@ -49870,42 +74131,91 @@ public final class ProtoBuf { return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeUInt32(1, banPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeEnum(2, banPlayerResult_.getNumber()); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeEnum(2, banPlayerResult_); } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, banPlayerId_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, banPlayerResult_.getNumber()); + .computeEnumSize(2, banPlayerResult_); } - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage other = (de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage) obj; + + if (hasBanPlayerId() != other.hasBanPlayerId()) return false; + if (hasBanPlayerId()) { + if (getBanPlayerId() + != other.getBanPlayerId()) return false; + } + if (hasBanPlayerResult() != other.hasBanPlayerResult()) return false; + if (hasBanPlayerResult()) { + if (banPlayerResult_ != other.banPlayerResult_) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasBanPlayerId()) { + hash = (37 * hash) + BANPLAYERID_FIELD_NUMBER; + hash = (53 * hash) + getBanPlayerId(); + } + if (hasBanPlayerResult()) { + hash = (37 * hash) + BANPLAYERRESULT_FIELD_NUMBER; + hash = (53 * hash) + banPlayerResult_; + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -49929,78 +74239,119 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, 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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * 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 { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:AdminBanPlayerAckMessage) + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerAckMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerAckMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.class, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); banPlayerId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); - banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; + banPlayerResult_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_AdminBanPlayerAckMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage build() { de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage result = buildPartial(); if (!result.isInitialized()) { @@ -50009,22 +74360,66 @@ public final class ProtoBuf { return result; } + @java.lang.Override 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)) { + if (((from_bitField0_ & 0x00000001) != 0)) { + result.banPlayerId_ = banPlayerId_; to_bitField0_ |= 0x00000001; } - result.banPlayerId_ = banPlayerId_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000002; } result.banPlayerResult_ = banPlayerResult_; result.bitField0_ = to_bitField0_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage other) { if (other == de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) return this; if (other.hasBanPlayerId()) { @@ -50033,21 +74428,23 @@ public final class ProtoBuf { if (other.hasBanPlayerResult()) { setBanPlayerResult(other.getBanPlayerResult()); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasBanPlayerId()) { - return false; } if (!hasBanPlayerResult()) { - return false; } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50057,7 +74454,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -50067,939 +74464,1426 @@ public final class ProtoBuf { } private int bitField0_; - // required uint32 banPlayerId = 1; private int banPlayerId_ ; /** * required uint32 banPlayerId = 1; + * @return Whether the banPlayerId field is set. */ + @java.lang.Override public boolean hasBanPlayerId() { - return ((bitField0_ & 0x00000001) == 0x00000001); + return ((bitField0_ & 0x00000001) != 0); } /** * required uint32 banPlayerId = 1; + * @return The banPlayerId. */ + @java.lang.Override public int getBanPlayerId() { return banPlayerId_; } /** * required uint32 banPlayerId = 1; + * @param value The banPlayerId to set. + * @return This builder for chaining. */ public Builder setBanPlayerId(int value) { bitField0_ |= 0x00000001; banPlayerId_ = value; - + onChanged(); return this; } /** * required uint32 banPlayerId = 1; + * @return This builder for chaining. */ public Builder clearBanPlayerId() { bitField0_ = (bitField0_ & ~0x00000001); banPlayerId_ = 0; - + onChanged(); return this; } - // required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; + private int banPlayerResult_ = 0; /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @return Whether the banPlayerResult field is set. */ - public boolean hasBanPlayerResult() { - return ((bitField0_ & 0x00000002) == 0x00000002); + @java.lang.Override public boolean hasBanPlayerResult() { + return ((bitField0_ & 0x00000002) != 0); } /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @return The banPlayerResult. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult getBanPlayerResult() { - return banPlayerResult_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult result = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.valueOf(banPlayerResult_); + return result == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted : result; } /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @param value The banPlayerResult to set. + * @return This builder for chaining. */ public Builder setBanPlayerResult(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; - banPlayerResult_ = value; - + banPlayerResult_ = value.getNumber(); + onChanged(); return this; } /** * required .AdminBanPlayerAckMessage.AdminBanPlayerResult banPlayerResult = 2; + * @return This builder for chaining. */ public Builder clearBanPlayerResult() { bitField0_ = (bitField0_ & ~0x00000002); - banPlayerResult_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.AdminBanPlayerResult.banPlayerAccepted; - + banPlayerResult_ = 0; + onChanged(); return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:AdminBanPlayerAckMessage) } + // @@protoc_insertion_point(class_scope:AdminBanPlayerAckMessage) + private static final de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage DEFAULT_INSTANCE; static { - defaultInstance = new AdminBanPlayerAckMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdminBanPlayerAckMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AdminBanPlayerAckMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:AdminBanPlayerAckMessage) } - public interface PokerTHMessageOrBuilder - extends com.google.protobuf.MessageLiteOrBuilder { + public interface PokerTHMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:PokerTHMessage) + com.google.protobuf.MessageOrBuilder { - // required .PokerTHMessage.PokerTHMessageType messageType = 1; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @return Whether the messageType field is set. */ boolean hasMessageType(); /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @return The messageType. */ de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType(); - // optional .AnnounceMessage announceMessage = 2; /** * optional .AnnounceMessage announceMessage = 2; + * @return Whether the announceMessage field is set. */ boolean hasAnnounceMessage(); /** * optional .AnnounceMessage announceMessage = 2; + * @return The announceMessage. */ de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage(); + /** + * optional .AnnounceMessage announceMessage = 2; + */ + de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder getAnnounceMessageOrBuilder(); - // optional .InitMessage initMessage = 3; /** * optional .InitMessage initMessage = 3; + * @return Whether the initMessage field is set. */ boolean hasInitMessage(); /** * optional .InitMessage initMessage = 3; + * @return The initMessage. */ de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage(); + /** + * optional .InitMessage initMessage = 3; + */ + de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder getInitMessageOrBuilder(); - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * @return Whether the authServerChallengeMessage field is set. */ boolean hasAuthServerChallengeMessage(); /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * @return The authServerChallengeMessage. */ de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage(); + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder getAuthServerChallengeMessageOrBuilder(); - // optional .AuthClientResponseMessage authClientResponseMessage = 5; /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * @return Whether the authClientResponseMessage field is set. */ boolean hasAuthClientResponseMessage(); /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * @return The authClientResponseMessage. */ de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage(); + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder getAuthClientResponseMessageOrBuilder(); - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * @return Whether the authServerVerificationMessage field is set. */ boolean hasAuthServerVerificationMessage(); /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * @return The authServerVerificationMessage. */ de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage(); + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder getAuthServerVerificationMessageOrBuilder(); - // optional .InitAckMessage initAckMessage = 7; /** * optional .InitAckMessage initAckMessage = 7; + * @return Whether the initAckMessage field is set. */ boolean hasInitAckMessage(); /** * optional .InitAckMessage initAckMessage = 7; + * @return The initAckMessage. */ de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage(); + /** + * optional .InitAckMessage initAckMessage = 7; + */ + de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder getInitAckMessageOrBuilder(); - // optional .AvatarRequestMessage avatarRequestMessage = 8; /** * optional .AvatarRequestMessage avatarRequestMessage = 8; + * @return Whether the avatarRequestMessage field is set. */ boolean hasAvatarRequestMessage(); /** * optional .AvatarRequestMessage avatarRequestMessage = 8; + * @return The avatarRequestMessage. */ de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage(); + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ + de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder getAvatarRequestMessageOrBuilder(); - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + * @return Whether the avatarHeaderMessage field is set. */ boolean hasAvatarHeaderMessage(); /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + * @return The avatarHeaderMessage. */ de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage(); + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder getAvatarHeaderMessageOrBuilder(); - // optional .AvatarDataMessage avatarDataMessage = 10; /** * optional .AvatarDataMessage avatarDataMessage = 10; + * @return Whether the avatarDataMessage field is set. */ boolean hasAvatarDataMessage(); /** * optional .AvatarDataMessage avatarDataMessage = 10; + * @return The avatarDataMessage. */ de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage(); + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ + de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder getAvatarDataMessageOrBuilder(); - // optional .AvatarEndMessage avatarEndMessage = 11; /** * optional .AvatarEndMessage avatarEndMessage = 11; + * @return Whether the avatarEndMessage field is set. */ boolean hasAvatarEndMessage(); /** * optional .AvatarEndMessage avatarEndMessage = 11; + * @return The avatarEndMessage. */ de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage(); + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ + de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder getAvatarEndMessageOrBuilder(); - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + * @return Whether the unknownAvatarMessage field is set. */ boolean hasUnknownAvatarMessage(); /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + * @return The unknownAvatarMessage. */ de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage(); + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder getUnknownAvatarMessageOrBuilder(); - // optional .PlayerListMessage playerListMessage = 13; /** * optional .PlayerListMessage playerListMessage = 13; + * @return Whether the playerListMessage field is set. */ boolean hasPlayerListMessage(); /** * optional .PlayerListMessage playerListMessage = 13; + * @return The playerListMessage. */ de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage(); + /** + * optional .PlayerListMessage playerListMessage = 13; + */ + de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder getPlayerListMessageOrBuilder(); - // optional .GameListNewMessage gameListNewMessage = 14; /** * optional .GameListNewMessage gameListNewMessage = 14; + * @return Whether the gameListNewMessage field is set. */ boolean hasGameListNewMessage(); /** * optional .GameListNewMessage gameListNewMessage = 14; + * @return The gameListNewMessage. */ de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage(); + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ + de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder getGameListNewMessageOrBuilder(); - // optional .GameListUpdateMessage gameListUpdateMessage = 15; /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; + * @return Whether the gameListUpdateMessage field is set. */ boolean hasGameListUpdateMessage(); /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; + * @return The gameListUpdateMessage. */ de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage(); + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ + de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder getGameListUpdateMessageOrBuilder(); - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + * @return Whether the gameListPlayerJoinedMessage field is set. */ boolean hasGameListPlayerJoinedMessage(); /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + * @return The gameListPlayerJoinedMessage. */ de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage(); + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder getGameListPlayerJoinedMessageOrBuilder(); - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + * @return Whether the gameListPlayerLeftMessage field is set. */ boolean hasGameListPlayerLeftMessage(); /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + * @return The gameListPlayerLeftMessage. */ de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage(); + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder getGameListPlayerLeftMessageOrBuilder(); - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + * @return Whether the gameListAdminChangedMessage field is set. */ boolean hasGameListAdminChangedMessage(); /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + * @return The gameListAdminChangedMessage. */ de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage(); + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder getGameListAdminChangedMessageOrBuilder(); - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + * @return Whether the playerInfoRequestMessage field is set. */ boolean hasPlayerInfoRequestMessage(); /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + * @return The playerInfoRequestMessage. */ de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage(); + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder getPlayerInfoRequestMessageOrBuilder(); - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + * @return Whether the playerInfoReplyMessage field is set. */ boolean hasPlayerInfoReplyMessage(); /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + * @return The playerInfoReplyMessage. */ de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage(); + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder getPlayerInfoReplyMessageOrBuilder(); - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + * @return Whether the subscriptionRequestMessage field is set. */ boolean hasSubscriptionRequestMessage(); /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + * @return The subscriptionRequestMessage. */ de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage(); + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder getSubscriptionRequestMessageOrBuilder(); - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + * @return Whether the joinExistingGameMessage field is set. */ boolean hasJoinExistingGameMessage(); /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + * @return The joinExistingGameMessage. */ de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage(); + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder getJoinExistingGameMessageOrBuilder(); - // optional .JoinNewGameMessage joinNewGameMessage = 23; /** * optional .JoinNewGameMessage joinNewGameMessage = 23; + * @return Whether the joinNewGameMessage field is set. */ boolean hasJoinNewGameMessage(); /** * optional .JoinNewGameMessage joinNewGameMessage = 23; + * @return The joinNewGameMessage. */ de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage(); + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ + de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder getJoinNewGameMessageOrBuilder(); - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + * @return Whether the rejoinExistingGameMessage field is set. */ boolean hasRejoinExistingGameMessage(); /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + * @return The rejoinExistingGameMessage. */ de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage(); + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder getRejoinExistingGameMessageOrBuilder(); - // optional .JoinGameAckMessage joinGameAckMessage = 25; /** * optional .JoinGameAckMessage joinGameAckMessage = 25; + * @return Whether the joinGameAckMessage field is set. */ boolean hasJoinGameAckMessage(); /** * optional .JoinGameAckMessage joinGameAckMessage = 25; + * @return The joinGameAckMessage. */ de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage(); + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ + de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder getJoinGameAckMessageOrBuilder(); - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + * @return Whether the joinGameFailedMessage field is set. */ boolean hasJoinGameFailedMessage(); /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + * @return The joinGameFailedMessage. */ de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage(); + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder getJoinGameFailedMessageOrBuilder(); - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + * @return Whether the gamePlayerJoinedMessage field is set. */ boolean hasGamePlayerJoinedMessage(); /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + * @return The gamePlayerJoinedMessage. */ de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage(); + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder getGamePlayerJoinedMessageOrBuilder(); - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + * @return Whether the gamePlayerLeftMessage field is set. */ boolean hasGamePlayerLeftMessage(); /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + * @return The gamePlayerLeftMessage. */ de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage(); + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder getGamePlayerLeftMessageOrBuilder(); - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + * @return Whether the gameAdminChangedMessage field is set. */ boolean hasGameAdminChangedMessage(); /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + * @return The gameAdminChangedMessage. */ de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage(); + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder getGameAdminChangedMessageOrBuilder(); - // optional .RemovedFromGameMessage removedFromGameMessage = 30; /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; + * @return Whether the removedFromGameMessage field is set. */ boolean hasRemovedFromGameMessage(); /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; + * @return The removedFromGameMessage. */ de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage(); + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder getRemovedFromGameMessageOrBuilder(); - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + * @return Whether the kickPlayerRequestMessage field is set. */ boolean hasKickPlayerRequestMessage(); /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + * @return The kickPlayerRequestMessage. */ de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage(); + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder getKickPlayerRequestMessageOrBuilder(); - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + * @return Whether the leaveGameRequestMessage field is set. */ boolean hasLeaveGameRequestMessage(); /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + * @return The leaveGameRequestMessage. */ de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage(); + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder getLeaveGameRequestMessageOrBuilder(); - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + * @return Whether the invitePlayerToGameMessage field is set. */ boolean hasInvitePlayerToGameMessage(); /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + * @return The invitePlayerToGameMessage. */ de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage(); + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder getInvitePlayerToGameMessageOrBuilder(); - // optional .InviteNotifyMessage inviteNotifyMessage = 34; /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; + * @return Whether the inviteNotifyMessage field is set. */ boolean hasInviteNotifyMessage(); /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; + * @return The inviteNotifyMessage. */ de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage(); + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ + de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder getInviteNotifyMessageOrBuilder(); - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + * @return Whether the rejectGameInvitationMessage field is set. */ boolean hasRejectGameInvitationMessage(); /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + * @return The rejectGameInvitationMessage. */ de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage(); + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder getRejectGameInvitationMessageOrBuilder(); - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + * @return Whether the rejectInvNotifyMessage field is set. */ boolean hasRejectInvNotifyMessage(); /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + * @return The rejectInvNotifyMessage. */ de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage(); + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder getRejectInvNotifyMessageOrBuilder(); - // optional .StartEventMessage startEventMessage = 37; /** * optional .StartEventMessage startEventMessage = 37; + * @return Whether the startEventMessage field is set. */ boolean hasStartEventMessage(); /** * optional .StartEventMessage startEventMessage = 37; + * @return The startEventMessage. */ de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage(); + /** + * optional .StartEventMessage startEventMessage = 37; + */ + de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder getStartEventMessageOrBuilder(); - // optional .StartEventAckMessage startEventAckMessage = 38; /** * optional .StartEventAckMessage startEventAckMessage = 38; + * @return Whether the startEventAckMessage field is set. */ boolean hasStartEventAckMessage(); /** * optional .StartEventAckMessage startEventAckMessage = 38; + * @return The startEventAckMessage. */ de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage(); + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ + de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder getStartEventAckMessageOrBuilder(); - // optional .GameStartInitialMessage gameStartInitialMessage = 39; /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; + * @return Whether the gameStartInitialMessage field is set. */ boolean hasGameStartInitialMessage(); /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; + * @return The gameStartInitialMessage. */ de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage(); + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ + de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder getGameStartInitialMessageOrBuilder(); - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + * @return Whether the gameStartRejoinMessage field is set. */ boolean hasGameStartRejoinMessage(); /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + * @return The gameStartRejoinMessage. */ de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage(); + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder getGameStartRejoinMessageOrBuilder(); - // optional .HandStartMessage handStartMessage = 41; /** * optional .HandStartMessage handStartMessage = 41; + * @return Whether the handStartMessage field is set. */ boolean hasHandStartMessage(); /** * optional .HandStartMessage handStartMessage = 41; + * @return The handStartMessage. */ de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage(); + /** + * optional .HandStartMessage handStartMessage = 41; + */ + de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder getHandStartMessageOrBuilder(); - // optional .PlayersTurnMessage playersTurnMessage = 42; /** * optional .PlayersTurnMessage playersTurnMessage = 42; + * @return Whether the playersTurnMessage field is set. */ boolean hasPlayersTurnMessage(); /** * optional .PlayersTurnMessage playersTurnMessage = 42; + * @return The playersTurnMessage. */ de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage(); + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ + de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder getPlayersTurnMessageOrBuilder(); - // optional .MyActionRequestMessage myActionRequestMessage = 43; /** * optional .MyActionRequestMessage myActionRequestMessage = 43; + * @return Whether the myActionRequestMessage field is set. */ boolean hasMyActionRequestMessage(); /** * optional .MyActionRequestMessage myActionRequestMessage = 43; + * @return The myActionRequestMessage. */ de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage(); + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ + de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder getMyActionRequestMessageOrBuilder(); - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + * @return Whether the yourActionRejectedMessage field is set. */ boolean hasYourActionRejectedMessage(); /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + * @return The yourActionRejectedMessage. */ de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage(); + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder getYourActionRejectedMessageOrBuilder(); - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + * @return Whether the playersActionDoneMessage field is set. */ boolean hasPlayersActionDoneMessage(); /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + * @return The playersActionDoneMessage. */ de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage(); + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder getPlayersActionDoneMessageOrBuilder(); - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + * @return Whether the dealFlopCardsMessage field is set. */ boolean hasDealFlopCardsMessage(); /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + * @return The dealFlopCardsMessage. */ de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage(); + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder getDealFlopCardsMessageOrBuilder(); - // optional .DealTurnCardMessage dealTurnCardMessage = 47; /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; + * @return Whether the dealTurnCardMessage field is set. */ boolean hasDealTurnCardMessage(); /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; + * @return The dealTurnCardMessage. */ de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage(); + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ + de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder getDealTurnCardMessageOrBuilder(); - // optional .DealRiverCardMessage dealRiverCardMessage = 48; /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; + * @return Whether the dealRiverCardMessage field is set. */ boolean hasDealRiverCardMessage(); /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; + * @return The dealRiverCardMessage. */ de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage(); + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ + de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder getDealRiverCardMessageOrBuilder(); - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + * @return Whether the allInShowCardsMessage field is set. */ boolean hasAllInShowCardsMessage(); /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + * @return The allInShowCardsMessage. */ de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage(); + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder getAllInShowCardsMessageOrBuilder(); - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + * @return Whether the endOfHandShowCardsMessage field is set. */ boolean hasEndOfHandShowCardsMessage(); /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + * @return The endOfHandShowCardsMessage. */ de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage(); + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder getEndOfHandShowCardsMessageOrBuilder(); - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + * @return Whether the endOfHandHideCardsMessage field is set. */ boolean hasEndOfHandHideCardsMessage(); /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + * @return The endOfHandHideCardsMessage. */ de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage(); + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder getEndOfHandHideCardsMessageOrBuilder(); - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + * @return Whether the showMyCardsRequestMessage field is set. */ boolean hasShowMyCardsRequestMessage(); /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + * @return The showMyCardsRequestMessage. */ de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage(); + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder getShowMyCardsRequestMessageOrBuilder(); - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + * @return Whether the afterHandShowCardsMessage field is set. */ boolean hasAfterHandShowCardsMessage(); /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + * @return The afterHandShowCardsMessage. */ de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage(); + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder getAfterHandShowCardsMessageOrBuilder(); - // optional .EndOfGameMessage endOfGameMessage = 54; /** * optional .EndOfGameMessage endOfGameMessage = 54; + * @return Whether the endOfGameMessage field is set. */ boolean hasEndOfGameMessage(); /** * optional .EndOfGameMessage endOfGameMessage = 54; + * @return The endOfGameMessage. */ de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage(); + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ + de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder getEndOfGameMessageOrBuilder(); - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + * @return Whether the playerIdChangedMessage field is set. */ boolean hasPlayerIdChangedMessage(); /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + * @return The playerIdChangedMessage. */ de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage(); + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder getPlayerIdChangedMessageOrBuilder(); - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + * @return Whether the askKickPlayerMessage field is set. */ boolean hasAskKickPlayerMessage(); /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + * @return The askKickPlayerMessage. */ de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage(); + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder getAskKickPlayerMessageOrBuilder(); - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + * @return Whether the askKickDeniedMessage field is set. */ boolean hasAskKickDeniedMessage(); /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + * @return The askKickDeniedMessage. */ de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage(); + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder getAskKickDeniedMessageOrBuilder(); - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + * @return Whether the startKickPetitionMessage field is set. */ boolean hasStartKickPetitionMessage(); /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + * @return The startKickPetitionMessage. */ de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage(); + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder getStartKickPetitionMessageOrBuilder(); - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + * @return Whether the voteKickRequestMessage field is set. */ boolean hasVoteKickRequestMessage(); /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + * @return The voteKickRequestMessage. */ de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage(); + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder getVoteKickRequestMessageOrBuilder(); - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + * @return Whether the voteKickReplyMessage field is set. */ boolean hasVoteKickReplyMessage(); /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + * @return The voteKickReplyMessage. */ de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage(); + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder getVoteKickReplyMessageOrBuilder(); - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + * @return Whether the kickPetitionUpdateMessage field is set. */ boolean hasKickPetitionUpdateMessage(); /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + * @return The kickPetitionUpdateMessage. */ de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage(); + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder getKickPetitionUpdateMessageOrBuilder(); - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + * @return Whether the endKickPetitionMessage field is set. */ boolean hasEndKickPetitionMessage(); /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + * @return The endKickPetitionMessage. */ de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage(); + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder getEndKickPetitionMessageOrBuilder(); - // optional .StatisticsMessage statisticsMessage = 63; /** * optional .StatisticsMessage statisticsMessage = 63; + * @return Whether the statisticsMessage field is set. */ boolean hasStatisticsMessage(); /** * optional .StatisticsMessage statisticsMessage = 63; + * @return The statisticsMessage. */ de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage(); + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ + de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder getStatisticsMessageOrBuilder(); - // optional .ChatRequestMessage chatRequestMessage = 64; /** * optional .ChatRequestMessage chatRequestMessage = 64; + * @return Whether the chatRequestMessage field is set. */ boolean hasChatRequestMessage(); /** * optional .ChatRequestMessage chatRequestMessage = 64; + * @return The chatRequestMessage. */ de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage(); + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ + de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder getChatRequestMessageOrBuilder(); - // optional .ChatMessage chatMessage = 65; /** * optional .ChatMessage chatMessage = 65; + * @return Whether the chatMessage field is set. */ boolean hasChatMessage(); /** * optional .ChatMessage chatMessage = 65; + * @return The chatMessage. */ de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage(); + /** + * optional .ChatMessage chatMessage = 65; + */ + de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder getChatMessageOrBuilder(); - // optional .ChatRejectMessage chatRejectMessage = 66; /** * optional .ChatRejectMessage chatRejectMessage = 66; + * @return Whether the chatRejectMessage field is set. */ boolean hasChatRejectMessage(); /** * optional .ChatRejectMessage chatRejectMessage = 66; + * @return The chatRejectMessage. */ de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage(); + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ + de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder getChatRejectMessageOrBuilder(); - // optional .DialogMessage dialogMessage = 67; /** * optional .DialogMessage dialogMessage = 67; + * @return Whether the dialogMessage field is set. */ boolean hasDialogMessage(); /** * optional .DialogMessage dialogMessage = 67; + * @return The dialogMessage. */ de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage(); + /** + * optional .DialogMessage dialogMessage = 67; + */ + de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder getDialogMessageOrBuilder(); - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + * @return Whether the timeoutWarningMessage field is set. */ boolean hasTimeoutWarningMessage(); /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + * @return The timeoutWarningMessage. */ de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage(); + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder getTimeoutWarningMessageOrBuilder(); - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + * @return Whether the resetTimeoutMessage field is set. */ boolean hasResetTimeoutMessage(); /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + * @return The resetTimeoutMessage. */ de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage(); + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder getResetTimeoutMessageOrBuilder(); - // optional .ReportAvatarMessage reportAvatarMessage = 70; /** * optional .ReportAvatarMessage reportAvatarMessage = 70; + * @return Whether the reportAvatarMessage field is set. */ boolean hasReportAvatarMessage(); /** * optional .ReportAvatarMessage reportAvatarMessage = 70; + * @return The reportAvatarMessage. */ de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage(); + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ + de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder getReportAvatarMessageOrBuilder(); - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + * @return Whether the reportAvatarAckMessage field is set. */ boolean hasReportAvatarAckMessage(); /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + * @return The reportAvatarAckMessage. */ de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage(); + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder getReportAvatarAckMessageOrBuilder(); - // optional .ReportGameMessage reportGameMessage = 72; /** * optional .ReportGameMessage reportGameMessage = 72; + * @return Whether the reportGameMessage field is set. */ boolean hasReportGameMessage(); /** * optional .ReportGameMessage reportGameMessage = 72; + * @return The reportGameMessage. */ de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage(); + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ + de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder getReportGameMessageOrBuilder(); - // optional .ReportGameAckMessage reportGameAckMessage = 73; /** * optional .ReportGameAckMessage reportGameAckMessage = 73; + * @return Whether the reportGameAckMessage field is set. */ boolean hasReportGameAckMessage(); /** * optional .ReportGameAckMessage reportGameAckMessage = 73; + * @return The reportGameAckMessage. */ de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage(); + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ + de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder getReportGameAckMessageOrBuilder(); - // optional .ErrorMessage errorMessage = 74; /** * optional .ErrorMessage errorMessage = 74; + * @return Whether the errorMessage field is set. */ boolean hasErrorMessage(); /** * optional .ErrorMessage errorMessage = 74; + * @return The errorMessage. */ de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage(); + /** + * optional .ErrorMessage errorMessage = 74; + */ + de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder getErrorMessageOrBuilder(); - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + * @return Whether the adminRemoveGameMessage field is set. */ boolean hasAdminRemoveGameMessage(); /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + * @return The adminRemoveGameMessage. */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage(); + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder getAdminRemoveGameMessageOrBuilder(); - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + * @return Whether the adminRemoveGameAckMessage field is set. */ boolean hasAdminRemoveGameAckMessage(); /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + * @return The adminRemoveGameAckMessage. */ de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage(); + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder getAdminRemoveGameAckMessageOrBuilder(); - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + * @return Whether the adminBanPlayerMessage field is set. */ boolean hasAdminBanPlayerMessage(); /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + * @return The adminBanPlayerMessage. */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage(); + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder getAdminBanPlayerMessageOrBuilder(); - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + * @return Whether the adminBanPlayerAckMessage field is set. */ boolean hasAdminBanPlayerAckMessage(); /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + * @return The adminBanPlayerAckMessage. */ de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage(); + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder getAdminBanPlayerAckMessageOrBuilder(); - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + * @return Whether the gameListSpectatorJoinedMessage field is set. */ boolean hasGameListSpectatorJoinedMessage(); /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + * @return The gameListSpectatorJoinedMessage. */ de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage(); + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder getGameListSpectatorJoinedMessageOrBuilder(); - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + * @return Whether the gameListSpectatorLeftMessage field is set. */ boolean hasGameListSpectatorLeftMessage(); /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + * @return The gameListSpectatorLeftMessage. */ de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage(); + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder getGameListSpectatorLeftMessageOrBuilder(); - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + * @return Whether the gameSpectatorJoinedMessage field is set. */ boolean hasGameSpectatorJoinedMessage(); /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + * @return The gameSpectatorJoinedMessage. */ de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage(); + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder getGameSpectatorJoinedMessageOrBuilder(); - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + * @return Whether the gameSpectatorLeftMessage field is set. */ boolean hasGameSpectatorLeftMessage(); /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + * @return The gameSpectatorLeftMessage. */ de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage(); + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder getGameSpectatorLeftMessageOrBuilder(); + + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + * @return Whether the gameStartReentryMessage field is set. + */ + boolean hasGameStartReentryMessage(); + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + * @return The gameStartReentryMessage. + */ + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage getGameStartReentryMessage(); + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + de.pokerth.protocol.ProtoBuf.GameStartReentryMessageOrBuilder getGameStartReentryMessageOrBuilder(); } /** * Protobuf type {@code PokerTHMessage} */ public static final class PokerTHMessage extends - com.google.protobuf.GeneratedMessageLite - implements PokerTHMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:PokerTHMessage) + PokerTHMessageOrBuilder { + private static final long serialVersionUID = 0L; // Use PokerTHMessage.newBuilder() to construct. - private PokerTHMessage(com.google.protobuf.GeneratedMessageLite.Builder builder) { + private PokerTHMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - } - private PokerTHMessage(boolean noInit) {} - - private static final PokerTHMessage defaultInstance; - public static PokerTHMessage getDefaultInstance() { - return defaultInstance; + private PokerTHMessage() { + messageType_ = 1; } - public PokerTHMessage getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PokerTHMessage(); } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } private PokerTHMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; int mutable_bitField2_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { @@ -51008,25 +75892,21 @@ public final class ProtoBuf { case 0: done = true; break; - default: { - if (!parseUnknownField(input, - extensionRegistry, tag)) { - done = true; - } - break; - } case 8: { int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(rawValue); - if (value != null) { + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { bitField0_ |= 0x00000001; - messageType_ = value; + messageType_ = rawValue; } break; } case 18: { de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { subBuilder = announceMessage_.toBuilder(); } announceMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage.PARSER, extensionRegistry); @@ -51039,7 +75919,7 @@ public final class ProtoBuf { } case 26: { de.pokerth.protocol.ProtoBuf.InitMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { subBuilder = initMessage_.toBuilder(); } initMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitMessage.PARSER, extensionRegistry); @@ -51052,7 +75932,7 @@ public final class ProtoBuf { } case 34: { de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { subBuilder = authServerChallengeMessage_.toBuilder(); } authServerChallengeMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.PARSER, extensionRegistry); @@ -51065,7 +75945,7 @@ public final class ProtoBuf { } case 42: { de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { subBuilder = authClientResponseMessage_.toBuilder(); } authClientResponseMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.PARSER, extensionRegistry); @@ -51078,7 +75958,7 @@ public final class ProtoBuf { } case 50: { de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { subBuilder = authServerVerificationMessage_.toBuilder(); } authServerVerificationMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.PARSER, extensionRegistry); @@ -51091,7 +75971,7 @@ public final class ProtoBuf { } case 58: { de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { subBuilder = initAckMessage_.toBuilder(); } initAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage.PARSER, extensionRegistry); @@ -51104,7 +75984,7 @@ public final class ProtoBuf { } case 66: { de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { subBuilder = avatarRequestMessage_.toBuilder(); } avatarRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.PARSER, extensionRegistry); @@ -51117,7 +75997,7 @@ public final class ProtoBuf { } case 74: { de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { subBuilder = avatarHeaderMessage_.toBuilder(); } avatarHeaderMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.PARSER, extensionRegistry); @@ -51130,7 +76010,7 @@ public final class ProtoBuf { } case 82: { de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { subBuilder = avatarDataMessage_.toBuilder(); } avatarDataMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage.PARSER, extensionRegistry); @@ -51143,7 +76023,7 @@ public final class ProtoBuf { } case 90: { de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { subBuilder = avatarEndMessage_.toBuilder(); } avatarEndMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage.PARSER, extensionRegistry); @@ -51156,7 +76036,7 @@ public final class ProtoBuf { } case 98: { de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { subBuilder = unknownAvatarMessage_.toBuilder(); } unknownAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.PARSER, extensionRegistry); @@ -51169,7 +76049,7 @@ public final class ProtoBuf { } case 106: { de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { subBuilder = playerListMessage_.toBuilder(); } playerListMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage.PARSER, extensionRegistry); @@ -51182,7 +76062,7 @@ public final class ProtoBuf { } case 114: { de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { subBuilder = gameListNewMessage_.toBuilder(); } gameListNewMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage.PARSER, extensionRegistry); @@ -51195,7 +76075,7 @@ public final class ProtoBuf { } case 122: { de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { subBuilder = gameListUpdateMessage_.toBuilder(); } gameListUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.PARSER, extensionRegistry); @@ -51208,7 +76088,7 @@ public final class ProtoBuf { } case 130: { de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { subBuilder = gameListPlayerJoinedMessage_.toBuilder(); } gameListPlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.PARSER, extensionRegistry); @@ -51221,7 +76101,7 @@ public final class ProtoBuf { } case 138: { de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { subBuilder = gameListPlayerLeftMessage_.toBuilder(); } gameListPlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.PARSER, extensionRegistry); @@ -51234,7 +76114,7 @@ public final class ProtoBuf { } case 146: { de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00020000) == 0x00020000)) { + if (((bitField0_ & 0x00020000) != 0)) { subBuilder = gameListAdminChangedMessage_.toBuilder(); } gameListAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.PARSER, extensionRegistry); @@ -51247,7 +76127,7 @@ public final class ProtoBuf { } case 154: { de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00040000) == 0x00040000)) { + if (((bitField0_ & 0x00040000) != 0)) { subBuilder = playerInfoRequestMessage_.toBuilder(); } playerInfoRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.PARSER, extensionRegistry); @@ -51260,7 +76140,7 @@ public final class ProtoBuf { } case 162: { de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00080000) == 0x00080000)) { + if (((bitField0_ & 0x00080000) != 0)) { subBuilder = playerInfoReplyMessage_.toBuilder(); } playerInfoReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.PARSER, extensionRegistry); @@ -51273,7 +76153,7 @@ public final class ProtoBuf { } case 170: { de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00100000) == 0x00100000)) { + if (((bitField0_ & 0x00100000) != 0)) { subBuilder = subscriptionRequestMessage_.toBuilder(); } subscriptionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.PARSER, extensionRegistry); @@ -51286,7 +76166,7 @@ public final class ProtoBuf { } case 178: { de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00200000) == 0x00200000)) { + if (((bitField0_ & 0x00200000) != 0)) { subBuilder = joinExistingGameMessage_.toBuilder(); } joinExistingGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.PARSER, extensionRegistry); @@ -51299,7 +76179,7 @@ public final class ProtoBuf { } case 186: { de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00400000) == 0x00400000)) { + if (((bitField0_ & 0x00400000) != 0)) { subBuilder = joinNewGameMessage_.toBuilder(); } joinNewGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.PARSER, extensionRegistry); @@ -51312,7 +76192,7 @@ public final class ProtoBuf { } case 194: { de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x00800000) == 0x00800000)) { + if (((bitField0_ & 0x00800000) != 0)) { subBuilder = rejoinExistingGameMessage_.toBuilder(); } rejoinExistingGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.PARSER, extensionRegistry); @@ -51325,7 +76205,7 @@ public final class ProtoBuf { } case 202: { de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder subBuilder = null; - if (((bitField0_ & 0x01000000) == 0x01000000)) { + if (((bitField0_ & 0x01000000) != 0)) { subBuilder = joinGameAckMessage_.toBuilder(); } joinGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.PARSER, extensionRegistry); @@ -51338,7 +76218,7 @@ public final class ProtoBuf { } case 210: { de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x02000000) == 0x02000000)) { + if (((bitField0_ & 0x02000000) != 0)) { subBuilder = joinGameFailedMessage_.toBuilder(); } joinGameFailedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.PARSER, extensionRegistry); @@ -51351,7 +76231,7 @@ public final class ProtoBuf { } case 218: { de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x04000000) == 0x04000000)) { + if (((bitField0_ & 0x04000000) != 0)) { subBuilder = gamePlayerJoinedMessage_.toBuilder(); } gamePlayerJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.PARSER, extensionRegistry); @@ -51364,7 +76244,7 @@ public final class ProtoBuf { } case 226: { de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder subBuilder = null; - if (((bitField0_ & 0x08000000) == 0x08000000)) { + if (((bitField0_ & 0x08000000) != 0)) { subBuilder = gamePlayerLeftMessage_.toBuilder(); } gamePlayerLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.PARSER, extensionRegistry); @@ -51377,7 +76257,7 @@ public final class ProtoBuf { } case 234: { de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder subBuilder = null; - if (((bitField0_ & 0x10000000) == 0x10000000)) { + if (((bitField0_ & 0x10000000) != 0)) { subBuilder = gameAdminChangedMessage_.toBuilder(); } gameAdminChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.PARSER, extensionRegistry); @@ -51390,7 +76270,7 @@ public final class ProtoBuf { } case 242: { de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder subBuilder = null; - if (((bitField0_ & 0x20000000) == 0x20000000)) { + if (((bitField0_ & 0x20000000) != 0)) { subBuilder = removedFromGameMessage_.toBuilder(); } removedFromGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.PARSER, extensionRegistry); @@ -51403,7 +76283,7 @@ public final class ProtoBuf { } case 250: { de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x40000000) == 0x40000000)) { + if (((bitField0_ & 0x40000000) != 0)) { subBuilder = kickPlayerRequestMessage_.toBuilder(); } kickPlayerRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.PARSER, extensionRegistry); @@ -51416,7 +76296,7 @@ public final class ProtoBuf { } case 258: { de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder subBuilder = null; - if (((bitField0_ & 0x80000000) == 0x80000000)) { + if (((bitField0_ & 0x80000000) != 0)) { subBuilder = leaveGameRequestMessage_.toBuilder(); } leaveGameRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.PARSER, extensionRegistry); @@ -51429,7 +76309,7 @@ public final class ProtoBuf { } case 266: { de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000001) == 0x00000001)) { + if (((bitField1_ & 0x00000001) != 0)) { subBuilder = invitePlayerToGameMessage_.toBuilder(); } invitePlayerToGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.PARSER, extensionRegistry); @@ -51442,7 +76322,7 @@ public final class ProtoBuf { } case 274: { de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000002) == 0x00000002)) { + if (((bitField1_ & 0x00000002) != 0)) { subBuilder = inviteNotifyMessage_.toBuilder(); } inviteNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.PARSER, extensionRegistry); @@ -51455,7 +76335,7 @@ public final class ProtoBuf { } case 282: { de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000004) == 0x00000004)) { + if (((bitField1_ & 0x00000004) != 0)) { subBuilder = rejectGameInvitationMessage_.toBuilder(); } rejectGameInvitationMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.PARSER, extensionRegistry); @@ -51468,7 +76348,7 @@ public final class ProtoBuf { } case 290: { de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000008) == 0x00000008)) { + if (((bitField1_ & 0x00000008) != 0)) { subBuilder = rejectInvNotifyMessage_.toBuilder(); } rejectInvNotifyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.PARSER, extensionRegistry); @@ -51481,7 +76361,7 @@ public final class ProtoBuf { } case 298: { de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000010) == 0x00000010)) { + if (((bitField1_ & 0x00000010) != 0)) { subBuilder = startEventMessage_.toBuilder(); } startEventMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage.PARSER, extensionRegistry); @@ -51494,7 +76374,7 @@ public final class ProtoBuf { } case 306: { de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000020) == 0x00000020)) { + if (((bitField1_ & 0x00000020) != 0)) { subBuilder = startEventAckMessage_.toBuilder(); } startEventAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage.PARSER, extensionRegistry); @@ -51507,7 +76387,7 @@ public final class ProtoBuf { } case 314: { de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000040) == 0x00000040)) { + if (((bitField1_ & 0x00000040) != 0)) { subBuilder = gameStartInitialMessage_.toBuilder(); } gameStartInitialMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.PARSER, extensionRegistry); @@ -51520,7 +76400,7 @@ public final class ProtoBuf { } case 322: { de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000080) == 0x00000080)) { + if (((bitField1_ & 0x00000080) != 0)) { subBuilder = gameStartRejoinMessage_.toBuilder(); } gameStartRejoinMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.PARSER, extensionRegistry); @@ -51533,7 +76413,7 @@ public final class ProtoBuf { } case 330: { de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000100) == 0x00000100)) { + if (((bitField1_ & 0x00000100) != 0)) { subBuilder = handStartMessage_.toBuilder(); } handStartMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage.PARSER, extensionRegistry); @@ -51546,7 +76426,7 @@ public final class ProtoBuf { } case 338: { de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000200) == 0x00000200)) { + if (((bitField1_ & 0x00000200) != 0)) { subBuilder = playersTurnMessage_.toBuilder(); } playersTurnMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.PARSER, extensionRegistry); @@ -51559,7 +76439,7 @@ public final class ProtoBuf { } case 346: { de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000400) == 0x00000400)) { + if (((bitField1_ & 0x00000400) != 0)) { subBuilder = myActionRequestMessage_.toBuilder(); } myActionRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.PARSER, extensionRegistry); @@ -51572,7 +76452,7 @@ public final class ProtoBuf { } case 354: { de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00000800) == 0x00000800)) { + if (((bitField1_ & 0x00000800) != 0)) { subBuilder = yourActionRejectedMessage_.toBuilder(); } yourActionRejectedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.PARSER, extensionRegistry); @@ -51585,7 +76465,7 @@ public final class ProtoBuf { } case 362: { de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00001000) == 0x00001000)) { + if (((bitField1_ & 0x00001000) != 0)) { subBuilder = playersActionDoneMessage_.toBuilder(); } playersActionDoneMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.PARSER, extensionRegistry); @@ -51598,7 +76478,7 @@ public final class ProtoBuf { } case 370: { de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00002000) == 0x00002000)) { + if (((bitField1_ & 0x00002000) != 0)) { subBuilder = dealFlopCardsMessage_.toBuilder(); } dealFlopCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.PARSER, extensionRegistry); @@ -51611,7 +76491,7 @@ public final class ProtoBuf { } case 378: { de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00004000) == 0x00004000)) { + if (((bitField1_ & 0x00004000) != 0)) { subBuilder = dealTurnCardMessage_.toBuilder(); } dealTurnCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.PARSER, extensionRegistry); @@ -51624,7 +76504,7 @@ public final class ProtoBuf { } case 386: { de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00008000) == 0x00008000)) { + if (((bitField1_ & 0x00008000) != 0)) { subBuilder = dealRiverCardMessage_.toBuilder(); } dealRiverCardMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.PARSER, extensionRegistry); @@ -51637,7 +76517,7 @@ public final class ProtoBuf { } case 394: { de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00010000) == 0x00010000)) { + if (((bitField1_ & 0x00010000) != 0)) { subBuilder = allInShowCardsMessage_.toBuilder(); } allInShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.PARSER, extensionRegistry); @@ -51650,7 +76530,7 @@ public final class ProtoBuf { } case 402: { de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00020000) == 0x00020000)) { + if (((bitField1_ & 0x00020000) != 0)) { subBuilder = endOfHandShowCardsMessage_.toBuilder(); } endOfHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.PARSER, extensionRegistry); @@ -51663,7 +76543,7 @@ public final class ProtoBuf { } case 410: { de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00040000) == 0x00040000)) { + if (((bitField1_ & 0x00040000) != 0)) { subBuilder = endOfHandHideCardsMessage_.toBuilder(); } endOfHandHideCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.PARSER, extensionRegistry); @@ -51676,7 +76556,7 @@ public final class ProtoBuf { } case 418: { de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00080000) == 0x00080000)) { + if (((bitField1_ & 0x00080000) != 0)) { subBuilder = showMyCardsRequestMessage_.toBuilder(); } showMyCardsRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.PARSER, extensionRegistry); @@ -51689,7 +76569,7 @@ public final class ProtoBuf { } case 426: { de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00100000) == 0x00100000)) { + if (((bitField1_ & 0x00100000) != 0)) { subBuilder = afterHandShowCardsMessage_.toBuilder(); } afterHandShowCardsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.PARSER, extensionRegistry); @@ -51702,7 +76582,7 @@ public final class ProtoBuf { } case 434: { de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00200000) == 0x00200000)) { + if (((bitField1_ & 0x00200000) != 0)) { subBuilder = endOfGameMessage_.toBuilder(); } endOfGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage.PARSER, extensionRegistry); @@ -51715,7 +76595,7 @@ public final class ProtoBuf { } case 442: { de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00400000) == 0x00400000)) { + if (((bitField1_ & 0x00400000) != 0)) { subBuilder = playerIdChangedMessage_.toBuilder(); } playerIdChangedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.PARSER, extensionRegistry); @@ -51728,7 +76608,7 @@ public final class ProtoBuf { } case 450: { de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder subBuilder = null; - if (((bitField1_ & 0x00800000) == 0x00800000)) { + if (((bitField1_ & 0x00800000) != 0)) { subBuilder = askKickPlayerMessage_.toBuilder(); } askKickPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.PARSER, extensionRegistry); @@ -51741,7 +76621,7 @@ public final class ProtoBuf { } case 458: { de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder subBuilder = null; - if (((bitField1_ & 0x01000000) == 0x01000000)) { + if (((bitField1_ & 0x01000000) != 0)) { subBuilder = askKickDeniedMessage_.toBuilder(); } askKickDeniedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.PARSER, extensionRegistry); @@ -51754,7 +76634,7 @@ public final class ProtoBuf { } case 466: { de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder subBuilder = null; - if (((bitField1_ & 0x02000000) == 0x02000000)) { + if (((bitField1_ & 0x02000000) != 0)) { subBuilder = startKickPetitionMessage_.toBuilder(); } startKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.PARSER, extensionRegistry); @@ -51767,7 +76647,7 @@ public final class ProtoBuf { } case 474: { de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x04000000) == 0x04000000)) { + if (((bitField1_ & 0x04000000) != 0)) { subBuilder = voteKickRequestMessage_.toBuilder(); } voteKickRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.PARSER, extensionRegistry); @@ -51780,7 +76660,7 @@ public final class ProtoBuf { } case 482: { de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder subBuilder = null; - if (((bitField1_ & 0x08000000) == 0x08000000)) { + if (((bitField1_ & 0x08000000) != 0)) { subBuilder = voteKickReplyMessage_.toBuilder(); } voteKickReplyMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.PARSER, extensionRegistry); @@ -51793,7 +76673,7 @@ public final class ProtoBuf { } case 490: { de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder subBuilder = null; - if (((bitField1_ & 0x10000000) == 0x10000000)) { + if (((bitField1_ & 0x10000000) != 0)) { subBuilder = kickPetitionUpdateMessage_.toBuilder(); } kickPetitionUpdateMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.PARSER, extensionRegistry); @@ -51806,7 +76686,7 @@ public final class ProtoBuf { } case 498: { de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder subBuilder = null; - if (((bitField1_ & 0x20000000) == 0x20000000)) { + if (((bitField1_ & 0x20000000) != 0)) { subBuilder = endKickPetitionMessage_.toBuilder(); } endKickPetitionMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.PARSER, extensionRegistry); @@ -51819,7 +76699,7 @@ public final class ProtoBuf { } case 506: { de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder subBuilder = null; - if (((bitField1_ & 0x40000000) == 0x40000000)) { + if (((bitField1_ & 0x40000000) != 0)) { subBuilder = statisticsMessage_.toBuilder(); } statisticsMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage.PARSER, extensionRegistry); @@ -51832,7 +76712,7 @@ public final class ProtoBuf { } case 514: { de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder subBuilder = null; - if (((bitField1_ & 0x80000000) == 0x80000000)) { + if (((bitField1_ & 0x80000000) != 0)) { subBuilder = chatRequestMessage_.toBuilder(); } chatRequestMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage.PARSER, extensionRegistry); @@ -51845,7 +76725,7 @@ public final class ProtoBuf { } case 522: { de.pokerth.protocol.ProtoBuf.ChatMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000001) == 0x00000001)) { + if (((bitField2_ & 0x00000001) != 0)) { subBuilder = chatMessage_.toBuilder(); } chatMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatMessage.PARSER, extensionRegistry); @@ -51858,7 +76738,7 @@ public final class ProtoBuf { } case 530: { de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000002) == 0x00000002)) { + if (((bitField2_ & 0x00000002) != 0)) { subBuilder = chatRejectMessage_.toBuilder(); } chatRejectMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage.PARSER, extensionRegistry); @@ -51871,7 +76751,7 @@ public final class ProtoBuf { } case 538: { de.pokerth.protocol.ProtoBuf.DialogMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000004) == 0x00000004)) { + if (((bitField2_ & 0x00000004) != 0)) { subBuilder = dialogMessage_.toBuilder(); } dialogMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.DialogMessage.PARSER, extensionRegistry); @@ -51884,7 +76764,7 @@ public final class ProtoBuf { } case 546: { de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000008) == 0x00000008)) { + if (((bitField2_ & 0x00000008) != 0)) { subBuilder = timeoutWarningMessage_.toBuilder(); } timeoutWarningMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.PARSER, extensionRegistry); @@ -51897,7 +76777,7 @@ public final class ProtoBuf { } case 554: { de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000010) == 0x00000010)) { + if (((bitField2_ & 0x00000010) != 0)) { subBuilder = resetTimeoutMessage_.toBuilder(); } resetTimeoutMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.PARSER, extensionRegistry); @@ -51910,7 +76790,7 @@ public final class ProtoBuf { } case 562: { de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000020) == 0x00000020)) { + if (((bitField2_ & 0x00000020) != 0)) { subBuilder = reportAvatarMessage_.toBuilder(); } reportAvatarMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.PARSER, extensionRegistry); @@ -51923,7 +76803,7 @@ public final class ProtoBuf { } case 570: { de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000040) == 0x00000040)) { + if (((bitField2_ & 0x00000040) != 0)) { subBuilder = reportAvatarAckMessage_.toBuilder(); } reportAvatarAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.PARSER, extensionRegistry); @@ -51936,7 +76816,7 @@ public final class ProtoBuf { } case 578: { de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000080) == 0x00000080)) { + if (((bitField2_ & 0x00000080) != 0)) { subBuilder = reportGameMessage_.toBuilder(); } reportGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage.PARSER, extensionRegistry); @@ -51949,7 +76829,7 @@ public final class ProtoBuf { } case 586: { de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000100) == 0x00000100)) { + if (((bitField2_ & 0x00000100) != 0)) { subBuilder = reportGameAckMessage_.toBuilder(); } reportGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.PARSER, extensionRegistry); @@ -51962,7 +76842,7 @@ public final class ProtoBuf { } case 594: { de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000200) == 0x00000200)) { + if (((bitField2_ & 0x00000200) != 0)) { subBuilder = errorMessage_.toBuilder(); } errorMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage.PARSER, extensionRegistry); @@ -51975,7 +76855,7 @@ public final class ProtoBuf { } case 602: { de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000400) == 0x00000400)) { + if (((bitField2_ & 0x00000400) != 0)) { subBuilder = adminRemoveGameMessage_.toBuilder(); } adminRemoveGameMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.PARSER, extensionRegistry); @@ -51988,7 +76868,7 @@ public final class ProtoBuf { } case 610: { de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00000800) == 0x00000800)) { + if (((bitField2_ & 0x00000800) != 0)) { subBuilder = adminRemoveGameAckMessage_.toBuilder(); } adminRemoveGameAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.PARSER, extensionRegistry); @@ -52001,7 +76881,7 @@ public final class ProtoBuf { } case 618: { de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00001000) == 0x00001000)) { + if (((bitField2_ & 0x00001000) != 0)) { subBuilder = adminBanPlayerMessage_.toBuilder(); } adminBanPlayerMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.PARSER, extensionRegistry); @@ -52014,7 +76894,7 @@ public final class ProtoBuf { } case 626: { de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00002000) == 0x00002000)) { + if (((bitField2_ & 0x00002000) != 0)) { subBuilder = adminBanPlayerAckMessage_.toBuilder(); } adminBanPlayerAckMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.PARSER, extensionRegistry); @@ -52027,7 +76907,7 @@ public final class ProtoBuf { } case 634: { de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00004000) == 0x00004000)) { + if (((bitField2_ & 0x00004000) != 0)) { subBuilder = gameListSpectatorJoinedMessage_.toBuilder(); } gameListSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.PARSER, extensionRegistry); @@ -52040,7 +76920,7 @@ public final class ProtoBuf { } case 642: { de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00008000) == 0x00008000)) { + if (((bitField2_ & 0x00008000) != 0)) { subBuilder = gameListSpectatorLeftMessage_.toBuilder(); } gameListSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.PARSER, extensionRegistry); @@ -52053,7 +76933,7 @@ public final class ProtoBuf { } case 650: { de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00010000) == 0x00010000)) { + if (((bitField2_ & 0x00010000) != 0)) { subBuilder = gameSpectatorJoinedMessage_.toBuilder(); } gameSpectatorJoinedMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.PARSER, extensionRegistry); @@ -52066,7 +76946,7 @@ public final class ProtoBuf { } case 658: { de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder subBuilder = null; - if (((bitField2_ & 0x00020000) == 0x00020000)) { + if (((bitField2_ & 0x00020000) != 0)) { subBuilder = gameSpectatorLeftMessage_.toBuilder(); } gameSpectatorLeftMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.PARSER, extensionRegistry); @@ -52077,361 +76957,384 @@ public final class ProtoBuf { bitField2_ |= 0x00020000; break; } + case 666: { + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder subBuilder = null; + if (((bitField2_ & 0x00040000) != 0)) { + subBuilder = gameStartReentryMessage_.toBuilder(); + } + gameStartReentryMessage_ = input.readMessage(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gameStartReentryMessage_); + gameStartReentryMessage_ = subBuilder.buildPartial(); + } + bitField2_ |= 0x00040000; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { + this.unknownFields = unknownFields.build(); 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); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PokerTHMessage_descriptor; + } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PokerTHMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PokerTHMessage.class, de.pokerth.protocol.ProtoBuf.PokerTHMessage.Builder.class); } /** * Protobuf enum {@code PokerTHMessage.PokerTHMessageType} */ public enum PokerTHMessageType - implements com.google.protobuf.Internal.EnumLite { + implements com.google.protobuf.ProtocolMessageEnum { /** * Type_AnnounceMessage = 1; */ - Type_AnnounceMessage(0, 1), + Type_AnnounceMessage(1), /** * Type_InitMessage = 2; */ - Type_InitMessage(1, 2), + Type_InitMessage(2), /** * Type_AuthServerChallengeMessage = 3; */ - Type_AuthServerChallengeMessage(2, 3), + Type_AuthServerChallengeMessage(3), /** * Type_AuthClientResponseMessage = 4; */ - Type_AuthClientResponseMessage(3, 4), + Type_AuthClientResponseMessage(4), /** * Type_AuthServerVerificationMessage = 5; */ - Type_AuthServerVerificationMessage(4, 5), + Type_AuthServerVerificationMessage(5), /** * Type_InitAckMessage = 6; */ - Type_InitAckMessage(5, 6), + Type_InitAckMessage(6), /** * Type_AvatarRequestMessage = 7; */ - Type_AvatarRequestMessage(6, 7), + Type_AvatarRequestMessage(7), /** * Type_AvatarHeaderMessage = 8; */ - Type_AvatarHeaderMessage(7, 8), + Type_AvatarHeaderMessage(8), /** * Type_AvatarDataMessage = 9; */ - Type_AvatarDataMessage(8, 9), + Type_AvatarDataMessage(9), /** * Type_AvatarEndMessage = 10; */ - Type_AvatarEndMessage(9, 10), + Type_AvatarEndMessage(10), /** * Type_UnknownAvatarMessage = 11; */ - Type_UnknownAvatarMessage(10, 11), + Type_UnknownAvatarMessage(11), /** * Type_PlayerListMessage = 12; */ - Type_PlayerListMessage(11, 12), + Type_PlayerListMessage(12), /** * Type_GameListNewMessage = 13; */ - Type_GameListNewMessage(12, 13), + Type_GameListNewMessage(13), /** * Type_GameListUpdateMessage = 14; */ - Type_GameListUpdateMessage(13, 14), + Type_GameListUpdateMessage(14), /** * Type_GameListPlayerJoinedMessage = 15; */ - Type_GameListPlayerJoinedMessage(14, 15), + Type_GameListPlayerJoinedMessage(15), /** * Type_GameListPlayerLeftMessage = 16; */ - Type_GameListPlayerLeftMessage(15, 16), + Type_GameListPlayerLeftMessage(16), /** * Type_GameListAdminChangedMessage = 17; */ - Type_GameListAdminChangedMessage(16, 17), + Type_GameListAdminChangedMessage(17), /** * Type_PlayerInfoRequestMessage = 18; */ - Type_PlayerInfoRequestMessage(17, 18), + Type_PlayerInfoRequestMessage(18), /** * Type_PlayerInfoReplyMessage = 19; */ - Type_PlayerInfoReplyMessage(18, 19), + Type_PlayerInfoReplyMessage(19), /** * Type_SubscriptionRequestMessage = 20; */ - Type_SubscriptionRequestMessage(19, 20), + Type_SubscriptionRequestMessage(20), /** * Type_JoinExistingGameMessage = 21; */ - Type_JoinExistingGameMessage(20, 21), + Type_JoinExistingGameMessage(21), /** * Type_JoinNewGameMessage = 22; */ - Type_JoinNewGameMessage(21, 22), + Type_JoinNewGameMessage(22), /** * Type_RejoinExistingGameMessage = 23; */ - Type_RejoinExistingGameMessage(22, 23), + Type_RejoinExistingGameMessage(23), /** * Type_JoinGameAckMessage = 24; */ - Type_JoinGameAckMessage(23, 24), + Type_JoinGameAckMessage(24), /** * Type_JoinGameFailedMessage = 25; */ - Type_JoinGameFailedMessage(24, 25), + Type_JoinGameFailedMessage(25), /** * Type_GamePlayerJoinedMessage = 26; */ - Type_GamePlayerJoinedMessage(25, 26), + Type_GamePlayerJoinedMessage(26), /** * Type_GamePlayerLeftMessage = 27; */ - Type_GamePlayerLeftMessage(26, 27), + Type_GamePlayerLeftMessage(27), /** * Type_GameAdminChangedMessage = 28; */ - Type_GameAdminChangedMessage(27, 28), + Type_GameAdminChangedMessage(28), /** * Type_RemovedFromGameMessage = 29; */ - Type_RemovedFromGameMessage(28, 29), + Type_RemovedFromGameMessage(29), /** * Type_KickPlayerRequestMessage = 30; */ - Type_KickPlayerRequestMessage(29, 30), + Type_KickPlayerRequestMessage(30), /** * Type_LeaveGameRequestMessage = 31; */ - Type_LeaveGameRequestMessage(30, 31), + Type_LeaveGameRequestMessage(31), /** * Type_InvitePlayerToGameMessage = 32; */ - Type_InvitePlayerToGameMessage(31, 32), + Type_InvitePlayerToGameMessage(32), /** * Type_InviteNotifyMessage = 33; */ - Type_InviteNotifyMessage(32, 33), + Type_InviteNotifyMessage(33), /** * Type_RejectGameInvitationMessage = 34; */ - Type_RejectGameInvitationMessage(33, 34), + Type_RejectGameInvitationMessage(34), /** * Type_RejectInvNotifyMessage = 35; */ - Type_RejectInvNotifyMessage(34, 35), + Type_RejectInvNotifyMessage(35), /** * Type_StartEventMessage = 36; */ - Type_StartEventMessage(35, 36), + Type_StartEventMessage(36), /** * Type_StartEventAckMessage = 37; */ - Type_StartEventAckMessage(36, 37), + Type_StartEventAckMessage(37), /** * Type_GameStartInitialMessage = 38; */ - Type_GameStartInitialMessage(37, 38), + Type_GameStartInitialMessage(38), /** * Type_GameStartRejoinMessage = 39; */ - Type_GameStartRejoinMessage(38, 39), + Type_GameStartRejoinMessage(39), /** * Type_HandStartMessage = 40; */ - Type_HandStartMessage(39, 40), + Type_HandStartMessage(40), /** * Type_PlayersTurnMessage = 41; */ - Type_PlayersTurnMessage(40, 41), + Type_PlayersTurnMessage(41), /** * Type_MyActionRequestMessage = 42; */ - Type_MyActionRequestMessage(41, 42), + Type_MyActionRequestMessage(42), /** * Type_YourActionRejectedMessage = 43; */ - Type_YourActionRejectedMessage(42, 43), + Type_YourActionRejectedMessage(43), /** * Type_PlayersActionDoneMessage = 44; */ - Type_PlayersActionDoneMessage(43, 44), + Type_PlayersActionDoneMessage(44), /** * Type_DealFlopCardsMessage = 45; */ - Type_DealFlopCardsMessage(44, 45), + Type_DealFlopCardsMessage(45), /** * Type_DealTurnCardMessage = 46; */ - Type_DealTurnCardMessage(45, 46), + Type_DealTurnCardMessage(46), /** * Type_DealRiverCardMessage = 47; */ - Type_DealRiverCardMessage(46, 47), + Type_DealRiverCardMessage(47), /** * Type_AllInShowCardsMessage = 48; */ - Type_AllInShowCardsMessage(47, 48), + Type_AllInShowCardsMessage(48), /** * Type_EndOfHandShowCardsMessage = 49; */ - Type_EndOfHandShowCardsMessage(48, 49), + Type_EndOfHandShowCardsMessage(49), /** * Type_EndOfHandHideCardsMessage = 50; */ - Type_EndOfHandHideCardsMessage(49, 50), + Type_EndOfHandHideCardsMessage(50), /** * Type_ShowMyCardsRequestMessage = 51; */ - Type_ShowMyCardsRequestMessage(50, 51), + Type_ShowMyCardsRequestMessage(51), /** * Type_AfterHandShowCardsMessage = 52; */ - Type_AfterHandShowCardsMessage(51, 52), + Type_AfterHandShowCardsMessage(52), /** * Type_EndOfGameMessage = 53; */ - Type_EndOfGameMessage(52, 53), + Type_EndOfGameMessage(53), /** * Type_PlayerIdChangedMessage = 54; */ - Type_PlayerIdChangedMessage(53, 54), + Type_PlayerIdChangedMessage(54), /** * Type_AskKickPlayerMessage = 55; */ - Type_AskKickPlayerMessage(54, 55), + Type_AskKickPlayerMessage(55), /** * Type_AskKickDeniedMessage = 56; */ - Type_AskKickDeniedMessage(55, 56), + Type_AskKickDeniedMessage(56), /** * Type_StartKickPetitionMessage = 57; */ - Type_StartKickPetitionMessage(56, 57), + Type_StartKickPetitionMessage(57), /** * Type_VoteKickRequestMessage = 58; */ - Type_VoteKickRequestMessage(57, 58), + Type_VoteKickRequestMessage(58), /** * Type_VoteKickReplyMessage = 59; */ - Type_VoteKickReplyMessage(58, 59), + Type_VoteKickReplyMessage(59), /** * Type_KickPetitionUpdateMessage = 60; */ - Type_KickPetitionUpdateMessage(59, 60), + Type_KickPetitionUpdateMessage(60), /** * Type_EndKickPetitionMessage = 61; */ - Type_EndKickPetitionMessage(60, 61), + Type_EndKickPetitionMessage(61), /** * Type_StatisticsMessage = 62; */ - Type_StatisticsMessage(61, 62), + Type_StatisticsMessage(62), /** * Type_ChatRequestMessage = 63; */ - Type_ChatRequestMessage(62, 63), + Type_ChatRequestMessage(63), /** * Type_ChatMessage = 64; */ - Type_ChatMessage(63, 64), + Type_ChatMessage(64), /** * Type_ChatRejectMessage = 65; */ - Type_ChatRejectMessage(64, 65), + Type_ChatRejectMessage(65), /** * Type_DialogMessage = 66; */ - Type_DialogMessage(65, 66), + Type_DialogMessage(66), /** * Type_TimeoutWarningMessage = 67; */ - Type_TimeoutWarningMessage(66, 67), + Type_TimeoutWarningMessage(67), /** * Type_ResetTimeoutMessage = 68; */ - Type_ResetTimeoutMessage(67, 68), + Type_ResetTimeoutMessage(68), /** * Type_ReportAvatarMessage = 69; */ - Type_ReportAvatarMessage(68, 69), + Type_ReportAvatarMessage(69), /** * Type_ReportAvatarAckMessage = 70; */ - Type_ReportAvatarAckMessage(69, 70), + Type_ReportAvatarAckMessage(70), /** * Type_ReportGameMessage = 71; */ - Type_ReportGameMessage(70, 71), + Type_ReportGameMessage(71), /** * Type_ReportGameAckMessage = 72; */ - Type_ReportGameAckMessage(71, 72), + Type_ReportGameAckMessage(72), /** * Type_ErrorMessage = 73; */ - Type_ErrorMessage(72, 73), + Type_ErrorMessage(73), /** * Type_AdminRemoveGameMessage = 74; */ - Type_AdminRemoveGameMessage(73, 74), + Type_AdminRemoveGameMessage(74), /** * Type_AdminRemoveGameAckMessage = 75; */ - Type_AdminRemoveGameAckMessage(74, 75), + Type_AdminRemoveGameAckMessage(75), /** * Type_AdminBanPlayerMessage = 76; */ - Type_AdminBanPlayerMessage(75, 76), + Type_AdminBanPlayerMessage(76), /** * Type_AdminBanPlayerAckMessage = 77; */ - Type_AdminBanPlayerAckMessage(76, 77), + Type_AdminBanPlayerAckMessage(77), /** * Type_GameListSpectatorJoinedMessage = 78; */ - Type_GameListSpectatorJoinedMessage(77, 78), + Type_GameListSpectatorJoinedMessage(78), /** * Type_GameListSpectatorLeftMessage = 79; */ - Type_GameListSpectatorLeftMessage(78, 79), + Type_GameListSpectatorLeftMessage(79), /** * Type_GameSpectatorJoinedMessage = 80; */ - Type_GameSpectatorJoinedMessage(79, 80), + Type_GameSpectatorJoinedMessage(80), /** * Type_GameSpectatorLeftMessage = 81; */ - Type_GameSpectatorLeftMessage(80, 81), + Type_GameSpectatorLeftMessage(81), + /** + * Type_GameStartReentryMessage = 82; + */ + Type_GameStartReentryMessage(82), ; /** @@ -52758,11 +77661,31 @@ public final class ProtoBuf { * Type_GameSpectatorLeftMessage = 81; */ public static final int Type_GameSpectatorLeftMessage_VALUE = 81; + /** + * Type_GameStartReentryMessage = 82; + */ + public static final int Type_GameStartReentryMessage_VALUE = 82; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static PokerTHMessageType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PokerTHMessageType forNumber(int value) { switch (value) { case 1: return Type_AnnounceMessage; case 2: return Type_InitMessage; @@ -52845,6 +77768,7 @@ public final class ProtoBuf { case 79: return Type_GameListSpectatorLeftMessage; case 80: return Type_GameSpectatorJoinedMessage; case 81: return Type_GameSpectatorLeftMessage; + case 82: return Type_GameStartReentryMessage; default: return null; } } @@ -52853,17 +77777,41 @@ public final class ProtoBuf { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + PokerTHMessageType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public PokerTHMessageType findValueByNumber(int number) { - return PokerTHMessageType.valueOf(number); + return PokerTHMessageType.forNumber(number); } }; + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.PokerTHMessage.getDescriptor().getEnumTypes().get(0); + } + + private static final PokerTHMessageType[] VALUES = values(); + + public static PokerTHMessageType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + private final int value; - private PokerTHMessageType(int index, int value) { + private PokerTHMessageType(int value) { this.value = value; } @@ -52873,1406 +77821,2163 @@ public final class ProtoBuf { 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_; + private int messageType_; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @return Whether the messageType field is set. */ - public boolean hasMessageType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @return The messageType. */ - public de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType() { - return messageType_; + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType() { + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType result = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(messageType_); + return result == null ? de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage : result; } - // optional .AnnounceMessage announceMessage = 2; public static final int ANNOUNCEMESSAGE_FIELD_NUMBER = 2; private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; /** * optional .AnnounceMessage announceMessage = 2; + * @return Whether the announceMessage field is set. */ + @java.lang.Override public boolean hasAnnounceMessage() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); + } + /** + * optional .AnnounceMessage announceMessage = 2; + * @return The announceMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage() { + return announceMessage_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance() : announceMessage_; } /** * optional .AnnounceMessage announceMessage = 2; */ - public de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage() { - return announceMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder getAnnounceMessageOrBuilder() { + return announceMessage_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance() : announceMessage_; } - // optional .InitMessage initMessage = 3; public static final int INITMESSAGE_FIELD_NUMBER = 3; private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; /** * optional .InitMessage initMessage = 3; + * @return Whether the initMessage field is set. */ + @java.lang.Override public boolean hasInitMessage() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); + } + /** + * optional .InitMessage initMessage = 3; + * @return The initMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { + return initMessage_ == null ? de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance() : initMessage_; } /** * optional .InitMessage initMessage = 3; */ - public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { - return initMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder getInitMessageOrBuilder() { + return initMessage_ == null ? de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance() : initMessage_; } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; public static final int AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER = 4; private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * @return Whether the authServerChallengeMessage field is set. */ + @java.lang.Override public boolean hasAuthServerChallengeMessage() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * @return The authServerChallengeMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { + return authServerChallengeMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance() : authServerChallengeMessage_; } /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; */ - public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { - return authServerChallengeMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder getAuthServerChallengeMessageOrBuilder() { + return authServerChallengeMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance() : authServerChallengeMessage_; } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; public static final int AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER = 5; private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_; /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * @return Whether the authClientResponseMessage field is set. */ + @java.lang.Override public boolean hasAuthClientResponseMessage() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * @return The authClientResponseMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { + return authClientResponseMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance() : authClientResponseMessage_; } /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; */ - public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { - return authClientResponseMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder getAuthClientResponseMessageOrBuilder() { + return authClientResponseMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance() : authClientResponseMessage_; } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; public static final int AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER = 6; private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_; /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * @return Whether the authServerVerificationMessage field is set. */ + @java.lang.Override public boolean hasAuthServerVerificationMessage() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * @return The authServerVerificationMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { + return authServerVerificationMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance() : authServerVerificationMessage_; } /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; */ - public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { - return authServerVerificationMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder getAuthServerVerificationMessageOrBuilder() { + return authServerVerificationMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance() : authServerVerificationMessage_; } - // optional .InitAckMessage initAckMessage = 7; public static final int INITACKMESSAGE_FIELD_NUMBER = 7; private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; /** * optional .InitAckMessage initAckMessage = 7; + * @return Whether the initAckMessage field is set. */ + @java.lang.Override public boolean hasInitAckMessage() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); + } + /** + * optional .InitAckMessage initAckMessage = 7; + * @return The initAckMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { + return initAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance() : initAckMessage_; } /** * optional .InitAckMessage initAckMessage = 7; */ - public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { - return initAckMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder getInitAckMessageOrBuilder() { + return initAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance() : initAckMessage_; } - // optional .AvatarRequestMessage avatarRequestMessage = 8; public static final int AVATARREQUESTMESSAGE_FIELD_NUMBER = 8; private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; /** * optional .AvatarRequestMessage avatarRequestMessage = 8; + * @return Whether the avatarRequestMessage field is set. */ + @java.lang.Override public boolean hasAvatarRequestMessage() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + * @return The avatarRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { + return avatarRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance() : avatarRequestMessage_; } /** * optional .AvatarRequestMessage avatarRequestMessage = 8; */ - public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { - return avatarRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder getAvatarRequestMessageOrBuilder() { + return avatarRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance() : avatarRequestMessage_; } - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; public static final int AVATARHEADERMESSAGE_FIELD_NUMBER = 9; private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + * @return Whether the avatarHeaderMessage field is set. */ + @java.lang.Override public boolean hasAvatarHeaderMessage() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + * @return The avatarHeaderMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { + return avatarHeaderMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance() : avatarHeaderMessage_; } /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; */ - public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { - return avatarHeaderMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder getAvatarHeaderMessageOrBuilder() { + return avatarHeaderMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance() : avatarHeaderMessage_; } - // optional .AvatarDataMessage avatarDataMessage = 10; public static final int AVATARDATAMESSAGE_FIELD_NUMBER = 10; private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; /** * optional .AvatarDataMessage avatarDataMessage = 10; + * @return Whether the avatarDataMessage field is set. */ + @java.lang.Override public boolean hasAvatarDataMessage() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); + } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + * @return The avatarDataMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { + return avatarDataMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance() : avatarDataMessage_; } /** * optional .AvatarDataMessage avatarDataMessage = 10; */ - public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { - return avatarDataMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder getAvatarDataMessageOrBuilder() { + return avatarDataMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance() : avatarDataMessage_; } - // optional .AvatarEndMessage avatarEndMessage = 11; public static final int AVATARENDMESSAGE_FIELD_NUMBER = 11; private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; /** * optional .AvatarEndMessage avatarEndMessage = 11; + * @return Whether the avatarEndMessage field is set. */ + @java.lang.Override public boolean hasAvatarEndMessage() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); + } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + * @return The avatarEndMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { + return avatarEndMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance() : avatarEndMessage_; } /** * optional .AvatarEndMessage avatarEndMessage = 11; */ - public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { - return avatarEndMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder getAvatarEndMessageOrBuilder() { + return avatarEndMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance() : avatarEndMessage_; } - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; public static final int UNKNOWNAVATARMESSAGE_FIELD_NUMBER = 12; private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + * @return Whether the unknownAvatarMessage field is set. */ + @java.lang.Override public boolean hasUnknownAvatarMessage() { - return ((bitField0_ & 0x00000800) == 0x00000800); + return ((bitField0_ & 0x00000800) != 0); + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + * @return The unknownAvatarMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { + return unknownAvatarMessage_ == null ? de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance() : unknownAvatarMessage_; } /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; */ - public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { - return unknownAvatarMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder getUnknownAvatarMessageOrBuilder() { + return unknownAvatarMessage_ == null ? de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance() : unknownAvatarMessage_; } - // optional .PlayerListMessage playerListMessage = 13; public static final int PLAYERLISTMESSAGE_FIELD_NUMBER = 13; private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; /** * optional .PlayerListMessage playerListMessage = 13; + * @return Whether the playerListMessage field is set. */ + @java.lang.Override public boolean hasPlayerListMessage() { - return ((bitField0_ & 0x00001000) == 0x00001000); + return ((bitField0_ & 0x00001000) != 0); + } + /** + * optional .PlayerListMessage playerListMessage = 13; + * @return The playerListMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { + return playerListMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance() : playerListMessage_; } /** * optional .PlayerListMessage playerListMessage = 13; */ - public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { - return playerListMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder getPlayerListMessageOrBuilder() { + return playerListMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance() : playerListMessage_; } - // optional .GameListNewMessage gameListNewMessage = 14; public static final int GAMELISTNEWMESSAGE_FIELD_NUMBER = 14; private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; /** * optional .GameListNewMessage gameListNewMessage = 14; + * @return Whether the gameListNewMessage field is set. */ + @java.lang.Override public boolean hasGameListNewMessage() { - return ((bitField0_ & 0x00002000) == 0x00002000); + return ((bitField0_ & 0x00002000) != 0); + } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + * @return The gameListNewMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { + return gameListNewMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance() : gameListNewMessage_; } /** * optional .GameListNewMessage gameListNewMessage = 14; */ - public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { - return gameListNewMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder getGameListNewMessageOrBuilder() { + return gameListNewMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance() : gameListNewMessage_; } - // optional .GameListUpdateMessage gameListUpdateMessage = 15; public static final int GAMELISTUPDATEMESSAGE_FIELD_NUMBER = 15; private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; + * @return Whether the gameListUpdateMessage field is set. */ + @java.lang.Override public boolean hasGameListUpdateMessage() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00004000) != 0); + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + * @return The gameListUpdateMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { + return gameListUpdateMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance() : gameListUpdateMessage_; } /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; */ - public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { - return gameListUpdateMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder getGameListUpdateMessageOrBuilder() { + return gameListUpdateMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance() : gameListUpdateMessage_; } - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; public static final int GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER = 16; private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + * @return Whether the gameListPlayerJoinedMessage field is set. */ + @java.lang.Override public boolean hasGameListPlayerJoinedMessage() { - return ((bitField0_ & 0x00008000) == 0x00008000); + return ((bitField0_ & 0x00008000) != 0); + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + * @return The gameListPlayerJoinedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { + return gameListPlayerJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance() : gameListPlayerJoinedMessage_; } /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; */ - public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { - return gameListPlayerJoinedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder getGameListPlayerJoinedMessageOrBuilder() { + return gameListPlayerJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance() : gameListPlayerJoinedMessage_; } - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; public static final int GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER = 17; private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + * @return Whether the gameListPlayerLeftMessage field is set. */ + @java.lang.Override public boolean hasGameListPlayerLeftMessage() { - return ((bitField0_ & 0x00010000) == 0x00010000); + return ((bitField0_ & 0x00010000) != 0); + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + * @return The gameListPlayerLeftMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { + return gameListPlayerLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance() : gameListPlayerLeftMessage_; } /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; */ - public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { - return gameListPlayerLeftMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder getGameListPlayerLeftMessageOrBuilder() { + return gameListPlayerLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance() : gameListPlayerLeftMessage_; } - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; public static final int GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER = 18; private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + * @return Whether the gameListAdminChangedMessage field is set. */ + @java.lang.Override public boolean hasGameListAdminChangedMessage() { - return ((bitField0_ & 0x00020000) == 0x00020000); + return ((bitField0_ & 0x00020000) != 0); + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + * @return The gameListAdminChangedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { + return gameListAdminChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance() : gameListAdminChangedMessage_; } /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; */ - public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { - return gameListAdminChangedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder getGameListAdminChangedMessageOrBuilder() { + return gameListAdminChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance() : gameListAdminChangedMessage_; } - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; public static final int PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER = 19; private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + * @return Whether the playerInfoRequestMessage field is set. */ + @java.lang.Override public boolean hasPlayerInfoRequestMessage() { - return ((bitField0_ & 0x00040000) == 0x00040000); + return ((bitField0_ & 0x00040000) != 0); + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + * @return The playerInfoRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { + return playerInfoRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance() : playerInfoRequestMessage_; } /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { - return playerInfoRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder getPlayerInfoRequestMessageOrBuilder() { + return playerInfoRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance() : playerInfoRequestMessage_; } - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; public static final int PLAYERINFOREPLYMESSAGE_FIELD_NUMBER = 20; private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + * @return Whether the playerInfoReplyMessage field is set. */ + @java.lang.Override public boolean hasPlayerInfoReplyMessage() { - return ((bitField0_ & 0x00080000) == 0x00080000); + return ((bitField0_ & 0x00080000) != 0); + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + * @return The playerInfoReplyMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { + return playerInfoReplyMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance() : playerInfoReplyMessage_; } /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; */ - public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { - return playerInfoReplyMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder getPlayerInfoReplyMessageOrBuilder() { + return playerInfoReplyMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance() : playerInfoReplyMessage_; } - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; public static final int SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER = 21; private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + * @return Whether the subscriptionRequestMessage field is set. */ + @java.lang.Override public boolean hasSubscriptionRequestMessage() { - return ((bitField0_ & 0x00100000) == 0x00100000); + return ((bitField0_ & 0x00100000) != 0); + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + * @return The subscriptionRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { + return subscriptionRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance() : subscriptionRequestMessage_; } /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; */ - public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { - return subscriptionRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder getSubscriptionRequestMessageOrBuilder() { + return subscriptionRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance() : subscriptionRequestMessage_; } - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; public static final int JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 22; private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_; /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + * @return Whether the joinExistingGameMessage field is set. */ + @java.lang.Override public boolean hasJoinExistingGameMessage() { - return ((bitField0_ & 0x00200000) == 0x00200000); + return ((bitField0_ & 0x00200000) != 0); + } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + * @return The joinExistingGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage() { + return joinExistingGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance() : joinExistingGameMessage_; } /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; */ - public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage() { - return joinExistingGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder getJoinExistingGameMessageOrBuilder() { + return joinExistingGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance() : joinExistingGameMessage_; } - // optional .JoinNewGameMessage joinNewGameMessage = 23; public static final int JOINNEWGAMEMESSAGE_FIELD_NUMBER = 23; private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_; /** * optional .JoinNewGameMessage joinNewGameMessage = 23; + * @return Whether the joinNewGameMessage field is set. */ + @java.lang.Override public boolean hasJoinNewGameMessage() { - return ((bitField0_ & 0x00400000) == 0x00400000); + return ((bitField0_ & 0x00400000) != 0); + } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + * @return The joinNewGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage() { + return joinNewGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance() : joinNewGameMessage_; } /** * optional .JoinNewGameMessage joinNewGameMessage = 23; */ - public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage() { - return joinNewGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder getJoinNewGameMessageOrBuilder() { + return joinNewGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance() : joinNewGameMessage_; } - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; public static final int REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER = 24; private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_; /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + * @return Whether the rejoinExistingGameMessage field is set. */ + @java.lang.Override public boolean hasRejoinExistingGameMessage() { - return ((bitField0_ & 0x00800000) == 0x00800000); + return ((bitField0_ & 0x00800000) != 0); + } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + * @return The rejoinExistingGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage() { + return rejoinExistingGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance() : rejoinExistingGameMessage_; } /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; */ - public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage() { - return rejoinExistingGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder getRejoinExistingGameMessageOrBuilder() { + return rejoinExistingGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance() : rejoinExistingGameMessage_; } - // optional .JoinGameAckMessage joinGameAckMessage = 25; public static final int JOINGAMEACKMESSAGE_FIELD_NUMBER = 25; private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; /** * optional .JoinGameAckMessage joinGameAckMessage = 25; + * @return Whether the joinGameAckMessage field is set. */ + @java.lang.Override public boolean hasJoinGameAckMessage() { - return ((bitField0_ & 0x01000000) == 0x01000000); + return ((bitField0_ & 0x01000000) != 0); + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + * @return The joinGameAckMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { + return joinGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance() : joinGameAckMessage_; } /** * optional .JoinGameAckMessage joinGameAckMessage = 25; */ - public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { - return joinGameAckMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder getJoinGameAckMessageOrBuilder() { + return joinGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance() : joinGameAckMessage_; } - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; public static final int JOINGAMEFAILEDMESSAGE_FIELD_NUMBER = 26; private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + * @return Whether the joinGameFailedMessage field is set. */ + @java.lang.Override public boolean hasJoinGameFailedMessage() { - return ((bitField0_ & 0x02000000) == 0x02000000); + return ((bitField0_ & 0x02000000) != 0); + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + * @return The joinGameFailedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { + return joinGameFailedMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance() : joinGameFailedMessage_; } /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; */ - public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { - return joinGameFailedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder getJoinGameFailedMessageOrBuilder() { + return joinGameFailedMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance() : joinGameFailedMessage_; } - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; public static final int GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER = 27; private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + * @return Whether the gamePlayerJoinedMessage field is set. */ + @java.lang.Override public boolean hasGamePlayerJoinedMessage() { - return ((bitField0_ & 0x04000000) == 0x04000000); + return ((bitField0_ & 0x04000000) != 0); + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + * @return The gamePlayerJoinedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { + return gamePlayerJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance() : gamePlayerJoinedMessage_; } /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; */ - public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { - return gamePlayerJoinedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder getGamePlayerJoinedMessageOrBuilder() { + return gamePlayerJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance() : gamePlayerJoinedMessage_; } - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; public static final int GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER = 28; private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + * @return Whether the gamePlayerLeftMessage field is set. */ + @java.lang.Override public boolean hasGamePlayerLeftMessage() { - return ((bitField0_ & 0x08000000) == 0x08000000); + return ((bitField0_ & 0x08000000) != 0); + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + * @return The gamePlayerLeftMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { + return gamePlayerLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance() : gamePlayerLeftMessage_; } /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; */ - public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { - return gamePlayerLeftMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder getGamePlayerLeftMessageOrBuilder() { + return gamePlayerLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance() : gamePlayerLeftMessage_; } - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; public static final int GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER = 29; private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + * @return Whether the gameAdminChangedMessage field is set. */ + @java.lang.Override public boolean hasGameAdminChangedMessage() { - return ((bitField0_ & 0x10000000) == 0x10000000); + return ((bitField0_ & 0x10000000) != 0); + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + * @return The gameAdminChangedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { + return gameAdminChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance() : gameAdminChangedMessage_; } /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; */ - public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { - return gameAdminChangedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder getGameAdminChangedMessageOrBuilder() { + return gameAdminChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance() : gameAdminChangedMessage_; } - // optional .RemovedFromGameMessage removedFromGameMessage = 30; public static final int REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER = 30; private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; + * @return Whether the removedFromGameMessage field is set. */ + @java.lang.Override public boolean hasRemovedFromGameMessage() { - return ((bitField0_ & 0x20000000) == 0x20000000); + return ((bitField0_ & 0x20000000) != 0); + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + * @return The removedFromGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { + return removedFromGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance() : removedFromGameMessage_; } /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; */ - public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { - return removedFromGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder getRemovedFromGameMessageOrBuilder() { + return removedFromGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance() : removedFromGameMessage_; } - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; public static final int KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER = 31; private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + * @return Whether the kickPlayerRequestMessage field is set. */ + @java.lang.Override public boolean hasKickPlayerRequestMessage() { - return ((bitField0_ & 0x40000000) == 0x40000000); + return ((bitField0_ & 0x40000000) != 0); + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + * @return The kickPlayerRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { + return kickPlayerRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance() : kickPlayerRequestMessage_; } /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; */ - public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { - return kickPlayerRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder getKickPlayerRequestMessageOrBuilder() { + return kickPlayerRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance() : kickPlayerRequestMessage_; } - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; public static final int LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER = 32; private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + * @return Whether the leaveGameRequestMessage field is set. */ + @java.lang.Override public boolean hasLeaveGameRequestMessage() { - return ((bitField0_ & 0x80000000) == 0x80000000); + return ((bitField0_ & 0x80000000) != 0); + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + * @return The leaveGameRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { + return leaveGameRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance() : leaveGameRequestMessage_; } /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; */ - public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { - return leaveGameRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder getLeaveGameRequestMessageOrBuilder() { + return leaveGameRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance() : leaveGameRequestMessage_; } - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; public static final int INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER = 33; private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + * @return Whether the invitePlayerToGameMessage field is set. */ + @java.lang.Override public boolean hasInvitePlayerToGameMessage() { - return ((bitField1_ & 0x00000001) == 0x00000001); + return ((bitField1_ & 0x00000001) != 0); + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + * @return The invitePlayerToGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { + return invitePlayerToGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance() : invitePlayerToGameMessage_; } /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; */ - public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { - return invitePlayerToGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder getInvitePlayerToGameMessageOrBuilder() { + return invitePlayerToGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance() : invitePlayerToGameMessage_; } - // optional .InviteNotifyMessage inviteNotifyMessage = 34; public static final int INVITENOTIFYMESSAGE_FIELD_NUMBER = 34; private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; + * @return Whether the inviteNotifyMessage field is set. */ + @java.lang.Override public boolean hasInviteNotifyMessage() { - return ((bitField1_ & 0x00000002) == 0x00000002); + return ((bitField1_ & 0x00000002) != 0); + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + * @return The inviteNotifyMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { + return inviteNotifyMessage_ == null ? de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance() : inviteNotifyMessage_; } /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; */ - public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { - return inviteNotifyMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder getInviteNotifyMessageOrBuilder() { + return inviteNotifyMessage_ == null ? de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance() : inviteNotifyMessage_; } - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; public static final int REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER = 35; private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + * @return Whether the rejectGameInvitationMessage field is set. */ + @java.lang.Override public boolean hasRejectGameInvitationMessage() { - return ((bitField1_ & 0x00000004) == 0x00000004); + return ((bitField1_ & 0x00000004) != 0); + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + * @return The rejectGameInvitationMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { + return rejectGameInvitationMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance() : rejectGameInvitationMessage_; } /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; */ - public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { - return rejectGameInvitationMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder getRejectGameInvitationMessageOrBuilder() { + return rejectGameInvitationMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance() : rejectGameInvitationMessage_; } - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; public static final int REJECTINVNOTIFYMESSAGE_FIELD_NUMBER = 36; private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + * @return Whether the rejectInvNotifyMessage field is set. */ + @java.lang.Override public boolean hasRejectInvNotifyMessage() { - return ((bitField1_ & 0x00000008) == 0x00000008); + return ((bitField1_ & 0x00000008) != 0); + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + * @return The rejectInvNotifyMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { + return rejectInvNotifyMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance() : rejectInvNotifyMessage_; } /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; */ - public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { - return rejectInvNotifyMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder getRejectInvNotifyMessageOrBuilder() { + return rejectInvNotifyMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance() : rejectInvNotifyMessage_; } - // optional .StartEventMessage startEventMessage = 37; public static final int STARTEVENTMESSAGE_FIELD_NUMBER = 37; private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; /** * optional .StartEventMessage startEventMessage = 37; + * @return Whether the startEventMessage field is set. */ + @java.lang.Override public boolean hasStartEventMessage() { - return ((bitField1_ & 0x00000010) == 0x00000010); + return ((bitField1_ & 0x00000010) != 0); + } + /** + * optional .StartEventMessage startEventMessage = 37; + * @return The startEventMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { + return startEventMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance() : startEventMessage_; } /** * optional .StartEventMessage startEventMessage = 37; */ - public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { - return startEventMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder getStartEventMessageOrBuilder() { + return startEventMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance() : startEventMessage_; } - // optional .StartEventAckMessage startEventAckMessage = 38; public static final int STARTEVENTACKMESSAGE_FIELD_NUMBER = 38; private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; /** * optional .StartEventAckMessage startEventAckMessage = 38; + * @return Whether the startEventAckMessage field is set. */ + @java.lang.Override public boolean hasStartEventAckMessage() { - return ((bitField1_ & 0x00000020) == 0x00000020); + return ((bitField1_ & 0x00000020) != 0); + } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + * @return The startEventAckMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { + return startEventAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance() : startEventAckMessage_; } /** * optional .StartEventAckMessage startEventAckMessage = 38; */ - public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { - return startEventAckMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder getStartEventAckMessageOrBuilder() { + return startEventAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance() : startEventAckMessage_; } - // optional .GameStartInitialMessage gameStartInitialMessage = 39; public static final int GAMESTARTINITIALMESSAGE_FIELD_NUMBER = 39; private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; + * @return Whether the gameStartInitialMessage field is set. */ + @java.lang.Override public boolean hasGameStartInitialMessage() { - return ((bitField1_ & 0x00000040) == 0x00000040); + return ((bitField1_ & 0x00000040) != 0); + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + * @return The gameStartInitialMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { + return gameStartInitialMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance() : gameStartInitialMessage_; } /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; */ - public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { - return gameStartInitialMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder getGameStartInitialMessageOrBuilder() { + return gameStartInitialMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance() : gameStartInitialMessage_; } - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; public static final int GAMESTARTREJOINMESSAGE_FIELD_NUMBER = 40; private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + * @return Whether the gameStartRejoinMessage field is set. */ + @java.lang.Override public boolean hasGameStartRejoinMessage() { - return ((bitField1_ & 0x00000080) == 0x00000080); + return ((bitField1_ & 0x00000080) != 0); + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + * @return The gameStartRejoinMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { + return gameStartRejoinMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance() : gameStartRejoinMessage_; } /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; */ - public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { - return gameStartRejoinMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder getGameStartRejoinMessageOrBuilder() { + return gameStartRejoinMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance() : gameStartRejoinMessage_; } - // optional .HandStartMessage handStartMessage = 41; public static final int HANDSTARTMESSAGE_FIELD_NUMBER = 41; private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; /** * optional .HandStartMessage handStartMessage = 41; + * @return Whether the handStartMessage field is set. */ + @java.lang.Override public boolean hasHandStartMessage() { - return ((bitField1_ & 0x00000100) == 0x00000100); + return ((bitField1_ & 0x00000100) != 0); + } + /** + * optional .HandStartMessage handStartMessage = 41; + * @return The handStartMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { + return handStartMessage_ == null ? de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance() : handStartMessage_; } /** * optional .HandStartMessage handStartMessage = 41; */ - public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { - return handStartMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder getHandStartMessageOrBuilder() { + return handStartMessage_ == null ? de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance() : handStartMessage_; } - // optional .PlayersTurnMessage playersTurnMessage = 42; public static final int PLAYERSTURNMESSAGE_FIELD_NUMBER = 42; private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; /** * optional .PlayersTurnMessage playersTurnMessage = 42; + * @return Whether the playersTurnMessage field is set. */ + @java.lang.Override public boolean hasPlayersTurnMessage() { - return ((bitField1_ & 0x00000200) == 0x00000200); + return ((bitField1_ & 0x00000200) != 0); + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + * @return The playersTurnMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { + return playersTurnMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance() : playersTurnMessage_; } /** * optional .PlayersTurnMessage playersTurnMessage = 42; */ - public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { - return playersTurnMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder getPlayersTurnMessageOrBuilder() { + return playersTurnMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance() : playersTurnMessage_; } - // optional .MyActionRequestMessage myActionRequestMessage = 43; public static final int MYACTIONREQUESTMESSAGE_FIELD_NUMBER = 43; private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; /** * optional .MyActionRequestMessage myActionRequestMessage = 43; + * @return Whether the myActionRequestMessage field is set. */ + @java.lang.Override public boolean hasMyActionRequestMessage() { - return ((bitField1_ & 0x00000400) == 0x00000400); + return ((bitField1_ & 0x00000400) != 0); + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + * @return The myActionRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { + return myActionRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance() : myActionRequestMessage_; } /** * optional .MyActionRequestMessage myActionRequestMessage = 43; */ - public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { - return myActionRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder getMyActionRequestMessageOrBuilder() { + return myActionRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance() : myActionRequestMessage_; } - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; public static final int YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER = 44; private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + * @return Whether the yourActionRejectedMessage field is set. */ + @java.lang.Override public boolean hasYourActionRejectedMessage() { - return ((bitField1_ & 0x00000800) == 0x00000800); + return ((bitField1_ & 0x00000800) != 0); + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + * @return The yourActionRejectedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { + return yourActionRejectedMessage_ == null ? de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance() : yourActionRejectedMessage_; } /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; */ - public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { - return yourActionRejectedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder getYourActionRejectedMessageOrBuilder() { + return yourActionRejectedMessage_ == null ? de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance() : yourActionRejectedMessage_; } - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; public static final int PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER = 45; private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + * @return Whether the playersActionDoneMessage field is set. */ + @java.lang.Override public boolean hasPlayersActionDoneMessage() { - return ((bitField1_ & 0x00001000) == 0x00001000); + return ((bitField1_ & 0x00001000) != 0); + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + * @return The playersActionDoneMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { + return playersActionDoneMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance() : playersActionDoneMessage_; } /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; */ - public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { - return playersActionDoneMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder getPlayersActionDoneMessageOrBuilder() { + return playersActionDoneMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance() : playersActionDoneMessage_; } - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; public static final int DEALFLOPCARDSMESSAGE_FIELD_NUMBER = 46; private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + * @return Whether the dealFlopCardsMessage field is set. */ + @java.lang.Override public boolean hasDealFlopCardsMessage() { - return ((bitField1_ & 0x00002000) == 0x00002000); + return ((bitField1_ & 0x00002000) != 0); + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + * @return The dealFlopCardsMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { + return dealFlopCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance() : dealFlopCardsMessage_; } /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; */ - public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { - return dealFlopCardsMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder getDealFlopCardsMessageOrBuilder() { + return dealFlopCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance() : dealFlopCardsMessage_; } - // optional .DealTurnCardMessage dealTurnCardMessage = 47; public static final int DEALTURNCARDMESSAGE_FIELD_NUMBER = 47; private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; + * @return Whether the dealTurnCardMessage field is set. */ + @java.lang.Override public boolean hasDealTurnCardMessage() { - return ((bitField1_ & 0x00004000) == 0x00004000); + return ((bitField1_ & 0x00004000) != 0); + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + * @return The dealTurnCardMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { + return dealTurnCardMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance() : dealTurnCardMessage_; } /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; */ - public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { - return dealTurnCardMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder getDealTurnCardMessageOrBuilder() { + return dealTurnCardMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance() : dealTurnCardMessage_; } - // optional .DealRiverCardMessage dealRiverCardMessage = 48; public static final int DEALRIVERCARDMESSAGE_FIELD_NUMBER = 48; private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; + * @return Whether the dealRiverCardMessage field is set. */ + @java.lang.Override public boolean hasDealRiverCardMessage() { - return ((bitField1_ & 0x00008000) == 0x00008000); + return ((bitField1_ & 0x00008000) != 0); + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + * @return The dealRiverCardMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { + return dealRiverCardMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance() : dealRiverCardMessage_; } /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; */ - public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { - return dealRiverCardMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder getDealRiverCardMessageOrBuilder() { + return dealRiverCardMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance() : dealRiverCardMessage_; } - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; public static final int ALLINSHOWCARDSMESSAGE_FIELD_NUMBER = 49; private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + * @return Whether the allInShowCardsMessage field is set. */ + @java.lang.Override public boolean hasAllInShowCardsMessage() { - return ((bitField1_ & 0x00010000) == 0x00010000); + return ((bitField1_ & 0x00010000) != 0); + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + * @return The allInShowCardsMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { + return allInShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance() : allInShowCardsMessage_; } /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; */ - public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { - return allInShowCardsMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder getAllInShowCardsMessageOrBuilder() { + return allInShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance() : allInShowCardsMessage_; } - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; public static final int ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 50; private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + * @return Whether the endOfHandShowCardsMessage field is set. */ + @java.lang.Override public boolean hasEndOfHandShowCardsMessage() { - return ((bitField1_ & 0x00020000) == 0x00020000); + return ((bitField1_ & 0x00020000) != 0); + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + * @return The endOfHandShowCardsMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { + return endOfHandShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance() : endOfHandShowCardsMessage_; } /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; */ - public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { - return endOfHandShowCardsMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder getEndOfHandShowCardsMessageOrBuilder() { + return endOfHandShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance() : endOfHandShowCardsMessage_; } - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; public static final int ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER = 51; private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + * @return Whether the endOfHandHideCardsMessage field is set. */ + @java.lang.Override public boolean hasEndOfHandHideCardsMessage() { - return ((bitField1_ & 0x00040000) == 0x00040000); + return ((bitField1_ & 0x00040000) != 0); + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + * @return The endOfHandHideCardsMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { + return endOfHandHideCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance() : endOfHandHideCardsMessage_; } /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; */ - public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { - return endOfHandHideCardsMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder getEndOfHandHideCardsMessageOrBuilder() { + return endOfHandHideCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance() : endOfHandHideCardsMessage_; } - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; public static final int SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER = 52; private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + * @return Whether the showMyCardsRequestMessage field is set. */ + @java.lang.Override public boolean hasShowMyCardsRequestMessage() { - return ((bitField1_ & 0x00080000) == 0x00080000); + return ((bitField1_ & 0x00080000) != 0); + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + * @return The showMyCardsRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { + return showMyCardsRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance() : showMyCardsRequestMessage_; } /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; */ - public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { - return showMyCardsRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder getShowMyCardsRequestMessageOrBuilder() { + return showMyCardsRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance() : showMyCardsRequestMessage_; } - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; public static final int AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER = 53; private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + * @return Whether the afterHandShowCardsMessage field is set. */ + @java.lang.Override public boolean hasAfterHandShowCardsMessage() { - return ((bitField1_ & 0x00100000) == 0x00100000); + return ((bitField1_ & 0x00100000) != 0); + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + * @return The afterHandShowCardsMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { + return afterHandShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance() : afterHandShowCardsMessage_; } /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; */ - public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { - return afterHandShowCardsMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder getAfterHandShowCardsMessageOrBuilder() { + return afterHandShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance() : afterHandShowCardsMessage_; } - // optional .EndOfGameMessage endOfGameMessage = 54; public static final int ENDOFGAMEMESSAGE_FIELD_NUMBER = 54; private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; /** * optional .EndOfGameMessage endOfGameMessage = 54; + * @return Whether the endOfGameMessage field is set. */ + @java.lang.Override public boolean hasEndOfGameMessage() { - return ((bitField1_ & 0x00200000) == 0x00200000); + return ((bitField1_ & 0x00200000) != 0); + } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + * @return The endOfGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { + return endOfGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance() : endOfGameMessage_; } /** * optional .EndOfGameMessage endOfGameMessage = 54; */ - public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { - return endOfGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder getEndOfGameMessageOrBuilder() { + return endOfGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance() : endOfGameMessage_; } - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; public static final int PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER = 55; private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + * @return Whether the playerIdChangedMessage field is set. */ + @java.lang.Override public boolean hasPlayerIdChangedMessage() { - return ((bitField1_ & 0x00400000) == 0x00400000); + return ((bitField1_ & 0x00400000) != 0); + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + * @return The playerIdChangedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { + return playerIdChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance() : playerIdChangedMessage_; } /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; */ - public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { - return playerIdChangedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder getPlayerIdChangedMessageOrBuilder() { + return playerIdChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance() : playerIdChangedMessage_; } - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; public static final int ASKKICKPLAYERMESSAGE_FIELD_NUMBER = 56; private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + * @return Whether the askKickPlayerMessage field is set. */ + @java.lang.Override public boolean hasAskKickPlayerMessage() { - return ((bitField1_ & 0x00800000) == 0x00800000); + return ((bitField1_ & 0x00800000) != 0); + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + * @return The askKickPlayerMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { + return askKickPlayerMessage_ == null ? de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance() : askKickPlayerMessage_; } /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; */ - public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { - return askKickPlayerMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder getAskKickPlayerMessageOrBuilder() { + return askKickPlayerMessage_ == null ? de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance() : askKickPlayerMessage_; } - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; public static final int ASKKICKDENIEDMESSAGE_FIELD_NUMBER = 57; private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + * @return Whether the askKickDeniedMessage field is set. */ + @java.lang.Override public boolean hasAskKickDeniedMessage() { - return ((bitField1_ & 0x01000000) == 0x01000000); + return ((bitField1_ & 0x01000000) != 0); + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + * @return The askKickDeniedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { + return askKickDeniedMessage_ == null ? de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance() : askKickDeniedMessage_; } /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; */ - public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { - return askKickDeniedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder getAskKickDeniedMessageOrBuilder() { + return askKickDeniedMessage_ == null ? de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance() : askKickDeniedMessage_; } - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; public static final int STARTKICKPETITIONMESSAGE_FIELD_NUMBER = 58; private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + * @return Whether the startKickPetitionMessage field is set. */ + @java.lang.Override public boolean hasStartKickPetitionMessage() { - return ((bitField1_ & 0x02000000) == 0x02000000); + return ((bitField1_ & 0x02000000) != 0); + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + * @return The startKickPetitionMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { + return startKickPetitionMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance() : startKickPetitionMessage_; } /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; */ - public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { - return startKickPetitionMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder getStartKickPetitionMessageOrBuilder() { + return startKickPetitionMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance() : startKickPetitionMessage_; } - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; public static final int VOTEKICKREQUESTMESSAGE_FIELD_NUMBER = 59; private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + * @return Whether the voteKickRequestMessage field is set. */ + @java.lang.Override public boolean hasVoteKickRequestMessage() { - return ((bitField1_ & 0x04000000) == 0x04000000); + return ((bitField1_ & 0x04000000) != 0); + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + * @return The voteKickRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { + return voteKickRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance() : voteKickRequestMessage_; } /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; */ - public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { - return voteKickRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder getVoteKickRequestMessageOrBuilder() { + return voteKickRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance() : voteKickRequestMessage_; } - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; public static final int VOTEKICKREPLYMESSAGE_FIELD_NUMBER = 60; private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + * @return Whether the voteKickReplyMessage field is set. */ + @java.lang.Override public boolean hasVoteKickReplyMessage() { - return ((bitField1_ & 0x08000000) == 0x08000000); + return ((bitField1_ & 0x08000000) != 0); + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + * @return The voteKickReplyMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { + return voteKickReplyMessage_ == null ? de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance() : voteKickReplyMessage_; } /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; */ - public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { - return voteKickReplyMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder getVoteKickReplyMessageOrBuilder() { + return voteKickReplyMessage_ == null ? de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance() : voteKickReplyMessage_; } - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; public static final int KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER = 61; private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + * @return Whether the kickPetitionUpdateMessage field is set. */ + @java.lang.Override public boolean hasKickPetitionUpdateMessage() { - return ((bitField1_ & 0x10000000) == 0x10000000); + return ((bitField1_ & 0x10000000) != 0); + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + * @return The kickPetitionUpdateMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { + return kickPetitionUpdateMessage_ == null ? de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance() : kickPetitionUpdateMessage_; } /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; */ - public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { - return kickPetitionUpdateMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder getKickPetitionUpdateMessageOrBuilder() { + return kickPetitionUpdateMessage_ == null ? de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance() : kickPetitionUpdateMessage_; } - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; public static final int ENDKICKPETITIONMESSAGE_FIELD_NUMBER = 62; private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + * @return Whether the endKickPetitionMessage field is set. */ + @java.lang.Override public boolean hasEndKickPetitionMessage() { - return ((bitField1_ & 0x20000000) == 0x20000000); + return ((bitField1_ & 0x20000000) != 0); + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + * @return The endKickPetitionMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { + return endKickPetitionMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance() : endKickPetitionMessage_; } /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; */ - public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { - return endKickPetitionMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder getEndKickPetitionMessageOrBuilder() { + return endKickPetitionMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance() : endKickPetitionMessage_; } - // optional .StatisticsMessage statisticsMessage = 63; public static final int STATISTICSMESSAGE_FIELD_NUMBER = 63; private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; /** * optional .StatisticsMessage statisticsMessage = 63; + * @return Whether the statisticsMessage field is set. */ + @java.lang.Override public boolean hasStatisticsMessage() { - return ((bitField1_ & 0x40000000) == 0x40000000); + return ((bitField1_ & 0x40000000) != 0); + } + /** + * optional .StatisticsMessage statisticsMessage = 63; + * @return The statisticsMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { + return statisticsMessage_ == null ? de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance() : statisticsMessage_; } /** * optional .StatisticsMessage statisticsMessage = 63; */ - public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { - return statisticsMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder getStatisticsMessageOrBuilder() { + return statisticsMessage_ == null ? de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance() : statisticsMessage_; } - // optional .ChatRequestMessage chatRequestMessage = 64; public static final int CHATREQUESTMESSAGE_FIELD_NUMBER = 64; private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; /** * optional .ChatRequestMessage chatRequestMessage = 64; + * @return Whether the chatRequestMessage field is set. */ + @java.lang.Override public boolean hasChatRequestMessage() { - return ((bitField1_ & 0x80000000) == 0x80000000); + return ((bitField1_ & 0x80000000) != 0); + } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + * @return The chatRequestMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { + return chatRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance() : chatRequestMessage_; } /** * optional .ChatRequestMessage chatRequestMessage = 64; */ - public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { - return chatRequestMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder getChatRequestMessageOrBuilder() { + return chatRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance() : chatRequestMessage_; } - // optional .ChatMessage chatMessage = 65; public static final int CHATMESSAGE_FIELD_NUMBER = 65; private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; /** * optional .ChatMessage chatMessage = 65; + * @return Whether the chatMessage field is set. */ + @java.lang.Override public boolean hasChatMessage() { - return ((bitField2_ & 0x00000001) == 0x00000001); + return ((bitField2_ & 0x00000001) != 0); + } + /** + * optional .ChatMessage chatMessage = 65; + * @return The chatMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { + return chatMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance() : chatMessage_; } /** * optional .ChatMessage chatMessage = 65; */ - public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { - return chatMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder getChatMessageOrBuilder() { + return chatMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance() : chatMessage_; } - // optional .ChatRejectMessage chatRejectMessage = 66; public static final int CHATREJECTMESSAGE_FIELD_NUMBER = 66; private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; /** * optional .ChatRejectMessage chatRejectMessage = 66; + * @return Whether the chatRejectMessage field is set. */ + @java.lang.Override public boolean hasChatRejectMessage() { - return ((bitField2_ & 0x00000002) == 0x00000002); + return ((bitField2_ & 0x00000002) != 0); + } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + * @return The chatRejectMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { + return chatRejectMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance() : chatRejectMessage_; } /** * optional .ChatRejectMessage chatRejectMessage = 66; */ - public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { - return chatRejectMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder getChatRejectMessageOrBuilder() { + return chatRejectMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance() : chatRejectMessage_; } - // optional .DialogMessage dialogMessage = 67; public static final int DIALOGMESSAGE_FIELD_NUMBER = 67; private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; /** * optional .DialogMessage dialogMessage = 67; + * @return Whether the dialogMessage field is set. */ + @java.lang.Override public boolean hasDialogMessage() { - return ((bitField2_ & 0x00000004) == 0x00000004); + return ((bitField2_ & 0x00000004) != 0); + } + /** + * optional .DialogMessage dialogMessage = 67; + * @return The dialogMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { + return dialogMessage_ == null ? de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance() : dialogMessage_; } /** * optional .DialogMessage dialogMessage = 67; */ - public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { - return dialogMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder getDialogMessageOrBuilder() { + return dialogMessage_ == null ? de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance() : dialogMessage_; } - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; public static final int TIMEOUTWARNINGMESSAGE_FIELD_NUMBER = 68; private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + * @return Whether the timeoutWarningMessage field is set. */ + @java.lang.Override public boolean hasTimeoutWarningMessage() { - return ((bitField2_ & 0x00000008) == 0x00000008); + return ((bitField2_ & 0x00000008) != 0); + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + * @return The timeoutWarningMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { + return timeoutWarningMessage_ == null ? de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance() : timeoutWarningMessage_; } /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; */ - public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { - return timeoutWarningMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder getTimeoutWarningMessageOrBuilder() { + return timeoutWarningMessage_ == null ? de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance() : timeoutWarningMessage_; } - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; public static final int RESETTIMEOUTMESSAGE_FIELD_NUMBER = 69; private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + * @return Whether the resetTimeoutMessage field is set. */ + @java.lang.Override public boolean hasResetTimeoutMessage() { - return ((bitField2_ & 0x00000010) == 0x00000010); + return ((bitField2_ & 0x00000010) != 0); + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + * @return The resetTimeoutMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { + return resetTimeoutMessage_ == null ? de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance() : resetTimeoutMessage_; } /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; */ - public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { - return resetTimeoutMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder getResetTimeoutMessageOrBuilder() { + return resetTimeoutMessage_ == null ? de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance() : resetTimeoutMessage_; } - // optional .ReportAvatarMessage reportAvatarMessage = 70; public static final int REPORTAVATARMESSAGE_FIELD_NUMBER = 70; private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; /** * optional .ReportAvatarMessage reportAvatarMessage = 70; + * @return Whether the reportAvatarMessage field is set. */ + @java.lang.Override public boolean hasReportAvatarMessage() { - return ((bitField2_ & 0x00000020) == 0x00000020); + return ((bitField2_ & 0x00000020) != 0); + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + * @return The reportAvatarMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { + return reportAvatarMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance() : reportAvatarMessage_; } /** * optional .ReportAvatarMessage reportAvatarMessage = 70; */ - public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { - return reportAvatarMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder getReportAvatarMessageOrBuilder() { + return reportAvatarMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance() : reportAvatarMessage_; } - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; public static final int REPORTAVATARACKMESSAGE_FIELD_NUMBER = 71; private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + * @return Whether the reportAvatarAckMessage field is set. */ + @java.lang.Override public boolean hasReportAvatarAckMessage() { - return ((bitField2_ & 0x00000040) == 0x00000040); + return ((bitField2_ & 0x00000040) != 0); + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + * @return The reportAvatarAckMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { + return reportAvatarAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance() : reportAvatarAckMessage_; } /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; */ - public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { - return reportAvatarAckMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder getReportAvatarAckMessageOrBuilder() { + return reportAvatarAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance() : reportAvatarAckMessage_; } - // optional .ReportGameMessage reportGameMessage = 72; public static final int REPORTGAMEMESSAGE_FIELD_NUMBER = 72; private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; /** * optional .ReportGameMessage reportGameMessage = 72; + * @return Whether the reportGameMessage field is set. */ + @java.lang.Override public boolean hasReportGameMessage() { - return ((bitField2_ & 0x00000080) == 0x00000080); + return ((bitField2_ & 0x00000080) != 0); + } + /** + * optional .ReportGameMessage reportGameMessage = 72; + * @return The reportGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { + return reportGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance() : reportGameMessage_; } /** * optional .ReportGameMessage reportGameMessage = 72; */ - public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { - return reportGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder getReportGameMessageOrBuilder() { + return reportGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance() : reportGameMessage_; } - // optional .ReportGameAckMessage reportGameAckMessage = 73; public static final int REPORTGAMEACKMESSAGE_FIELD_NUMBER = 73; private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; /** * optional .ReportGameAckMessage reportGameAckMessage = 73; + * @return Whether the reportGameAckMessage field is set. */ + @java.lang.Override public boolean hasReportGameAckMessage() { - return ((bitField2_ & 0x00000100) == 0x00000100); + return ((bitField2_ & 0x00000100) != 0); + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + * @return The reportGameAckMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { + return reportGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance() : reportGameAckMessage_; } /** * optional .ReportGameAckMessage reportGameAckMessage = 73; */ - public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { - return reportGameAckMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder getReportGameAckMessageOrBuilder() { + return reportGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance() : reportGameAckMessage_; } - // optional .ErrorMessage errorMessage = 74; public static final int ERRORMESSAGE_FIELD_NUMBER = 74; private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; /** * optional .ErrorMessage errorMessage = 74; + * @return Whether the errorMessage field is set. */ + @java.lang.Override public boolean hasErrorMessage() { - return ((bitField2_ & 0x00000200) == 0x00000200); + return ((bitField2_ & 0x00000200) != 0); + } + /** + * optional .ErrorMessage errorMessage = 74; + * @return The errorMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { + return errorMessage_ == null ? de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance() : errorMessage_; } /** * optional .ErrorMessage errorMessage = 74; */ - public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { - return errorMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder getErrorMessageOrBuilder() { + return errorMessage_ == null ? de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance() : errorMessage_; } - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; public static final int ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER = 75; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + * @return Whether the adminRemoveGameMessage field is set. */ + @java.lang.Override public boolean hasAdminRemoveGameMessage() { - return ((bitField2_ & 0x00000400) == 0x00000400); + return ((bitField2_ & 0x00000400) != 0); + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + * @return The adminRemoveGameMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { + return adminRemoveGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance() : adminRemoveGameMessage_; } /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; */ - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { - return adminRemoveGameMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder getAdminRemoveGameMessageOrBuilder() { + return adminRemoveGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance() : adminRemoveGameMessage_; } - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; public static final int ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER = 76; private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + * @return Whether the adminRemoveGameAckMessage field is set. */ + @java.lang.Override public boolean hasAdminRemoveGameAckMessage() { - return ((bitField2_ & 0x00000800) == 0x00000800); + return ((bitField2_ & 0x00000800) != 0); + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + * @return The adminRemoveGameAckMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { + return adminRemoveGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance() : adminRemoveGameAckMessage_; } /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; */ - public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { - return adminRemoveGameAckMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder getAdminRemoveGameAckMessageOrBuilder() { + return adminRemoveGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance() : adminRemoveGameAckMessage_; } - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; public static final int ADMINBANPLAYERMESSAGE_FIELD_NUMBER = 77; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + * @return Whether the adminBanPlayerMessage field is set. */ + @java.lang.Override public boolean hasAdminBanPlayerMessage() { - return ((bitField2_ & 0x00001000) == 0x00001000); + return ((bitField2_ & 0x00001000) != 0); + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + * @return The adminBanPlayerMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { + return adminBanPlayerMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance() : adminBanPlayerMessage_; } /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; */ - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { - return adminBanPlayerMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder getAdminBanPlayerMessageOrBuilder() { + return adminBanPlayerMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance() : adminBanPlayerMessage_; } - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; public static final int ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER = 78; private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + * @return Whether the adminBanPlayerAckMessage field is set. */ + @java.lang.Override public boolean hasAdminBanPlayerAckMessage() { - return ((bitField2_ & 0x00002000) == 0x00002000); + return ((bitField2_ & 0x00002000) != 0); + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + * @return The adminBanPlayerAckMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { + return adminBanPlayerAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance() : adminBanPlayerAckMessage_; } /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; */ - public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { - return adminBanPlayerAckMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder getAdminBanPlayerAckMessageOrBuilder() { + return adminBanPlayerAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance() : adminBanPlayerAckMessage_; } - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; public static final int GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER = 79; private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + * @return Whether the gameListSpectatorJoinedMessage field is set. */ + @java.lang.Override public boolean hasGameListSpectatorJoinedMessage() { - return ((bitField2_ & 0x00004000) == 0x00004000); + return ((bitField2_ & 0x00004000) != 0); + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + * @return The gameListSpectatorJoinedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { + return gameListSpectatorJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance() : gameListSpectatorJoinedMessage_; } /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; */ - public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { - return gameListSpectatorJoinedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder getGameListSpectatorJoinedMessageOrBuilder() { + return gameListSpectatorJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance() : gameListSpectatorJoinedMessage_; } - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; public static final int GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER = 80; private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + * @return Whether the gameListSpectatorLeftMessage field is set. */ + @java.lang.Override public boolean hasGameListSpectatorLeftMessage() { - return ((bitField2_ & 0x00008000) == 0x00008000); + return ((bitField2_ & 0x00008000) != 0); + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + * @return The gameListSpectatorLeftMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { + return gameListSpectatorLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance() : gameListSpectatorLeftMessage_; } /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; */ - public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { - return gameListSpectatorLeftMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder getGameListSpectatorLeftMessageOrBuilder() { + return gameListSpectatorLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance() : gameListSpectatorLeftMessage_; } - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; public static final int GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER = 81; private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + * @return Whether the gameSpectatorJoinedMessage field is set. */ + @java.lang.Override public boolean hasGameSpectatorJoinedMessage() { - return ((bitField2_ & 0x00010000) == 0x00010000); + return ((bitField2_ & 0x00010000) != 0); + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + * @return The gameSpectatorJoinedMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { + return gameSpectatorJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance() : gameSpectatorJoinedMessage_; } /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; */ - public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { - return gameSpectatorJoinedMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder getGameSpectatorJoinedMessageOrBuilder() { + return gameSpectatorJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance() : gameSpectatorJoinedMessage_; } - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; public static final int GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER = 82; private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + * @return Whether the gameSpectatorLeftMessage field is set. */ + @java.lang.Override public boolean hasGameSpectatorLeftMessage() { - return ((bitField2_ & 0x00020000) == 0x00020000); + return ((bitField2_ & 0x00020000) != 0); + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + * @return The gameSpectatorLeftMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { + return gameSpectatorLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance() : gameSpectatorLeftMessage_; } /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; */ - public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { - return gameSpectatorLeftMessage_; + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder getGameSpectatorLeftMessageOrBuilder() { + return gameSpectatorLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance() : gameSpectatorLeftMessage_; } - private void initFields() { - messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; - announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); - initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); - authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); - authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); - authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); - initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); - avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); - avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); - unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); - playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); - gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); - gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); - gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); - gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); - playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); - subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); - rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); - joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); - gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); - gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); - removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); - kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); - leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); - inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); - rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); - startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); - startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); - gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); - gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); - handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); - playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); - yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); - playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); - dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); - dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); - dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); - allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); - endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); - endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); - afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); - endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); - askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); - askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); - startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); - voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); - voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); - kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); - endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); - statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); - chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); - dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); - timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); - reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); - reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); - reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); - errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); - adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); - adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); - adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); - gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); - gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); - gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + public static final int GAMESTARTREENTRYMESSAGE_FIELD_NUMBER = 83; + private de.pokerth.protocol.ProtoBuf.GameStartReentryMessage gameStartReentryMessage_; + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + * @return Whether the gameStartReentryMessage field is set. + */ + @java.lang.Override + public boolean hasGameStartReentryMessage() { + return ((bitField2_ & 0x00040000) != 0); } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + * @return The gameStartReentryMessage. + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage getGameStartReentryMessage() { + return gameStartReentryMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.getDefaultInstance() : gameStartReentryMessage_; + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessageOrBuilder getGameStartReentryMessageOrBuilder() { + return gameStartReentryMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.getDefaultInstance() : gameStartReentryMessage_; + } + private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasMessageType()) { memoizedIsInitialized = 0; @@ -54746,606 +80451,1397 @@ public final class ProtoBuf { return false; } } + if (hasGameStartReentryMessage()) { + if (!getGameStartReentryMessage().isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } memoizedIsInitialized = 1; return true; } + @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeEnum(1, messageType_.getNumber()); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, messageType_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeMessage(2, announceMessage_); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getAnnounceMessage()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeMessage(3, initMessage_); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getInitMessage()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { - output.writeMessage(4, authServerChallengeMessage_); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(4, getAuthServerChallengeMessage()); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeMessage(5, authClientResponseMessage_); + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(5, getAuthClientResponseMessage()); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeMessage(6, authServerVerificationMessage_); + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(6, getAuthServerVerificationMessage()); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { - output.writeMessage(7, initAckMessage_); + if (((bitField0_ & 0x00000040) != 0)) { + output.writeMessage(7, getInitAckMessage()); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { - output.writeMessage(8, avatarRequestMessage_); + if (((bitField0_ & 0x00000080) != 0)) { + output.writeMessage(8, getAvatarRequestMessage()); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { - output.writeMessage(9, avatarHeaderMessage_); + if (((bitField0_ & 0x00000100) != 0)) { + output.writeMessage(9, getAvatarHeaderMessage()); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { - output.writeMessage(10, avatarDataMessage_); + if (((bitField0_ & 0x00000200) != 0)) { + output.writeMessage(10, getAvatarDataMessage()); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { - output.writeMessage(11, avatarEndMessage_); + if (((bitField0_ & 0x00000400) != 0)) { + output.writeMessage(11, getAvatarEndMessage()); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { - output.writeMessage(12, unknownAvatarMessage_); + if (((bitField0_ & 0x00000800) != 0)) { + output.writeMessage(12, getUnknownAvatarMessage()); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { - output.writeMessage(13, playerListMessage_); + if (((bitField0_ & 0x00001000) != 0)) { + output.writeMessage(13, getPlayerListMessage()); } - if (((bitField0_ & 0x00002000) == 0x00002000)) { - output.writeMessage(14, gameListNewMessage_); + if (((bitField0_ & 0x00002000) != 0)) { + output.writeMessage(14, getGameListNewMessage()); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { - output.writeMessage(15, gameListUpdateMessage_); + if (((bitField0_ & 0x00004000) != 0)) { + output.writeMessage(15, getGameListUpdateMessage()); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { - output.writeMessage(16, gameListPlayerJoinedMessage_); + if (((bitField0_ & 0x00008000) != 0)) { + output.writeMessage(16, getGameListPlayerJoinedMessage()); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { - output.writeMessage(17, gameListPlayerLeftMessage_); + if (((bitField0_ & 0x00010000) != 0)) { + output.writeMessage(17, getGameListPlayerLeftMessage()); } - if (((bitField0_ & 0x00020000) == 0x00020000)) { - output.writeMessage(18, gameListAdminChangedMessage_); + if (((bitField0_ & 0x00020000) != 0)) { + output.writeMessage(18, getGameListAdminChangedMessage()); } - if (((bitField0_ & 0x00040000) == 0x00040000)) { - output.writeMessage(19, playerInfoRequestMessage_); + if (((bitField0_ & 0x00040000) != 0)) { + output.writeMessage(19, getPlayerInfoRequestMessage()); } - if (((bitField0_ & 0x00080000) == 0x00080000)) { - output.writeMessage(20, playerInfoReplyMessage_); + if (((bitField0_ & 0x00080000) != 0)) { + output.writeMessage(20, getPlayerInfoReplyMessage()); } - if (((bitField0_ & 0x00100000) == 0x00100000)) { - output.writeMessage(21, subscriptionRequestMessage_); + if (((bitField0_ & 0x00100000) != 0)) { + output.writeMessage(21, getSubscriptionRequestMessage()); } - if (((bitField0_ & 0x00200000) == 0x00200000)) { - output.writeMessage(22, joinExistingGameMessage_); + if (((bitField0_ & 0x00200000) != 0)) { + output.writeMessage(22, getJoinExistingGameMessage()); } - if (((bitField0_ & 0x00400000) == 0x00400000)) { - output.writeMessage(23, joinNewGameMessage_); + if (((bitField0_ & 0x00400000) != 0)) { + output.writeMessage(23, getJoinNewGameMessage()); } - if (((bitField0_ & 0x00800000) == 0x00800000)) { - output.writeMessage(24, rejoinExistingGameMessage_); + if (((bitField0_ & 0x00800000) != 0)) { + output.writeMessage(24, getRejoinExistingGameMessage()); } - if (((bitField0_ & 0x01000000) == 0x01000000)) { - output.writeMessage(25, joinGameAckMessage_); + if (((bitField0_ & 0x01000000) != 0)) { + output.writeMessage(25, getJoinGameAckMessage()); } - if (((bitField0_ & 0x02000000) == 0x02000000)) { - output.writeMessage(26, joinGameFailedMessage_); + if (((bitField0_ & 0x02000000) != 0)) { + output.writeMessage(26, getJoinGameFailedMessage()); } - if (((bitField0_ & 0x04000000) == 0x04000000)) { - output.writeMessage(27, gamePlayerJoinedMessage_); + if (((bitField0_ & 0x04000000) != 0)) { + output.writeMessage(27, getGamePlayerJoinedMessage()); } - if (((bitField0_ & 0x08000000) == 0x08000000)) { - output.writeMessage(28, gamePlayerLeftMessage_); + if (((bitField0_ & 0x08000000) != 0)) { + output.writeMessage(28, getGamePlayerLeftMessage()); } - if (((bitField0_ & 0x10000000) == 0x10000000)) { - output.writeMessage(29, gameAdminChangedMessage_); + if (((bitField0_ & 0x10000000) != 0)) { + output.writeMessage(29, getGameAdminChangedMessage()); } - if (((bitField0_ & 0x20000000) == 0x20000000)) { - output.writeMessage(30, removedFromGameMessage_); + if (((bitField0_ & 0x20000000) != 0)) { + output.writeMessage(30, getRemovedFromGameMessage()); } - if (((bitField0_ & 0x40000000) == 0x40000000)) { - output.writeMessage(31, kickPlayerRequestMessage_); + if (((bitField0_ & 0x40000000) != 0)) { + output.writeMessage(31, getKickPlayerRequestMessage()); } - if (((bitField0_ & 0x80000000) == 0x80000000)) { - output.writeMessage(32, leaveGameRequestMessage_); + if (((bitField0_ & 0x80000000) != 0)) { + output.writeMessage(32, getLeaveGameRequestMessage()); } - if (((bitField1_ & 0x00000001) == 0x00000001)) { - output.writeMessage(33, invitePlayerToGameMessage_); + if (((bitField1_ & 0x00000001) != 0)) { + output.writeMessage(33, getInvitePlayerToGameMessage()); } - if (((bitField1_ & 0x00000002) == 0x00000002)) { - output.writeMessage(34, inviteNotifyMessage_); + if (((bitField1_ & 0x00000002) != 0)) { + output.writeMessage(34, getInviteNotifyMessage()); } - if (((bitField1_ & 0x00000004) == 0x00000004)) { - output.writeMessage(35, rejectGameInvitationMessage_); + if (((bitField1_ & 0x00000004) != 0)) { + output.writeMessage(35, getRejectGameInvitationMessage()); } - if (((bitField1_ & 0x00000008) == 0x00000008)) { - output.writeMessage(36, rejectInvNotifyMessage_); + if (((bitField1_ & 0x00000008) != 0)) { + output.writeMessage(36, getRejectInvNotifyMessage()); } - if (((bitField1_ & 0x00000010) == 0x00000010)) { - output.writeMessage(37, startEventMessage_); + if (((bitField1_ & 0x00000010) != 0)) { + output.writeMessage(37, getStartEventMessage()); } - if (((bitField1_ & 0x00000020) == 0x00000020)) { - output.writeMessage(38, startEventAckMessage_); + if (((bitField1_ & 0x00000020) != 0)) { + output.writeMessage(38, getStartEventAckMessage()); } - if (((bitField1_ & 0x00000040) == 0x00000040)) { - output.writeMessage(39, gameStartInitialMessage_); + if (((bitField1_ & 0x00000040) != 0)) { + output.writeMessage(39, getGameStartInitialMessage()); } - if (((bitField1_ & 0x00000080) == 0x00000080)) { - output.writeMessage(40, gameStartRejoinMessage_); + if (((bitField1_ & 0x00000080) != 0)) { + output.writeMessage(40, getGameStartRejoinMessage()); } - if (((bitField1_ & 0x00000100) == 0x00000100)) { - output.writeMessage(41, handStartMessage_); + if (((bitField1_ & 0x00000100) != 0)) { + output.writeMessage(41, getHandStartMessage()); } - if (((bitField1_ & 0x00000200) == 0x00000200)) { - output.writeMessage(42, playersTurnMessage_); + if (((bitField1_ & 0x00000200) != 0)) { + output.writeMessage(42, getPlayersTurnMessage()); } - if (((bitField1_ & 0x00000400) == 0x00000400)) { - output.writeMessage(43, myActionRequestMessage_); + if (((bitField1_ & 0x00000400) != 0)) { + output.writeMessage(43, getMyActionRequestMessage()); } - if (((bitField1_ & 0x00000800) == 0x00000800)) { - output.writeMessage(44, yourActionRejectedMessage_); + if (((bitField1_ & 0x00000800) != 0)) { + output.writeMessage(44, getYourActionRejectedMessage()); } - if (((bitField1_ & 0x00001000) == 0x00001000)) { - output.writeMessage(45, playersActionDoneMessage_); + if (((bitField1_ & 0x00001000) != 0)) { + output.writeMessage(45, getPlayersActionDoneMessage()); } - if (((bitField1_ & 0x00002000) == 0x00002000)) { - output.writeMessage(46, dealFlopCardsMessage_); + if (((bitField1_ & 0x00002000) != 0)) { + output.writeMessage(46, getDealFlopCardsMessage()); } - if (((bitField1_ & 0x00004000) == 0x00004000)) { - output.writeMessage(47, dealTurnCardMessage_); + if (((bitField1_ & 0x00004000) != 0)) { + output.writeMessage(47, getDealTurnCardMessage()); } - if (((bitField1_ & 0x00008000) == 0x00008000)) { - output.writeMessage(48, dealRiverCardMessage_); + if (((bitField1_ & 0x00008000) != 0)) { + output.writeMessage(48, getDealRiverCardMessage()); } - if (((bitField1_ & 0x00010000) == 0x00010000)) { - output.writeMessage(49, allInShowCardsMessage_); + if (((bitField1_ & 0x00010000) != 0)) { + output.writeMessage(49, getAllInShowCardsMessage()); } - if (((bitField1_ & 0x00020000) == 0x00020000)) { - output.writeMessage(50, endOfHandShowCardsMessage_); + if (((bitField1_ & 0x00020000) != 0)) { + output.writeMessage(50, getEndOfHandShowCardsMessage()); } - if (((bitField1_ & 0x00040000) == 0x00040000)) { - output.writeMessage(51, endOfHandHideCardsMessage_); + if (((bitField1_ & 0x00040000) != 0)) { + output.writeMessage(51, getEndOfHandHideCardsMessage()); } - if (((bitField1_ & 0x00080000) == 0x00080000)) { - output.writeMessage(52, showMyCardsRequestMessage_); + if (((bitField1_ & 0x00080000) != 0)) { + output.writeMessage(52, getShowMyCardsRequestMessage()); } - if (((bitField1_ & 0x00100000) == 0x00100000)) { - output.writeMessage(53, afterHandShowCardsMessage_); + if (((bitField1_ & 0x00100000) != 0)) { + output.writeMessage(53, getAfterHandShowCardsMessage()); } - if (((bitField1_ & 0x00200000) == 0x00200000)) { - output.writeMessage(54, endOfGameMessage_); + if (((bitField1_ & 0x00200000) != 0)) { + output.writeMessage(54, getEndOfGameMessage()); } - if (((bitField1_ & 0x00400000) == 0x00400000)) { - output.writeMessage(55, playerIdChangedMessage_); + if (((bitField1_ & 0x00400000) != 0)) { + output.writeMessage(55, getPlayerIdChangedMessage()); } - if (((bitField1_ & 0x00800000) == 0x00800000)) { - output.writeMessage(56, askKickPlayerMessage_); + if (((bitField1_ & 0x00800000) != 0)) { + output.writeMessage(56, getAskKickPlayerMessage()); } - if (((bitField1_ & 0x01000000) == 0x01000000)) { - output.writeMessage(57, askKickDeniedMessage_); + if (((bitField1_ & 0x01000000) != 0)) { + output.writeMessage(57, getAskKickDeniedMessage()); } - if (((bitField1_ & 0x02000000) == 0x02000000)) { - output.writeMessage(58, startKickPetitionMessage_); + if (((bitField1_ & 0x02000000) != 0)) { + output.writeMessage(58, getStartKickPetitionMessage()); } - if (((bitField1_ & 0x04000000) == 0x04000000)) { - output.writeMessage(59, voteKickRequestMessage_); + if (((bitField1_ & 0x04000000) != 0)) { + output.writeMessage(59, getVoteKickRequestMessage()); } - if (((bitField1_ & 0x08000000) == 0x08000000)) { - output.writeMessage(60, voteKickReplyMessage_); + if (((bitField1_ & 0x08000000) != 0)) { + output.writeMessage(60, getVoteKickReplyMessage()); } - if (((bitField1_ & 0x10000000) == 0x10000000)) { - output.writeMessage(61, kickPetitionUpdateMessage_); + if (((bitField1_ & 0x10000000) != 0)) { + output.writeMessage(61, getKickPetitionUpdateMessage()); } - if (((bitField1_ & 0x20000000) == 0x20000000)) { - output.writeMessage(62, endKickPetitionMessage_); + if (((bitField1_ & 0x20000000) != 0)) { + output.writeMessage(62, getEndKickPetitionMessage()); } - if (((bitField1_ & 0x40000000) == 0x40000000)) { - output.writeMessage(63, statisticsMessage_); + if (((bitField1_ & 0x40000000) != 0)) { + output.writeMessage(63, getStatisticsMessage()); } - if (((bitField1_ & 0x80000000) == 0x80000000)) { - output.writeMessage(64, chatRequestMessage_); + if (((bitField1_ & 0x80000000) != 0)) { + output.writeMessage(64, getChatRequestMessage()); } - if (((bitField2_ & 0x00000001) == 0x00000001)) { - output.writeMessage(65, chatMessage_); + if (((bitField2_ & 0x00000001) != 0)) { + output.writeMessage(65, getChatMessage()); } - if (((bitField2_ & 0x00000002) == 0x00000002)) { - output.writeMessage(66, chatRejectMessage_); + if (((bitField2_ & 0x00000002) != 0)) { + output.writeMessage(66, getChatRejectMessage()); } - if (((bitField2_ & 0x00000004) == 0x00000004)) { - output.writeMessage(67, dialogMessage_); + if (((bitField2_ & 0x00000004) != 0)) { + output.writeMessage(67, getDialogMessage()); } - if (((bitField2_ & 0x00000008) == 0x00000008)) { - output.writeMessage(68, timeoutWarningMessage_); + if (((bitField2_ & 0x00000008) != 0)) { + output.writeMessage(68, getTimeoutWarningMessage()); } - if (((bitField2_ & 0x00000010) == 0x00000010)) { - output.writeMessage(69, resetTimeoutMessage_); + if (((bitField2_ & 0x00000010) != 0)) { + output.writeMessage(69, getResetTimeoutMessage()); } - if (((bitField2_ & 0x00000020) == 0x00000020)) { - output.writeMessage(70, reportAvatarMessage_); + if (((bitField2_ & 0x00000020) != 0)) { + output.writeMessage(70, getReportAvatarMessage()); } - if (((bitField2_ & 0x00000040) == 0x00000040)) { - output.writeMessage(71, reportAvatarAckMessage_); + if (((bitField2_ & 0x00000040) != 0)) { + output.writeMessage(71, getReportAvatarAckMessage()); } - if (((bitField2_ & 0x00000080) == 0x00000080)) { - output.writeMessage(72, reportGameMessage_); + if (((bitField2_ & 0x00000080) != 0)) { + output.writeMessage(72, getReportGameMessage()); } - if (((bitField2_ & 0x00000100) == 0x00000100)) { - output.writeMessage(73, reportGameAckMessage_); + if (((bitField2_ & 0x00000100) != 0)) { + output.writeMessage(73, getReportGameAckMessage()); } - if (((bitField2_ & 0x00000200) == 0x00000200)) { - output.writeMessage(74, errorMessage_); + if (((bitField2_ & 0x00000200) != 0)) { + output.writeMessage(74, getErrorMessage()); } - if (((bitField2_ & 0x00000400) == 0x00000400)) { - output.writeMessage(75, adminRemoveGameMessage_); + if (((bitField2_ & 0x00000400) != 0)) { + output.writeMessage(75, getAdminRemoveGameMessage()); } - if (((bitField2_ & 0x00000800) == 0x00000800)) { - output.writeMessage(76, adminRemoveGameAckMessage_); + if (((bitField2_ & 0x00000800) != 0)) { + output.writeMessage(76, getAdminRemoveGameAckMessage()); } - if (((bitField2_ & 0x00001000) == 0x00001000)) { - output.writeMessage(77, adminBanPlayerMessage_); + if (((bitField2_ & 0x00001000) != 0)) { + output.writeMessage(77, getAdminBanPlayerMessage()); } - if (((bitField2_ & 0x00002000) == 0x00002000)) { - output.writeMessage(78, adminBanPlayerAckMessage_); + if (((bitField2_ & 0x00002000) != 0)) { + output.writeMessage(78, getAdminBanPlayerAckMessage()); } - if (((bitField2_ & 0x00004000) == 0x00004000)) { - output.writeMessage(79, gameListSpectatorJoinedMessage_); + if (((bitField2_ & 0x00004000) != 0)) { + output.writeMessage(79, getGameListSpectatorJoinedMessage()); } - if (((bitField2_ & 0x00008000) == 0x00008000)) { - output.writeMessage(80, gameListSpectatorLeftMessage_); + if (((bitField2_ & 0x00008000) != 0)) { + output.writeMessage(80, getGameListSpectatorLeftMessage()); } - if (((bitField2_ & 0x00010000) == 0x00010000)) { - output.writeMessage(81, gameSpectatorJoinedMessage_); + if (((bitField2_ & 0x00010000) != 0)) { + output.writeMessage(81, getGameSpectatorJoinedMessage()); } - if (((bitField2_ & 0x00020000) == 0x00020000)) { - output.writeMessage(82, gameSpectatorLeftMessage_); + if (((bitField2_ & 0x00020000) != 0)) { + output.writeMessage(82, getGameSpectatorLeftMessage()); } + if (((bitField2_ & 0x00040000) != 0)) { + output.writeMessage(83, getGameStartReentryMessage()); + } + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; + @java.lang.Override public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, messageType_.getNumber()); + .computeEnumSize(1, messageType_); } - if (((bitField0_ & 0x00000002) == 0x00000002)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, announceMessage_); + .computeMessageSize(2, getAnnounceMessage()); } - if (((bitField0_ & 0x00000004) == 0x00000004)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, initMessage_); + .computeMessageSize(3, getInitMessage()); } - if (((bitField0_ & 0x00000008) == 0x00000008)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, authServerChallengeMessage_); + .computeMessageSize(4, getAuthServerChallengeMessage()); } - if (((bitField0_ & 0x00000010) == 0x00000010)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, authClientResponseMessage_); + .computeMessageSize(5, getAuthClientResponseMessage()); } - if (((bitField0_ & 0x00000020) == 0x00000020)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, authServerVerificationMessage_); + .computeMessageSize(6, getAuthServerVerificationMessage()); } - if (((bitField0_ & 0x00000040) == 0x00000040)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, initAckMessage_); + .computeMessageSize(7, getInitAckMessage()); } - if (((bitField0_ & 0x00000080) == 0x00000080)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, avatarRequestMessage_); + .computeMessageSize(8, getAvatarRequestMessage()); } - if (((bitField0_ & 0x00000100) == 0x00000100)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, avatarHeaderMessage_); + .computeMessageSize(9, getAvatarHeaderMessage()); } - if (((bitField0_ & 0x00000200) == 0x00000200)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, avatarDataMessage_); + .computeMessageSize(10, getAvatarDataMessage()); } - if (((bitField0_ & 0x00000400) == 0x00000400)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, avatarEndMessage_); + .computeMessageSize(11, getAvatarEndMessage()); } - if (((bitField0_ & 0x00000800) == 0x00000800)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, unknownAvatarMessage_); + .computeMessageSize(12, getUnknownAvatarMessage()); } - if (((bitField0_ & 0x00001000) == 0x00001000)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, playerListMessage_); + .computeMessageSize(13, getPlayerListMessage()); } - if (((bitField0_ & 0x00002000) == 0x00002000)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, gameListNewMessage_); + .computeMessageSize(14, getGameListNewMessage()); } - if (((bitField0_ & 0x00004000) == 0x00004000)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, gameListUpdateMessage_); + .computeMessageSize(15, getGameListUpdateMessage()); } - if (((bitField0_ & 0x00008000) == 0x00008000)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, gameListPlayerJoinedMessage_); + .computeMessageSize(16, getGameListPlayerJoinedMessage()); } - if (((bitField0_ & 0x00010000) == 0x00010000)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, gameListPlayerLeftMessage_); + .computeMessageSize(17, getGameListPlayerLeftMessage()); } - if (((bitField0_ & 0x00020000) == 0x00020000)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(18, gameListAdminChangedMessage_); + .computeMessageSize(18, getGameListAdminChangedMessage()); } - if (((bitField0_ & 0x00040000) == 0x00040000)) { + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(19, playerInfoRequestMessage_); + .computeMessageSize(19, getPlayerInfoRequestMessage()); } - if (((bitField0_ & 0x00080000) == 0x00080000)) { + if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(20, playerInfoReplyMessage_); + .computeMessageSize(20, getPlayerInfoReplyMessage()); } - if (((bitField0_ & 0x00100000) == 0x00100000)) { + if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(21, subscriptionRequestMessage_); + .computeMessageSize(21, getSubscriptionRequestMessage()); } - if (((bitField0_ & 0x00200000) == 0x00200000)) { + if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, joinExistingGameMessage_); + .computeMessageSize(22, getJoinExistingGameMessage()); } - if (((bitField0_ & 0x00400000) == 0x00400000)) { + if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(23, joinNewGameMessage_); + .computeMessageSize(23, getJoinNewGameMessage()); } - if (((bitField0_ & 0x00800000) == 0x00800000)) { + if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, rejoinExistingGameMessage_); + .computeMessageSize(24, getRejoinExistingGameMessage()); } - if (((bitField0_ & 0x01000000) == 0x01000000)) { + if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, joinGameAckMessage_); + .computeMessageSize(25, getJoinGameAckMessage()); } - if (((bitField0_ & 0x02000000) == 0x02000000)) { + if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, joinGameFailedMessage_); + .computeMessageSize(26, getJoinGameFailedMessage()); } - if (((bitField0_ & 0x04000000) == 0x04000000)) { + if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, gamePlayerJoinedMessage_); + .computeMessageSize(27, getGamePlayerJoinedMessage()); } - if (((bitField0_ & 0x08000000) == 0x08000000)) { + if (((bitField0_ & 0x08000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, gamePlayerLeftMessage_); + .computeMessageSize(28, getGamePlayerLeftMessage()); } - if (((bitField0_ & 0x10000000) == 0x10000000)) { + if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, gameAdminChangedMessage_); + .computeMessageSize(29, getGameAdminChangedMessage()); } - if (((bitField0_ & 0x20000000) == 0x20000000)) { + if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(30, removedFromGameMessage_); + .computeMessageSize(30, getRemovedFromGameMessage()); } - if (((bitField0_ & 0x40000000) == 0x40000000)) { + if (((bitField0_ & 0x40000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(31, kickPlayerRequestMessage_); + .computeMessageSize(31, getKickPlayerRequestMessage()); } - if (((bitField0_ & 0x80000000) == 0x80000000)) { + if (((bitField0_ & 0x80000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(32, leaveGameRequestMessage_); + .computeMessageSize(32, getLeaveGameRequestMessage()); } - if (((bitField1_ & 0x00000001) == 0x00000001)) { + if (((bitField1_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(33, invitePlayerToGameMessage_); + .computeMessageSize(33, getInvitePlayerToGameMessage()); } - if (((bitField1_ & 0x00000002) == 0x00000002)) { + if (((bitField1_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(34, inviteNotifyMessage_); + .computeMessageSize(34, getInviteNotifyMessage()); } - if (((bitField1_ & 0x00000004) == 0x00000004)) { + if (((bitField1_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(35, rejectGameInvitationMessage_); + .computeMessageSize(35, getRejectGameInvitationMessage()); } - if (((bitField1_ & 0x00000008) == 0x00000008)) { + if (((bitField1_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(36, rejectInvNotifyMessage_); + .computeMessageSize(36, getRejectInvNotifyMessage()); } - if (((bitField1_ & 0x00000010) == 0x00000010)) { + if (((bitField1_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(37, startEventMessage_); + .computeMessageSize(37, getStartEventMessage()); } - if (((bitField1_ & 0x00000020) == 0x00000020)) { + if (((bitField1_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(38, startEventAckMessage_); + .computeMessageSize(38, getStartEventAckMessage()); } - if (((bitField1_ & 0x00000040) == 0x00000040)) { + if (((bitField1_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(39, gameStartInitialMessage_); + .computeMessageSize(39, getGameStartInitialMessage()); } - if (((bitField1_ & 0x00000080) == 0x00000080)) { + if (((bitField1_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(40, gameStartRejoinMessage_); + .computeMessageSize(40, getGameStartRejoinMessage()); } - if (((bitField1_ & 0x00000100) == 0x00000100)) { + if (((bitField1_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(41, handStartMessage_); + .computeMessageSize(41, getHandStartMessage()); } - if (((bitField1_ & 0x00000200) == 0x00000200)) { + if (((bitField1_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(42, playersTurnMessage_); + .computeMessageSize(42, getPlayersTurnMessage()); } - if (((bitField1_ & 0x00000400) == 0x00000400)) { + if (((bitField1_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(43, myActionRequestMessage_); + .computeMessageSize(43, getMyActionRequestMessage()); } - if (((bitField1_ & 0x00000800) == 0x00000800)) { + if (((bitField1_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(44, yourActionRejectedMessage_); + .computeMessageSize(44, getYourActionRejectedMessage()); } - if (((bitField1_ & 0x00001000) == 0x00001000)) { + if (((bitField1_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(45, playersActionDoneMessage_); + .computeMessageSize(45, getPlayersActionDoneMessage()); } - if (((bitField1_ & 0x00002000) == 0x00002000)) { + if (((bitField1_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(46, dealFlopCardsMessage_); + .computeMessageSize(46, getDealFlopCardsMessage()); } - if (((bitField1_ & 0x00004000) == 0x00004000)) { + if (((bitField1_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(47, dealTurnCardMessage_); + .computeMessageSize(47, getDealTurnCardMessage()); } - if (((bitField1_ & 0x00008000) == 0x00008000)) { + if (((bitField1_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(48, dealRiverCardMessage_); + .computeMessageSize(48, getDealRiverCardMessage()); } - if (((bitField1_ & 0x00010000) == 0x00010000)) { + if (((bitField1_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(49, allInShowCardsMessage_); + .computeMessageSize(49, getAllInShowCardsMessage()); } - if (((bitField1_ & 0x00020000) == 0x00020000)) { + if (((bitField1_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(50, endOfHandShowCardsMessage_); + .computeMessageSize(50, getEndOfHandShowCardsMessage()); } - if (((bitField1_ & 0x00040000) == 0x00040000)) { + if (((bitField1_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(51, endOfHandHideCardsMessage_); + .computeMessageSize(51, getEndOfHandHideCardsMessage()); } - if (((bitField1_ & 0x00080000) == 0x00080000)) { + if (((bitField1_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(52, showMyCardsRequestMessage_); + .computeMessageSize(52, getShowMyCardsRequestMessage()); } - if (((bitField1_ & 0x00100000) == 0x00100000)) { + if (((bitField1_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(53, afterHandShowCardsMessage_); + .computeMessageSize(53, getAfterHandShowCardsMessage()); } - if (((bitField1_ & 0x00200000) == 0x00200000)) { + if (((bitField1_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(54, endOfGameMessage_); + .computeMessageSize(54, getEndOfGameMessage()); } - if (((bitField1_ & 0x00400000) == 0x00400000)) { + if (((bitField1_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(55, playerIdChangedMessage_); + .computeMessageSize(55, getPlayerIdChangedMessage()); } - if (((bitField1_ & 0x00800000) == 0x00800000)) { + if (((bitField1_ & 0x00800000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(56, askKickPlayerMessage_); + .computeMessageSize(56, getAskKickPlayerMessage()); } - if (((bitField1_ & 0x01000000) == 0x01000000)) { + if (((bitField1_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(57, askKickDeniedMessage_); + .computeMessageSize(57, getAskKickDeniedMessage()); } - if (((bitField1_ & 0x02000000) == 0x02000000)) { + if (((bitField1_ & 0x02000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(58, startKickPetitionMessage_); + .computeMessageSize(58, getStartKickPetitionMessage()); } - if (((bitField1_ & 0x04000000) == 0x04000000)) { + if (((bitField1_ & 0x04000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(59, voteKickRequestMessage_); + .computeMessageSize(59, getVoteKickRequestMessage()); } - if (((bitField1_ & 0x08000000) == 0x08000000)) { + if (((bitField1_ & 0x08000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(60, voteKickReplyMessage_); + .computeMessageSize(60, getVoteKickReplyMessage()); } - if (((bitField1_ & 0x10000000) == 0x10000000)) { + if (((bitField1_ & 0x10000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(61, kickPetitionUpdateMessage_); + .computeMessageSize(61, getKickPetitionUpdateMessage()); } - if (((bitField1_ & 0x20000000) == 0x20000000)) { + if (((bitField1_ & 0x20000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(62, endKickPetitionMessage_); + .computeMessageSize(62, getEndKickPetitionMessage()); } - if (((bitField1_ & 0x40000000) == 0x40000000)) { + if (((bitField1_ & 0x40000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(63, statisticsMessage_); + .computeMessageSize(63, getStatisticsMessage()); } - if (((bitField1_ & 0x80000000) == 0x80000000)) { + if (((bitField1_ & 0x80000000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(64, chatRequestMessage_); + .computeMessageSize(64, getChatRequestMessage()); } - if (((bitField2_ & 0x00000001) == 0x00000001)) { + if (((bitField2_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(65, chatMessage_); + .computeMessageSize(65, getChatMessage()); } - if (((bitField2_ & 0x00000002) == 0x00000002)) { + if (((bitField2_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(66, chatRejectMessage_); + .computeMessageSize(66, getChatRejectMessage()); } - if (((bitField2_ & 0x00000004) == 0x00000004)) { + if (((bitField2_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(67, dialogMessage_); + .computeMessageSize(67, getDialogMessage()); } - if (((bitField2_ & 0x00000008) == 0x00000008)) { + if (((bitField2_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(68, timeoutWarningMessage_); + .computeMessageSize(68, getTimeoutWarningMessage()); } - if (((bitField2_ & 0x00000010) == 0x00000010)) { + if (((bitField2_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(69, resetTimeoutMessage_); + .computeMessageSize(69, getResetTimeoutMessage()); } - if (((bitField2_ & 0x00000020) == 0x00000020)) { + if (((bitField2_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(70, reportAvatarMessage_); + .computeMessageSize(70, getReportAvatarMessage()); } - if (((bitField2_ & 0x00000040) == 0x00000040)) { + if (((bitField2_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(71, reportAvatarAckMessage_); + .computeMessageSize(71, getReportAvatarAckMessage()); } - if (((bitField2_ & 0x00000080) == 0x00000080)) { + if (((bitField2_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(72, reportGameMessage_); + .computeMessageSize(72, getReportGameMessage()); } - if (((bitField2_ & 0x00000100) == 0x00000100)) { + if (((bitField2_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(73, reportGameAckMessage_); + .computeMessageSize(73, getReportGameAckMessage()); } - if (((bitField2_ & 0x00000200) == 0x00000200)) { + if (((bitField2_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(74, errorMessage_); + .computeMessageSize(74, getErrorMessage()); } - if (((bitField2_ & 0x00000400) == 0x00000400)) { + if (((bitField2_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(75, adminRemoveGameMessage_); + .computeMessageSize(75, getAdminRemoveGameMessage()); } - if (((bitField2_ & 0x00000800) == 0x00000800)) { + if (((bitField2_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(76, adminRemoveGameAckMessage_); + .computeMessageSize(76, getAdminRemoveGameAckMessage()); } - if (((bitField2_ & 0x00001000) == 0x00001000)) { + if (((bitField2_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(77, adminBanPlayerMessage_); + .computeMessageSize(77, getAdminBanPlayerMessage()); } - if (((bitField2_ & 0x00002000) == 0x00002000)) { + if (((bitField2_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(78, adminBanPlayerAckMessage_); + .computeMessageSize(78, getAdminBanPlayerAckMessage()); } - if (((bitField2_ & 0x00004000) == 0x00004000)) { + if (((bitField2_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(79, gameListSpectatorJoinedMessage_); + .computeMessageSize(79, getGameListSpectatorJoinedMessage()); } - if (((bitField2_ & 0x00008000) == 0x00008000)) { + if (((bitField2_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(80, gameListSpectatorLeftMessage_); + .computeMessageSize(80, getGameListSpectatorLeftMessage()); } - if (((bitField2_ & 0x00010000) == 0x00010000)) { + if (((bitField2_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(81, gameSpectatorJoinedMessage_); + .computeMessageSize(81, getGameSpectatorJoinedMessage()); } - if (((bitField2_ & 0x00020000) == 0x00020000)) { + if (((bitField2_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(82, gameSpectatorLeftMessage_); + .computeMessageSize(82, getGameSpectatorLeftMessage()); } - memoizedSerializedSize = size; + if (((bitField2_ & 0x00040000) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(83, getGameStartReentryMessage()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = 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 boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof de.pokerth.protocol.ProtoBuf.PokerTHMessage)) { + return super.equals(obj); + } + de.pokerth.protocol.ProtoBuf.PokerTHMessage other = (de.pokerth.protocol.ProtoBuf.PokerTHMessage) obj; + + if (hasMessageType() != other.hasMessageType()) return false; + if (hasMessageType()) { + if (messageType_ != other.messageType_) return false; + } + if (hasAnnounceMessage() != other.hasAnnounceMessage()) return false; + if (hasAnnounceMessage()) { + if (!getAnnounceMessage() + .equals(other.getAnnounceMessage())) return false; + } + if (hasInitMessage() != other.hasInitMessage()) return false; + if (hasInitMessage()) { + if (!getInitMessage() + .equals(other.getInitMessage())) return false; + } + if (hasAuthServerChallengeMessage() != other.hasAuthServerChallengeMessage()) return false; + if (hasAuthServerChallengeMessage()) { + if (!getAuthServerChallengeMessage() + .equals(other.getAuthServerChallengeMessage())) return false; + } + if (hasAuthClientResponseMessage() != other.hasAuthClientResponseMessage()) return false; + if (hasAuthClientResponseMessage()) { + if (!getAuthClientResponseMessage() + .equals(other.getAuthClientResponseMessage())) return false; + } + if (hasAuthServerVerificationMessage() != other.hasAuthServerVerificationMessage()) return false; + if (hasAuthServerVerificationMessage()) { + if (!getAuthServerVerificationMessage() + .equals(other.getAuthServerVerificationMessage())) return false; + } + if (hasInitAckMessage() != other.hasInitAckMessage()) return false; + if (hasInitAckMessage()) { + if (!getInitAckMessage() + .equals(other.getInitAckMessage())) return false; + } + if (hasAvatarRequestMessage() != other.hasAvatarRequestMessage()) return false; + if (hasAvatarRequestMessage()) { + if (!getAvatarRequestMessage() + .equals(other.getAvatarRequestMessage())) return false; + } + if (hasAvatarHeaderMessage() != other.hasAvatarHeaderMessage()) return false; + if (hasAvatarHeaderMessage()) { + if (!getAvatarHeaderMessage() + .equals(other.getAvatarHeaderMessage())) return false; + } + if (hasAvatarDataMessage() != other.hasAvatarDataMessage()) return false; + if (hasAvatarDataMessage()) { + if (!getAvatarDataMessage() + .equals(other.getAvatarDataMessage())) return false; + } + if (hasAvatarEndMessage() != other.hasAvatarEndMessage()) return false; + if (hasAvatarEndMessage()) { + if (!getAvatarEndMessage() + .equals(other.getAvatarEndMessage())) return false; + } + if (hasUnknownAvatarMessage() != other.hasUnknownAvatarMessage()) return false; + if (hasUnknownAvatarMessage()) { + if (!getUnknownAvatarMessage() + .equals(other.getUnknownAvatarMessage())) return false; + } + if (hasPlayerListMessage() != other.hasPlayerListMessage()) return false; + if (hasPlayerListMessage()) { + if (!getPlayerListMessage() + .equals(other.getPlayerListMessage())) return false; + } + if (hasGameListNewMessage() != other.hasGameListNewMessage()) return false; + if (hasGameListNewMessage()) { + if (!getGameListNewMessage() + .equals(other.getGameListNewMessage())) return false; + } + if (hasGameListUpdateMessage() != other.hasGameListUpdateMessage()) return false; + if (hasGameListUpdateMessage()) { + if (!getGameListUpdateMessage() + .equals(other.getGameListUpdateMessage())) return false; + } + if (hasGameListPlayerJoinedMessage() != other.hasGameListPlayerJoinedMessage()) return false; + if (hasGameListPlayerJoinedMessage()) { + if (!getGameListPlayerJoinedMessage() + .equals(other.getGameListPlayerJoinedMessage())) return false; + } + if (hasGameListPlayerLeftMessage() != other.hasGameListPlayerLeftMessage()) return false; + if (hasGameListPlayerLeftMessage()) { + if (!getGameListPlayerLeftMessage() + .equals(other.getGameListPlayerLeftMessage())) return false; + } + if (hasGameListAdminChangedMessage() != other.hasGameListAdminChangedMessage()) return false; + if (hasGameListAdminChangedMessage()) { + if (!getGameListAdminChangedMessage() + .equals(other.getGameListAdminChangedMessage())) return false; + } + if (hasPlayerInfoRequestMessage() != other.hasPlayerInfoRequestMessage()) return false; + if (hasPlayerInfoRequestMessage()) { + if (!getPlayerInfoRequestMessage() + .equals(other.getPlayerInfoRequestMessage())) return false; + } + if (hasPlayerInfoReplyMessage() != other.hasPlayerInfoReplyMessage()) return false; + if (hasPlayerInfoReplyMessage()) { + if (!getPlayerInfoReplyMessage() + .equals(other.getPlayerInfoReplyMessage())) return false; + } + if (hasSubscriptionRequestMessage() != other.hasSubscriptionRequestMessage()) return false; + if (hasSubscriptionRequestMessage()) { + if (!getSubscriptionRequestMessage() + .equals(other.getSubscriptionRequestMessage())) return false; + } + if (hasJoinExistingGameMessage() != other.hasJoinExistingGameMessage()) return false; + if (hasJoinExistingGameMessage()) { + if (!getJoinExistingGameMessage() + .equals(other.getJoinExistingGameMessage())) return false; + } + if (hasJoinNewGameMessage() != other.hasJoinNewGameMessage()) return false; + if (hasJoinNewGameMessage()) { + if (!getJoinNewGameMessage() + .equals(other.getJoinNewGameMessage())) return false; + } + if (hasRejoinExistingGameMessage() != other.hasRejoinExistingGameMessage()) return false; + if (hasRejoinExistingGameMessage()) { + if (!getRejoinExistingGameMessage() + .equals(other.getRejoinExistingGameMessage())) return false; + } + if (hasJoinGameAckMessage() != other.hasJoinGameAckMessage()) return false; + if (hasJoinGameAckMessage()) { + if (!getJoinGameAckMessage() + .equals(other.getJoinGameAckMessage())) return false; + } + if (hasJoinGameFailedMessage() != other.hasJoinGameFailedMessage()) return false; + if (hasJoinGameFailedMessage()) { + if (!getJoinGameFailedMessage() + .equals(other.getJoinGameFailedMessage())) return false; + } + if (hasGamePlayerJoinedMessage() != other.hasGamePlayerJoinedMessage()) return false; + if (hasGamePlayerJoinedMessage()) { + if (!getGamePlayerJoinedMessage() + .equals(other.getGamePlayerJoinedMessage())) return false; + } + if (hasGamePlayerLeftMessage() != other.hasGamePlayerLeftMessage()) return false; + if (hasGamePlayerLeftMessage()) { + if (!getGamePlayerLeftMessage() + .equals(other.getGamePlayerLeftMessage())) return false; + } + if (hasGameAdminChangedMessage() != other.hasGameAdminChangedMessage()) return false; + if (hasGameAdminChangedMessage()) { + if (!getGameAdminChangedMessage() + .equals(other.getGameAdminChangedMessage())) return false; + } + if (hasRemovedFromGameMessage() != other.hasRemovedFromGameMessage()) return false; + if (hasRemovedFromGameMessage()) { + if (!getRemovedFromGameMessage() + .equals(other.getRemovedFromGameMessage())) return false; + } + if (hasKickPlayerRequestMessage() != other.hasKickPlayerRequestMessage()) return false; + if (hasKickPlayerRequestMessage()) { + if (!getKickPlayerRequestMessage() + .equals(other.getKickPlayerRequestMessage())) return false; + } + if (hasLeaveGameRequestMessage() != other.hasLeaveGameRequestMessage()) return false; + if (hasLeaveGameRequestMessage()) { + if (!getLeaveGameRequestMessage() + .equals(other.getLeaveGameRequestMessage())) return false; + } + if (hasInvitePlayerToGameMessage() != other.hasInvitePlayerToGameMessage()) return false; + if (hasInvitePlayerToGameMessage()) { + if (!getInvitePlayerToGameMessage() + .equals(other.getInvitePlayerToGameMessage())) return false; + } + if (hasInviteNotifyMessage() != other.hasInviteNotifyMessage()) return false; + if (hasInviteNotifyMessage()) { + if (!getInviteNotifyMessage() + .equals(other.getInviteNotifyMessage())) return false; + } + if (hasRejectGameInvitationMessage() != other.hasRejectGameInvitationMessage()) return false; + if (hasRejectGameInvitationMessage()) { + if (!getRejectGameInvitationMessage() + .equals(other.getRejectGameInvitationMessage())) return false; + } + if (hasRejectInvNotifyMessage() != other.hasRejectInvNotifyMessage()) return false; + if (hasRejectInvNotifyMessage()) { + if (!getRejectInvNotifyMessage() + .equals(other.getRejectInvNotifyMessage())) return false; + } + if (hasStartEventMessage() != other.hasStartEventMessage()) return false; + if (hasStartEventMessage()) { + if (!getStartEventMessage() + .equals(other.getStartEventMessage())) return false; + } + if (hasStartEventAckMessage() != other.hasStartEventAckMessage()) return false; + if (hasStartEventAckMessage()) { + if (!getStartEventAckMessage() + .equals(other.getStartEventAckMessage())) return false; + } + if (hasGameStartInitialMessage() != other.hasGameStartInitialMessage()) return false; + if (hasGameStartInitialMessage()) { + if (!getGameStartInitialMessage() + .equals(other.getGameStartInitialMessage())) return false; + } + if (hasGameStartRejoinMessage() != other.hasGameStartRejoinMessage()) return false; + if (hasGameStartRejoinMessage()) { + if (!getGameStartRejoinMessage() + .equals(other.getGameStartRejoinMessage())) return false; + } + if (hasHandStartMessage() != other.hasHandStartMessage()) return false; + if (hasHandStartMessage()) { + if (!getHandStartMessage() + .equals(other.getHandStartMessage())) return false; + } + if (hasPlayersTurnMessage() != other.hasPlayersTurnMessage()) return false; + if (hasPlayersTurnMessage()) { + if (!getPlayersTurnMessage() + .equals(other.getPlayersTurnMessage())) return false; + } + if (hasMyActionRequestMessage() != other.hasMyActionRequestMessage()) return false; + if (hasMyActionRequestMessage()) { + if (!getMyActionRequestMessage() + .equals(other.getMyActionRequestMessage())) return false; + } + if (hasYourActionRejectedMessage() != other.hasYourActionRejectedMessage()) return false; + if (hasYourActionRejectedMessage()) { + if (!getYourActionRejectedMessage() + .equals(other.getYourActionRejectedMessage())) return false; + } + if (hasPlayersActionDoneMessage() != other.hasPlayersActionDoneMessage()) return false; + if (hasPlayersActionDoneMessage()) { + if (!getPlayersActionDoneMessage() + .equals(other.getPlayersActionDoneMessage())) return false; + } + if (hasDealFlopCardsMessage() != other.hasDealFlopCardsMessage()) return false; + if (hasDealFlopCardsMessage()) { + if (!getDealFlopCardsMessage() + .equals(other.getDealFlopCardsMessage())) return false; + } + if (hasDealTurnCardMessage() != other.hasDealTurnCardMessage()) return false; + if (hasDealTurnCardMessage()) { + if (!getDealTurnCardMessage() + .equals(other.getDealTurnCardMessage())) return false; + } + if (hasDealRiverCardMessage() != other.hasDealRiverCardMessage()) return false; + if (hasDealRiverCardMessage()) { + if (!getDealRiverCardMessage() + .equals(other.getDealRiverCardMessage())) return false; + } + if (hasAllInShowCardsMessage() != other.hasAllInShowCardsMessage()) return false; + if (hasAllInShowCardsMessage()) { + if (!getAllInShowCardsMessage() + .equals(other.getAllInShowCardsMessage())) return false; + } + if (hasEndOfHandShowCardsMessage() != other.hasEndOfHandShowCardsMessage()) return false; + if (hasEndOfHandShowCardsMessage()) { + if (!getEndOfHandShowCardsMessage() + .equals(other.getEndOfHandShowCardsMessage())) return false; + } + if (hasEndOfHandHideCardsMessage() != other.hasEndOfHandHideCardsMessage()) return false; + if (hasEndOfHandHideCardsMessage()) { + if (!getEndOfHandHideCardsMessage() + .equals(other.getEndOfHandHideCardsMessage())) return false; + } + if (hasShowMyCardsRequestMessage() != other.hasShowMyCardsRequestMessage()) return false; + if (hasShowMyCardsRequestMessage()) { + if (!getShowMyCardsRequestMessage() + .equals(other.getShowMyCardsRequestMessage())) return false; + } + if (hasAfterHandShowCardsMessage() != other.hasAfterHandShowCardsMessage()) return false; + if (hasAfterHandShowCardsMessage()) { + if (!getAfterHandShowCardsMessage() + .equals(other.getAfterHandShowCardsMessage())) return false; + } + if (hasEndOfGameMessage() != other.hasEndOfGameMessage()) return false; + if (hasEndOfGameMessage()) { + if (!getEndOfGameMessage() + .equals(other.getEndOfGameMessage())) return false; + } + if (hasPlayerIdChangedMessage() != other.hasPlayerIdChangedMessage()) return false; + if (hasPlayerIdChangedMessage()) { + if (!getPlayerIdChangedMessage() + .equals(other.getPlayerIdChangedMessage())) return false; + } + if (hasAskKickPlayerMessage() != other.hasAskKickPlayerMessage()) return false; + if (hasAskKickPlayerMessage()) { + if (!getAskKickPlayerMessage() + .equals(other.getAskKickPlayerMessage())) return false; + } + if (hasAskKickDeniedMessage() != other.hasAskKickDeniedMessage()) return false; + if (hasAskKickDeniedMessage()) { + if (!getAskKickDeniedMessage() + .equals(other.getAskKickDeniedMessage())) return false; + } + if (hasStartKickPetitionMessage() != other.hasStartKickPetitionMessage()) return false; + if (hasStartKickPetitionMessage()) { + if (!getStartKickPetitionMessage() + .equals(other.getStartKickPetitionMessage())) return false; + } + if (hasVoteKickRequestMessage() != other.hasVoteKickRequestMessage()) return false; + if (hasVoteKickRequestMessage()) { + if (!getVoteKickRequestMessage() + .equals(other.getVoteKickRequestMessage())) return false; + } + if (hasVoteKickReplyMessage() != other.hasVoteKickReplyMessage()) return false; + if (hasVoteKickReplyMessage()) { + if (!getVoteKickReplyMessage() + .equals(other.getVoteKickReplyMessage())) return false; + } + if (hasKickPetitionUpdateMessage() != other.hasKickPetitionUpdateMessage()) return false; + if (hasKickPetitionUpdateMessage()) { + if (!getKickPetitionUpdateMessage() + .equals(other.getKickPetitionUpdateMessage())) return false; + } + if (hasEndKickPetitionMessage() != other.hasEndKickPetitionMessage()) return false; + if (hasEndKickPetitionMessage()) { + if (!getEndKickPetitionMessage() + .equals(other.getEndKickPetitionMessage())) return false; + } + if (hasStatisticsMessage() != other.hasStatisticsMessage()) return false; + if (hasStatisticsMessage()) { + if (!getStatisticsMessage() + .equals(other.getStatisticsMessage())) return false; + } + if (hasChatRequestMessage() != other.hasChatRequestMessage()) return false; + if (hasChatRequestMessage()) { + if (!getChatRequestMessage() + .equals(other.getChatRequestMessage())) return false; + } + if (hasChatMessage() != other.hasChatMessage()) return false; + if (hasChatMessage()) { + if (!getChatMessage() + .equals(other.getChatMessage())) return false; + } + if (hasChatRejectMessage() != other.hasChatRejectMessage()) return false; + if (hasChatRejectMessage()) { + if (!getChatRejectMessage() + .equals(other.getChatRejectMessage())) return false; + } + if (hasDialogMessage() != other.hasDialogMessage()) return false; + if (hasDialogMessage()) { + if (!getDialogMessage() + .equals(other.getDialogMessage())) return false; + } + if (hasTimeoutWarningMessage() != other.hasTimeoutWarningMessage()) return false; + if (hasTimeoutWarningMessage()) { + if (!getTimeoutWarningMessage() + .equals(other.getTimeoutWarningMessage())) return false; + } + if (hasResetTimeoutMessage() != other.hasResetTimeoutMessage()) return false; + if (hasResetTimeoutMessage()) { + if (!getResetTimeoutMessage() + .equals(other.getResetTimeoutMessage())) return false; + } + if (hasReportAvatarMessage() != other.hasReportAvatarMessage()) return false; + if (hasReportAvatarMessage()) { + if (!getReportAvatarMessage() + .equals(other.getReportAvatarMessage())) return false; + } + if (hasReportAvatarAckMessage() != other.hasReportAvatarAckMessage()) return false; + if (hasReportAvatarAckMessage()) { + if (!getReportAvatarAckMessage() + .equals(other.getReportAvatarAckMessage())) return false; + } + if (hasReportGameMessage() != other.hasReportGameMessage()) return false; + if (hasReportGameMessage()) { + if (!getReportGameMessage() + .equals(other.getReportGameMessage())) return false; + } + if (hasReportGameAckMessage() != other.hasReportGameAckMessage()) return false; + if (hasReportGameAckMessage()) { + if (!getReportGameAckMessage() + .equals(other.getReportGameAckMessage())) return false; + } + if (hasErrorMessage() != other.hasErrorMessage()) return false; + if (hasErrorMessage()) { + if (!getErrorMessage() + .equals(other.getErrorMessage())) return false; + } + if (hasAdminRemoveGameMessage() != other.hasAdminRemoveGameMessage()) return false; + if (hasAdminRemoveGameMessage()) { + if (!getAdminRemoveGameMessage() + .equals(other.getAdminRemoveGameMessage())) return false; + } + if (hasAdminRemoveGameAckMessage() != other.hasAdminRemoveGameAckMessage()) return false; + if (hasAdminRemoveGameAckMessage()) { + if (!getAdminRemoveGameAckMessage() + .equals(other.getAdminRemoveGameAckMessage())) return false; + } + if (hasAdminBanPlayerMessage() != other.hasAdminBanPlayerMessage()) return false; + if (hasAdminBanPlayerMessage()) { + if (!getAdminBanPlayerMessage() + .equals(other.getAdminBanPlayerMessage())) return false; + } + if (hasAdminBanPlayerAckMessage() != other.hasAdminBanPlayerAckMessage()) return false; + if (hasAdminBanPlayerAckMessage()) { + if (!getAdminBanPlayerAckMessage() + .equals(other.getAdminBanPlayerAckMessage())) return false; + } + if (hasGameListSpectatorJoinedMessage() != other.hasGameListSpectatorJoinedMessage()) return false; + if (hasGameListSpectatorJoinedMessage()) { + if (!getGameListSpectatorJoinedMessage() + .equals(other.getGameListSpectatorJoinedMessage())) return false; + } + if (hasGameListSpectatorLeftMessage() != other.hasGameListSpectatorLeftMessage()) return false; + if (hasGameListSpectatorLeftMessage()) { + if (!getGameListSpectatorLeftMessage() + .equals(other.getGameListSpectatorLeftMessage())) return false; + } + if (hasGameSpectatorJoinedMessage() != other.hasGameSpectatorJoinedMessage()) return false; + if (hasGameSpectatorJoinedMessage()) { + if (!getGameSpectatorJoinedMessage() + .equals(other.getGameSpectatorJoinedMessage())) return false; + } + if (hasGameSpectatorLeftMessage() != other.hasGameSpectatorLeftMessage()) return false; + if (hasGameSpectatorLeftMessage()) { + if (!getGameSpectatorLeftMessage() + .equals(other.getGameSpectatorLeftMessage())) return false; + } + if (hasGameStartReentryMessage() != other.hasGameStartReentryMessage()) return false; + if (hasGameStartReentryMessage()) { + if (!getGameStartReentryMessage() + .equals(other.getGameStartReentryMessage())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMessageType()) { + hash = (37 * hash) + MESSAGETYPE_FIELD_NUMBER; + hash = (53 * hash) + messageType_; + } + if (hasAnnounceMessage()) { + hash = (37 * hash) + ANNOUNCEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAnnounceMessage().hashCode(); + } + if (hasInitMessage()) { + hash = (37 * hash) + INITMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getInitMessage().hashCode(); + } + if (hasAuthServerChallengeMessage()) { + hash = (37 * hash) + AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAuthServerChallengeMessage().hashCode(); + } + if (hasAuthClientResponseMessage()) { + hash = (37 * hash) + AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAuthClientResponseMessage().hashCode(); + } + if (hasAuthServerVerificationMessage()) { + hash = (37 * hash) + AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAuthServerVerificationMessage().hashCode(); + } + if (hasInitAckMessage()) { + hash = (37 * hash) + INITACKMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getInitAckMessage().hashCode(); + } + if (hasAvatarRequestMessage()) { + hash = (37 * hash) + AVATARREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAvatarRequestMessage().hashCode(); + } + if (hasAvatarHeaderMessage()) { + hash = (37 * hash) + AVATARHEADERMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAvatarHeaderMessage().hashCode(); + } + if (hasAvatarDataMessage()) { + hash = (37 * hash) + AVATARDATAMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAvatarDataMessage().hashCode(); + } + if (hasAvatarEndMessage()) { + hash = (37 * hash) + AVATARENDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAvatarEndMessage().hashCode(); + } + if (hasUnknownAvatarMessage()) { + hash = (37 * hash) + UNKNOWNAVATARMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getUnknownAvatarMessage().hashCode(); + } + if (hasPlayerListMessage()) { + hash = (37 * hash) + PLAYERLISTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getPlayerListMessage().hashCode(); + } + if (hasGameListNewMessage()) { + hash = (37 * hash) + GAMELISTNEWMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameListNewMessage().hashCode(); + } + if (hasGameListUpdateMessage()) { + hash = (37 * hash) + GAMELISTUPDATEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameListUpdateMessage().hashCode(); + } + if (hasGameListPlayerJoinedMessage()) { + hash = (37 * hash) + GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameListPlayerJoinedMessage().hashCode(); + } + if (hasGameListPlayerLeftMessage()) { + hash = (37 * hash) + GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameListPlayerLeftMessage().hashCode(); + } + if (hasGameListAdminChangedMessage()) { + hash = (37 * hash) + GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameListAdminChangedMessage().hashCode(); + } + if (hasPlayerInfoRequestMessage()) { + hash = (37 * hash) + PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getPlayerInfoRequestMessage().hashCode(); + } + if (hasPlayerInfoReplyMessage()) { + hash = (37 * hash) + PLAYERINFOREPLYMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getPlayerInfoReplyMessage().hashCode(); + } + if (hasSubscriptionRequestMessage()) { + hash = (37 * hash) + SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getSubscriptionRequestMessage().hashCode(); + } + if (hasJoinExistingGameMessage()) { + hash = (37 * hash) + JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getJoinExistingGameMessage().hashCode(); + } + if (hasJoinNewGameMessage()) { + hash = (37 * hash) + JOINNEWGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getJoinNewGameMessage().hashCode(); + } + if (hasRejoinExistingGameMessage()) { + hash = (37 * hash) + REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getRejoinExistingGameMessage().hashCode(); + } + if (hasJoinGameAckMessage()) { + hash = (37 * hash) + JOINGAMEACKMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getJoinGameAckMessage().hashCode(); + } + if (hasJoinGameFailedMessage()) { + hash = (37 * hash) + JOINGAMEFAILEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getJoinGameFailedMessage().hashCode(); + } + if (hasGamePlayerJoinedMessage()) { + hash = (37 * hash) + GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGamePlayerJoinedMessage().hashCode(); + } + if (hasGamePlayerLeftMessage()) { + hash = (37 * hash) + GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGamePlayerLeftMessage().hashCode(); + } + if (hasGameAdminChangedMessage()) { + hash = (37 * hash) + GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameAdminChangedMessage().hashCode(); + } + if (hasRemovedFromGameMessage()) { + hash = (37 * hash) + REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getRemovedFromGameMessage().hashCode(); + } + if (hasKickPlayerRequestMessage()) { + hash = (37 * hash) + KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getKickPlayerRequestMessage().hashCode(); + } + if (hasLeaveGameRequestMessage()) { + hash = (37 * hash) + LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getLeaveGameRequestMessage().hashCode(); + } + if (hasInvitePlayerToGameMessage()) { + hash = (37 * hash) + INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getInvitePlayerToGameMessage().hashCode(); + } + if (hasInviteNotifyMessage()) { + hash = (37 * hash) + INVITENOTIFYMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getInviteNotifyMessage().hashCode(); + } + if (hasRejectGameInvitationMessage()) { + hash = (37 * hash) + REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getRejectGameInvitationMessage().hashCode(); + } + if (hasRejectInvNotifyMessage()) { + hash = (37 * hash) + REJECTINVNOTIFYMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getRejectInvNotifyMessage().hashCode(); + } + if (hasStartEventMessage()) { + hash = (37 * hash) + STARTEVENTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getStartEventMessage().hashCode(); + } + if (hasStartEventAckMessage()) { + hash = (37 * hash) + STARTEVENTACKMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getStartEventAckMessage().hashCode(); + } + if (hasGameStartInitialMessage()) { + hash = (37 * hash) + GAMESTARTINITIALMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameStartInitialMessage().hashCode(); + } + if (hasGameStartRejoinMessage()) { + hash = (37 * hash) + GAMESTARTREJOINMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameStartRejoinMessage().hashCode(); + } + if (hasHandStartMessage()) { + hash = (37 * hash) + HANDSTARTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getHandStartMessage().hashCode(); + } + if (hasPlayersTurnMessage()) { + hash = (37 * hash) + PLAYERSTURNMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getPlayersTurnMessage().hashCode(); + } + if (hasMyActionRequestMessage()) { + hash = (37 * hash) + MYACTIONREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMyActionRequestMessage().hashCode(); + } + if (hasYourActionRejectedMessage()) { + hash = (37 * hash) + YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getYourActionRejectedMessage().hashCode(); + } + if (hasPlayersActionDoneMessage()) { + hash = (37 * hash) + PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getPlayersActionDoneMessage().hashCode(); + } + if (hasDealFlopCardsMessage()) { + hash = (37 * hash) + DEALFLOPCARDSMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getDealFlopCardsMessage().hashCode(); + } + if (hasDealTurnCardMessage()) { + hash = (37 * hash) + DEALTURNCARDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getDealTurnCardMessage().hashCode(); + } + if (hasDealRiverCardMessage()) { + hash = (37 * hash) + DEALRIVERCARDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getDealRiverCardMessage().hashCode(); + } + if (hasAllInShowCardsMessage()) { + hash = (37 * hash) + ALLINSHOWCARDSMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAllInShowCardsMessage().hashCode(); + } + if (hasEndOfHandShowCardsMessage()) { + hash = (37 * hash) + ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getEndOfHandShowCardsMessage().hashCode(); + } + if (hasEndOfHandHideCardsMessage()) { + hash = (37 * hash) + ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getEndOfHandHideCardsMessage().hashCode(); + } + if (hasShowMyCardsRequestMessage()) { + hash = (37 * hash) + SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getShowMyCardsRequestMessage().hashCode(); + } + if (hasAfterHandShowCardsMessage()) { + hash = (37 * hash) + AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAfterHandShowCardsMessage().hashCode(); + } + if (hasEndOfGameMessage()) { + hash = (37 * hash) + ENDOFGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getEndOfGameMessage().hashCode(); + } + if (hasPlayerIdChangedMessage()) { + hash = (37 * hash) + PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getPlayerIdChangedMessage().hashCode(); + } + if (hasAskKickPlayerMessage()) { + hash = (37 * hash) + ASKKICKPLAYERMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAskKickPlayerMessage().hashCode(); + } + if (hasAskKickDeniedMessage()) { + hash = (37 * hash) + ASKKICKDENIEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAskKickDeniedMessage().hashCode(); + } + if (hasStartKickPetitionMessage()) { + hash = (37 * hash) + STARTKICKPETITIONMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getStartKickPetitionMessage().hashCode(); + } + if (hasVoteKickRequestMessage()) { + hash = (37 * hash) + VOTEKICKREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getVoteKickRequestMessage().hashCode(); + } + if (hasVoteKickReplyMessage()) { + hash = (37 * hash) + VOTEKICKREPLYMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getVoteKickReplyMessage().hashCode(); + } + if (hasKickPetitionUpdateMessage()) { + hash = (37 * hash) + KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getKickPetitionUpdateMessage().hashCode(); + } + if (hasEndKickPetitionMessage()) { + hash = (37 * hash) + ENDKICKPETITIONMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getEndKickPetitionMessage().hashCode(); + } + if (hasStatisticsMessage()) { + hash = (37 * hash) + STATISTICSMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getStatisticsMessage().hashCode(); + } + if (hasChatRequestMessage()) { + hash = (37 * hash) + CHATREQUESTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getChatRequestMessage().hashCode(); + } + if (hasChatMessage()) { + hash = (37 * hash) + CHATMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getChatMessage().hashCode(); + } + if (hasChatRejectMessage()) { + hash = (37 * hash) + CHATREJECTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getChatRejectMessage().hashCode(); + } + if (hasDialogMessage()) { + hash = (37 * hash) + DIALOGMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getDialogMessage().hashCode(); + } + if (hasTimeoutWarningMessage()) { + hash = (37 * hash) + TIMEOUTWARNINGMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getTimeoutWarningMessage().hashCode(); + } + if (hasResetTimeoutMessage()) { + hash = (37 * hash) + RESETTIMEOUTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getResetTimeoutMessage().hashCode(); + } + if (hasReportAvatarMessage()) { + hash = (37 * hash) + REPORTAVATARMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getReportAvatarMessage().hashCode(); + } + if (hasReportAvatarAckMessage()) { + hash = (37 * hash) + REPORTAVATARACKMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getReportAvatarAckMessage().hashCode(); + } + if (hasReportGameMessage()) { + hash = (37 * hash) + REPORTGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getReportGameMessage().hashCode(); + } + if (hasReportGameAckMessage()) { + hash = (37 * hash) + REPORTGAMEACKMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getReportGameAckMessage().hashCode(); + } + if (hasErrorMessage()) { + hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + } + if (hasAdminRemoveGameMessage()) { + hash = (37 * hash) + ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAdminRemoveGameMessage().hashCode(); + } + if (hasAdminRemoveGameAckMessage()) { + hash = (37 * hash) + ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAdminRemoveGameAckMessage().hashCode(); + } + if (hasAdminBanPlayerMessage()) { + hash = (37 * hash) + ADMINBANPLAYERMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAdminBanPlayerMessage().hashCode(); + } + if (hasAdminBanPlayerAckMessage()) { + hash = (37 * hash) + ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getAdminBanPlayerAckMessage().hashCode(); + } + if (hasGameListSpectatorJoinedMessage()) { + hash = (37 * hash) + GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameListSpectatorJoinedMessage().hashCode(); + } + if (hasGameListSpectatorLeftMessage()) { + hash = (37 * hash) + GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameListSpectatorLeftMessage().hashCode(); + } + if (hasGameSpectatorJoinedMessage()) { + hash = (37 * hash) + GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameSpectatorJoinedMessage().hashCode(); + } + if (hasGameSpectatorLeftMessage()) { + hash = (37 * hash) + GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameSpectatorLeftMessage().hashCode(); + } + if (hasGameStartReentryMessage()) { + hash = (37 * hash) + GAMESTARTREENTRYMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getGameStartReentryMessage().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -55369,238 +81865,691 @@ public final class ProtoBuf { } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static de.pokerth.protocol.ProtoBuf.PokerTHMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } + @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(de.pokerth.protocol.ProtoBuf.PokerTHMessage prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } /** * Protobuf type {@code PokerTHMessage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessageLite.Builder< - de.pokerth.protocol.ProtoBuf.PokerTHMessage, Builder> - implements de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:PokerTHMessage) + de.pokerth.protocol.ProtoBuf.PokerTHMessageOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.pokerth.protocol.ProtoBuf.internal_static_PokerTHMessage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.pokerth.protocol.ProtoBuf.internal_static_PokerTHMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.pokerth.protocol.ProtoBuf.PokerTHMessage.class, de.pokerth.protocol.ProtoBuf.PokerTHMessage.Builder.class); + } + // Construct using de.pokerth.protocol.ProtoBuf.PokerTHMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getAnnounceMessageFieldBuilder(); + getInitMessageFieldBuilder(); + getAuthServerChallengeMessageFieldBuilder(); + getAuthClientResponseMessageFieldBuilder(); + getAuthServerVerificationMessageFieldBuilder(); + getInitAckMessageFieldBuilder(); + getAvatarRequestMessageFieldBuilder(); + getAvatarHeaderMessageFieldBuilder(); + getAvatarDataMessageFieldBuilder(); + getAvatarEndMessageFieldBuilder(); + getUnknownAvatarMessageFieldBuilder(); + getPlayerListMessageFieldBuilder(); + getGameListNewMessageFieldBuilder(); + getGameListUpdateMessageFieldBuilder(); + getGameListPlayerJoinedMessageFieldBuilder(); + getGameListPlayerLeftMessageFieldBuilder(); + getGameListAdminChangedMessageFieldBuilder(); + getPlayerInfoRequestMessageFieldBuilder(); + getPlayerInfoReplyMessageFieldBuilder(); + getSubscriptionRequestMessageFieldBuilder(); + getJoinExistingGameMessageFieldBuilder(); + getJoinNewGameMessageFieldBuilder(); + getRejoinExistingGameMessageFieldBuilder(); + getJoinGameAckMessageFieldBuilder(); + getJoinGameFailedMessageFieldBuilder(); + getGamePlayerJoinedMessageFieldBuilder(); + getGamePlayerLeftMessageFieldBuilder(); + getGameAdminChangedMessageFieldBuilder(); + getRemovedFromGameMessageFieldBuilder(); + getKickPlayerRequestMessageFieldBuilder(); + getLeaveGameRequestMessageFieldBuilder(); + getInvitePlayerToGameMessageFieldBuilder(); + getInviteNotifyMessageFieldBuilder(); + getRejectGameInvitationMessageFieldBuilder(); + getRejectInvNotifyMessageFieldBuilder(); + getStartEventMessageFieldBuilder(); + getStartEventAckMessageFieldBuilder(); + getGameStartInitialMessageFieldBuilder(); + getGameStartRejoinMessageFieldBuilder(); + getHandStartMessageFieldBuilder(); + getPlayersTurnMessageFieldBuilder(); + getMyActionRequestMessageFieldBuilder(); + getYourActionRejectedMessageFieldBuilder(); + getPlayersActionDoneMessageFieldBuilder(); + getDealFlopCardsMessageFieldBuilder(); + getDealTurnCardMessageFieldBuilder(); + getDealRiverCardMessageFieldBuilder(); + getAllInShowCardsMessageFieldBuilder(); + getEndOfHandShowCardsMessageFieldBuilder(); + getEndOfHandHideCardsMessageFieldBuilder(); + getShowMyCardsRequestMessageFieldBuilder(); + getAfterHandShowCardsMessageFieldBuilder(); + getEndOfGameMessageFieldBuilder(); + getPlayerIdChangedMessageFieldBuilder(); + getAskKickPlayerMessageFieldBuilder(); + getAskKickDeniedMessageFieldBuilder(); + getStartKickPetitionMessageFieldBuilder(); + getVoteKickRequestMessageFieldBuilder(); + getVoteKickReplyMessageFieldBuilder(); + getKickPetitionUpdateMessageFieldBuilder(); + getEndKickPetitionMessageFieldBuilder(); + getStatisticsMessageFieldBuilder(); + getChatRequestMessageFieldBuilder(); + getChatMessageFieldBuilder(); + getChatRejectMessageFieldBuilder(); + getDialogMessageFieldBuilder(); + getTimeoutWarningMessageFieldBuilder(); + getResetTimeoutMessageFieldBuilder(); + getReportAvatarMessageFieldBuilder(); + getReportAvatarAckMessageFieldBuilder(); + getReportGameMessageFieldBuilder(); + getReportGameAckMessageFieldBuilder(); + getErrorMessageFieldBuilder(); + getAdminRemoveGameMessageFieldBuilder(); + getAdminRemoveGameAckMessageFieldBuilder(); + getAdminBanPlayerMessageFieldBuilder(); + getAdminBanPlayerAckMessageFieldBuilder(); + getGameListSpectatorJoinedMessageFieldBuilder(); + getGameListSpectatorLeftMessageFieldBuilder(); + getGameSpectatorJoinedMessageFieldBuilder(); + getGameSpectatorLeftMessageFieldBuilder(); + getGameStartReentryMessageFieldBuilder(); + } } - private static Builder create() { - return new Builder(); - } - + @java.lang.Override public Builder clear() { super.clear(); - messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; + messageType_ = 1; bitField0_ = (bitField0_ & ~0x00000001); - announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); + if (announceMessageBuilder_ == null) { + announceMessage_ = null; + } else { + announceMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); - initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + if (initMessageBuilder_ == null) { + initMessage_ = null; + } else { + initMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000004); - authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + if (authServerChallengeMessageBuilder_ == null) { + authServerChallengeMessage_ = null; + } else { + authServerChallengeMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000008); - authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + if (authClientResponseMessageBuilder_ == null) { + authClientResponseMessage_ = null; + } else { + authClientResponseMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000010); - authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); + if (authServerVerificationMessageBuilder_ == null) { + authServerVerificationMessage_ = null; + } else { + authServerVerificationMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000020); - initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + if (initAckMessageBuilder_ == null) { + initAckMessage_ = null; + } else { + initAckMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000040); - avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); + if (avatarRequestMessageBuilder_ == null) { + avatarRequestMessage_ = null; + } else { + avatarRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000080); - avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + if (avatarHeaderMessageBuilder_ == null) { + avatarHeaderMessage_ = null; + } else { + avatarHeaderMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000100); - avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + if (avatarDataMessageBuilder_ == null) { + avatarDataMessage_ = null; + } else { + avatarDataMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000200); - avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); + if (avatarEndMessageBuilder_ == null) { + avatarEndMessage_ = null; + } else { + avatarEndMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000400); - unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); + if (unknownAvatarMessageBuilder_ == null) { + unknownAvatarMessage_ = null; + } else { + unknownAvatarMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000800); - playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + if (playerListMessageBuilder_ == null) { + playerListMessage_ = null; + } else { + playerListMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00001000); - gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); + if (gameListNewMessageBuilder_ == null) { + gameListNewMessage_ = null; + } else { + gameListNewMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00002000); - gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); + if (gameListUpdateMessageBuilder_ == null) { + gameListUpdateMessage_ = null; + } else { + gameListUpdateMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00004000); - gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); + if (gameListPlayerJoinedMessageBuilder_ == null) { + gameListPlayerJoinedMessage_ = null; + } else { + gameListPlayerJoinedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00008000); - gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); + if (gameListPlayerLeftMessageBuilder_ == null) { + gameListPlayerLeftMessage_ = null; + } else { + gameListPlayerLeftMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00010000); - gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + if (gameListAdminChangedMessageBuilder_ == null) { + gameListAdminChangedMessage_ = null; + } else { + gameListAdminChangedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00020000); - playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); + if (playerInfoRequestMessageBuilder_ == null) { + playerInfoRequestMessage_ = null; + } else { + playerInfoRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00040000); - playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); + if (playerInfoReplyMessageBuilder_ == null) { + playerInfoReplyMessage_ = null; + } else { + playerInfoReplyMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00080000); - subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + if (subscriptionRequestMessageBuilder_ == null) { + subscriptionRequestMessage_ = null; + } else { + subscriptionRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00100000); - joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); + if (joinExistingGameMessageBuilder_ == null) { + joinExistingGameMessage_ = null; + } else { + joinExistingGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00200000); - joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); + if (joinNewGameMessageBuilder_ == null) { + joinNewGameMessage_ = null; + } else { + joinNewGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00400000); - rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); + if (rejoinExistingGameMessageBuilder_ == null) { + rejoinExistingGameMessage_ = null; + } else { + rejoinExistingGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00800000); - joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); + if (joinGameAckMessageBuilder_ == null) { + joinGameAckMessage_ = null; + } else { + joinGameAckMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x01000000); - joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); + if (joinGameFailedMessageBuilder_ == null) { + joinGameFailedMessage_ = null; + } else { + joinGameFailedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x02000000); - gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + if (gamePlayerJoinedMessageBuilder_ == null) { + gamePlayerJoinedMessage_ = null; + } else { + gamePlayerJoinedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x04000000); - gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + if (gamePlayerLeftMessageBuilder_ == null) { + gamePlayerLeftMessage_ = null; + } else { + gamePlayerLeftMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x08000000); - gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + if (gameAdminChangedMessageBuilder_ == null) { + gameAdminChangedMessage_ = null; + } else { + gameAdminChangedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x10000000); - removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + if (removedFromGameMessageBuilder_ == null) { + removedFromGameMessage_ = null; + } else { + removedFromGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x20000000); - kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); + if (kickPlayerRequestMessageBuilder_ == null) { + kickPlayerRequestMessage_ = null; + } else { + kickPlayerRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x40000000); - leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + if (leaveGameRequestMessageBuilder_ == null) { + leaveGameRequestMessage_ = null; + } else { + leaveGameRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x80000000); - invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); + if (invitePlayerToGameMessageBuilder_ == null) { + invitePlayerToGameMessage_ = null; + } else { + invitePlayerToGameMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000001); - inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); + if (inviteNotifyMessageBuilder_ == null) { + inviteNotifyMessage_ = null; + } else { + inviteNotifyMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000002); - rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + if (rejectGameInvitationMessageBuilder_ == null) { + rejectGameInvitationMessage_ = null; + } else { + rejectGameInvitationMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000004); - rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + if (rejectInvNotifyMessageBuilder_ == null) { + rejectInvNotifyMessage_ = null; + } else { + rejectInvNotifyMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000008); - startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + if (startEventMessageBuilder_ == null) { + startEventMessage_ = null; + } else { + startEventMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000010); - startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); + if (startEventAckMessageBuilder_ == null) { + startEventAckMessage_ = null; + } else { + startEventAckMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000020); - gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); + if (gameStartInitialMessageBuilder_ == null) { + gameStartInitialMessage_ = null; + } else { + gameStartInitialMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000040); - gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); + if (gameStartRejoinMessageBuilder_ == null) { + gameStartRejoinMessage_ = null; + } else { + gameStartRejoinMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000080); - handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); + if (handStartMessageBuilder_ == null) { + handStartMessage_ = null; + } else { + handStartMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000100); - playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); + if (playersTurnMessageBuilder_ == null) { + playersTurnMessage_ = null; + } else { + playersTurnMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000200); - myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + if (myActionRequestMessageBuilder_ == null) { + myActionRequestMessage_ = null; + } else { + myActionRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000400); - yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + if (yourActionRejectedMessageBuilder_ == null) { + yourActionRejectedMessage_ = null; + } else { + yourActionRejectedMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000800); - playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + if (playersActionDoneMessageBuilder_ == null) { + playersActionDoneMessage_ = null; + } else { + playersActionDoneMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00001000); - dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + if (dealFlopCardsMessageBuilder_ == null) { + dealFlopCardsMessage_ = null; + } else { + dealFlopCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00002000); - dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + if (dealTurnCardMessageBuilder_ == null) { + dealTurnCardMessage_ = null; + } else { + dealTurnCardMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00004000); - dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + if (dealRiverCardMessageBuilder_ == null) { + dealRiverCardMessage_ = null; + } else { + dealRiverCardMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00008000); - allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); + if (allInShowCardsMessageBuilder_ == null) { + allInShowCardsMessage_ = null; + } else { + allInShowCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00010000); - endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); + if (endOfHandShowCardsMessageBuilder_ == null) { + endOfHandShowCardsMessage_ = null; + } else { + endOfHandShowCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00020000); - endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + if (endOfHandHideCardsMessageBuilder_ == null) { + endOfHandHideCardsMessage_ = null; + } else { + endOfHandHideCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00040000); - showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); + if (showMyCardsRequestMessageBuilder_ == null) { + showMyCardsRequestMessage_ = null; + } else { + showMyCardsRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00080000); - afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); + if (afterHandShowCardsMessageBuilder_ == null) { + afterHandShowCardsMessage_ = null; + } else { + afterHandShowCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00100000); - endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); + if (endOfGameMessageBuilder_ == null) { + endOfGameMessage_ = null; + } else { + endOfGameMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00200000); - playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + if (playerIdChangedMessageBuilder_ == null) { + playerIdChangedMessage_ = null; + } else { + playerIdChangedMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00400000); - askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + if (askKickPlayerMessageBuilder_ == null) { + askKickPlayerMessage_ = null; + } else { + askKickPlayerMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00800000); - askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + if (askKickDeniedMessageBuilder_ == null) { + askKickDeniedMessage_ = null; + } else { + askKickDeniedMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x01000000); - startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + if (startKickPetitionMessageBuilder_ == null) { + startKickPetitionMessage_ = null; + } else { + startKickPetitionMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x02000000); - voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + if (voteKickRequestMessageBuilder_ == null) { + voteKickRequestMessage_ = null; + } else { + voteKickRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x04000000); - voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + if (voteKickReplyMessageBuilder_ == null) { + voteKickReplyMessage_ = null; + } else { + voteKickReplyMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x08000000); - kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + if (kickPetitionUpdateMessageBuilder_ == null) { + kickPetitionUpdateMessage_ = null; + } else { + kickPetitionUpdateMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x10000000); - endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + if (endKickPetitionMessageBuilder_ == null) { + endKickPetitionMessage_ = null; + } else { + endKickPetitionMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x20000000); - statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); + if (statisticsMessageBuilder_ == null) { + statisticsMessage_ = null; + } else { + statisticsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x40000000); - chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + if (chatRequestMessageBuilder_ == null) { + chatRequestMessage_ = null; + } else { + chatRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x80000000); - chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + if (chatMessageBuilder_ == null) { + chatMessage_ = null; + } else { + chatMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000001); - chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + if (chatRejectMessageBuilder_ == null) { + chatRejectMessage_ = null; + } else { + chatRejectMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000002); - dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); + if (dialogMessageBuilder_ == null) { + dialogMessage_ = null; + } else { + dialogMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000004); - timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + if (timeoutWarningMessageBuilder_ == null) { + timeoutWarningMessage_ = null; + } else { + timeoutWarningMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000008); - resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); + if (resetTimeoutMessageBuilder_ == null) { + resetTimeoutMessage_ = null; + } else { + resetTimeoutMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000010); - reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); + if (reportAvatarMessageBuilder_ == null) { + reportAvatarMessage_ = null; + } else { + reportAvatarMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000020); - reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + if (reportAvatarAckMessageBuilder_ == null) { + reportAvatarAckMessage_ = null; + } else { + reportAvatarAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000040); - reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); + if (reportGameMessageBuilder_ == null) { + reportGameMessage_ = null; + } else { + reportGameMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000080); - reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + if (reportGameAckMessageBuilder_ == null) { + reportGameAckMessage_ = null; + } else { + reportGameAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000100); - errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + if (errorMessageBuilder_ == null) { + errorMessage_ = null; + } else { + errorMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000200); - adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); + if (adminRemoveGameMessageBuilder_ == null) { + adminRemoveGameMessage_ = null; + } else { + adminRemoveGameMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000400); - adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + if (adminRemoveGameAckMessageBuilder_ == null) { + adminRemoveGameAckMessage_ = null; + } else { + adminRemoveGameAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000800); - adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); + if (adminBanPlayerMessageBuilder_ == null) { + adminBanPlayerMessage_ = null; + } else { + adminBanPlayerMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00001000); - adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + if (adminBanPlayerAckMessageBuilder_ == null) { + adminBanPlayerAckMessage_ = null; + } else { + adminBanPlayerAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00002000); - gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); + if (gameListSpectatorJoinedMessageBuilder_ == null) { + gameListSpectatorJoinedMessage_ = null; + } else { + gameListSpectatorJoinedMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00004000); - gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); + if (gameListSpectatorLeftMessageBuilder_ == null) { + gameListSpectatorLeftMessage_ = null; + } else { + gameListSpectatorLeftMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00008000); - gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + if (gameSpectatorJoinedMessageBuilder_ == null) { + gameSpectatorJoinedMessage_ = null; + } else { + gameSpectatorJoinedMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00010000); - gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + if (gameSpectatorLeftMessageBuilder_ == null) { + gameSpectatorLeftMessage_ = null; + } else { + gameSpectatorLeftMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00020000); + if (gameStartReentryMessageBuilder_ == null) { + gameStartReentryMessage_ = null; + } else { + gameStartReentryMessageBuilder_.clear(); + } + bitField2_ = (bitField2_ & ~0x00040000); return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return de.pokerth.protocol.ProtoBuf.internal_static_PokerTHMessage_descriptor; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PokerTHMessage getDefaultInstanceForType() { return de.pokerth.protocol.ProtoBuf.PokerTHMessage.getDefaultInstance(); } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PokerTHMessage build() { de.pokerth.protocol.ProtoBuf.PokerTHMessage result = buildPartial(); if (!result.isInitialized()) { @@ -55609,6 +82558,7 @@ public final class ProtoBuf { return result; } + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PokerTHMessage buildPartial() { de.pokerth.protocol.ProtoBuf.PokerTHMessage result = new de.pokerth.protocol.ProtoBuf.PokerTHMessage(this); int from_bitField0_ = bitField0_; @@ -55617,340 +82567,715 @@ public final class ProtoBuf { int to_bitField0_ = 0; int to_bitField1_ = 0; int to_bitField2_ = 0; - if (((from_bitField0_ & 0x00000001) == 0x00000001)) { + if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.messageType_ = messageType_; - if (((from_bitField0_ & 0x00000002) == 0x00000002)) { + if (((from_bitField0_ & 0x00000002) != 0)) { + if (announceMessageBuilder_ == null) { + result.announceMessage_ = announceMessage_; + } else { + result.announceMessage_ = announceMessageBuilder_.build(); + } to_bitField0_ |= 0x00000002; } - result.announceMessage_ = announceMessage_; - if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + if (((from_bitField0_ & 0x00000004) != 0)) { + if (initMessageBuilder_ == null) { + result.initMessage_ = initMessage_; + } else { + result.initMessage_ = initMessageBuilder_.build(); + } to_bitField0_ |= 0x00000004; } - result.initMessage_ = initMessage_; - if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + if (((from_bitField0_ & 0x00000008) != 0)) { + if (authServerChallengeMessageBuilder_ == null) { + result.authServerChallengeMessage_ = authServerChallengeMessage_; + } else { + result.authServerChallengeMessage_ = authServerChallengeMessageBuilder_.build(); + } to_bitField0_ |= 0x00000008; } - result.authServerChallengeMessage_ = authServerChallengeMessage_; - if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + if (((from_bitField0_ & 0x00000010) != 0)) { + if (authClientResponseMessageBuilder_ == null) { + result.authClientResponseMessage_ = authClientResponseMessage_; + } else { + result.authClientResponseMessage_ = authClientResponseMessageBuilder_.build(); + } to_bitField0_ |= 0x00000010; } - result.authClientResponseMessage_ = authClientResponseMessage_; - if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + if (((from_bitField0_ & 0x00000020) != 0)) { + if (authServerVerificationMessageBuilder_ == null) { + result.authServerVerificationMessage_ = authServerVerificationMessage_; + } else { + result.authServerVerificationMessage_ = authServerVerificationMessageBuilder_.build(); + } to_bitField0_ |= 0x00000020; } - result.authServerVerificationMessage_ = authServerVerificationMessage_; - if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + if (((from_bitField0_ & 0x00000040) != 0)) { + if (initAckMessageBuilder_ == null) { + result.initAckMessage_ = initAckMessage_; + } else { + result.initAckMessage_ = initAckMessageBuilder_.build(); + } to_bitField0_ |= 0x00000040; } - result.initAckMessage_ = initAckMessage_; - if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + if (((from_bitField0_ & 0x00000080) != 0)) { + if (avatarRequestMessageBuilder_ == null) { + result.avatarRequestMessage_ = avatarRequestMessage_; + } else { + result.avatarRequestMessage_ = avatarRequestMessageBuilder_.build(); + } to_bitField0_ |= 0x00000080; } - result.avatarRequestMessage_ = avatarRequestMessage_; - if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + if (((from_bitField0_ & 0x00000100) != 0)) { + if (avatarHeaderMessageBuilder_ == null) { + result.avatarHeaderMessage_ = avatarHeaderMessage_; + } else { + result.avatarHeaderMessage_ = avatarHeaderMessageBuilder_.build(); + } to_bitField0_ |= 0x00000100; } - result.avatarHeaderMessage_ = avatarHeaderMessage_; - if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + if (((from_bitField0_ & 0x00000200) != 0)) { + if (avatarDataMessageBuilder_ == null) { + result.avatarDataMessage_ = avatarDataMessage_; + } else { + result.avatarDataMessage_ = avatarDataMessageBuilder_.build(); + } to_bitField0_ |= 0x00000200; } - result.avatarDataMessage_ = avatarDataMessage_; - if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + if (((from_bitField0_ & 0x00000400) != 0)) { + if (avatarEndMessageBuilder_ == null) { + result.avatarEndMessage_ = avatarEndMessage_; + } else { + result.avatarEndMessage_ = avatarEndMessageBuilder_.build(); + } to_bitField0_ |= 0x00000400; } - result.avatarEndMessage_ = avatarEndMessage_; - if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + if (((from_bitField0_ & 0x00000800) != 0)) { + if (unknownAvatarMessageBuilder_ == null) { + result.unknownAvatarMessage_ = unknownAvatarMessage_; + } else { + result.unknownAvatarMessage_ = unknownAvatarMessageBuilder_.build(); + } to_bitField0_ |= 0x00000800; } - result.unknownAvatarMessage_ = unknownAvatarMessage_; - if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + if (((from_bitField0_ & 0x00001000) != 0)) { + if (playerListMessageBuilder_ == null) { + result.playerListMessage_ = playerListMessage_; + } else { + result.playerListMessage_ = playerListMessageBuilder_.build(); + } to_bitField0_ |= 0x00001000; } - result.playerListMessage_ = playerListMessage_; - if (((from_bitField0_ & 0x00002000) == 0x00002000)) { + if (((from_bitField0_ & 0x00002000) != 0)) { + if (gameListNewMessageBuilder_ == null) { + result.gameListNewMessage_ = gameListNewMessage_; + } else { + result.gameListNewMessage_ = gameListNewMessageBuilder_.build(); + } to_bitField0_ |= 0x00002000; } - result.gameListNewMessage_ = gameListNewMessage_; - if (((from_bitField0_ & 0x00004000) == 0x00004000)) { + if (((from_bitField0_ & 0x00004000) != 0)) { + if (gameListUpdateMessageBuilder_ == null) { + result.gameListUpdateMessage_ = gameListUpdateMessage_; + } else { + result.gameListUpdateMessage_ = gameListUpdateMessageBuilder_.build(); + } to_bitField0_ |= 0x00004000; } - result.gameListUpdateMessage_ = gameListUpdateMessage_; - if (((from_bitField0_ & 0x00008000) == 0x00008000)) { + if (((from_bitField0_ & 0x00008000) != 0)) { + if (gameListPlayerJoinedMessageBuilder_ == null) { + result.gameListPlayerJoinedMessage_ = gameListPlayerJoinedMessage_; + } else { + result.gameListPlayerJoinedMessage_ = gameListPlayerJoinedMessageBuilder_.build(); + } to_bitField0_ |= 0x00008000; } - result.gameListPlayerJoinedMessage_ = gameListPlayerJoinedMessage_; - if (((from_bitField0_ & 0x00010000) == 0x00010000)) { + if (((from_bitField0_ & 0x00010000) != 0)) { + if (gameListPlayerLeftMessageBuilder_ == null) { + result.gameListPlayerLeftMessage_ = gameListPlayerLeftMessage_; + } else { + result.gameListPlayerLeftMessage_ = gameListPlayerLeftMessageBuilder_.build(); + } to_bitField0_ |= 0x00010000; } - result.gameListPlayerLeftMessage_ = gameListPlayerLeftMessage_; - if (((from_bitField0_ & 0x00020000) == 0x00020000)) { + if (((from_bitField0_ & 0x00020000) != 0)) { + if (gameListAdminChangedMessageBuilder_ == null) { + result.gameListAdminChangedMessage_ = gameListAdminChangedMessage_; + } else { + result.gameListAdminChangedMessage_ = gameListAdminChangedMessageBuilder_.build(); + } to_bitField0_ |= 0x00020000; } - result.gameListAdminChangedMessage_ = gameListAdminChangedMessage_; - if (((from_bitField0_ & 0x00040000) == 0x00040000)) { + if (((from_bitField0_ & 0x00040000) != 0)) { + if (playerInfoRequestMessageBuilder_ == null) { + result.playerInfoRequestMessage_ = playerInfoRequestMessage_; + } else { + result.playerInfoRequestMessage_ = playerInfoRequestMessageBuilder_.build(); + } to_bitField0_ |= 0x00040000; } - result.playerInfoRequestMessage_ = playerInfoRequestMessage_; - if (((from_bitField0_ & 0x00080000) == 0x00080000)) { + if (((from_bitField0_ & 0x00080000) != 0)) { + if (playerInfoReplyMessageBuilder_ == null) { + result.playerInfoReplyMessage_ = playerInfoReplyMessage_; + } else { + result.playerInfoReplyMessage_ = playerInfoReplyMessageBuilder_.build(); + } to_bitField0_ |= 0x00080000; } - result.playerInfoReplyMessage_ = playerInfoReplyMessage_; - if (((from_bitField0_ & 0x00100000) == 0x00100000)) { + if (((from_bitField0_ & 0x00100000) != 0)) { + if (subscriptionRequestMessageBuilder_ == null) { + result.subscriptionRequestMessage_ = subscriptionRequestMessage_; + } else { + result.subscriptionRequestMessage_ = subscriptionRequestMessageBuilder_.build(); + } to_bitField0_ |= 0x00100000; } - result.subscriptionRequestMessage_ = subscriptionRequestMessage_; - if (((from_bitField0_ & 0x00200000) == 0x00200000)) { + if (((from_bitField0_ & 0x00200000) != 0)) { + if (joinExistingGameMessageBuilder_ == null) { + result.joinExistingGameMessage_ = joinExistingGameMessage_; + } else { + result.joinExistingGameMessage_ = joinExistingGameMessageBuilder_.build(); + } to_bitField0_ |= 0x00200000; } - result.joinExistingGameMessage_ = joinExistingGameMessage_; - if (((from_bitField0_ & 0x00400000) == 0x00400000)) { + if (((from_bitField0_ & 0x00400000) != 0)) { + if (joinNewGameMessageBuilder_ == null) { + result.joinNewGameMessage_ = joinNewGameMessage_; + } else { + result.joinNewGameMessage_ = joinNewGameMessageBuilder_.build(); + } to_bitField0_ |= 0x00400000; } - result.joinNewGameMessage_ = joinNewGameMessage_; - if (((from_bitField0_ & 0x00800000) == 0x00800000)) { + if (((from_bitField0_ & 0x00800000) != 0)) { + if (rejoinExistingGameMessageBuilder_ == null) { + result.rejoinExistingGameMessage_ = rejoinExistingGameMessage_; + } else { + result.rejoinExistingGameMessage_ = rejoinExistingGameMessageBuilder_.build(); + } to_bitField0_ |= 0x00800000; } - result.rejoinExistingGameMessage_ = rejoinExistingGameMessage_; - if (((from_bitField0_ & 0x01000000) == 0x01000000)) { + if (((from_bitField0_ & 0x01000000) != 0)) { + if (joinGameAckMessageBuilder_ == null) { + result.joinGameAckMessage_ = joinGameAckMessage_; + } else { + result.joinGameAckMessage_ = joinGameAckMessageBuilder_.build(); + } to_bitField0_ |= 0x01000000; } - result.joinGameAckMessage_ = joinGameAckMessage_; - if (((from_bitField0_ & 0x02000000) == 0x02000000)) { + if (((from_bitField0_ & 0x02000000) != 0)) { + if (joinGameFailedMessageBuilder_ == null) { + result.joinGameFailedMessage_ = joinGameFailedMessage_; + } else { + result.joinGameFailedMessage_ = joinGameFailedMessageBuilder_.build(); + } to_bitField0_ |= 0x02000000; } - result.joinGameFailedMessage_ = joinGameFailedMessage_; - if (((from_bitField0_ & 0x04000000) == 0x04000000)) { + if (((from_bitField0_ & 0x04000000) != 0)) { + if (gamePlayerJoinedMessageBuilder_ == null) { + result.gamePlayerJoinedMessage_ = gamePlayerJoinedMessage_; + } else { + result.gamePlayerJoinedMessage_ = gamePlayerJoinedMessageBuilder_.build(); + } to_bitField0_ |= 0x04000000; } - result.gamePlayerJoinedMessage_ = gamePlayerJoinedMessage_; - if (((from_bitField0_ & 0x08000000) == 0x08000000)) { + if (((from_bitField0_ & 0x08000000) != 0)) { + if (gamePlayerLeftMessageBuilder_ == null) { + result.gamePlayerLeftMessage_ = gamePlayerLeftMessage_; + } else { + result.gamePlayerLeftMessage_ = gamePlayerLeftMessageBuilder_.build(); + } to_bitField0_ |= 0x08000000; } - result.gamePlayerLeftMessage_ = gamePlayerLeftMessage_; - if (((from_bitField0_ & 0x10000000) == 0x10000000)) { + if (((from_bitField0_ & 0x10000000) != 0)) { + if (gameAdminChangedMessageBuilder_ == null) { + result.gameAdminChangedMessage_ = gameAdminChangedMessage_; + } else { + result.gameAdminChangedMessage_ = gameAdminChangedMessageBuilder_.build(); + } to_bitField0_ |= 0x10000000; } - result.gameAdminChangedMessage_ = gameAdminChangedMessage_; - if (((from_bitField0_ & 0x20000000) == 0x20000000)) { + if (((from_bitField0_ & 0x20000000) != 0)) { + if (removedFromGameMessageBuilder_ == null) { + result.removedFromGameMessage_ = removedFromGameMessage_; + } else { + result.removedFromGameMessage_ = removedFromGameMessageBuilder_.build(); + } to_bitField0_ |= 0x20000000; } - result.removedFromGameMessage_ = removedFromGameMessage_; - if (((from_bitField0_ & 0x40000000) == 0x40000000)) { + if (((from_bitField0_ & 0x40000000) != 0)) { + if (kickPlayerRequestMessageBuilder_ == null) { + result.kickPlayerRequestMessage_ = kickPlayerRequestMessage_; + } else { + result.kickPlayerRequestMessage_ = kickPlayerRequestMessageBuilder_.build(); + } to_bitField0_ |= 0x40000000; } - result.kickPlayerRequestMessage_ = kickPlayerRequestMessage_; - if (((from_bitField0_ & 0x80000000) == 0x80000000)) { + if (((from_bitField0_ & 0x80000000) != 0)) { + if (leaveGameRequestMessageBuilder_ == null) { + result.leaveGameRequestMessage_ = leaveGameRequestMessage_; + } else { + result.leaveGameRequestMessage_ = leaveGameRequestMessageBuilder_.build(); + } to_bitField0_ |= 0x80000000; } - result.leaveGameRequestMessage_ = leaveGameRequestMessage_; - if (((from_bitField1_ & 0x00000001) == 0x00000001)) { + if (((from_bitField1_ & 0x00000001) != 0)) { + if (invitePlayerToGameMessageBuilder_ == null) { + result.invitePlayerToGameMessage_ = invitePlayerToGameMessage_; + } else { + result.invitePlayerToGameMessage_ = invitePlayerToGameMessageBuilder_.build(); + } to_bitField1_ |= 0x00000001; } - result.invitePlayerToGameMessage_ = invitePlayerToGameMessage_; - if (((from_bitField1_ & 0x00000002) == 0x00000002)) { + if (((from_bitField1_ & 0x00000002) != 0)) { + if (inviteNotifyMessageBuilder_ == null) { + result.inviteNotifyMessage_ = inviteNotifyMessage_; + } else { + result.inviteNotifyMessage_ = inviteNotifyMessageBuilder_.build(); + } to_bitField1_ |= 0x00000002; } - result.inviteNotifyMessage_ = inviteNotifyMessage_; - if (((from_bitField1_ & 0x00000004) == 0x00000004)) { + if (((from_bitField1_ & 0x00000004) != 0)) { + if (rejectGameInvitationMessageBuilder_ == null) { + result.rejectGameInvitationMessage_ = rejectGameInvitationMessage_; + } else { + result.rejectGameInvitationMessage_ = rejectGameInvitationMessageBuilder_.build(); + } to_bitField1_ |= 0x00000004; } - result.rejectGameInvitationMessage_ = rejectGameInvitationMessage_; - if (((from_bitField1_ & 0x00000008) == 0x00000008)) { + if (((from_bitField1_ & 0x00000008) != 0)) { + if (rejectInvNotifyMessageBuilder_ == null) { + result.rejectInvNotifyMessage_ = rejectInvNotifyMessage_; + } else { + result.rejectInvNotifyMessage_ = rejectInvNotifyMessageBuilder_.build(); + } to_bitField1_ |= 0x00000008; } - result.rejectInvNotifyMessage_ = rejectInvNotifyMessage_; - if (((from_bitField1_ & 0x00000010) == 0x00000010)) { + if (((from_bitField1_ & 0x00000010) != 0)) { + if (startEventMessageBuilder_ == null) { + result.startEventMessage_ = startEventMessage_; + } else { + result.startEventMessage_ = startEventMessageBuilder_.build(); + } to_bitField1_ |= 0x00000010; } - result.startEventMessage_ = startEventMessage_; - if (((from_bitField1_ & 0x00000020) == 0x00000020)) { + if (((from_bitField1_ & 0x00000020) != 0)) { + if (startEventAckMessageBuilder_ == null) { + result.startEventAckMessage_ = startEventAckMessage_; + } else { + result.startEventAckMessage_ = startEventAckMessageBuilder_.build(); + } to_bitField1_ |= 0x00000020; } - result.startEventAckMessage_ = startEventAckMessage_; - if (((from_bitField1_ & 0x00000040) == 0x00000040)) { + if (((from_bitField1_ & 0x00000040) != 0)) { + if (gameStartInitialMessageBuilder_ == null) { + result.gameStartInitialMessage_ = gameStartInitialMessage_; + } else { + result.gameStartInitialMessage_ = gameStartInitialMessageBuilder_.build(); + } to_bitField1_ |= 0x00000040; } - result.gameStartInitialMessage_ = gameStartInitialMessage_; - if (((from_bitField1_ & 0x00000080) == 0x00000080)) { + if (((from_bitField1_ & 0x00000080) != 0)) { + if (gameStartRejoinMessageBuilder_ == null) { + result.gameStartRejoinMessage_ = gameStartRejoinMessage_; + } else { + result.gameStartRejoinMessage_ = gameStartRejoinMessageBuilder_.build(); + } to_bitField1_ |= 0x00000080; } - result.gameStartRejoinMessage_ = gameStartRejoinMessage_; - if (((from_bitField1_ & 0x00000100) == 0x00000100)) { + if (((from_bitField1_ & 0x00000100) != 0)) { + if (handStartMessageBuilder_ == null) { + result.handStartMessage_ = handStartMessage_; + } else { + result.handStartMessage_ = handStartMessageBuilder_.build(); + } to_bitField1_ |= 0x00000100; } - result.handStartMessage_ = handStartMessage_; - if (((from_bitField1_ & 0x00000200) == 0x00000200)) { + if (((from_bitField1_ & 0x00000200) != 0)) { + if (playersTurnMessageBuilder_ == null) { + result.playersTurnMessage_ = playersTurnMessage_; + } else { + result.playersTurnMessage_ = playersTurnMessageBuilder_.build(); + } to_bitField1_ |= 0x00000200; } - result.playersTurnMessage_ = playersTurnMessage_; - if (((from_bitField1_ & 0x00000400) == 0x00000400)) { + if (((from_bitField1_ & 0x00000400) != 0)) { + if (myActionRequestMessageBuilder_ == null) { + result.myActionRequestMessage_ = myActionRequestMessage_; + } else { + result.myActionRequestMessage_ = myActionRequestMessageBuilder_.build(); + } to_bitField1_ |= 0x00000400; } - result.myActionRequestMessage_ = myActionRequestMessage_; - if (((from_bitField1_ & 0x00000800) == 0x00000800)) { + if (((from_bitField1_ & 0x00000800) != 0)) { + if (yourActionRejectedMessageBuilder_ == null) { + result.yourActionRejectedMessage_ = yourActionRejectedMessage_; + } else { + result.yourActionRejectedMessage_ = yourActionRejectedMessageBuilder_.build(); + } to_bitField1_ |= 0x00000800; } - result.yourActionRejectedMessage_ = yourActionRejectedMessage_; - if (((from_bitField1_ & 0x00001000) == 0x00001000)) { + if (((from_bitField1_ & 0x00001000) != 0)) { + if (playersActionDoneMessageBuilder_ == null) { + result.playersActionDoneMessage_ = playersActionDoneMessage_; + } else { + result.playersActionDoneMessage_ = playersActionDoneMessageBuilder_.build(); + } to_bitField1_ |= 0x00001000; } - result.playersActionDoneMessage_ = playersActionDoneMessage_; - if (((from_bitField1_ & 0x00002000) == 0x00002000)) { + if (((from_bitField1_ & 0x00002000) != 0)) { + if (dealFlopCardsMessageBuilder_ == null) { + result.dealFlopCardsMessage_ = dealFlopCardsMessage_; + } else { + result.dealFlopCardsMessage_ = dealFlopCardsMessageBuilder_.build(); + } to_bitField1_ |= 0x00002000; } - result.dealFlopCardsMessage_ = dealFlopCardsMessage_; - if (((from_bitField1_ & 0x00004000) == 0x00004000)) { + if (((from_bitField1_ & 0x00004000) != 0)) { + if (dealTurnCardMessageBuilder_ == null) { + result.dealTurnCardMessage_ = dealTurnCardMessage_; + } else { + result.dealTurnCardMessage_ = dealTurnCardMessageBuilder_.build(); + } to_bitField1_ |= 0x00004000; } - result.dealTurnCardMessage_ = dealTurnCardMessage_; - if (((from_bitField1_ & 0x00008000) == 0x00008000)) { + if (((from_bitField1_ & 0x00008000) != 0)) { + if (dealRiverCardMessageBuilder_ == null) { + result.dealRiverCardMessage_ = dealRiverCardMessage_; + } else { + result.dealRiverCardMessage_ = dealRiverCardMessageBuilder_.build(); + } to_bitField1_ |= 0x00008000; } - result.dealRiverCardMessage_ = dealRiverCardMessage_; - if (((from_bitField1_ & 0x00010000) == 0x00010000)) { + if (((from_bitField1_ & 0x00010000) != 0)) { + if (allInShowCardsMessageBuilder_ == null) { + result.allInShowCardsMessage_ = allInShowCardsMessage_; + } else { + result.allInShowCardsMessage_ = allInShowCardsMessageBuilder_.build(); + } to_bitField1_ |= 0x00010000; } - result.allInShowCardsMessage_ = allInShowCardsMessage_; - if (((from_bitField1_ & 0x00020000) == 0x00020000)) { + if (((from_bitField1_ & 0x00020000) != 0)) { + if (endOfHandShowCardsMessageBuilder_ == null) { + result.endOfHandShowCardsMessage_ = endOfHandShowCardsMessage_; + } else { + result.endOfHandShowCardsMessage_ = endOfHandShowCardsMessageBuilder_.build(); + } to_bitField1_ |= 0x00020000; } - result.endOfHandShowCardsMessage_ = endOfHandShowCardsMessage_; - if (((from_bitField1_ & 0x00040000) == 0x00040000)) { + if (((from_bitField1_ & 0x00040000) != 0)) { + if (endOfHandHideCardsMessageBuilder_ == null) { + result.endOfHandHideCardsMessage_ = endOfHandHideCardsMessage_; + } else { + result.endOfHandHideCardsMessage_ = endOfHandHideCardsMessageBuilder_.build(); + } to_bitField1_ |= 0x00040000; } - result.endOfHandHideCardsMessage_ = endOfHandHideCardsMessage_; - if (((from_bitField1_ & 0x00080000) == 0x00080000)) { + if (((from_bitField1_ & 0x00080000) != 0)) { + if (showMyCardsRequestMessageBuilder_ == null) { + result.showMyCardsRequestMessage_ = showMyCardsRequestMessage_; + } else { + result.showMyCardsRequestMessage_ = showMyCardsRequestMessageBuilder_.build(); + } to_bitField1_ |= 0x00080000; } - result.showMyCardsRequestMessage_ = showMyCardsRequestMessage_; - if (((from_bitField1_ & 0x00100000) == 0x00100000)) { + if (((from_bitField1_ & 0x00100000) != 0)) { + if (afterHandShowCardsMessageBuilder_ == null) { + result.afterHandShowCardsMessage_ = afterHandShowCardsMessage_; + } else { + result.afterHandShowCardsMessage_ = afterHandShowCardsMessageBuilder_.build(); + } to_bitField1_ |= 0x00100000; } - result.afterHandShowCardsMessage_ = afterHandShowCardsMessage_; - if (((from_bitField1_ & 0x00200000) == 0x00200000)) { + if (((from_bitField1_ & 0x00200000) != 0)) { + if (endOfGameMessageBuilder_ == null) { + result.endOfGameMessage_ = endOfGameMessage_; + } else { + result.endOfGameMessage_ = endOfGameMessageBuilder_.build(); + } to_bitField1_ |= 0x00200000; } - result.endOfGameMessage_ = endOfGameMessage_; - if (((from_bitField1_ & 0x00400000) == 0x00400000)) { + if (((from_bitField1_ & 0x00400000) != 0)) { + if (playerIdChangedMessageBuilder_ == null) { + result.playerIdChangedMessage_ = playerIdChangedMessage_; + } else { + result.playerIdChangedMessage_ = playerIdChangedMessageBuilder_.build(); + } to_bitField1_ |= 0x00400000; } - result.playerIdChangedMessage_ = playerIdChangedMessage_; - if (((from_bitField1_ & 0x00800000) == 0x00800000)) { + if (((from_bitField1_ & 0x00800000) != 0)) { + if (askKickPlayerMessageBuilder_ == null) { + result.askKickPlayerMessage_ = askKickPlayerMessage_; + } else { + result.askKickPlayerMessage_ = askKickPlayerMessageBuilder_.build(); + } to_bitField1_ |= 0x00800000; } - result.askKickPlayerMessage_ = askKickPlayerMessage_; - if (((from_bitField1_ & 0x01000000) == 0x01000000)) { + if (((from_bitField1_ & 0x01000000) != 0)) { + if (askKickDeniedMessageBuilder_ == null) { + result.askKickDeniedMessage_ = askKickDeniedMessage_; + } else { + result.askKickDeniedMessage_ = askKickDeniedMessageBuilder_.build(); + } to_bitField1_ |= 0x01000000; } - result.askKickDeniedMessage_ = askKickDeniedMessage_; - if (((from_bitField1_ & 0x02000000) == 0x02000000)) { + if (((from_bitField1_ & 0x02000000) != 0)) { + if (startKickPetitionMessageBuilder_ == null) { + result.startKickPetitionMessage_ = startKickPetitionMessage_; + } else { + result.startKickPetitionMessage_ = startKickPetitionMessageBuilder_.build(); + } to_bitField1_ |= 0x02000000; } - result.startKickPetitionMessage_ = startKickPetitionMessage_; - if (((from_bitField1_ & 0x04000000) == 0x04000000)) { + if (((from_bitField1_ & 0x04000000) != 0)) { + if (voteKickRequestMessageBuilder_ == null) { + result.voteKickRequestMessage_ = voteKickRequestMessage_; + } else { + result.voteKickRequestMessage_ = voteKickRequestMessageBuilder_.build(); + } to_bitField1_ |= 0x04000000; } - result.voteKickRequestMessage_ = voteKickRequestMessage_; - if (((from_bitField1_ & 0x08000000) == 0x08000000)) { + if (((from_bitField1_ & 0x08000000) != 0)) { + if (voteKickReplyMessageBuilder_ == null) { + result.voteKickReplyMessage_ = voteKickReplyMessage_; + } else { + result.voteKickReplyMessage_ = voteKickReplyMessageBuilder_.build(); + } to_bitField1_ |= 0x08000000; } - result.voteKickReplyMessage_ = voteKickReplyMessage_; - if (((from_bitField1_ & 0x10000000) == 0x10000000)) { + if (((from_bitField1_ & 0x10000000) != 0)) { + if (kickPetitionUpdateMessageBuilder_ == null) { + result.kickPetitionUpdateMessage_ = kickPetitionUpdateMessage_; + } else { + result.kickPetitionUpdateMessage_ = kickPetitionUpdateMessageBuilder_.build(); + } to_bitField1_ |= 0x10000000; } - result.kickPetitionUpdateMessage_ = kickPetitionUpdateMessage_; - if (((from_bitField1_ & 0x20000000) == 0x20000000)) { + if (((from_bitField1_ & 0x20000000) != 0)) { + if (endKickPetitionMessageBuilder_ == null) { + result.endKickPetitionMessage_ = endKickPetitionMessage_; + } else { + result.endKickPetitionMessage_ = endKickPetitionMessageBuilder_.build(); + } to_bitField1_ |= 0x20000000; } - result.endKickPetitionMessage_ = endKickPetitionMessage_; - if (((from_bitField1_ & 0x40000000) == 0x40000000)) { + if (((from_bitField1_ & 0x40000000) != 0)) { + if (statisticsMessageBuilder_ == null) { + result.statisticsMessage_ = statisticsMessage_; + } else { + result.statisticsMessage_ = statisticsMessageBuilder_.build(); + } to_bitField1_ |= 0x40000000; } - result.statisticsMessage_ = statisticsMessage_; - if (((from_bitField1_ & 0x80000000) == 0x80000000)) { + if (((from_bitField1_ & 0x80000000) != 0)) { + if (chatRequestMessageBuilder_ == null) { + result.chatRequestMessage_ = chatRequestMessage_; + } else { + result.chatRequestMessage_ = chatRequestMessageBuilder_.build(); + } to_bitField1_ |= 0x80000000; } - result.chatRequestMessage_ = chatRequestMessage_; - if (((from_bitField2_ & 0x00000001) == 0x00000001)) { + if (((from_bitField2_ & 0x00000001) != 0)) { + if (chatMessageBuilder_ == null) { + result.chatMessage_ = chatMessage_; + } else { + result.chatMessage_ = chatMessageBuilder_.build(); + } to_bitField2_ |= 0x00000001; } - result.chatMessage_ = chatMessage_; - if (((from_bitField2_ & 0x00000002) == 0x00000002)) { + if (((from_bitField2_ & 0x00000002) != 0)) { + if (chatRejectMessageBuilder_ == null) { + result.chatRejectMessage_ = chatRejectMessage_; + } else { + result.chatRejectMessage_ = chatRejectMessageBuilder_.build(); + } to_bitField2_ |= 0x00000002; } - result.chatRejectMessage_ = chatRejectMessage_; - if (((from_bitField2_ & 0x00000004) == 0x00000004)) { + if (((from_bitField2_ & 0x00000004) != 0)) { + if (dialogMessageBuilder_ == null) { + result.dialogMessage_ = dialogMessage_; + } else { + result.dialogMessage_ = dialogMessageBuilder_.build(); + } to_bitField2_ |= 0x00000004; } - result.dialogMessage_ = dialogMessage_; - if (((from_bitField2_ & 0x00000008) == 0x00000008)) { + if (((from_bitField2_ & 0x00000008) != 0)) { + if (timeoutWarningMessageBuilder_ == null) { + result.timeoutWarningMessage_ = timeoutWarningMessage_; + } else { + result.timeoutWarningMessage_ = timeoutWarningMessageBuilder_.build(); + } to_bitField2_ |= 0x00000008; } - result.timeoutWarningMessage_ = timeoutWarningMessage_; - if (((from_bitField2_ & 0x00000010) == 0x00000010)) { + if (((from_bitField2_ & 0x00000010) != 0)) { + if (resetTimeoutMessageBuilder_ == null) { + result.resetTimeoutMessage_ = resetTimeoutMessage_; + } else { + result.resetTimeoutMessage_ = resetTimeoutMessageBuilder_.build(); + } to_bitField2_ |= 0x00000010; } - result.resetTimeoutMessage_ = resetTimeoutMessage_; - if (((from_bitField2_ & 0x00000020) == 0x00000020)) { + if (((from_bitField2_ & 0x00000020) != 0)) { + if (reportAvatarMessageBuilder_ == null) { + result.reportAvatarMessage_ = reportAvatarMessage_; + } else { + result.reportAvatarMessage_ = reportAvatarMessageBuilder_.build(); + } to_bitField2_ |= 0x00000020; } - result.reportAvatarMessage_ = reportAvatarMessage_; - if (((from_bitField2_ & 0x00000040) == 0x00000040)) { + if (((from_bitField2_ & 0x00000040) != 0)) { + if (reportAvatarAckMessageBuilder_ == null) { + result.reportAvatarAckMessage_ = reportAvatarAckMessage_; + } else { + result.reportAvatarAckMessage_ = reportAvatarAckMessageBuilder_.build(); + } to_bitField2_ |= 0x00000040; } - result.reportAvatarAckMessage_ = reportAvatarAckMessage_; - if (((from_bitField2_ & 0x00000080) == 0x00000080)) { + if (((from_bitField2_ & 0x00000080) != 0)) { + if (reportGameMessageBuilder_ == null) { + result.reportGameMessage_ = reportGameMessage_; + } else { + result.reportGameMessage_ = reportGameMessageBuilder_.build(); + } to_bitField2_ |= 0x00000080; } - result.reportGameMessage_ = reportGameMessage_; - if (((from_bitField2_ & 0x00000100) == 0x00000100)) { + if (((from_bitField2_ & 0x00000100) != 0)) { + if (reportGameAckMessageBuilder_ == null) { + result.reportGameAckMessage_ = reportGameAckMessage_; + } else { + result.reportGameAckMessage_ = reportGameAckMessageBuilder_.build(); + } to_bitField2_ |= 0x00000100; } - result.reportGameAckMessage_ = reportGameAckMessage_; - if (((from_bitField2_ & 0x00000200) == 0x00000200)) { + if (((from_bitField2_ & 0x00000200) != 0)) { + if (errorMessageBuilder_ == null) { + result.errorMessage_ = errorMessage_; + } else { + result.errorMessage_ = errorMessageBuilder_.build(); + } to_bitField2_ |= 0x00000200; } - result.errorMessage_ = errorMessage_; - if (((from_bitField2_ & 0x00000400) == 0x00000400)) { + if (((from_bitField2_ & 0x00000400) != 0)) { + if (adminRemoveGameMessageBuilder_ == null) { + result.adminRemoveGameMessage_ = adminRemoveGameMessage_; + } else { + result.adminRemoveGameMessage_ = adminRemoveGameMessageBuilder_.build(); + } to_bitField2_ |= 0x00000400; } - result.adminRemoveGameMessage_ = adminRemoveGameMessage_; - if (((from_bitField2_ & 0x00000800) == 0x00000800)) { + if (((from_bitField2_ & 0x00000800) != 0)) { + if (adminRemoveGameAckMessageBuilder_ == null) { + result.adminRemoveGameAckMessage_ = adminRemoveGameAckMessage_; + } else { + result.adminRemoveGameAckMessage_ = adminRemoveGameAckMessageBuilder_.build(); + } to_bitField2_ |= 0x00000800; } - result.adminRemoveGameAckMessage_ = adminRemoveGameAckMessage_; - if (((from_bitField2_ & 0x00001000) == 0x00001000)) { + if (((from_bitField2_ & 0x00001000) != 0)) { + if (adminBanPlayerMessageBuilder_ == null) { + result.adminBanPlayerMessage_ = adminBanPlayerMessage_; + } else { + result.adminBanPlayerMessage_ = adminBanPlayerMessageBuilder_.build(); + } to_bitField2_ |= 0x00001000; } - result.adminBanPlayerMessage_ = adminBanPlayerMessage_; - if (((from_bitField2_ & 0x00002000) == 0x00002000)) { + if (((from_bitField2_ & 0x00002000) != 0)) { + if (adminBanPlayerAckMessageBuilder_ == null) { + result.adminBanPlayerAckMessage_ = adminBanPlayerAckMessage_; + } else { + result.adminBanPlayerAckMessage_ = adminBanPlayerAckMessageBuilder_.build(); + } to_bitField2_ |= 0x00002000; } - result.adminBanPlayerAckMessage_ = adminBanPlayerAckMessage_; - if (((from_bitField2_ & 0x00004000) == 0x00004000)) { + if (((from_bitField2_ & 0x00004000) != 0)) { + if (gameListSpectatorJoinedMessageBuilder_ == null) { + result.gameListSpectatorJoinedMessage_ = gameListSpectatorJoinedMessage_; + } else { + result.gameListSpectatorJoinedMessage_ = gameListSpectatorJoinedMessageBuilder_.build(); + } to_bitField2_ |= 0x00004000; } - result.gameListSpectatorJoinedMessage_ = gameListSpectatorJoinedMessage_; - if (((from_bitField2_ & 0x00008000) == 0x00008000)) { + if (((from_bitField2_ & 0x00008000) != 0)) { + if (gameListSpectatorLeftMessageBuilder_ == null) { + result.gameListSpectatorLeftMessage_ = gameListSpectatorLeftMessage_; + } else { + result.gameListSpectatorLeftMessage_ = gameListSpectatorLeftMessageBuilder_.build(); + } to_bitField2_ |= 0x00008000; } - result.gameListSpectatorLeftMessage_ = gameListSpectatorLeftMessage_; - if (((from_bitField2_ & 0x00010000) == 0x00010000)) { + if (((from_bitField2_ & 0x00010000) != 0)) { + if (gameSpectatorJoinedMessageBuilder_ == null) { + result.gameSpectatorJoinedMessage_ = gameSpectatorJoinedMessage_; + } else { + result.gameSpectatorJoinedMessage_ = gameSpectatorJoinedMessageBuilder_.build(); + } to_bitField2_ |= 0x00010000; } - result.gameSpectatorJoinedMessage_ = gameSpectatorJoinedMessage_; - if (((from_bitField2_ & 0x00020000) == 0x00020000)) { + if (((from_bitField2_ & 0x00020000) != 0)) { + if (gameSpectatorLeftMessageBuilder_ == null) { + result.gameSpectatorLeftMessage_ = gameSpectatorLeftMessage_; + } else { + result.gameSpectatorLeftMessage_ = gameSpectatorLeftMessageBuilder_.build(); + } to_bitField2_ |= 0x00020000; } - result.gameSpectatorLeftMessage_ = gameSpectatorLeftMessage_; + if (((from_bitField2_ & 0x00040000) != 0)) { + if (gameStartReentryMessageBuilder_ == null) { + result.gameStartReentryMessage_ = gameStartReentryMessage_; + } else { + result.gameStartReentryMessage_ = gameStartReentryMessageBuilder_.build(); + } + to_bitField2_ |= 0x00040000; + } result.bitField0_ = to_bitField0_; result.bitField1_ = to_bitField1_; result.bitField2_ = to_bitField2_; + onBuilt(); return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof de.pokerth.protocol.ProtoBuf.PokerTHMessage) { + return mergeFrom((de.pokerth.protocol.ProtoBuf.PokerTHMessage)other); + } else { + super.mergeFrom(other); + return this; + } + } + public Builder mergeFrom(de.pokerth.protocol.ProtoBuf.PokerTHMessage other) { if (other == de.pokerth.protocol.ProtoBuf.PokerTHMessage.getDefaultInstance()) return this; if (other.hasMessageType()) { @@ -56199,485 +83524,418 @@ public final class ProtoBuf { if (other.hasGameSpectatorLeftMessage()) { mergeGameSpectatorLeftMessage(other.getGameSpectatorLeftMessage()); } + if (other.hasGameStartReentryMessage()) { + mergeGameStartReentryMessage(other.getGameStartReentryMessage()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } + @java.lang.Override public final boolean isInitialized() { if (!hasMessageType()) { - return false; } if (hasAnnounceMessage()) { if (!getAnnounceMessage().isInitialized()) { - return false; } } if (hasInitMessage()) { if (!getInitMessage().isInitialized()) { - return false; } } if (hasAuthServerChallengeMessage()) { if (!getAuthServerChallengeMessage().isInitialized()) { - return false; } } if (hasAuthClientResponseMessage()) { if (!getAuthClientResponseMessage().isInitialized()) { - return false; } } if (hasAuthServerVerificationMessage()) { if (!getAuthServerVerificationMessage().isInitialized()) { - return false; } } if (hasInitAckMessage()) { if (!getInitAckMessage().isInitialized()) { - return false; } } if (hasAvatarRequestMessage()) { if (!getAvatarRequestMessage().isInitialized()) { - return false; } } if (hasAvatarHeaderMessage()) { if (!getAvatarHeaderMessage().isInitialized()) { - return false; } } if (hasAvatarDataMessage()) { if (!getAvatarDataMessage().isInitialized()) { - return false; } } if (hasAvatarEndMessage()) { if (!getAvatarEndMessage().isInitialized()) { - return false; } } if (hasUnknownAvatarMessage()) { if (!getUnknownAvatarMessage().isInitialized()) { - return false; } } if (hasPlayerListMessage()) { if (!getPlayerListMessage().isInitialized()) { - return false; } } if (hasGameListNewMessage()) { if (!getGameListNewMessage().isInitialized()) { - return false; } } if (hasGameListUpdateMessage()) { if (!getGameListUpdateMessage().isInitialized()) { - return false; } } if (hasGameListPlayerJoinedMessage()) { if (!getGameListPlayerJoinedMessage().isInitialized()) { - return false; } } if (hasGameListPlayerLeftMessage()) { if (!getGameListPlayerLeftMessage().isInitialized()) { - return false; } } if (hasGameListAdminChangedMessage()) { if (!getGameListAdminChangedMessage().isInitialized()) { - return false; } } if (hasPlayerInfoReplyMessage()) { if (!getPlayerInfoReplyMessage().isInitialized()) { - return false; } } if (hasSubscriptionRequestMessage()) { if (!getSubscriptionRequestMessage().isInitialized()) { - return false; } } if (hasJoinExistingGameMessage()) { if (!getJoinExistingGameMessage().isInitialized()) { - return false; } } if (hasJoinNewGameMessage()) { if (!getJoinNewGameMessage().isInitialized()) { - return false; } } if (hasRejoinExistingGameMessage()) { if (!getRejoinExistingGameMessage().isInitialized()) { - return false; } } if (hasJoinGameAckMessage()) { if (!getJoinGameAckMessage().isInitialized()) { - return false; } } if (hasJoinGameFailedMessage()) { if (!getJoinGameFailedMessage().isInitialized()) { - return false; } } if (hasGamePlayerJoinedMessage()) { if (!getGamePlayerJoinedMessage().isInitialized()) { - return false; } } if (hasGamePlayerLeftMessage()) { if (!getGamePlayerLeftMessage().isInitialized()) { - return false; } } if (hasGameAdminChangedMessage()) { if (!getGameAdminChangedMessage().isInitialized()) { - return false; } } if (hasRemovedFromGameMessage()) { if (!getRemovedFromGameMessage().isInitialized()) { - return false; } } if (hasKickPlayerRequestMessage()) { if (!getKickPlayerRequestMessage().isInitialized()) { - return false; } } if (hasLeaveGameRequestMessage()) { if (!getLeaveGameRequestMessage().isInitialized()) { - return false; } } if (hasInvitePlayerToGameMessage()) { if (!getInvitePlayerToGameMessage().isInitialized()) { - return false; } } if (hasInviteNotifyMessage()) { if (!getInviteNotifyMessage().isInitialized()) { - return false; } } if (hasRejectGameInvitationMessage()) { if (!getRejectGameInvitationMessage().isInitialized()) { - return false; } } if (hasRejectInvNotifyMessage()) { if (!getRejectInvNotifyMessage().isInitialized()) { - return false; } } if (hasStartEventMessage()) { if (!getStartEventMessage().isInitialized()) { - return false; } } if (hasStartEventAckMessage()) { if (!getStartEventAckMessage().isInitialized()) { - return false; } } if (hasGameStartInitialMessage()) { if (!getGameStartInitialMessage().isInitialized()) { - return false; } } if (hasGameStartRejoinMessage()) { if (!getGameStartRejoinMessage().isInitialized()) { - return false; } } if (hasHandStartMessage()) { if (!getHandStartMessage().isInitialized()) { - return false; } } if (hasPlayersTurnMessage()) { if (!getPlayersTurnMessage().isInitialized()) { - return false; } } if (hasMyActionRequestMessage()) { if (!getMyActionRequestMessage().isInitialized()) { - return false; } } if (hasYourActionRejectedMessage()) { if (!getYourActionRejectedMessage().isInitialized()) { - return false; } } if (hasPlayersActionDoneMessage()) { if (!getPlayersActionDoneMessage().isInitialized()) { - return false; } } if (hasDealFlopCardsMessage()) { if (!getDealFlopCardsMessage().isInitialized()) { - return false; } } if (hasDealTurnCardMessage()) { if (!getDealTurnCardMessage().isInitialized()) { - return false; } } if (hasDealRiverCardMessage()) { if (!getDealRiverCardMessage().isInitialized()) { - return false; } } if (hasAllInShowCardsMessage()) { if (!getAllInShowCardsMessage().isInitialized()) { - return false; } } if (hasEndOfHandShowCardsMessage()) { if (!getEndOfHandShowCardsMessage().isInitialized()) { - return false; } } if (hasEndOfHandHideCardsMessage()) { if (!getEndOfHandHideCardsMessage().isInitialized()) { - return false; } } if (hasAfterHandShowCardsMessage()) { if (!getAfterHandShowCardsMessage().isInitialized()) { - return false; } } if (hasEndOfGameMessage()) { if (!getEndOfGameMessage().isInitialized()) { - return false; } } if (hasPlayerIdChangedMessage()) { if (!getPlayerIdChangedMessage().isInitialized()) { - return false; } } if (hasAskKickPlayerMessage()) { if (!getAskKickPlayerMessage().isInitialized()) { - return false; } } if (hasAskKickDeniedMessage()) { if (!getAskKickDeniedMessage().isInitialized()) { - return false; } } if (hasStartKickPetitionMessage()) { if (!getStartKickPetitionMessage().isInitialized()) { - return false; } } if (hasVoteKickRequestMessage()) { if (!getVoteKickRequestMessage().isInitialized()) { - return false; } } if (hasVoteKickReplyMessage()) { if (!getVoteKickReplyMessage().isInitialized()) { - return false; } } if (hasKickPetitionUpdateMessage()) { if (!getKickPetitionUpdateMessage().isInitialized()) { - return false; } } if (hasEndKickPetitionMessage()) { if (!getEndKickPetitionMessage().isInitialized()) { - return false; } } if (hasStatisticsMessage()) { if (!getStatisticsMessage().isInitialized()) { - return false; } } if (hasChatRequestMessage()) { if (!getChatRequestMessage().isInitialized()) { - return false; } } if (hasChatMessage()) { if (!getChatMessage().isInitialized()) { - return false; } } if (hasChatRejectMessage()) { if (!getChatRejectMessage().isInitialized()) { - return false; } } if (hasDialogMessage()) { if (!getDialogMessage().isInitialized()) { - return false; } } if (hasTimeoutWarningMessage()) { if (!getTimeoutWarningMessage().isInitialized()) { - return false; } } if (hasReportAvatarMessage()) { if (!getReportAvatarMessage().isInitialized()) { - return false; } } if (hasReportAvatarAckMessage()) { if (!getReportAvatarAckMessage().isInitialized()) { - return false; } } if (hasReportGameMessage()) { if (!getReportGameMessage().isInitialized()) { - return false; } } if (hasReportGameAckMessage()) { if (!getReportGameAckMessage().isInitialized()) { - return false; } } if (hasErrorMessage()) { if (!getErrorMessage().isInitialized()) { - return false; } } if (hasAdminRemoveGameMessage()) { if (!getAdminRemoveGameMessage().isInitialized()) { - return false; } } if (hasAdminRemoveGameAckMessage()) { if (!getAdminRemoveGameAckMessage().isInitialized()) { - return false; } } if (hasAdminBanPlayerMessage()) { if (!getAdminBanPlayerMessage().isInitialized()) { - return false; } } if (hasAdminBanPlayerAckMessage()) { if (!getAdminBanPlayerAckMessage().isInitialized()) { - return false; } } if (hasGameListSpectatorJoinedMessage()) { if (!getGameListSpectatorJoinedMessage().isInitialized()) { - return false; } } if (hasGameListSpectatorLeftMessage()) { if (!getGameListSpectatorLeftMessage().isInitialized()) { - return false; } } if (hasGameSpectatorJoinedMessage()) { if (!getGameSpectatorJoinedMessage().isInitialized()) { - return false; } } if (hasGameSpectatorLeftMessage()) { if (!getGameSpectatorLeftMessage().isInitialized()) { - + return false; + } + } + if (hasGameStartReentryMessage()) { + if (!getGameStartReentryMessage().isInitialized()) { return false; } } return true; } + @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56687,7 +83945,7 @@ public final class ProtoBuf { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (de.pokerth.protocol.ProtoBuf.PokerTHMessage) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -56699,65 +83957,83 @@ public final class ProtoBuf { 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; + private int messageType_ = 1; /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @return Whether the messageType field is set. */ - public boolean hasMessageType() { - return ((bitField0_ & 0x00000001) == 0x00000001); + @java.lang.Override public boolean hasMessageType() { + return ((bitField0_ & 0x00000001) != 0); } /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @return The messageType. */ + @java.lang.Override public de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType getMessageType() { - return messageType_; + @SuppressWarnings("deprecation") + de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType result = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.valueOf(messageType_); + return result == null ? de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage : result; } /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @param value The messageType to set. + * @return This builder for chaining. */ public Builder setMessageType(de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; - messageType_ = value; - + messageType_ = value.getNumber(); + onChanged(); return this; } /** * required .PokerTHMessage.PokerTHMessageType messageType = 1; + * @return This builder for chaining. */ public Builder clearMessageType() { bitField0_ = (bitField0_ & ~0x00000001); - messageType_ = de.pokerth.protocol.ProtoBuf.PokerTHMessage.PokerTHMessageType.Type_AnnounceMessage; - + messageType_ = 1; + onChanged(); return this; } - // optional .AnnounceMessage announceMessage = 2; - private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AnnounceMessage announceMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder> announceMessageBuilder_; /** * optional .AnnounceMessage announceMessage = 2; + * @return Whether the announceMessage field is set. */ public boolean hasAnnounceMessage() { - return ((bitField0_ & 0x00000002) == 0x00000002); + return ((bitField0_ & 0x00000002) != 0); } /** * optional .AnnounceMessage announceMessage = 2; + * @return The announceMessage. */ public de.pokerth.protocol.ProtoBuf.AnnounceMessage getAnnounceMessage() { - return announceMessage_; + if (announceMessageBuilder_ == null) { + return announceMessage_ == null ? de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance() : announceMessage_; + } else { + return announceMessageBuilder_.getMessage(); + } } /** * optional .AnnounceMessage announceMessage = 2; */ public Builder setAnnounceMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage value) { - if (value == null) { - throw new NullPointerException(); + if (announceMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + announceMessage_ = value; + onChanged(); + } else { + announceMessageBuilder_.setMessage(value); } - announceMessage_ = value; - bitField0_ |= 0x00000002; return this; } @@ -56766,8 +84042,12 @@ public final class ProtoBuf { */ public Builder setAnnounceMessage( de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder builderForValue) { - announceMessage_ = builderForValue.build(); - + if (announceMessageBuilder_ == null) { + announceMessage_ = builderForValue.build(); + onChanged(); + } else { + announceMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000002; return this; } @@ -56775,14 +84055,19 @@ public final class ProtoBuf { * optional .AnnounceMessage announceMessage = 2; */ public Builder mergeAnnounceMessage(de.pokerth.protocol.ProtoBuf.AnnounceMessage value) { - if (((bitField0_ & 0x00000002) == 0x00000002) && - announceMessage_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance()) { - announceMessage_ = - de.pokerth.protocol.ProtoBuf.AnnounceMessage.newBuilder(announceMessage_).mergeFrom(value).buildPartial(); + if (announceMessageBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + announceMessage_ != null && + announceMessage_ != de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance()) { + announceMessage_ = + de.pokerth.protocol.ProtoBuf.AnnounceMessage.newBuilder(announceMessage_).mergeFrom(value).buildPartial(); + } else { + announceMessage_ = value; + } + onChanged(); } else { - announceMessage_ = value; + announceMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; return this; } @@ -56790,35 +84075,85 @@ public final class ProtoBuf { * optional .AnnounceMessage announceMessage = 2; */ public Builder clearAnnounceMessage() { - announceMessage_ = de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance(); - + if (announceMessageBuilder_ == null) { + announceMessage_ = null; + onChanged(); + } else { + announceMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000002); return this; } + /** + * optional .AnnounceMessage announceMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder getAnnounceMessageBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getAnnounceMessageFieldBuilder().getBuilder(); + } + /** + * optional .AnnounceMessage announceMessage = 2; + */ + public de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder getAnnounceMessageOrBuilder() { + if (announceMessageBuilder_ != null) { + return announceMessageBuilder_.getMessageOrBuilder(); + } else { + return announceMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AnnounceMessage.getDefaultInstance() : announceMessage_; + } + } + /** + * optional .AnnounceMessage announceMessage = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder> + getAnnounceMessageFieldBuilder() { + if (announceMessageBuilder_ == null) { + announceMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AnnounceMessage, de.pokerth.protocol.ProtoBuf.AnnounceMessage.Builder, de.pokerth.protocol.ProtoBuf.AnnounceMessageOrBuilder>( + getAnnounceMessage(), + getParentForChildren(), + isClean()); + announceMessage_ = null; + } + return announceMessageBuilder_; + } - // optional .InitMessage initMessage = 3; - private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.InitMessage initMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InitMessage, de.pokerth.protocol.ProtoBuf.InitMessage.Builder, de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder> initMessageBuilder_; /** * optional .InitMessage initMessage = 3; + * @return Whether the initMessage field is set. */ public boolean hasInitMessage() { - return ((bitField0_ & 0x00000004) == 0x00000004); + return ((bitField0_ & 0x00000004) != 0); } /** * optional .InitMessage initMessage = 3; + * @return The initMessage. */ public de.pokerth.protocol.ProtoBuf.InitMessage getInitMessage() { - return initMessage_; + if (initMessageBuilder_ == null) { + return initMessage_ == null ? de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance() : initMessage_; + } else { + return initMessageBuilder_.getMessage(); + } } /** * optional .InitMessage initMessage = 3; */ public Builder setInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { - if (value == null) { - throw new NullPointerException(); + if (initMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + initMessage_ = value; + onChanged(); + } else { + initMessageBuilder_.setMessage(value); } - initMessage_ = value; - bitField0_ |= 0x00000004; return this; } @@ -56827,8 +84162,12 @@ public final class ProtoBuf { */ public Builder setInitMessage( de.pokerth.protocol.ProtoBuf.InitMessage.Builder builderForValue) { - initMessage_ = builderForValue.build(); - + if (initMessageBuilder_ == null) { + initMessage_ = builderForValue.build(); + onChanged(); + } else { + initMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000004; return this; } @@ -56836,14 +84175,19 @@ public final class ProtoBuf { * optional .InitMessage initMessage = 3; */ public Builder mergeInitMessage(de.pokerth.protocol.ProtoBuf.InitMessage value) { - if (((bitField0_ & 0x00000004) == 0x00000004) && - initMessage_ != de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) { - initMessage_ = - de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder(initMessage_).mergeFrom(value).buildPartial(); + if (initMessageBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + initMessage_ != null && + initMessage_ != de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance()) { + initMessage_ = + de.pokerth.protocol.ProtoBuf.InitMessage.newBuilder(initMessage_).mergeFrom(value).buildPartial(); + } else { + initMessage_ = value; + } + onChanged(); } else { - initMessage_ = value; + initMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; return this; } @@ -56851,35 +84195,85 @@ public final class ProtoBuf { * optional .InitMessage initMessage = 3; */ public Builder clearInitMessage() { - initMessage_ = de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance(); - + if (initMessageBuilder_ == null) { + initMessage_ = null; + onChanged(); + } else { + initMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000004); return this; } + /** + * optional .InitMessage initMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.InitMessage.Builder getInitMessageBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getInitMessageFieldBuilder().getBuilder(); + } + /** + * optional .InitMessage initMessage = 3; + */ + public de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder getInitMessageOrBuilder() { + if (initMessageBuilder_ != null) { + return initMessageBuilder_.getMessageOrBuilder(); + } else { + return initMessage_ == null ? + de.pokerth.protocol.ProtoBuf.InitMessage.getDefaultInstance() : initMessage_; + } + } + /** + * optional .InitMessage initMessage = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InitMessage, de.pokerth.protocol.ProtoBuf.InitMessage.Builder, de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder> + getInitMessageFieldBuilder() { + if (initMessageBuilder_ == null) { + initMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InitMessage, de.pokerth.protocol.ProtoBuf.InitMessage.Builder, de.pokerth.protocol.ProtoBuf.InitMessageOrBuilder>( + getInitMessage(), + getParentForChildren(), + isClean()); + initMessage_ = null; + } + return initMessageBuilder_; + } - // optional .AuthServerChallengeMessage authServerChallengeMessage = 4; - private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage authServerChallengeMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder> authServerChallengeMessageBuilder_; /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * @return Whether the authServerChallengeMessage field is set. */ public boolean hasAuthServerChallengeMessage() { - return ((bitField0_ & 0x00000008) == 0x00000008); + return ((bitField0_ & 0x00000008) != 0); } /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + * @return The authServerChallengeMessage. */ public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage getAuthServerChallengeMessage() { - return authServerChallengeMessage_; + if (authServerChallengeMessageBuilder_ == null) { + return authServerChallengeMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance() : authServerChallengeMessage_; + } else { + return authServerChallengeMessageBuilder_.getMessage(); + } } /** * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; */ public Builder setAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { - if (value == null) { - throw new NullPointerException(); + if (authServerChallengeMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authServerChallengeMessage_ = value; + onChanged(); + } else { + authServerChallengeMessageBuilder_.setMessage(value); } - authServerChallengeMessage_ = value; - bitField0_ |= 0x00000008; return this; } @@ -56888,8 +84282,12 @@ public final class ProtoBuf { */ public Builder setAuthServerChallengeMessage( de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder builderForValue) { - authServerChallengeMessage_ = builderForValue.build(); - + if (authServerChallengeMessageBuilder_ == null) { + authServerChallengeMessage_ = builderForValue.build(); + onChanged(); + } else { + authServerChallengeMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000008; return this; } @@ -56897,14 +84295,19 @@ public final class ProtoBuf { * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; */ public Builder mergeAuthServerChallengeMessage(de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage value) { - if (((bitField0_ & 0x00000008) == 0x00000008) && - authServerChallengeMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance()) { - authServerChallengeMessage_ = - de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder(authServerChallengeMessage_).mergeFrom(value).buildPartial(); + if (authServerChallengeMessageBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + authServerChallengeMessage_ != null && + authServerChallengeMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance()) { + authServerChallengeMessage_ = + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.newBuilder(authServerChallengeMessage_).mergeFrom(value).buildPartial(); + } else { + authServerChallengeMessage_ = value; + } + onChanged(); } else { - authServerChallengeMessage_ = value; + authServerChallengeMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000008; return this; } @@ -56912,35 +84315,85 @@ public final class ProtoBuf { * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; */ public Builder clearAuthServerChallengeMessage() { - authServerChallengeMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance(); - + if (authServerChallengeMessageBuilder_ == null) { + authServerChallengeMessage_ = null; + onChanged(); + } else { + authServerChallengeMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000008); return this; } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder getAuthServerChallengeMessageBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getAuthServerChallengeMessageFieldBuilder().getBuilder(); + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ + public de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder getAuthServerChallengeMessageOrBuilder() { + if (authServerChallengeMessageBuilder_ != null) { + return authServerChallengeMessageBuilder_.getMessageOrBuilder(); + } else { + return authServerChallengeMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.getDefaultInstance() : authServerChallengeMessage_; + } + } + /** + * optional .AuthServerChallengeMessage authServerChallengeMessage = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder> + getAuthServerChallengeMessageFieldBuilder() { + if (authServerChallengeMessageBuilder_ == null) { + authServerChallengeMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthServerChallengeMessageOrBuilder>( + getAuthServerChallengeMessage(), + getParentForChildren(), + isClean()); + authServerChallengeMessage_ = null; + } + return authServerChallengeMessageBuilder_; + } - // optional .AuthClientResponseMessage authClientResponseMessage = 5; - private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage authClientResponseMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder> authClientResponseMessageBuilder_; /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * @return Whether the authClientResponseMessage field is set. */ public boolean hasAuthClientResponseMessage() { - return ((bitField0_ & 0x00000010) == 0x00000010); + return ((bitField0_ & 0x00000010) != 0); } /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; + * @return The authClientResponseMessage. */ public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage getAuthClientResponseMessage() { - return authClientResponseMessage_; + if (authClientResponseMessageBuilder_ == null) { + return authClientResponseMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance() : authClientResponseMessage_; + } else { + return authClientResponseMessageBuilder_.getMessage(); + } } /** * optional .AuthClientResponseMessage authClientResponseMessage = 5; */ public Builder setAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { - if (value == null) { - throw new NullPointerException(); + if (authClientResponseMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authClientResponseMessage_ = value; + onChanged(); + } else { + authClientResponseMessageBuilder_.setMessage(value); } - authClientResponseMessage_ = value; - bitField0_ |= 0x00000010; return this; } @@ -56949,8 +84402,12 @@ public final class ProtoBuf { */ public Builder setAuthClientResponseMessage( de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder builderForValue) { - authClientResponseMessage_ = builderForValue.build(); - + if (authClientResponseMessageBuilder_ == null) { + authClientResponseMessage_ = builderForValue.build(); + onChanged(); + } else { + authClientResponseMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000010; return this; } @@ -56958,14 +84415,19 @@ public final class ProtoBuf { * optional .AuthClientResponseMessage authClientResponseMessage = 5; */ public Builder mergeAuthClientResponseMessage(de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage value) { - if (((bitField0_ & 0x00000010) == 0x00000010) && - authClientResponseMessage_ != de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance()) { - authClientResponseMessage_ = - de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder(authClientResponseMessage_).mergeFrom(value).buildPartial(); + if (authClientResponseMessageBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + authClientResponseMessage_ != null && + authClientResponseMessage_ != de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance()) { + authClientResponseMessage_ = + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.newBuilder(authClientResponseMessage_).mergeFrom(value).buildPartial(); + } else { + authClientResponseMessage_ = value; + } + onChanged(); } else { - authClientResponseMessage_ = value; + authClientResponseMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; return this; } @@ -56973,35 +84435,85 @@ public final class ProtoBuf { * optional .AuthClientResponseMessage authClientResponseMessage = 5; */ public Builder clearAuthClientResponseMessage() { - authClientResponseMessage_ = de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance(); - + if (authClientResponseMessageBuilder_ == null) { + authClientResponseMessage_ = null; + onChanged(); + } else { + authClientResponseMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000010); return this; } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder getAuthClientResponseMessageBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getAuthClientResponseMessageFieldBuilder().getBuilder(); + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ + public de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder getAuthClientResponseMessageOrBuilder() { + if (authClientResponseMessageBuilder_ != null) { + return authClientResponseMessageBuilder_.getMessageOrBuilder(); + } else { + return authClientResponseMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.getDefaultInstance() : authClientResponseMessage_; + } + } + /** + * optional .AuthClientResponseMessage authClientResponseMessage = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder> + getAuthClientResponseMessageFieldBuilder() { + if (authClientResponseMessageBuilder_ == null) { + authClientResponseMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthClientResponseMessageOrBuilder>( + getAuthClientResponseMessage(), + getParentForChildren(), + isClean()); + authClientResponseMessage_ = null; + } + return authClientResponseMessageBuilder_; + } - // optional .AuthServerVerificationMessage authServerVerificationMessage = 6; - private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage authServerVerificationMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder> authServerVerificationMessageBuilder_; /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * @return Whether the authServerVerificationMessage field is set. */ public boolean hasAuthServerVerificationMessage() { - return ((bitField0_ & 0x00000020) == 0x00000020); + return ((bitField0_ & 0x00000020) != 0); } /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + * @return The authServerVerificationMessage. */ public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage getAuthServerVerificationMessage() { - return authServerVerificationMessage_; + if (authServerVerificationMessageBuilder_ == null) { + return authServerVerificationMessage_ == null ? de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance() : authServerVerificationMessage_; + } else { + return authServerVerificationMessageBuilder_.getMessage(); + } } /** * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; */ public Builder setAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { - if (value == null) { - throw new NullPointerException(); + if (authServerVerificationMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authServerVerificationMessage_ = value; + onChanged(); + } else { + authServerVerificationMessageBuilder_.setMessage(value); } - authServerVerificationMessage_ = value; - bitField0_ |= 0x00000020; return this; } @@ -57010,8 +84522,12 @@ public final class ProtoBuf { */ public Builder setAuthServerVerificationMessage( de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder builderForValue) { - authServerVerificationMessage_ = builderForValue.build(); - + if (authServerVerificationMessageBuilder_ == null) { + authServerVerificationMessage_ = builderForValue.build(); + onChanged(); + } else { + authServerVerificationMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000020; return this; } @@ -57019,14 +84535,19 @@ public final class ProtoBuf { * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; */ public Builder mergeAuthServerVerificationMessage(de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage value) { - if (((bitField0_ & 0x00000020) == 0x00000020) && - authServerVerificationMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) { - authServerVerificationMessage_ = - de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder(authServerVerificationMessage_).mergeFrom(value).buildPartial(); + if (authServerVerificationMessageBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + authServerVerificationMessage_ != null && + authServerVerificationMessage_ != de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance()) { + authServerVerificationMessage_ = + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.newBuilder(authServerVerificationMessage_).mergeFrom(value).buildPartial(); + } else { + authServerVerificationMessage_ = value; + } + onChanged(); } else { - authServerVerificationMessage_ = value; + authServerVerificationMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; return this; } @@ -57034,35 +84555,85 @@ public final class ProtoBuf { * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; */ public Builder clearAuthServerVerificationMessage() { - authServerVerificationMessage_ = de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance(); - + if (authServerVerificationMessageBuilder_ == null) { + authServerVerificationMessage_ = null; + onChanged(); + } else { + authServerVerificationMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000020); return this; } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder getAuthServerVerificationMessageBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getAuthServerVerificationMessageFieldBuilder().getBuilder(); + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ + public de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder getAuthServerVerificationMessageOrBuilder() { + if (authServerVerificationMessageBuilder_ != null) { + return authServerVerificationMessageBuilder_.getMessageOrBuilder(); + } else { + return authServerVerificationMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.getDefaultInstance() : authServerVerificationMessage_; + } + } + /** + * optional .AuthServerVerificationMessage authServerVerificationMessage = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder> + getAuthServerVerificationMessageFieldBuilder() { + if (authServerVerificationMessageBuilder_ == null) { + authServerVerificationMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessage.Builder, de.pokerth.protocol.ProtoBuf.AuthServerVerificationMessageOrBuilder>( + getAuthServerVerificationMessage(), + getParentForChildren(), + isClean()); + authServerVerificationMessage_ = null; + } + return authServerVerificationMessageBuilder_; + } - // optional .InitAckMessage initAckMessage = 7; - private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.InitAckMessage initAckMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InitAckMessage, de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder, de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder> initAckMessageBuilder_; /** * optional .InitAckMessage initAckMessage = 7; + * @return Whether the initAckMessage field is set. */ public boolean hasInitAckMessage() { - return ((bitField0_ & 0x00000040) == 0x00000040); + return ((bitField0_ & 0x00000040) != 0); } /** * optional .InitAckMessage initAckMessage = 7; + * @return The initAckMessage. */ public de.pokerth.protocol.ProtoBuf.InitAckMessage getInitAckMessage() { - return initAckMessage_; + if (initAckMessageBuilder_ == null) { + return initAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance() : initAckMessage_; + } else { + return initAckMessageBuilder_.getMessage(); + } } /** * optional .InitAckMessage initAckMessage = 7; */ public Builder setInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { - if (value == null) { - throw new NullPointerException(); + if (initAckMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + initAckMessage_ = value; + onChanged(); + } else { + initAckMessageBuilder_.setMessage(value); } - initAckMessage_ = value; - bitField0_ |= 0x00000040; return this; } @@ -57071,8 +84642,12 @@ public final class ProtoBuf { */ public Builder setInitAckMessage( de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder builderForValue) { - initAckMessage_ = builderForValue.build(); - + if (initAckMessageBuilder_ == null) { + initAckMessage_ = builderForValue.build(); + onChanged(); + } else { + initAckMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000040; return this; } @@ -57080,14 +84655,19 @@ public final class ProtoBuf { * optional .InitAckMessage initAckMessage = 7; */ public Builder mergeInitAckMessage(de.pokerth.protocol.ProtoBuf.InitAckMessage value) { - if (((bitField0_ & 0x00000040) == 0x00000040) && - initAckMessage_ != de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) { - initAckMessage_ = - de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder(initAckMessage_).mergeFrom(value).buildPartial(); + if (initAckMessageBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + initAckMessage_ != null && + initAckMessage_ != de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance()) { + initAckMessage_ = + de.pokerth.protocol.ProtoBuf.InitAckMessage.newBuilder(initAckMessage_).mergeFrom(value).buildPartial(); + } else { + initAckMessage_ = value; + } + onChanged(); } else { - initAckMessage_ = value; + initAckMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000040; return this; } @@ -57095,35 +84675,85 @@ public final class ProtoBuf { * optional .InitAckMessage initAckMessage = 7; */ public Builder clearInitAckMessage() { - initAckMessage_ = de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance(); - + if (initAckMessageBuilder_ == null) { + initAckMessage_ = null; + onChanged(); + } else { + initAckMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000040); return this; } + /** + * optional .InitAckMessage initAckMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder getInitAckMessageBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getInitAckMessageFieldBuilder().getBuilder(); + } + /** + * optional .InitAckMessage initAckMessage = 7; + */ + public de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder getInitAckMessageOrBuilder() { + if (initAckMessageBuilder_ != null) { + return initAckMessageBuilder_.getMessageOrBuilder(); + } else { + return initAckMessage_ == null ? + de.pokerth.protocol.ProtoBuf.InitAckMessage.getDefaultInstance() : initAckMessage_; + } + } + /** + * optional .InitAckMessage initAckMessage = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InitAckMessage, de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder, de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder> + getInitAckMessageFieldBuilder() { + if (initAckMessageBuilder_ == null) { + initAckMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InitAckMessage, de.pokerth.protocol.ProtoBuf.InitAckMessage.Builder, de.pokerth.protocol.ProtoBuf.InitAckMessageOrBuilder>( + getInitAckMessage(), + getParentForChildren(), + isClean()); + initAckMessage_ = null; + } + return initAckMessageBuilder_; + } - // optional .AvatarRequestMessage avatarRequestMessage = 8; - private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AvatarRequestMessage avatarRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder> avatarRequestMessageBuilder_; /** * optional .AvatarRequestMessage avatarRequestMessage = 8; + * @return Whether the avatarRequestMessage field is set. */ public boolean hasAvatarRequestMessage() { - return ((bitField0_ & 0x00000080) == 0x00000080); + return ((bitField0_ & 0x00000080) != 0); } /** * optional .AvatarRequestMessage avatarRequestMessage = 8; + * @return The avatarRequestMessage. */ public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage getAvatarRequestMessage() { - return avatarRequestMessage_; + if (avatarRequestMessageBuilder_ == null) { + return avatarRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance() : avatarRequestMessage_; + } else { + return avatarRequestMessageBuilder_.getMessage(); + } } /** * optional .AvatarRequestMessage avatarRequestMessage = 8; */ public Builder setAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (avatarRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + avatarRequestMessage_ = value; + onChanged(); + } else { + avatarRequestMessageBuilder_.setMessage(value); } - avatarRequestMessage_ = value; - bitField0_ |= 0x00000080; return this; } @@ -57132,8 +84762,12 @@ public final class ProtoBuf { */ public Builder setAvatarRequestMessage( de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder builderForValue) { - avatarRequestMessage_ = builderForValue.build(); - + if (avatarRequestMessageBuilder_ == null) { + avatarRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + avatarRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000080; return this; } @@ -57141,14 +84775,19 @@ public final class ProtoBuf { * optional .AvatarRequestMessage avatarRequestMessage = 8; */ public Builder mergeAvatarRequestMessage(de.pokerth.protocol.ProtoBuf.AvatarRequestMessage value) { - if (((bitField0_ & 0x00000080) == 0x00000080) && - avatarRequestMessage_ != de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) { - avatarRequestMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder(avatarRequestMessage_).mergeFrom(value).buildPartial(); + if (avatarRequestMessageBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + avatarRequestMessage_ != null && + avatarRequestMessage_ != de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance()) { + avatarRequestMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.newBuilder(avatarRequestMessage_).mergeFrom(value).buildPartial(); + } else { + avatarRequestMessage_ = value; + } + onChanged(); } else { - avatarRequestMessage_ = value; + avatarRequestMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000080; return this; } @@ -57156,35 +84795,85 @@ public final class ProtoBuf { * optional .AvatarRequestMessage avatarRequestMessage = 8; */ public Builder clearAvatarRequestMessage() { - avatarRequestMessage_ = de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance(); - + if (avatarRequestMessageBuilder_ == null) { + avatarRequestMessage_ = null; + onChanged(); + } else { + avatarRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000080); return this; } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder getAvatarRequestMessageBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getAvatarRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ + public de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder getAvatarRequestMessageOrBuilder() { + if (avatarRequestMessageBuilder_ != null) { + return avatarRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return avatarRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.getDefaultInstance() : avatarRequestMessage_; + } + } + /** + * optional .AvatarRequestMessage avatarRequestMessage = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder> + getAvatarRequestMessageFieldBuilder() { + if (avatarRequestMessageBuilder_ == null) { + avatarRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarRequestMessage, de.pokerth.protocol.ProtoBuf.AvatarRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarRequestMessageOrBuilder>( + getAvatarRequestMessage(), + getParentForChildren(), + isClean()); + avatarRequestMessage_ = null; + } + return avatarRequestMessageBuilder_; + } - // optional .AvatarHeaderMessage avatarHeaderMessage = 9; - private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage avatarHeaderMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder> avatarHeaderMessageBuilder_; /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + * @return Whether the avatarHeaderMessage field is set. */ public boolean hasAvatarHeaderMessage() { - return ((bitField0_ & 0x00000100) == 0x00000100); + return ((bitField0_ & 0x00000100) != 0); } /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + * @return The avatarHeaderMessage. */ public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage getAvatarHeaderMessage() { - return avatarHeaderMessage_; + if (avatarHeaderMessageBuilder_ == null) { + return avatarHeaderMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance() : avatarHeaderMessage_; + } else { + return avatarHeaderMessageBuilder_.getMessage(); + } } /** * optional .AvatarHeaderMessage avatarHeaderMessage = 9; */ public Builder setAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { - if (value == null) { - throw new NullPointerException(); + if (avatarHeaderMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + avatarHeaderMessage_ = value; + onChanged(); + } else { + avatarHeaderMessageBuilder_.setMessage(value); } - avatarHeaderMessage_ = value; - bitField0_ |= 0x00000100; return this; } @@ -57193,8 +84882,12 @@ public final class ProtoBuf { */ public Builder setAvatarHeaderMessage( de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder builderForValue) { - avatarHeaderMessage_ = builderForValue.build(); - + if (avatarHeaderMessageBuilder_ == null) { + avatarHeaderMessage_ = builderForValue.build(); + onChanged(); + } else { + avatarHeaderMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000100; return this; } @@ -57202,14 +84895,19 @@ public final class ProtoBuf { * optional .AvatarHeaderMessage avatarHeaderMessage = 9; */ public Builder mergeAvatarHeaderMessage(de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage value) { - if (((bitField0_ & 0x00000100) == 0x00000100) && - avatarHeaderMessage_ != de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) { - avatarHeaderMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder(avatarHeaderMessage_).mergeFrom(value).buildPartial(); + if (avatarHeaderMessageBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + avatarHeaderMessage_ != null && + avatarHeaderMessage_ != de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance()) { + avatarHeaderMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.newBuilder(avatarHeaderMessage_).mergeFrom(value).buildPartial(); + } else { + avatarHeaderMessage_ = value; + } + onChanged(); } else { - avatarHeaderMessage_ = value; + avatarHeaderMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000100; return this; } @@ -57217,35 +84915,85 @@ public final class ProtoBuf { * optional .AvatarHeaderMessage avatarHeaderMessage = 9; */ public Builder clearAvatarHeaderMessage() { - avatarHeaderMessage_ = de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance(); - + if (avatarHeaderMessageBuilder_ == null) { + avatarHeaderMessage_ = null; + onChanged(); + } else { + avatarHeaderMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000100); return this; } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder getAvatarHeaderMessageBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getAvatarHeaderMessageFieldBuilder().getBuilder(); + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ + public de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder getAvatarHeaderMessageOrBuilder() { + if (avatarHeaderMessageBuilder_ != null) { + return avatarHeaderMessageBuilder_.getMessageOrBuilder(); + } else { + return avatarHeaderMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.getDefaultInstance() : avatarHeaderMessage_; + } + } + /** + * optional .AvatarHeaderMessage avatarHeaderMessage = 9; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder> + getAvatarHeaderMessageFieldBuilder() { + if (avatarHeaderMessageBuilder_ == null) { + avatarHeaderMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarHeaderMessageOrBuilder>( + getAvatarHeaderMessage(), + getParentForChildren(), + isClean()); + avatarHeaderMessage_ = null; + } + return avatarHeaderMessageBuilder_; + } - // optional .AvatarDataMessage avatarDataMessage = 10; - private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AvatarDataMessage avatarDataMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarDataMessage, de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder> avatarDataMessageBuilder_; /** * optional .AvatarDataMessage avatarDataMessage = 10; + * @return Whether the avatarDataMessage field is set. */ public boolean hasAvatarDataMessage() { - return ((bitField0_ & 0x00000200) == 0x00000200); + return ((bitField0_ & 0x00000200) != 0); } /** * optional .AvatarDataMessage avatarDataMessage = 10; + * @return The avatarDataMessage. */ public de.pokerth.protocol.ProtoBuf.AvatarDataMessage getAvatarDataMessage() { - return avatarDataMessage_; + if (avatarDataMessageBuilder_ == null) { + return avatarDataMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance() : avatarDataMessage_; + } else { + return avatarDataMessageBuilder_.getMessage(); + } } /** * optional .AvatarDataMessage avatarDataMessage = 10; */ public Builder setAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { - if (value == null) { - throw new NullPointerException(); + if (avatarDataMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + avatarDataMessage_ = value; + onChanged(); + } else { + avatarDataMessageBuilder_.setMessage(value); } - avatarDataMessage_ = value; - bitField0_ |= 0x00000200; return this; } @@ -57254,8 +85002,12 @@ public final class ProtoBuf { */ public Builder setAvatarDataMessage( de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder builderForValue) { - avatarDataMessage_ = builderForValue.build(); - + if (avatarDataMessageBuilder_ == null) { + avatarDataMessage_ = builderForValue.build(); + onChanged(); + } else { + avatarDataMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000200; return this; } @@ -57263,14 +85015,19 @@ public final class ProtoBuf { * optional .AvatarDataMessage avatarDataMessage = 10; */ public Builder mergeAvatarDataMessage(de.pokerth.protocol.ProtoBuf.AvatarDataMessage value) { - if (((bitField0_ & 0x00000200) == 0x00000200) && - avatarDataMessage_ != de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) { - avatarDataMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder(avatarDataMessage_).mergeFrom(value).buildPartial(); + if (avatarDataMessageBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) && + avatarDataMessage_ != null && + avatarDataMessage_ != de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance()) { + avatarDataMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.newBuilder(avatarDataMessage_).mergeFrom(value).buildPartial(); + } else { + avatarDataMessage_ = value; + } + onChanged(); } else { - avatarDataMessage_ = value; + avatarDataMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000200; return this; } @@ -57278,35 +85035,85 @@ public final class ProtoBuf { * optional .AvatarDataMessage avatarDataMessage = 10; */ public Builder clearAvatarDataMessage() { - avatarDataMessage_ = de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance(); - + if (avatarDataMessageBuilder_ == null) { + avatarDataMessage_ = null; + onChanged(); + } else { + avatarDataMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000200); return this; } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder getAvatarDataMessageBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getAvatarDataMessageFieldBuilder().getBuilder(); + } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ + public de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder getAvatarDataMessageOrBuilder() { + if (avatarDataMessageBuilder_ != null) { + return avatarDataMessageBuilder_.getMessageOrBuilder(); + } else { + return avatarDataMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AvatarDataMessage.getDefaultInstance() : avatarDataMessage_; + } + } + /** + * optional .AvatarDataMessage avatarDataMessage = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarDataMessage, de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder> + getAvatarDataMessageFieldBuilder() { + if (avatarDataMessageBuilder_ == null) { + avatarDataMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarDataMessage, de.pokerth.protocol.ProtoBuf.AvatarDataMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarDataMessageOrBuilder>( + getAvatarDataMessage(), + getParentForChildren(), + isClean()); + avatarDataMessage_ = null; + } + return avatarDataMessageBuilder_; + } - // optional .AvatarEndMessage avatarEndMessage = 11; - private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AvatarEndMessage avatarEndMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarEndMessage, de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder> avatarEndMessageBuilder_; /** * optional .AvatarEndMessage avatarEndMessage = 11; + * @return Whether the avatarEndMessage field is set. */ public boolean hasAvatarEndMessage() { - return ((bitField0_ & 0x00000400) == 0x00000400); + return ((bitField0_ & 0x00000400) != 0); } /** * optional .AvatarEndMessage avatarEndMessage = 11; + * @return The avatarEndMessage. */ public de.pokerth.protocol.ProtoBuf.AvatarEndMessage getAvatarEndMessage() { - return avatarEndMessage_; + if (avatarEndMessageBuilder_ == null) { + return avatarEndMessage_ == null ? de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance() : avatarEndMessage_; + } else { + return avatarEndMessageBuilder_.getMessage(); + } } /** * optional .AvatarEndMessage avatarEndMessage = 11; */ public Builder setAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { - if (value == null) { - throw new NullPointerException(); + if (avatarEndMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + avatarEndMessage_ = value; + onChanged(); + } else { + avatarEndMessageBuilder_.setMessage(value); } - avatarEndMessage_ = value; - bitField0_ |= 0x00000400; return this; } @@ -57315,8 +85122,12 @@ public final class ProtoBuf { */ public Builder setAvatarEndMessage( de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder builderForValue) { - avatarEndMessage_ = builderForValue.build(); - + if (avatarEndMessageBuilder_ == null) { + avatarEndMessage_ = builderForValue.build(); + onChanged(); + } else { + avatarEndMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000400; return this; } @@ -57324,14 +85135,19 @@ public final class ProtoBuf { * optional .AvatarEndMessage avatarEndMessage = 11; */ public Builder mergeAvatarEndMessage(de.pokerth.protocol.ProtoBuf.AvatarEndMessage value) { - if (((bitField0_ & 0x00000400) == 0x00000400) && - avatarEndMessage_ != de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance()) { - avatarEndMessage_ = - de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder(avatarEndMessage_).mergeFrom(value).buildPartial(); + if (avatarEndMessageBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) && + avatarEndMessage_ != null && + avatarEndMessage_ != de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance()) { + avatarEndMessage_ = + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.newBuilder(avatarEndMessage_).mergeFrom(value).buildPartial(); + } else { + avatarEndMessage_ = value; + } + onChanged(); } else { - avatarEndMessage_ = value; + avatarEndMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000400; return this; } @@ -57339,35 +85155,85 @@ public final class ProtoBuf { * optional .AvatarEndMessage avatarEndMessage = 11; */ public Builder clearAvatarEndMessage() { - avatarEndMessage_ = de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance(); - + if (avatarEndMessageBuilder_ == null) { + avatarEndMessage_ = null; + onChanged(); + } else { + avatarEndMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000400); return this; } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder getAvatarEndMessageBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getAvatarEndMessageFieldBuilder().getBuilder(); + } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ + public de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder getAvatarEndMessageOrBuilder() { + if (avatarEndMessageBuilder_ != null) { + return avatarEndMessageBuilder_.getMessageOrBuilder(); + } else { + return avatarEndMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AvatarEndMessage.getDefaultInstance() : avatarEndMessage_; + } + } + /** + * optional .AvatarEndMessage avatarEndMessage = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarEndMessage, de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder> + getAvatarEndMessageFieldBuilder() { + if (avatarEndMessageBuilder_ == null) { + avatarEndMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AvatarEndMessage, de.pokerth.protocol.ProtoBuf.AvatarEndMessage.Builder, de.pokerth.protocol.ProtoBuf.AvatarEndMessageOrBuilder>( + getAvatarEndMessage(), + getParentForChildren(), + isClean()); + avatarEndMessage_ = null; + } + return avatarEndMessageBuilder_; + } - // optional .UnknownAvatarMessage unknownAvatarMessage = 12; - private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage unknownAvatarMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder> unknownAvatarMessageBuilder_; /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + * @return Whether the unknownAvatarMessage field is set. */ public boolean hasUnknownAvatarMessage() { - return ((bitField0_ & 0x00000800) == 0x00000800); + return ((bitField0_ & 0x00000800) != 0); } /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + * @return The unknownAvatarMessage. */ public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage getUnknownAvatarMessage() { - return unknownAvatarMessage_; + if (unknownAvatarMessageBuilder_ == null) { + return unknownAvatarMessage_ == null ? de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance() : unknownAvatarMessage_; + } else { + return unknownAvatarMessageBuilder_.getMessage(); + } } /** * optional .UnknownAvatarMessage unknownAvatarMessage = 12; */ public Builder setUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { - if (value == null) { - throw new NullPointerException(); + if (unknownAvatarMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + unknownAvatarMessage_ = value; + onChanged(); + } else { + unknownAvatarMessageBuilder_.setMessage(value); } - unknownAvatarMessage_ = value; - bitField0_ |= 0x00000800; return this; } @@ -57376,8 +85242,12 @@ public final class ProtoBuf { */ public Builder setUnknownAvatarMessage( de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder builderForValue) { - unknownAvatarMessage_ = builderForValue.build(); - + if (unknownAvatarMessageBuilder_ == null) { + unknownAvatarMessage_ = builderForValue.build(); + onChanged(); + } else { + unknownAvatarMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00000800; return this; } @@ -57385,14 +85255,19 @@ public final class ProtoBuf { * optional .UnknownAvatarMessage unknownAvatarMessage = 12; */ public Builder mergeUnknownAvatarMessage(de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage value) { - if (((bitField0_ & 0x00000800) == 0x00000800) && - unknownAvatarMessage_ != de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance()) { - unknownAvatarMessage_ = - de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder(unknownAvatarMessage_).mergeFrom(value).buildPartial(); + if (unknownAvatarMessageBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) && + unknownAvatarMessage_ != null && + unknownAvatarMessage_ != de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance()) { + unknownAvatarMessage_ = + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.newBuilder(unknownAvatarMessage_).mergeFrom(value).buildPartial(); + } else { + unknownAvatarMessage_ = value; + } + onChanged(); } else { - unknownAvatarMessage_ = value; + unknownAvatarMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000800; return this; } @@ -57400,35 +85275,85 @@ public final class ProtoBuf { * optional .UnknownAvatarMessage unknownAvatarMessage = 12; */ public Builder clearUnknownAvatarMessage() { - unknownAvatarMessage_ = de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance(); - + if (unknownAvatarMessageBuilder_ == null) { + unknownAvatarMessage_ = null; + onChanged(); + } else { + unknownAvatarMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000800); return this; } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder getUnknownAvatarMessageBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getUnknownAvatarMessageFieldBuilder().getBuilder(); + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ + public de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder getUnknownAvatarMessageOrBuilder() { + if (unknownAvatarMessageBuilder_ != null) { + return unknownAvatarMessageBuilder_.getMessageOrBuilder(); + } else { + return unknownAvatarMessage_ == null ? + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.getDefaultInstance() : unknownAvatarMessage_; + } + } + /** + * optional .UnknownAvatarMessage unknownAvatarMessage = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder> + getUnknownAvatarMessageFieldBuilder() { + if (unknownAvatarMessageBuilder_ == null) { + unknownAvatarMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessage.Builder, de.pokerth.protocol.ProtoBuf.UnknownAvatarMessageOrBuilder>( + getUnknownAvatarMessage(), + getParentForChildren(), + isClean()); + unknownAvatarMessage_ = null; + } + return unknownAvatarMessageBuilder_; + } - // optional .PlayerListMessage playerListMessage = 13; - private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayerListMessage playerListMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerListMessage, de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder> playerListMessageBuilder_; /** * optional .PlayerListMessage playerListMessage = 13; + * @return Whether the playerListMessage field is set. */ public boolean hasPlayerListMessage() { - return ((bitField0_ & 0x00001000) == 0x00001000); + return ((bitField0_ & 0x00001000) != 0); } /** * optional .PlayerListMessage playerListMessage = 13; + * @return The playerListMessage. */ public de.pokerth.protocol.ProtoBuf.PlayerListMessage getPlayerListMessage() { - return playerListMessage_; + if (playerListMessageBuilder_ == null) { + return playerListMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance() : playerListMessage_; + } else { + return playerListMessageBuilder_.getMessage(); + } } /** * optional .PlayerListMessage playerListMessage = 13; */ public Builder setPlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { - if (value == null) { - throw new NullPointerException(); + if (playerListMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playerListMessage_ = value; + onChanged(); + } else { + playerListMessageBuilder_.setMessage(value); } - playerListMessage_ = value; - bitField0_ |= 0x00001000; return this; } @@ -57437,8 +85362,12 @@ public final class ProtoBuf { */ public Builder setPlayerListMessage( de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder builderForValue) { - playerListMessage_ = builderForValue.build(); - + if (playerListMessageBuilder_ == null) { + playerListMessage_ = builderForValue.build(); + onChanged(); + } else { + playerListMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00001000; return this; } @@ -57446,14 +85375,19 @@ public final class ProtoBuf { * optional .PlayerListMessage playerListMessage = 13; */ public Builder mergePlayerListMessage(de.pokerth.protocol.ProtoBuf.PlayerListMessage value) { - if (((bitField0_ & 0x00001000) == 0x00001000) && - playerListMessage_ != de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) { - playerListMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder(playerListMessage_).mergeFrom(value).buildPartial(); + if (playerListMessageBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0) && + playerListMessage_ != null && + playerListMessage_ != de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance()) { + playerListMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerListMessage.newBuilder(playerListMessage_).mergeFrom(value).buildPartial(); + } else { + playerListMessage_ = value; + } + onChanged(); } else { - playerListMessage_ = value; + playerListMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00001000; return this; } @@ -57461,35 +85395,85 @@ public final class ProtoBuf { * optional .PlayerListMessage playerListMessage = 13; */ public Builder clearPlayerListMessage() { - playerListMessage_ = de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance(); - + if (playerListMessageBuilder_ == null) { + playerListMessage_ = null; + onChanged(); + } else { + playerListMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00001000); return this; } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder getPlayerListMessageBuilder() { + bitField0_ |= 0x00001000; + onChanged(); + return getPlayerListMessageFieldBuilder().getBuilder(); + } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ + public de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder getPlayerListMessageOrBuilder() { + if (playerListMessageBuilder_ != null) { + return playerListMessageBuilder_.getMessageOrBuilder(); + } else { + return playerListMessage_ == null ? + de.pokerth.protocol.ProtoBuf.PlayerListMessage.getDefaultInstance() : playerListMessage_; + } + } + /** + * optional .PlayerListMessage playerListMessage = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerListMessage, de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder> + getPlayerListMessageFieldBuilder() { + if (playerListMessageBuilder_ == null) { + playerListMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerListMessage, de.pokerth.protocol.ProtoBuf.PlayerListMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerListMessageOrBuilder>( + getPlayerListMessage(), + getParentForChildren(), + isClean()); + playerListMessage_ = null; + } + return playerListMessageBuilder_; + } - // optional .GameListNewMessage gameListNewMessage = 14; - private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameListNewMessage gameListNewMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListNewMessage, de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder> gameListNewMessageBuilder_; /** * optional .GameListNewMessage gameListNewMessage = 14; + * @return Whether the gameListNewMessage field is set. */ public boolean hasGameListNewMessage() { - return ((bitField0_ & 0x00002000) == 0x00002000); + return ((bitField0_ & 0x00002000) != 0); } /** * optional .GameListNewMessage gameListNewMessage = 14; + * @return The gameListNewMessage. */ public de.pokerth.protocol.ProtoBuf.GameListNewMessage getGameListNewMessage() { - return gameListNewMessage_; + if (gameListNewMessageBuilder_ == null) { + return gameListNewMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance() : gameListNewMessage_; + } else { + return gameListNewMessageBuilder_.getMessage(); + } } /** * optional .GameListNewMessage gameListNewMessage = 14; */ public Builder setGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameListNewMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameListNewMessage_ = value; + onChanged(); + } else { + gameListNewMessageBuilder_.setMessage(value); } - gameListNewMessage_ = value; - bitField0_ |= 0x00002000; return this; } @@ -57498,8 +85482,12 @@ public final class ProtoBuf { */ public Builder setGameListNewMessage( de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder builderForValue) { - gameListNewMessage_ = builderForValue.build(); - + if (gameListNewMessageBuilder_ == null) { + gameListNewMessage_ = builderForValue.build(); + onChanged(); + } else { + gameListNewMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00002000; return this; } @@ -57507,14 +85495,19 @@ public final class ProtoBuf { * optional .GameListNewMessage gameListNewMessage = 14; */ public Builder mergeGameListNewMessage(de.pokerth.protocol.ProtoBuf.GameListNewMessage value) { - if (((bitField0_ & 0x00002000) == 0x00002000) && - gameListNewMessage_ != de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance()) { - gameListNewMessage_ = - de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder(gameListNewMessage_).mergeFrom(value).buildPartial(); + if (gameListNewMessageBuilder_ == null) { + if (((bitField0_ & 0x00002000) != 0) && + gameListNewMessage_ != null && + gameListNewMessage_ != de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance()) { + gameListNewMessage_ = + de.pokerth.protocol.ProtoBuf.GameListNewMessage.newBuilder(gameListNewMessage_).mergeFrom(value).buildPartial(); + } else { + gameListNewMessage_ = value; + } + onChanged(); } else { - gameListNewMessage_ = value; + gameListNewMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00002000; return this; } @@ -57522,35 +85515,85 @@ public final class ProtoBuf { * optional .GameListNewMessage gameListNewMessage = 14; */ public Builder clearGameListNewMessage() { - gameListNewMessage_ = de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance(); - + if (gameListNewMessageBuilder_ == null) { + gameListNewMessage_ = null; + onChanged(); + } else { + gameListNewMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00002000); return this; } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder getGameListNewMessageBuilder() { + bitField0_ |= 0x00002000; + onChanged(); + return getGameListNewMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ + public de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder getGameListNewMessageOrBuilder() { + if (gameListNewMessageBuilder_ != null) { + return gameListNewMessageBuilder_.getMessageOrBuilder(); + } else { + return gameListNewMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameListNewMessage.getDefaultInstance() : gameListNewMessage_; + } + } + /** + * optional .GameListNewMessage gameListNewMessage = 14; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListNewMessage, de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder> + getGameListNewMessageFieldBuilder() { + if (gameListNewMessageBuilder_ == null) { + gameListNewMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListNewMessage, de.pokerth.protocol.ProtoBuf.GameListNewMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListNewMessageOrBuilder>( + getGameListNewMessage(), + getParentForChildren(), + isClean()); + gameListNewMessage_ = null; + } + return gameListNewMessageBuilder_; + } - // optional .GameListUpdateMessage gameListUpdateMessage = 15; - private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameListUpdateMessage gameListUpdateMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder> gameListUpdateMessageBuilder_; /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; + * @return Whether the gameListUpdateMessage field is set. */ public boolean hasGameListUpdateMessage() { - return ((bitField0_ & 0x00004000) == 0x00004000); + return ((bitField0_ & 0x00004000) != 0); } /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; + * @return The gameListUpdateMessage. */ public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage getGameListUpdateMessage() { - return gameListUpdateMessage_; + if (gameListUpdateMessageBuilder_ == null) { + return gameListUpdateMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance() : gameListUpdateMessage_; + } else { + return gameListUpdateMessageBuilder_.getMessage(); + } } /** * optional .GameListUpdateMessage gameListUpdateMessage = 15; */ public Builder setGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameListUpdateMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameListUpdateMessage_ = value; + onChanged(); + } else { + gameListUpdateMessageBuilder_.setMessage(value); } - gameListUpdateMessage_ = value; - bitField0_ |= 0x00004000; return this; } @@ -57559,8 +85602,12 @@ public final class ProtoBuf { */ public Builder setGameListUpdateMessage( de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder builderForValue) { - gameListUpdateMessage_ = builderForValue.build(); - + if (gameListUpdateMessageBuilder_ == null) { + gameListUpdateMessage_ = builderForValue.build(); + onChanged(); + } else { + gameListUpdateMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00004000; return this; } @@ -57568,14 +85615,19 @@ public final class ProtoBuf { * optional .GameListUpdateMessage gameListUpdateMessage = 15; */ public Builder mergeGameListUpdateMessage(de.pokerth.protocol.ProtoBuf.GameListUpdateMessage value) { - if (((bitField0_ & 0x00004000) == 0x00004000) && - gameListUpdateMessage_ != de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance()) { - gameListUpdateMessage_ = - de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder(gameListUpdateMessage_).mergeFrom(value).buildPartial(); + if (gameListUpdateMessageBuilder_ == null) { + if (((bitField0_ & 0x00004000) != 0) && + gameListUpdateMessage_ != null && + gameListUpdateMessage_ != de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance()) { + gameListUpdateMessage_ = + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.newBuilder(gameListUpdateMessage_).mergeFrom(value).buildPartial(); + } else { + gameListUpdateMessage_ = value; + } + onChanged(); } else { - gameListUpdateMessage_ = value; + gameListUpdateMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00004000; return this; } @@ -57583,35 +85635,85 @@ public final class ProtoBuf { * optional .GameListUpdateMessage gameListUpdateMessage = 15; */ public Builder clearGameListUpdateMessage() { - gameListUpdateMessage_ = de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance(); - + if (gameListUpdateMessageBuilder_ == null) { + gameListUpdateMessage_ = null; + onChanged(); + } else { + gameListUpdateMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00004000); return this; } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder getGameListUpdateMessageBuilder() { + bitField0_ |= 0x00004000; + onChanged(); + return getGameListUpdateMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ + public de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder getGameListUpdateMessageOrBuilder() { + if (gameListUpdateMessageBuilder_ != null) { + return gameListUpdateMessageBuilder_.getMessageOrBuilder(); + } else { + return gameListUpdateMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.getDefaultInstance() : gameListUpdateMessage_; + } + } + /** + * optional .GameListUpdateMessage gameListUpdateMessage = 15; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder> + getGameListUpdateMessageFieldBuilder() { + if (gameListUpdateMessageBuilder_ == null) { + gameListUpdateMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListUpdateMessage, de.pokerth.protocol.ProtoBuf.GameListUpdateMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListUpdateMessageOrBuilder>( + getGameListUpdateMessage(), + getParentForChildren(), + isClean()); + gameListUpdateMessage_ = null; + } + return gameListUpdateMessageBuilder_; + } - // optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; - private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage gameListPlayerJoinedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder> gameListPlayerJoinedMessageBuilder_; /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + * @return Whether the gameListPlayerJoinedMessage field is set. */ public boolean hasGameListPlayerJoinedMessage() { - return ((bitField0_ & 0x00008000) == 0x00008000); + return ((bitField0_ & 0x00008000) != 0); } /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + * @return The gameListPlayerJoinedMessage. */ public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage getGameListPlayerJoinedMessage() { - return gameListPlayerJoinedMessage_; + if (gameListPlayerJoinedMessageBuilder_ == null) { + return gameListPlayerJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance() : gameListPlayerJoinedMessage_; + } else { + return gameListPlayerJoinedMessageBuilder_.getMessage(); + } } /** * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; */ public Builder setGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameListPlayerJoinedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameListPlayerJoinedMessage_ = value; + onChanged(); + } else { + gameListPlayerJoinedMessageBuilder_.setMessage(value); } - gameListPlayerJoinedMessage_ = value; - bitField0_ |= 0x00008000; return this; } @@ -57620,8 +85722,12 @@ public final class ProtoBuf { */ public Builder setGameListPlayerJoinedMessage( de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder builderForValue) { - gameListPlayerJoinedMessage_ = builderForValue.build(); - + if (gameListPlayerJoinedMessageBuilder_ == null) { + gameListPlayerJoinedMessage_ = builderForValue.build(); + onChanged(); + } else { + gameListPlayerJoinedMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00008000; return this; } @@ -57629,14 +85735,19 @@ public final class ProtoBuf { * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; */ public Builder mergeGameListPlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage value) { - if (((bitField0_ & 0x00008000) == 0x00008000) && - gameListPlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance()) { - gameListPlayerJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder(gameListPlayerJoinedMessage_).mergeFrom(value).buildPartial(); + if (gameListPlayerJoinedMessageBuilder_ == null) { + if (((bitField0_ & 0x00008000) != 0) && + gameListPlayerJoinedMessage_ != null && + gameListPlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance()) { + gameListPlayerJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.newBuilder(gameListPlayerJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gameListPlayerJoinedMessage_ = value; + } + onChanged(); } else { - gameListPlayerJoinedMessage_ = value; + gameListPlayerJoinedMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00008000; return this; } @@ -57644,35 +85755,85 @@ public final class ProtoBuf { * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; */ public Builder clearGameListPlayerJoinedMessage() { - gameListPlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance(); - + if (gameListPlayerJoinedMessageBuilder_ == null) { + gameListPlayerJoinedMessage_ = null; + onChanged(); + } else { + gameListPlayerJoinedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00008000); return this; } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder getGameListPlayerJoinedMessageBuilder() { + bitField0_ |= 0x00008000; + onChanged(); + return getGameListPlayerJoinedMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder getGameListPlayerJoinedMessageOrBuilder() { + if (gameListPlayerJoinedMessageBuilder_ != null) { + return gameListPlayerJoinedMessageBuilder_.getMessageOrBuilder(); + } else { + return gameListPlayerJoinedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.getDefaultInstance() : gameListPlayerJoinedMessage_; + } + } + /** + * optional .GameListPlayerJoinedMessage gameListPlayerJoinedMessage = 16; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder> + getGameListPlayerJoinedMessageFieldBuilder() { + if (gameListPlayerJoinedMessageBuilder_ == null) { + gameListPlayerJoinedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListPlayerJoinedMessageOrBuilder>( + getGameListPlayerJoinedMessage(), + getParentForChildren(), + isClean()); + gameListPlayerJoinedMessage_ = null; + } + return gameListPlayerJoinedMessageBuilder_; + } - // optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; - private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage gameListPlayerLeftMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder> gameListPlayerLeftMessageBuilder_; /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + * @return Whether the gameListPlayerLeftMessage field is set. */ public boolean hasGameListPlayerLeftMessage() { - return ((bitField0_ & 0x00010000) == 0x00010000); + return ((bitField0_ & 0x00010000) != 0); } /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + * @return The gameListPlayerLeftMessage. */ public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage getGameListPlayerLeftMessage() { - return gameListPlayerLeftMessage_; + if (gameListPlayerLeftMessageBuilder_ == null) { + return gameListPlayerLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance() : gameListPlayerLeftMessage_; + } else { + return gameListPlayerLeftMessageBuilder_.getMessage(); + } } /** * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; */ public Builder setGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameListPlayerLeftMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameListPlayerLeftMessage_ = value; + onChanged(); + } else { + gameListPlayerLeftMessageBuilder_.setMessage(value); } - gameListPlayerLeftMessage_ = value; - bitField0_ |= 0x00010000; return this; } @@ -57681,8 +85842,12 @@ public final class ProtoBuf { */ public Builder setGameListPlayerLeftMessage( de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder builderForValue) { - gameListPlayerLeftMessage_ = builderForValue.build(); - + if (gameListPlayerLeftMessageBuilder_ == null) { + gameListPlayerLeftMessage_ = builderForValue.build(); + onChanged(); + } else { + gameListPlayerLeftMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00010000; return this; } @@ -57690,14 +85855,19 @@ public final class ProtoBuf { * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; */ public Builder mergeGameListPlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage value) { - if (((bitField0_ & 0x00010000) == 0x00010000) && - gameListPlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance()) { - gameListPlayerLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder(gameListPlayerLeftMessage_).mergeFrom(value).buildPartial(); + if (gameListPlayerLeftMessageBuilder_ == null) { + if (((bitField0_ & 0x00010000) != 0) && + gameListPlayerLeftMessage_ != null && + gameListPlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance()) { + gameListPlayerLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.newBuilder(gameListPlayerLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gameListPlayerLeftMessage_ = value; + } + onChanged(); } else { - gameListPlayerLeftMessage_ = value; + gameListPlayerLeftMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00010000; return this; } @@ -57705,35 +85875,85 @@ public final class ProtoBuf { * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; */ public Builder clearGameListPlayerLeftMessage() { - gameListPlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance(); - + if (gameListPlayerLeftMessageBuilder_ == null) { + gameListPlayerLeftMessage_ = null; + onChanged(); + } else { + gameListPlayerLeftMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00010000); return this; } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder getGameListPlayerLeftMessageBuilder() { + bitField0_ |= 0x00010000; + onChanged(); + return getGameListPlayerLeftMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ + public de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder getGameListPlayerLeftMessageOrBuilder() { + if (gameListPlayerLeftMessageBuilder_ != null) { + return gameListPlayerLeftMessageBuilder_.getMessageOrBuilder(); + } else { + return gameListPlayerLeftMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.getDefaultInstance() : gameListPlayerLeftMessage_; + } + } + /** + * optional .GameListPlayerLeftMessage gameListPlayerLeftMessage = 17; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder> + getGameListPlayerLeftMessageFieldBuilder() { + if (gameListPlayerLeftMessageBuilder_ == null) { + gameListPlayerLeftMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListPlayerLeftMessageOrBuilder>( + getGameListPlayerLeftMessage(), + getParentForChildren(), + isClean()); + gameListPlayerLeftMessage_ = null; + } + return gameListPlayerLeftMessageBuilder_; + } - // optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; - private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage gameListAdminChangedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder> gameListAdminChangedMessageBuilder_; /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + * @return Whether the gameListAdminChangedMessage field is set. */ public boolean hasGameListAdminChangedMessage() { - return ((bitField0_ & 0x00020000) == 0x00020000); + return ((bitField0_ & 0x00020000) != 0); } /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + * @return The gameListAdminChangedMessage. */ public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage getGameListAdminChangedMessage() { - return gameListAdminChangedMessage_; + if (gameListAdminChangedMessageBuilder_ == null) { + return gameListAdminChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance() : gameListAdminChangedMessage_; + } else { + return gameListAdminChangedMessageBuilder_.getMessage(); + } } /** * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; */ public Builder setGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameListAdminChangedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameListAdminChangedMessage_ = value; + onChanged(); + } else { + gameListAdminChangedMessageBuilder_.setMessage(value); } - gameListAdminChangedMessage_ = value; - bitField0_ |= 0x00020000; return this; } @@ -57742,8 +85962,12 @@ public final class ProtoBuf { */ public Builder setGameListAdminChangedMessage( de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder builderForValue) { - gameListAdminChangedMessage_ = builderForValue.build(); - + if (gameListAdminChangedMessageBuilder_ == null) { + gameListAdminChangedMessage_ = builderForValue.build(); + onChanged(); + } else { + gameListAdminChangedMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00020000; return this; } @@ -57751,14 +85975,19 @@ public final class ProtoBuf { * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; */ public Builder mergeGameListAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage value) { - if (((bitField0_ & 0x00020000) == 0x00020000) && - gameListAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) { - gameListAdminChangedMessage_ = - de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder(gameListAdminChangedMessage_).mergeFrom(value).buildPartial(); + if (gameListAdminChangedMessageBuilder_ == null) { + if (((bitField0_ & 0x00020000) != 0) && + gameListAdminChangedMessage_ != null && + gameListAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance()) { + gameListAdminChangedMessage_ = + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.newBuilder(gameListAdminChangedMessage_).mergeFrom(value).buildPartial(); + } else { + gameListAdminChangedMessage_ = value; + } + onChanged(); } else { - gameListAdminChangedMessage_ = value; + gameListAdminChangedMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00020000; return this; } @@ -57766,35 +85995,85 @@ public final class ProtoBuf { * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; */ public Builder clearGameListAdminChangedMessage() { - gameListAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance(); - + if (gameListAdminChangedMessageBuilder_ == null) { + gameListAdminChangedMessage_ = null; + onChanged(); + } else { + gameListAdminChangedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00020000); return this; } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder getGameListAdminChangedMessageBuilder() { + bitField0_ |= 0x00020000; + onChanged(); + return getGameListAdminChangedMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ + public de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder getGameListAdminChangedMessageOrBuilder() { + if (gameListAdminChangedMessageBuilder_ != null) { + return gameListAdminChangedMessageBuilder_.getMessageOrBuilder(); + } else { + return gameListAdminChangedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.getDefaultInstance() : gameListAdminChangedMessage_; + } + } + /** + * optional .GameListAdminChangedMessage gameListAdminChangedMessage = 18; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder> + getGameListAdminChangedMessageFieldBuilder() { + if (gameListAdminChangedMessageBuilder_ == null) { + gameListAdminChangedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListAdminChangedMessageOrBuilder>( + getGameListAdminChangedMessage(), + getParentForChildren(), + isClean()); + gameListAdminChangedMessage_ = null; + } + return gameListAdminChangedMessageBuilder_; + } - // optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; - private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage playerInfoRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder> playerInfoRequestMessageBuilder_; /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + * @return Whether the playerInfoRequestMessage field is set. */ public boolean hasPlayerInfoRequestMessage() { - return ((bitField0_ & 0x00040000) == 0x00040000); + return ((bitField0_ & 0x00040000) != 0); } /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + * @return The playerInfoRequestMessage. */ public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage getPlayerInfoRequestMessage() { - return playerInfoRequestMessage_; + if (playerInfoRequestMessageBuilder_ == null) { + return playerInfoRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance() : playerInfoRequestMessage_; + } else { + return playerInfoRequestMessageBuilder_.getMessage(); + } } /** * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; */ public Builder setPlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (playerInfoRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playerInfoRequestMessage_ = value; + onChanged(); + } else { + playerInfoRequestMessageBuilder_.setMessage(value); } - playerInfoRequestMessage_ = value; - bitField0_ |= 0x00040000; return this; } @@ -57803,8 +86082,12 @@ public final class ProtoBuf { */ public Builder setPlayerInfoRequestMessage( de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder builderForValue) { - playerInfoRequestMessage_ = builderForValue.build(); - + if (playerInfoRequestMessageBuilder_ == null) { + playerInfoRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + playerInfoRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00040000; return this; } @@ -57812,14 +86095,19 @@ public final class ProtoBuf { * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; */ public Builder mergePlayerInfoRequestMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage value) { - if (((bitField0_ & 0x00040000) == 0x00040000) && - playerInfoRequestMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance()) { - playerInfoRequestMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder(playerInfoRequestMessage_).mergeFrom(value).buildPartial(); + if (playerInfoRequestMessageBuilder_ == null) { + if (((bitField0_ & 0x00040000) != 0) && + playerInfoRequestMessage_ != null && + playerInfoRequestMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance()) { + playerInfoRequestMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.newBuilder(playerInfoRequestMessage_).mergeFrom(value).buildPartial(); + } else { + playerInfoRequestMessage_ = value; + } + onChanged(); } else { - playerInfoRequestMessage_ = value; + playerInfoRequestMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00040000; return this; } @@ -57827,35 +86115,85 @@ public final class ProtoBuf { * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; */ public Builder clearPlayerInfoRequestMessage() { - playerInfoRequestMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance(); - + if (playerInfoRequestMessageBuilder_ == null) { + playerInfoRequestMessage_ = null; + onChanged(); + } else { + playerInfoRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00040000); return this; } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder getPlayerInfoRequestMessageBuilder() { + bitField0_ |= 0x00040000; + onChanged(); + return getPlayerInfoRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder getPlayerInfoRequestMessageOrBuilder() { + if (playerInfoRequestMessageBuilder_ != null) { + return playerInfoRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return playerInfoRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.getDefaultInstance() : playerInfoRequestMessage_; + } + } + /** + * optional .PlayerInfoRequestMessage playerInfoRequestMessage = 19; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder> + getPlayerInfoRequestMessageFieldBuilder() { + if (playerInfoRequestMessageBuilder_ == null) { + playerInfoRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoRequestMessageOrBuilder>( + getPlayerInfoRequestMessage(), + getParentForChildren(), + isClean()); + playerInfoRequestMessage_ = null; + } + return playerInfoRequestMessageBuilder_; + } - // optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; - private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage playerInfoReplyMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder> playerInfoReplyMessageBuilder_; /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + * @return Whether the playerInfoReplyMessage field is set. */ public boolean hasPlayerInfoReplyMessage() { - return ((bitField0_ & 0x00080000) == 0x00080000); + return ((bitField0_ & 0x00080000) != 0); } /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + * @return The playerInfoReplyMessage. */ public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage getPlayerInfoReplyMessage() { - return playerInfoReplyMessage_; + if (playerInfoReplyMessageBuilder_ == null) { + return playerInfoReplyMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance() : playerInfoReplyMessage_; + } else { + return playerInfoReplyMessageBuilder_.getMessage(); + } } /** * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; */ public Builder setPlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { - if (value == null) { - throw new NullPointerException(); + if (playerInfoReplyMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playerInfoReplyMessage_ = value; + onChanged(); + } else { + playerInfoReplyMessageBuilder_.setMessage(value); } - playerInfoReplyMessage_ = value; - bitField0_ |= 0x00080000; return this; } @@ -57864,8 +86202,12 @@ public final class ProtoBuf { */ public Builder setPlayerInfoReplyMessage( de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder builderForValue) { - playerInfoReplyMessage_ = builderForValue.build(); - + if (playerInfoReplyMessageBuilder_ == null) { + playerInfoReplyMessage_ = builderForValue.build(); + onChanged(); + } else { + playerInfoReplyMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00080000; return this; } @@ -57873,14 +86215,19 @@ public final class ProtoBuf { * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; */ public Builder mergePlayerInfoReplyMessage(de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage value) { - if (((bitField0_ & 0x00080000) == 0x00080000) && - playerInfoReplyMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance()) { - playerInfoReplyMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder(playerInfoReplyMessage_).mergeFrom(value).buildPartial(); + if (playerInfoReplyMessageBuilder_ == null) { + if (((bitField0_ & 0x00080000) != 0) && + playerInfoReplyMessage_ != null && + playerInfoReplyMessage_ != de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance()) { + playerInfoReplyMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.newBuilder(playerInfoReplyMessage_).mergeFrom(value).buildPartial(); + } else { + playerInfoReplyMessage_ = value; + } + onChanged(); } else { - playerInfoReplyMessage_ = value; + playerInfoReplyMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00080000; return this; } @@ -57888,35 +86235,85 @@ public final class ProtoBuf { * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; */ public Builder clearPlayerInfoReplyMessage() { - playerInfoReplyMessage_ = de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance(); - + if (playerInfoReplyMessageBuilder_ == null) { + playerInfoReplyMessage_ = null; + onChanged(); + } else { + playerInfoReplyMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00080000); return this; } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder getPlayerInfoReplyMessageBuilder() { + bitField0_ |= 0x00080000; + onChanged(); + return getPlayerInfoReplyMessageFieldBuilder().getBuilder(); + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ + public de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder getPlayerInfoReplyMessageOrBuilder() { + if (playerInfoReplyMessageBuilder_ != null) { + return playerInfoReplyMessageBuilder_.getMessageOrBuilder(); + } else { + return playerInfoReplyMessage_ == null ? + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.getDefaultInstance() : playerInfoReplyMessage_; + } + } + /** + * optional .PlayerInfoReplyMessage playerInfoReplyMessage = 20; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder> + getPlayerInfoReplyMessageFieldBuilder() { + if (playerInfoReplyMessageBuilder_ == null) { + playerInfoReplyMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerInfoReplyMessageOrBuilder>( + getPlayerInfoReplyMessage(), + getParentForChildren(), + isClean()); + playerInfoReplyMessage_ = null; + } + return playerInfoReplyMessageBuilder_; + } - // optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; - private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage subscriptionRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder> subscriptionRequestMessageBuilder_; /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + * @return Whether the subscriptionRequestMessage field is set. */ public boolean hasSubscriptionRequestMessage() { - return ((bitField0_ & 0x00100000) == 0x00100000); + return ((bitField0_ & 0x00100000) != 0); } /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + * @return The subscriptionRequestMessage. */ public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage getSubscriptionRequestMessage() { - return subscriptionRequestMessage_; + if (subscriptionRequestMessageBuilder_ == null) { + return subscriptionRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance() : subscriptionRequestMessage_; + } else { + return subscriptionRequestMessageBuilder_.getMessage(); + } } /** * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; */ public Builder setSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (subscriptionRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + subscriptionRequestMessage_ = value; + onChanged(); + } else { + subscriptionRequestMessageBuilder_.setMessage(value); } - subscriptionRequestMessage_ = value; - bitField0_ |= 0x00100000; return this; } @@ -57925,8 +86322,12 @@ public final class ProtoBuf { */ public Builder setSubscriptionRequestMessage( de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder builderForValue) { - subscriptionRequestMessage_ = builderForValue.build(); - + if (subscriptionRequestMessageBuilder_ == null) { + subscriptionRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + subscriptionRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00100000; return this; } @@ -57934,14 +86335,19 @@ public final class ProtoBuf { * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; */ public Builder mergeSubscriptionRequestMessage(de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage value) { - if (((bitField0_ & 0x00100000) == 0x00100000) && - subscriptionRequestMessage_ != de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) { - subscriptionRequestMessage_ = - de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder(subscriptionRequestMessage_).mergeFrom(value).buildPartial(); + if (subscriptionRequestMessageBuilder_ == null) { + if (((bitField0_ & 0x00100000) != 0) && + subscriptionRequestMessage_ != null && + subscriptionRequestMessage_ != de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance()) { + subscriptionRequestMessage_ = + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.newBuilder(subscriptionRequestMessage_).mergeFrom(value).buildPartial(); + } else { + subscriptionRequestMessage_ = value; + } + onChanged(); } else { - subscriptionRequestMessage_ = value; + subscriptionRequestMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00100000; return this; } @@ -57949,35 +86355,85 @@ public final class ProtoBuf { * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; */ public Builder clearSubscriptionRequestMessage() { - subscriptionRequestMessage_ = de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance(); - + if (subscriptionRequestMessageBuilder_ == null) { + subscriptionRequestMessage_ = null; + onChanged(); + } else { + subscriptionRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00100000); return this; } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder getSubscriptionRequestMessageBuilder() { + bitField0_ |= 0x00100000; + onChanged(); + return getSubscriptionRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ + public de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder getSubscriptionRequestMessageOrBuilder() { + if (subscriptionRequestMessageBuilder_ != null) { + return subscriptionRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return subscriptionRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.getDefaultInstance() : subscriptionRequestMessage_; + } + } + /** + * optional .SubscriptionRequestMessage subscriptionRequestMessage = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder> + getSubscriptionRequestMessageFieldBuilder() { + if (subscriptionRequestMessageBuilder_ == null) { + subscriptionRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.SubscriptionRequestMessageOrBuilder>( + getSubscriptionRequestMessage(), + getParentForChildren(), + isClean()); + subscriptionRequestMessage_ = null; + } + return subscriptionRequestMessageBuilder_; + } - // optional .JoinExistingGameMessage joinExistingGameMessage = 22; - private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage joinExistingGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder> joinExistingGameMessageBuilder_; /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + * @return Whether the joinExistingGameMessage field is set. */ public boolean hasJoinExistingGameMessage() { - return ((bitField0_ & 0x00200000) == 0x00200000); + return ((bitField0_ & 0x00200000) != 0); } /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + * @return The joinExistingGameMessage. */ public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage getJoinExistingGameMessage() { - return joinExistingGameMessage_; + if (joinExistingGameMessageBuilder_ == null) { + return joinExistingGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance() : joinExistingGameMessage_; + } else { + return joinExistingGameMessageBuilder_.getMessage(); + } } /** * optional .JoinExistingGameMessage joinExistingGameMessage = 22; */ public Builder setJoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (joinExistingGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + joinExistingGameMessage_ = value; + onChanged(); + } else { + joinExistingGameMessageBuilder_.setMessage(value); } - joinExistingGameMessage_ = value; - bitField0_ |= 0x00200000; return this; } @@ -57986,8 +86442,12 @@ public final class ProtoBuf { */ public Builder setJoinExistingGameMessage( de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder builderForValue) { - joinExistingGameMessage_ = builderForValue.build(); - + if (joinExistingGameMessageBuilder_ == null) { + joinExistingGameMessage_ = builderForValue.build(); + onChanged(); + } else { + joinExistingGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00200000; return this; } @@ -57995,14 +86455,19 @@ public final class ProtoBuf { * optional .JoinExistingGameMessage joinExistingGameMessage = 22; */ public Builder mergeJoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage value) { - if (((bitField0_ & 0x00200000) == 0x00200000) && - joinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) { - joinExistingGameMessage_ = - de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder(joinExistingGameMessage_).mergeFrom(value).buildPartial(); + if (joinExistingGameMessageBuilder_ == null) { + if (((bitField0_ & 0x00200000) != 0) && + joinExistingGameMessage_ != null && + joinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance()) { + joinExistingGameMessage_ = + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.newBuilder(joinExistingGameMessage_).mergeFrom(value).buildPartial(); + } else { + joinExistingGameMessage_ = value; + } + onChanged(); } else { - joinExistingGameMessage_ = value; + joinExistingGameMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00200000; return this; } @@ -58010,35 +86475,85 @@ public final class ProtoBuf { * optional .JoinExistingGameMessage joinExistingGameMessage = 22; */ public Builder clearJoinExistingGameMessage() { - joinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance(); - + if (joinExistingGameMessageBuilder_ == null) { + joinExistingGameMessage_ = null; + onChanged(); + } else { + joinExistingGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00200000); return this; } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder getJoinExistingGameMessageBuilder() { + bitField0_ |= 0x00200000; + onChanged(); + return getJoinExistingGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ + public de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder getJoinExistingGameMessageOrBuilder() { + if (joinExistingGameMessageBuilder_ != null) { + return joinExistingGameMessageBuilder_.getMessageOrBuilder(); + } else { + return joinExistingGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.getDefaultInstance() : joinExistingGameMessage_; + } + } + /** + * optional .JoinExistingGameMessage joinExistingGameMessage = 22; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder> + getJoinExistingGameMessageFieldBuilder() { + if (joinExistingGameMessageBuilder_ == null) { + joinExistingGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinExistingGameMessageOrBuilder>( + getJoinExistingGameMessage(), + getParentForChildren(), + isClean()); + joinExistingGameMessage_ = null; + } + return joinExistingGameMessageBuilder_; + } - // optional .JoinNewGameMessage joinNewGameMessage = 23; - private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.JoinNewGameMessage joinNewGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder> joinNewGameMessageBuilder_; /** * optional .JoinNewGameMessage joinNewGameMessage = 23; + * @return Whether the joinNewGameMessage field is set. */ public boolean hasJoinNewGameMessage() { - return ((bitField0_ & 0x00400000) == 0x00400000); + return ((bitField0_ & 0x00400000) != 0); } /** * optional .JoinNewGameMessage joinNewGameMessage = 23; + * @return The joinNewGameMessage. */ public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage getJoinNewGameMessage() { - return joinNewGameMessage_; + if (joinNewGameMessageBuilder_ == null) { + return joinNewGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance() : joinNewGameMessage_; + } else { + return joinNewGameMessageBuilder_.getMessage(); + } } /** * optional .JoinNewGameMessage joinNewGameMessage = 23; */ public Builder setJoinNewGameMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (joinNewGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + joinNewGameMessage_ = value; + onChanged(); + } else { + joinNewGameMessageBuilder_.setMessage(value); } - joinNewGameMessage_ = value; - bitField0_ |= 0x00400000; return this; } @@ -58047,8 +86562,12 @@ public final class ProtoBuf { */ public Builder setJoinNewGameMessage( de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder builderForValue) { - joinNewGameMessage_ = builderForValue.build(); - + if (joinNewGameMessageBuilder_ == null) { + joinNewGameMessage_ = builderForValue.build(); + onChanged(); + } else { + joinNewGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00400000; return this; } @@ -58056,14 +86575,19 @@ public final class ProtoBuf { * optional .JoinNewGameMessage joinNewGameMessage = 23; */ public Builder mergeJoinNewGameMessage(de.pokerth.protocol.ProtoBuf.JoinNewGameMessage value) { - if (((bitField0_ & 0x00400000) == 0x00400000) && - joinNewGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance()) { - joinNewGameMessage_ = - de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder(joinNewGameMessage_).mergeFrom(value).buildPartial(); + if (joinNewGameMessageBuilder_ == null) { + if (((bitField0_ & 0x00400000) != 0) && + joinNewGameMessage_ != null && + joinNewGameMessage_ != de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance()) { + joinNewGameMessage_ = + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.newBuilder(joinNewGameMessage_).mergeFrom(value).buildPartial(); + } else { + joinNewGameMessage_ = value; + } + onChanged(); } else { - joinNewGameMessage_ = value; + joinNewGameMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00400000; return this; } @@ -58071,35 +86595,85 @@ public final class ProtoBuf { * optional .JoinNewGameMessage joinNewGameMessage = 23; */ public Builder clearJoinNewGameMessage() { - joinNewGameMessage_ = de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance(); - + if (joinNewGameMessageBuilder_ == null) { + joinNewGameMessage_ = null; + onChanged(); + } else { + joinNewGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00400000); return this; } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder getJoinNewGameMessageBuilder() { + bitField0_ |= 0x00400000; + onChanged(); + return getJoinNewGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ + public de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder getJoinNewGameMessageOrBuilder() { + if (joinNewGameMessageBuilder_ != null) { + return joinNewGameMessageBuilder_.getMessageOrBuilder(); + } else { + return joinNewGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.getDefaultInstance() : joinNewGameMessage_; + } + } + /** + * optional .JoinNewGameMessage joinNewGameMessage = 23; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder> + getJoinNewGameMessageFieldBuilder() { + if (joinNewGameMessageBuilder_ == null) { + joinNewGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinNewGameMessage, de.pokerth.protocol.ProtoBuf.JoinNewGameMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinNewGameMessageOrBuilder>( + getJoinNewGameMessage(), + getParentForChildren(), + isClean()); + joinNewGameMessage_ = null; + } + return joinNewGameMessageBuilder_; + } - // optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; - private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage rejoinExistingGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder> rejoinExistingGameMessageBuilder_; /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + * @return Whether the rejoinExistingGameMessage field is set. */ public boolean hasRejoinExistingGameMessage() { - return ((bitField0_ & 0x00800000) == 0x00800000); + return ((bitField0_ & 0x00800000) != 0); } /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + * @return The rejoinExistingGameMessage. */ public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage getRejoinExistingGameMessage() { - return rejoinExistingGameMessage_; + if (rejoinExistingGameMessageBuilder_ == null) { + return rejoinExistingGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance() : rejoinExistingGameMessage_; + } else { + return rejoinExistingGameMessageBuilder_.getMessage(); + } } /** * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; */ public Builder setRejoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (rejoinExistingGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rejoinExistingGameMessage_ = value; + onChanged(); + } else { + rejoinExistingGameMessageBuilder_.setMessage(value); } - rejoinExistingGameMessage_ = value; - bitField0_ |= 0x00800000; return this; } @@ -58108,8 +86682,12 @@ public final class ProtoBuf { */ public Builder setRejoinExistingGameMessage( de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder builderForValue) { - rejoinExistingGameMessage_ = builderForValue.build(); - + if (rejoinExistingGameMessageBuilder_ == null) { + rejoinExistingGameMessage_ = builderForValue.build(); + onChanged(); + } else { + rejoinExistingGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x00800000; return this; } @@ -58117,14 +86695,19 @@ public final class ProtoBuf { * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; */ public Builder mergeRejoinExistingGameMessage(de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage value) { - if (((bitField0_ & 0x00800000) == 0x00800000) && - rejoinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) { - rejoinExistingGameMessage_ = - de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder(rejoinExistingGameMessage_).mergeFrom(value).buildPartial(); + if (rejoinExistingGameMessageBuilder_ == null) { + if (((bitField0_ & 0x00800000) != 0) && + rejoinExistingGameMessage_ != null && + rejoinExistingGameMessage_ != de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance()) { + rejoinExistingGameMessage_ = + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.newBuilder(rejoinExistingGameMessage_).mergeFrom(value).buildPartial(); + } else { + rejoinExistingGameMessage_ = value; + } + onChanged(); } else { - rejoinExistingGameMessage_ = value; + rejoinExistingGameMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00800000; return this; } @@ -58132,35 +86715,85 @@ public final class ProtoBuf { * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; */ public Builder clearRejoinExistingGameMessage() { - rejoinExistingGameMessage_ = de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance(); - + if (rejoinExistingGameMessageBuilder_ == null) { + rejoinExistingGameMessage_ = null; + onChanged(); + } else { + rejoinExistingGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00800000); return this; } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder getRejoinExistingGameMessageBuilder() { + bitField0_ |= 0x00800000; + onChanged(); + return getRejoinExistingGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ + public de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder getRejoinExistingGameMessageOrBuilder() { + if (rejoinExistingGameMessageBuilder_ != null) { + return rejoinExistingGameMessageBuilder_.getMessageOrBuilder(); + } else { + return rejoinExistingGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.getDefaultInstance() : rejoinExistingGameMessage_; + } + } + /** + * optional .RejoinExistingGameMessage rejoinExistingGameMessage = 24; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder> + getRejoinExistingGameMessageFieldBuilder() { + if (rejoinExistingGameMessageBuilder_ == null) { + rejoinExistingGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessage.Builder, de.pokerth.protocol.ProtoBuf.RejoinExistingGameMessageOrBuilder>( + getRejoinExistingGameMessage(), + getParentForChildren(), + isClean()); + rejoinExistingGameMessage_ = null; + } + return rejoinExistingGameMessageBuilder_; + } - // optional .JoinGameAckMessage joinGameAckMessage = 25; - private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.JoinGameAckMessage joinGameAckMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder> joinGameAckMessageBuilder_; /** * optional .JoinGameAckMessage joinGameAckMessage = 25; + * @return Whether the joinGameAckMessage field is set. */ public boolean hasJoinGameAckMessage() { - return ((bitField0_ & 0x01000000) == 0x01000000); + return ((bitField0_ & 0x01000000) != 0); } /** * optional .JoinGameAckMessage joinGameAckMessage = 25; + * @return The joinGameAckMessage. */ public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage getJoinGameAckMessage() { - return joinGameAckMessage_; + if (joinGameAckMessageBuilder_ == null) { + return joinGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance() : joinGameAckMessage_; + } else { + return joinGameAckMessageBuilder_.getMessage(); + } } /** * optional .JoinGameAckMessage joinGameAckMessage = 25; */ public Builder setJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { - if (value == null) { - throw new NullPointerException(); + if (joinGameAckMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + joinGameAckMessage_ = value; + onChanged(); + } else { + joinGameAckMessageBuilder_.setMessage(value); } - joinGameAckMessage_ = value; - bitField0_ |= 0x01000000; return this; } @@ -58169,8 +86802,12 @@ public final class ProtoBuf { */ public Builder setJoinGameAckMessage( de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder builderForValue) { - joinGameAckMessage_ = builderForValue.build(); - + if (joinGameAckMessageBuilder_ == null) { + joinGameAckMessage_ = builderForValue.build(); + onChanged(); + } else { + joinGameAckMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x01000000; return this; } @@ -58178,14 +86815,19 @@ public final class ProtoBuf { * optional .JoinGameAckMessage joinGameAckMessage = 25; */ public Builder mergeJoinGameAckMessage(de.pokerth.protocol.ProtoBuf.JoinGameAckMessage value) { - if (((bitField0_ & 0x01000000) == 0x01000000) && - joinGameAckMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) { - joinGameAckMessage_ = - de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder(joinGameAckMessage_).mergeFrom(value).buildPartial(); + if (joinGameAckMessageBuilder_ == null) { + if (((bitField0_ & 0x01000000) != 0) && + joinGameAckMessage_ != null && + joinGameAckMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance()) { + joinGameAckMessage_ = + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.newBuilder(joinGameAckMessage_).mergeFrom(value).buildPartial(); + } else { + joinGameAckMessage_ = value; + } + onChanged(); } else { - joinGameAckMessage_ = value; + joinGameAckMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x01000000; return this; } @@ -58193,35 +86835,85 @@ public final class ProtoBuf { * optional .JoinGameAckMessage joinGameAckMessage = 25; */ public Builder clearJoinGameAckMessage() { - joinGameAckMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance(); - + if (joinGameAckMessageBuilder_ == null) { + joinGameAckMessage_ = null; + onChanged(); + } else { + joinGameAckMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x01000000); return this; } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder getJoinGameAckMessageBuilder() { + bitField0_ |= 0x01000000; + onChanged(); + return getJoinGameAckMessageFieldBuilder().getBuilder(); + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder getJoinGameAckMessageOrBuilder() { + if (joinGameAckMessageBuilder_ != null) { + return joinGameAckMessageBuilder_.getMessageOrBuilder(); + } else { + return joinGameAckMessage_ == null ? + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.getDefaultInstance() : joinGameAckMessage_; + } + } + /** + * optional .JoinGameAckMessage joinGameAckMessage = 25; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder> + getJoinGameAckMessageFieldBuilder() { + if (joinGameAckMessageBuilder_ == null) { + joinGameAckMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinGameAckMessage, de.pokerth.protocol.ProtoBuf.JoinGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinGameAckMessageOrBuilder>( + getJoinGameAckMessage(), + getParentForChildren(), + isClean()); + joinGameAckMessage_ = null; + } + return joinGameAckMessageBuilder_; + } - // optional .JoinGameFailedMessage joinGameFailedMessage = 26; - private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage joinGameFailedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder> joinGameFailedMessageBuilder_; /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + * @return Whether the joinGameFailedMessage field is set. */ public boolean hasJoinGameFailedMessage() { - return ((bitField0_ & 0x02000000) == 0x02000000); + return ((bitField0_ & 0x02000000) != 0); } /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + * @return The joinGameFailedMessage. */ public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage getJoinGameFailedMessage() { - return joinGameFailedMessage_; + if (joinGameFailedMessageBuilder_ == null) { + return joinGameFailedMessage_ == null ? de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance() : joinGameFailedMessage_; + } else { + return joinGameFailedMessageBuilder_.getMessage(); + } } /** * optional .JoinGameFailedMessage joinGameFailedMessage = 26; */ public Builder setJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (joinGameFailedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + joinGameFailedMessage_ = value; + onChanged(); + } else { + joinGameFailedMessageBuilder_.setMessage(value); } - joinGameFailedMessage_ = value; - bitField0_ |= 0x02000000; return this; } @@ -58230,8 +86922,12 @@ public final class ProtoBuf { */ public Builder setJoinGameFailedMessage( de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder builderForValue) { - joinGameFailedMessage_ = builderForValue.build(); - + if (joinGameFailedMessageBuilder_ == null) { + joinGameFailedMessage_ = builderForValue.build(); + onChanged(); + } else { + joinGameFailedMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x02000000; return this; } @@ -58239,14 +86935,19 @@ public final class ProtoBuf { * optional .JoinGameFailedMessage joinGameFailedMessage = 26; */ public Builder mergeJoinGameFailedMessage(de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage value) { - if (((bitField0_ & 0x02000000) == 0x02000000) && - joinGameFailedMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) { - joinGameFailedMessage_ = - de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder(joinGameFailedMessage_).mergeFrom(value).buildPartial(); + if (joinGameFailedMessageBuilder_ == null) { + if (((bitField0_ & 0x02000000) != 0) && + joinGameFailedMessage_ != null && + joinGameFailedMessage_ != de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance()) { + joinGameFailedMessage_ = + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.newBuilder(joinGameFailedMessage_).mergeFrom(value).buildPartial(); + } else { + joinGameFailedMessage_ = value; + } + onChanged(); } else { - joinGameFailedMessage_ = value; + joinGameFailedMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x02000000; return this; } @@ -58254,35 +86955,85 @@ public final class ProtoBuf { * optional .JoinGameFailedMessage joinGameFailedMessage = 26; */ public Builder clearJoinGameFailedMessage() { - joinGameFailedMessage_ = de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance(); - + if (joinGameFailedMessageBuilder_ == null) { + joinGameFailedMessage_ = null; + onChanged(); + } else { + joinGameFailedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x02000000); return this; } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder getJoinGameFailedMessageBuilder() { + bitField0_ |= 0x02000000; + onChanged(); + return getJoinGameFailedMessageFieldBuilder().getBuilder(); + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ + public de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder getJoinGameFailedMessageOrBuilder() { + if (joinGameFailedMessageBuilder_ != null) { + return joinGameFailedMessageBuilder_.getMessageOrBuilder(); + } else { + return joinGameFailedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.getDefaultInstance() : joinGameFailedMessage_; + } + } + /** + * optional .JoinGameFailedMessage joinGameFailedMessage = 26; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder> + getJoinGameFailedMessageFieldBuilder() { + if (joinGameFailedMessageBuilder_ == null) { + joinGameFailedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessage.Builder, de.pokerth.protocol.ProtoBuf.JoinGameFailedMessageOrBuilder>( + getJoinGameFailedMessage(), + getParentForChildren(), + isClean()); + joinGameFailedMessage_ = null; + } + return joinGameFailedMessageBuilder_; + } - // optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; - private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage gamePlayerJoinedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder> gamePlayerJoinedMessageBuilder_; /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + * @return Whether the gamePlayerJoinedMessage field is set. */ public boolean hasGamePlayerJoinedMessage() { - return ((bitField0_ & 0x04000000) == 0x04000000); + return ((bitField0_ & 0x04000000) != 0); } /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + * @return The gamePlayerJoinedMessage. */ public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage getGamePlayerJoinedMessage() { - return gamePlayerJoinedMessage_; + if (gamePlayerJoinedMessageBuilder_ == null) { + return gamePlayerJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance() : gamePlayerJoinedMessage_; + } else { + return gamePlayerJoinedMessageBuilder_.getMessage(); + } } /** * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; */ public Builder setGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gamePlayerJoinedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gamePlayerJoinedMessage_ = value; + onChanged(); + } else { + gamePlayerJoinedMessageBuilder_.setMessage(value); } - gamePlayerJoinedMessage_ = value; - bitField0_ |= 0x04000000; return this; } @@ -58291,8 +87042,12 @@ public final class ProtoBuf { */ public Builder setGamePlayerJoinedMessage( de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder builderForValue) { - gamePlayerJoinedMessage_ = builderForValue.build(); - + if (gamePlayerJoinedMessageBuilder_ == null) { + gamePlayerJoinedMessage_ = builderForValue.build(); + onChanged(); + } else { + gamePlayerJoinedMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x04000000; return this; } @@ -58300,14 +87055,19 @@ public final class ProtoBuf { * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; */ public Builder mergeGamePlayerJoinedMessage(de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage value) { - if (((bitField0_ & 0x04000000) == 0x04000000) && - gamePlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) { - gamePlayerJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder(gamePlayerJoinedMessage_).mergeFrom(value).buildPartial(); + if (gamePlayerJoinedMessageBuilder_ == null) { + if (((bitField0_ & 0x04000000) != 0) && + gamePlayerJoinedMessage_ != null && + gamePlayerJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance()) { + gamePlayerJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.newBuilder(gamePlayerJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gamePlayerJoinedMessage_ = value; + } + onChanged(); } else { - gamePlayerJoinedMessage_ = value; + gamePlayerJoinedMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x04000000; return this; } @@ -58315,35 +87075,85 @@ public final class ProtoBuf { * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; */ public Builder clearGamePlayerJoinedMessage() { - gamePlayerJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance(); - + if (gamePlayerJoinedMessageBuilder_ == null) { + gamePlayerJoinedMessage_ = null; + onChanged(); + } else { + gamePlayerJoinedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x04000000); return this; } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder getGamePlayerJoinedMessageBuilder() { + bitField0_ |= 0x04000000; + onChanged(); + return getGamePlayerJoinedMessageFieldBuilder().getBuilder(); + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder getGamePlayerJoinedMessageOrBuilder() { + if (gamePlayerJoinedMessageBuilder_ != null) { + return gamePlayerJoinedMessageBuilder_.getMessageOrBuilder(); + } else { + return gamePlayerJoinedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.getDefaultInstance() : gamePlayerJoinedMessage_; + } + } + /** + * optional .GamePlayerJoinedMessage gamePlayerJoinedMessage = 27; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder> + getGamePlayerJoinedMessageFieldBuilder() { + if (gamePlayerJoinedMessageBuilder_ == null) { + gamePlayerJoinedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GamePlayerJoinedMessageOrBuilder>( + getGamePlayerJoinedMessage(), + getParentForChildren(), + isClean()); + gamePlayerJoinedMessage_ = null; + } + return gamePlayerJoinedMessageBuilder_; + } - // optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; - private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage gamePlayerLeftMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder> gamePlayerLeftMessageBuilder_; /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + * @return Whether the gamePlayerLeftMessage field is set. */ public boolean hasGamePlayerLeftMessage() { - return ((bitField0_ & 0x08000000) == 0x08000000); + return ((bitField0_ & 0x08000000) != 0); } /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + * @return The gamePlayerLeftMessage. */ public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage getGamePlayerLeftMessage() { - return gamePlayerLeftMessage_; + if (gamePlayerLeftMessageBuilder_ == null) { + return gamePlayerLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance() : gamePlayerLeftMessage_; + } else { + return gamePlayerLeftMessageBuilder_.getMessage(); + } } /** * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; */ public Builder setGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gamePlayerLeftMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gamePlayerLeftMessage_ = value; + onChanged(); + } else { + gamePlayerLeftMessageBuilder_.setMessage(value); } - gamePlayerLeftMessage_ = value; - bitField0_ |= 0x08000000; return this; } @@ -58352,8 +87162,12 @@ public final class ProtoBuf { */ public Builder setGamePlayerLeftMessage( de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder builderForValue) { - gamePlayerLeftMessage_ = builderForValue.build(); - + if (gamePlayerLeftMessageBuilder_ == null) { + gamePlayerLeftMessage_ = builderForValue.build(); + onChanged(); + } else { + gamePlayerLeftMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x08000000; return this; } @@ -58361,14 +87175,19 @@ public final class ProtoBuf { * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; */ public Builder mergeGamePlayerLeftMessage(de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage value) { - if (((bitField0_ & 0x08000000) == 0x08000000) && - gamePlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) { - gamePlayerLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder(gamePlayerLeftMessage_).mergeFrom(value).buildPartial(); + if (gamePlayerLeftMessageBuilder_ == null) { + if (((bitField0_ & 0x08000000) != 0) && + gamePlayerLeftMessage_ != null && + gamePlayerLeftMessage_ != de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance()) { + gamePlayerLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.newBuilder(gamePlayerLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gamePlayerLeftMessage_ = value; + } + onChanged(); } else { - gamePlayerLeftMessage_ = value; + gamePlayerLeftMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x08000000; return this; } @@ -58376,35 +87195,85 @@ public final class ProtoBuf { * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; */ public Builder clearGamePlayerLeftMessage() { - gamePlayerLeftMessage_ = de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance(); - + if (gamePlayerLeftMessageBuilder_ == null) { + gamePlayerLeftMessage_ = null; + onChanged(); + } else { + gamePlayerLeftMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x08000000); return this; } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder getGamePlayerLeftMessageBuilder() { + bitField0_ |= 0x08000000; + onChanged(); + return getGamePlayerLeftMessageFieldBuilder().getBuilder(); + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ + public de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder getGamePlayerLeftMessageOrBuilder() { + if (gamePlayerLeftMessageBuilder_ != null) { + return gamePlayerLeftMessageBuilder_.getMessageOrBuilder(); + } else { + return gamePlayerLeftMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.getDefaultInstance() : gamePlayerLeftMessage_; + } + } + /** + * optional .GamePlayerLeftMessage gamePlayerLeftMessage = 28; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder> + getGamePlayerLeftMessageFieldBuilder() { + if (gamePlayerLeftMessageBuilder_ == null) { + gamePlayerLeftMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GamePlayerLeftMessageOrBuilder>( + getGamePlayerLeftMessage(), + getParentForChildren(), + isClean()); + gamePlayerLeftMessage_ = null; + } + return gamePlayerLeftMessageBuilder_; + } - // optional .GameAdminChangedMessage gameAdminChangedMessage = 29; - private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage gameAdminChangedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder> gameAdminChangedMessageBuilder_; /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + * @return Whether the gameAdminChangedMessage field is set. */ public boolean hasGameAdminChangedMessage() { - return ((bitField0_ & 0x10000000) == 0x10000000); + return ((bitField0_ & 0x10000000) != 0); } /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + * @return The gameAdminChangedMessage. */ public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage getGameAdminChangedMessage() { - return gameAdminChangedMessage_; + if (gameAdminChangedMessageBuilder_ == null) { + return gameAdminChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance() : gameAdminChangedMessage_; + } else { + return gameAdminChangedMessageBuilder_.getMessage(); + } } /** * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; */ public Builder setGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameAdminChangedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameAdminChangedMessage_ = value; + onChanged(); + } else { + gameAdminChangedMessageBuilder_.setMessage(value); } - gameAdminChangedMessage_ = value; - bitField0_ |= 0x10000000; return this; } @@ -58413,8 +87282,12 @@ public final class ProtoBuf { */ public Builder setGameAdminChangedMessage( de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder builderForValue) { - gameAdminChangedMessage_ = builderForValue.build(); - + if (gameAdminChangedMessageBuilder_ == null) { + gameAdminChangedMessage_ = builderForValue.build(); + onChanged(); + } else { + gameAdminChangedMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x10000000; return this; } @@ -58422,14 +87295,19 @@ public final class ProtoBuf { * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; */ public Builder mergeGameAdminChangedMessage(de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage value) { - if (((bitField0_ & 0x10000000) == 0x10000000) && - gameAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) { - gameAdminChangedMessage_ = - de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder(gameAdminChangedMessage_).mergeFrom(value).buildPartial(); + if (gameAdminChangedMessageBuilder_ == null) { + if (((bitField0_ & 0x10000000) != 0) && + gameAdminChangedMessage_ != null && + gameAdminChangedMessage_ != de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance()) { + gameAdminChangedMessage_ = + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.newBuilder(gameAdminChangedMessage_).mergeFrom(value).buildPartial(); + } else { + gameAdminChangedMessage_ = value; + } + onChanged(); } else { - gameAdminChangedMessage_ = value; + gameAdminChangedMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x10000000; return this; } @@ -58437,35 +87315,85 @@ public final class ProtoBuf { * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; */ public Builder clearGameAdminChangedMessage() { - gameAdminChangedMessage_ = de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance(); - + if (gameAdminChangedMessageBuilder_ == null) { + gameAdminChangedMessage_ = null; + onChanged(); + } else { + gameAdminChangedMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x10000000); return this; } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder getGameAdminChangedMessageBuilder() { + bitField0_ |= 0x10000000; + onChanged(); + return getGameAdminChangedMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ + public de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder getGameAdminChangedMessageOrBuilder() { + if (gameAdminChangedMessageBuilder_ != null) { + return gameAdminChangedMessageBuilder_.getMessageOrBuilder(); + } else { + return gameAdminChangedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.getDefaultInstance() : gameAdminChangedMessage_; + } + } + /** + * optional .GameAdminChangedMessage gameAdminChangedMessage = 29; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder> + getGameAdminChangedMessageFieldBuilder() { + if (gameAdminChangedMessageBuilder_ == null) { + gameAdminChangedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameAdminChangedMessageOrBuilder>( + getGameAdminChangedMessage(), + getParentForChildren(), + isClean()); + gameAdminChangedMessage_ = null; + } + return gameAdminChangedMessageBuilder_; + } - // optional .RemovedFromGameMessage removedFromGameMessage = 30; - private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage removedFromGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder> removedFromGameMessageBuilder_; /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; + * @return Whether the removedFromGameMessage field is set. */ public boolean hasRemovedFromGameMessage() { - return ((bitField0_ & 0x20000000) == 0x20000000); + return ((bitField0_ & 0x20000000) != 0); } /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; + * @return The removedFromGameMessage. */ public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage getRemovedFromGameMessage() { - return removedFromGameMessage_; + if (removedFromGameMessageBuilder_ == null) { + return removedFromGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance() : removedFromGameMessage_; + } else { + return removedFromGameMessageBuilder_.getMessage(); + } } /** * optional .RemovedFromGameMessage removedFromGameMessage = 30; */ public Builder setRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (removedFromGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + removedFromGameMessage_ = value; + onChanged(); + } else { + removedFromGameMessageBuilder_.setMessage(value); } - removedFromGameMessage_ = value; - bitField0_ |= 0x20000000; return this; } @@ -58474,8 +87402,12 @@ public final class ProtoBuf { */ public Builder setRemovedFromGameMessage( de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder builderForValue) { - removedFromGameMessage_ = builderForValue.build(); - + if (removedFromGameMessageBuilder_ == null) { + removedFromGameMessage_ = builderForValue.build(); + onChanged(); + } else { + removedFromGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x20000000; return this; } @@ -58483,14 +87415,19 @@ public final class ProtoBuf { * optional .RemovedFromGameMessage removedFromGameMessage = 30; */ public Builder mergeRemovedFromGameMessage(de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage value) { - if (((bitField0_ & 0x20000000) == 0x20000000) && - removedFromGameMessage_ != de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) { - removedFromGameMessage_ = - de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder(removedFromGameMessage_).mergeFrom(value).buildPartial(); + if (removedFromGameMessageBuilder_ == null) { + if (((bitField0_ & 0x20000000) != 0) && + removedFromGameMessage_ != null && + removedFromGameMessage_ != de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance()) { + removedFromGameMessage_ = + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.newBuilder(removedFromGameMessage_).mergeFrom(value).buildPartial(); + } else { + removedFromGameMessage_ = value; + } + onChanged(); } else { - removedFromGameMessage_ = value; + removedFromGameMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x20000000; return this; } @@ -58498,35 +87435,85 @@ public final class ProtoBuf { * optional .RemovedFromGameMessage removedFromGameMessage = 30; */ public Builder clearRemovedFromGameMessage() { - removedFromGameMessage_ = de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance(); - + if (removedFromGameMessageBuilder_ == null) { + removedFromGameMessage_ = null; + onChanged(); + } else { + removedFromGameMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x20000000); return this; } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder getRemovedFromGameMessageBuilder() { + bitField0_ |= 0x20000000; + onChanged(); + return getRemovedFromGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ + public de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder getRemovedFromGameMessageOrBuilder() { + if (removedFromGameMessageBuilder_ != null) { + return removedFromGameMessageBuilder_.getMessageOrBuilder(); + } else { + return removedFromGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.getDefaultInstance() : removedFromGameMessage_; + } + } + /** + * optional .RemovedFromGameMessage removedFromGameMessage = 30; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder> + getRemovedFromGameMessageFieldBuilder() { + if (removedFromGameMessageBuilder_ == null) { + removedFromGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessage.Builder, de.pokerth.protocol.ProtoBuf.RemovedFromGameMessageOrBuilder>( + getRemovedFromGameMessage(), + getParentForChildren(), + isClean()); + removedFromGameMessage_ = null; + } + return removedFromGameMessageBuilder_; + } - // optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; - private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage kickPlayerRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder> kickPlayerRequestMessageBuilder_; /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + * @return Whether the kickPlayerRequestMessage field is set. */ public boolean hasKickPlayerRequestMessage() { - return ((bitField0_ & 0x40000000) == 0x40000000); + return ((bitField0_ & 0x40000000) != 0); } /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + * @return The kickPlayerRequestMessage. */ public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage getKickPlayerRequestMessage() { - return kickPlayerRequestMessage_; + if (kickPlayerRequestMessageBuilder_ == null) { + return kickPlayerRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance() : kickPlayerRequestMessage_; + } else { + return kickPlayerRequestMessageBuilder_.getMessage(); + } } /** * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; */ public Builder setKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (kickPlayerRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kickPlayerRequestMessage_ = value; + onChanged(); + } else { + kickPlayerRequestMessageBuilder_.setMessage(value); } - kickPlayerRequestMessage_ = value; - bitField0_ |= 0x40000000; return this; } @@ -58535,8 +87522,12 @@ public final class ProtoBuf { */ public Builder setKickPlayerRequestMessage( de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder builderForValue) { - kickPlayerRequestMessage_ = builderForValue.build(); - + if (kickPlayerRequestMessageBuilder_ == null) { + kickPlayerRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + kickPlayerRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x40000000; return this; } @@ -58544,14 +87535,19 @@ public final class ProtoBuf { * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; */ public Builder mergeKickPlayerRequestMessage(de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage value) { - if (((bitField0_ & 0x40000000) == 0x40000000) && - kickPlayerRequestMessage_ != de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) { - kickPlayerRequestMessage_ = - de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder(kickPlayerRequestMessage_).mergeFrom(value).buildPartial(); + if (kickPlayerRequestMessageBuilder_ == null) { + if (((bitField0_ & 0x40000000) != 0) && + kickPlayerRequestMessage_ != null && + kickPlayerRequestMessage_ != de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance()) { + kickPlayerRequestMessage_ = + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.newBuilder(kickPlayerRequestMessage_).mergeFrom(value).buildPartial(); + } else { + kickPlayerRequestMessage_ = value; + } + onChanged(); } else { - kickPlayerRequestMessage_ = value; + kickPlayerRequestMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x40000000; return this; } @@ -58559,35 +87555,85 @@ public final class ProtoBuf { * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; */ public Builder clearKickPlayerRequestMessage() { - kickPlayerRequestMessage_ = de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance(); - + if (kickPlayerRequestMessageBuilder_ == null) { + kickPlayerRequestMessage_ = null; + onChanged(); + } else { + kickPlayerRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x40000000); return this; } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder getKickPlayerRequestMessageBuilder() { + bitField0_ |= 0x40000000; + onChanged(); + return getKickPlayerRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ + public de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder getKickPlayerRequestMessageOrBuilder() { + if (kickPlayerRequestMessageBuilder_ != null) { + return kickPlayerRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return kickPlayerRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.getDefaultInstance() : kickPlayerRequestMessage_; + } + } + /** + * optional .KickPlayerRequestMessage kickPlayerRequestMessage = 31; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder> + getKickPlayerRequestMessageFieldBuilder() { + if (kickPlayerRequestMessageBuilder_ == null) { + kickPlayerRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.KickPlayerRequestMessageOrBuilder>( + getKickPlayerRequestMessage(), + getParentForChildren(), + isClean()); + kickPlayerRequestMessage_ = null; + } + return kickPlayerRequestMessageBuilder_; + } - // optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; - private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage leaveGameRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder> leaveGameRequestMessageBuilder_; /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + * @return Whether the leaveGameRequestMessage field is set. */ public boolean hasLeaveGameRequestMessage() { - return ((bitField0_ & 0x80000000) == 0x80000000); + return ((bitField0_ & 0x80000000) != 0); } /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + * @return The leaveGameRequestMessage. */ public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage getLeaveGameRequestMessage() { - return leaveGameRequestMessage_; + if (leaveGameRequestMessageBuilder_ == null) { + return leaveGameRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance() : leaveGameRequestMessage_; + } else { + return leaveGameRequestMessageBuilder_.getMessage(); + } } /** * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; */ public Builder setLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (leaveGameRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + leaveGameRequestMessage_ = value; + onChanged(); + } else { + leaveGameRequestMessageBuilder_.setMessage(value); } - leaveGameRequestMessage_ = value; - bitField0_ |= 0x80000000; return this; } @@ -58596,8 +87642,12 @@ public final class ProtoBuf { */ public Builder setLeaveGameRequestMessage( de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder builderForValue) { - leaveGameRequestMessage_ = builderForValue.build(); - + if (leaveGameRequestMessageBuilder_ == null) { + leaveGameRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + leaveGameRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField0_ |= 0x80000000; return this; } @@ -58605,14 +87655,19 @@ public final class ProtoBuf { * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; */ public Builder mergeLeaveGameRequestMessage(de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage value) { - if (((bitField0_ & 0x80000000) == 0x80000000) && - leaveGameRequestMessage_ != de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) { - leaveGameRequestMessage_ = - de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder(leaveGameRequestMessage_).mergeFrom(value).buildPartial(); + if (leaveGameRequestMessageBuilder_ == null) { + if (((bitField0_ & 0x80000000) != 0) && + leaveGameRequestMessage_ != null && + leaveGameRequestMessage_ != de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance()) { + leaveGameRequestMessage_ = + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.newBuilder(leaveGameRequestMessage_).mergeFrom(value).buildPartial(); + } else { + leaveGameRequestMessage_ = value; + } + onChanged(); } else { - leaveGameRequestMessage_ = value; + leaveGameRequestMessageBuilder_.mergeFrom(value); } - bitField0_ |= 0x80000000; return this; } @@ -58620,35 +87675,85 @@ public final class ProtoBuf { * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; */ public Builder clearLeaveGameRequestMessage() { - leaveGameRequestMessage_ = de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance(); - + if (leaveGameRequestMessageBuilder_ == null) { + leaveGameRequestMessage_ = null; + onChanged(); + } else { + leaveGameRequestMessageBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x80000000); return this; } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder getLeaveGameRequestMessageBuilder() { + bitField0_ |= 0x80000000; + onChanged(); + return getLeaveGameRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ + public de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder getLeaveGameRequestMessageOrBuilder() { + if (leaveGameRequestMessageBuilder_ != null) { + return leaveGameRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return leaveGameRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.getDefaultInstance() : leaveGameRequestMessage_; + } + } + /** + * optional .LeaveGameRequestMessage leaveGameRequestMessage = 32; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder> + getLeaveGameRequestMessageFieldBuilder() { + if (leaveGameRequestMessageBuilder_ == null) { + leaveGameRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.LeaveGameRequestMessageOrBuilder>( + getLeaveGameRequestMessage(), + getParentForChildren(), + isClean()); + leaveGameRequestMessage_ = null; + } + return leaveGameRequestMessageBuilder_; + } - // optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; - private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage invitePlayerToGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder> invitePlayerToGameMessageBuilder_; /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + * @return Whether the invitePlayerToGameMessage field is set. */ public boolean hasInvitePlayerToGameMessage() { - return ((bitField1_ & 0x00000001) == 0x00000001); + return ((bitField1_ & 0x00000001) != 0); } /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + * @return The invitePlayerToGameMessage. */ public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage getInvitePlayerToGameMessage() { - return invitePlayerToGameMessage_; + if (invitePlayerToGameMessageBuilder_ == null) { + return invitePlayerToGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance() : invitePlayerToGameMessage_; + } else { + return invitePlayerToGameMessageBuilder_.getMessage(); + } } /** * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; */ public Builder setInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (invitePlayerToGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + invitePlayerToGameMessage_ = value; + onChanged(); + } else { + invitePlayerToGameMessageBuilder_.setMessage(value); } - invitePlayerToGameMessage_ = value; - bitField1_ |= 0x00000001; return this; } @@ -58657,8 +87762,12 @@ public final class ProtoBuf { */ public Builder setInvitePlayerToGameMessage( de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder builderForValue) { - invitePlayerToGameMessage_ = builderForValue.build(); - + if (invitePlayerToGameMessageBuilder_ == null) { + invitePlayerToGameMessage_ = builderForValue.build(); + onChanged(); + } else { + invitePlayerToGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000001; return this; } @@ -58666,14 +87775,19 @@ public final class ProtoBuf { * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; */ public Builder mergeInvitePlayerToGameMessage(de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage value) { - if (((bitField1_ & 0x00000001) == 0x00000001) && - invitePlayerToGameMessage_ != de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance()) { - invitePlayerToGameMessage_ = - de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder(invitePlayerToGameMessage_).mergeFrom(value).buildPartial(); + if (invitePlayerToGameMessageBuilder_ == null) { + if (((bitField1_ & 0x00000001) != 0) && + invitePlayerToGameMessage_ != null && + invitePlayerToGameMessage_ != de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance()) { + invitePlayerToGameMessage_ = + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.newBuilder(invitePlayerToGameMessage_).mergeFrom(value).buildPartial(); + } else { + invitePlayerToGameMessage_ = value; + } + onChanged(); } else { - invitePlayerToGameMessage_ = value; + invitePlayerToGameMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000001; return this; } @@ -58681,35 +87795,85 @@ public final class ProtoBuf { * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; */ public Builder clearInvitePlayerToGameMessage() { - invitePlayerToGameMessage_ = de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance(); - + if (invitePlayerToGameMessageBuilder_ == null) { + invitePlayerToGameMessage_ = null; + onChanged(); + } else { + invitePlayerToGameMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000001); return this; } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder getInvitePlayerToGameMessageBuilder() { + bitField1_ |= 0x00000001; + onChanged(); + return getInvitePlayerToGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ + public de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder getInvitePlayerToGameMessageOrBuilder() { + if (invitePlayerToGameMessageBuilder_ != null) { + return invitePlayerToGameMessageBuilder_.getMessageOrBuilder(); + } else { + return invitePlayerToGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.getDefaultInstance() : invitePlayerToGameMessage_; + } + } + /** + * optional .InvitePlayerToGameMessage invitePlayerToGameMessage = 33; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder> + getInvitePlayerToGameMessageFieldBuilder() { + if (invitePlayerToGameMessageBuilder_ == null) { + invitePlayerToGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessage.Builder, de.pokerth.protocol.ProtoBuf.InvitePlayerToGameMessageOrBuilder>( + getInvitePlayerToGameMessage(), + getParentForChildren(), + isClean()); + invitePlayerToGameMessage_ = null; + } + return invitePlayerToGameMessageBuilder_; + } - // optional .InviteNotifyMessage inviteNotifyMessage = 34; - private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.InviteNotifyMessage inviteNotifyMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder, de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder> inviteNotifyMessageBuilder_; /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; + * @return Whether the inviteNotifyMessage field is set. */ public boolean hasInviteNotifyMessage() { - return ((bitField1_ & 0x00000002) == 0x00000002); + return ((bitField1_ & 0x00000002) != 0); } /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; + * @return The inviteNotifyMessage. */ public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage getInviteNotifyMessage() { - return inviteNotifyMessage_; + if (inviteNotifyMessageBuilder_ == null) { + return inviteNotifyMessage_ == null ? de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance() : inviteNotifyMessage_; + } else { + return inviteNotifyMessageBuilder_.getMessage(); + } } /** * optional .InviteNotifyMessage inviteNotifyMessage = 34; */ public Builder setInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { - if (value == null) { - throw new NullPointerException(); + if (inviteNotifyMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + inviteNotifyMessage_ = value; + onChanged(); + } else { + inviteNotifyMessageBuilder_.setMessage(value); } - inviteNotifyMessage_ = value; - bitField1_ |= 0x00000002; return this; } @@ -58718,8 +87882,12 @@ public final class ProtoBuf { */ public Builder setInviteNotifyMessage( de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder builderForValue) { - inviteNotifyMessage_ = builderForValue.build(); - + if (inviteNotifyMessageBuilder_ == null) { + inviteNotifyMessage_ = builderForValue.build(); + onChanged(); + } else { + inviteNotifyMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000002; return this; } @@ -58727,14 +87895,19 @@ public final class ProtoBuf { * optional .InviteNotifyMessage inviteNotifyMessage = 34; */ public Builder mergeInviteNotifyMessage(de.pokerth.protocol.ProtoBuf.InviteNotifyMessage value) { - if (((bitField1_ & 0x00000002) == 0x00000002) && - inviteNotifyMessage_ != de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) { - inviteNotifyMessage_ = - de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder(inviteNotifyMessage_).mergeFrom(value).buildPartial(); + if (inviteNotifyMessageBuilder_ == null) { + if (((bitField1_ & 0x00000002) != 0) && + inviteNotifyMessage_ != null && + inviteNotifyMessage_ != de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance()) { + inviteNotifyMessage_ = + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.newBuilder(inviteNotifyMessage_).mergeFrom(value).buildPartial(); + } else { + inviteNotifyMessage_ = value; + } + onChanged(); } else { - inviteNotifyMessage_ = value; + inviteNotifyMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000002; return this; } @@ -58742,35 +87915,85 @@ public final class ProtoBuf { * optional .InviteNotifyMessage inviteNotifyMessage = 34; */ public Builder clearInviteNotifyMessage() { - inviteNotifyMessage_ = de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance(); - + if (inviteNotifyMessageBuilder_ == null) { + inviteNotifyMessage_ = null; + onChanged(); + } else { + inviteNotifyMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000002); return this; } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder getInviteNotifyMessageBuilder() { + bitField1_ |= 0x00000002; + onChanged(); + return getInviteNotifyMessageFieldBuilder().getBuilder(); + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ + public de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder getInviteNotifyMessageOrBuilder() { + if (inviteNotifyMessageBuilder_ != null) { + return inviteNotifyMessageBuilder_.getMessageOrBuilder(); + } else { + return inviteNotifyMessage_ == null ? + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.getDefaultInstance() : inviteNotifyMessage_; + } + } + /** + * optional .InviteNotifyMessage inviteNotifyMessage = 34; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder, de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder> + getInviteNotifyMessageFieldBuilder() { + if (inviteNotifyMessageBuilder_ == null) { + inviteNotifyMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.InviteNotifyMessage, de.pokerth.protocol.ProtoBuf.InviteNotifyMessage.Builder, de.pokerth.protocol.ProtoBuf.InviteNotifyMessageOrBuilder>( + getInviteNotifyMessage(), + getParentForChildren(), + isClean()); + inviteNotifyMessage_ = null; + } + return inviteNotifyMessageBuilder_; + } - // optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; - private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage rejectGameInvitationMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder> rejectGameInvitationMessageBuilder_; /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + * @return Whether the rejectGameInvitationMessage field is set. */ public boolean hasRejectGameInvitationMessage() { - return ((bitField1_ & 0x00000004) == 0x00000004); + return ((bitField1_ & 0x00000004) != 0); } /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + * @return The rejectGameInvitationMessage. */ public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage getRejectGameInvitationMessage() { - return rejectGameInvitationMessage_; + if (rejectGameInvitationMessageBuilder_ == null) { + return rejectGameInvitationMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance() : rejectGameInvitationMessage_; + } else { + return rejectGameInvitationMessageBuilder_.getMessage(); + } } /** * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; */ public Builder setRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { - if (value == null) { - throw new NullPointerException(); + if (rejectGameInvitationMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rejectGameInvitationMessage_ = value; + onChanged(); + } else { + rejectGameInvitationMessageBuilder_.setMessage(value); } - rejectGameInvitationMessage_ = value; - bitField1_ |= 0x00000004; return this; } @@ -58779,8 +88002,12 @@ public final class ProtoBuf { */ public Builder setRejectGameInvitationMessage( de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder builderForValue) { - rejectGameInvitationMessage_ = builderForValue.build(); - + if (rejectGameInvitationMessageBuilder_ == null) { + rejectGameInvitationMessage_ = builderForValue.build(); + onChanged(); + } else { + rejectGameInvitationMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000004; return this; } @@ -58788,14 +88015,19 @@ public final class ProtoBuf { * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; */ public Builder mergeRejectGameInvitationMessage(de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage value) { - if (((bitField1_ & 0x00000004) == 0x00000004) && - rejectGameInvitationMessage_ != de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) { - rejectGameInvitationMessage_ = - de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder(rejectGameInvitationMessage_).mergeFrom(value).buildPartial(); + if (rejectGameInvitationMessageBuilder_ == null) { + if (((bitField1_ & 0x00000004) != 0) && + rejectGameInvitationMessage_ != null && + rejectGameInvitationMessage_ != de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance()) { + rejectGameInvitationMessage_ = + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.newBuilder(rejectGameInvitationMessage_).mergeFrom(value).buildPartial(); + } else { + rejectGameInvitationMessage_ = value; + } + onChanged(); } else { - rejectGameInvitationMessage_ = value; + rejectGameInvitationMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000004; return this; } @@ -58803,35 +88035,85 @@ public final class ProtoBuf { * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; */ public Builder clearRejectGameInvitationMessage() { - rejectGameInvitationMessage_ = de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance(); - + if (rejectGameInvitationMessageBuilder_ == null) { + rejectGameInvitationMessage_ = null; + onChanged(); + } else { + rejectGameInvitationMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000004); return this; } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder getRejectGameInvitationMessageBuilder() { + bitField1_ |= 0x00000004; + onChanged(); + return getRejectGameInvitationMessageFieldBuilder().getBuilder(); + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ + public de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder getRejectGameInvitationMessageOrBuilder() { + if (rejectGameInvitationMessageBuilder_ != null) { + return rejectGameInvitationMessageBuilder_.getMessageOrBuilder(); + } else { + return rejectGameInvitationMessage_ == null ? + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.getDefaultInstance() : rejectGameInvitationMessage_; + } + } + /** + * optional .RejectGameInvitationMessage rejectGameInvitationMessage = 35; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder> + getRejectGameInvitationMessageFieldBuilder() { + if (rejectGameInvitationMessageBuilder_ == null) { + rejectGameInvitationMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessage.Builder, de.pokerth.protocol.ProtoBuf.RejectGameInvitationMessageOrBuilder>( + getRejectGameInvitationMessage(), + getParentForChildren(), + isClean()); + rejectGameInvitationMessage_ = null; + } + return rejectGameInvitationMessageBuilder_; + } - // optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; - private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage rejectInvNotifyMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder> rejectInvNotifyMessageBuilder_; /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + * @return Whether the rejectInvNotifyMessage field is set. */ public boolean hasRejectInvNotifyMessage() { - return ((bitField1_ & 0x00000008) == 0x00000008); + return ((bitField1_ & 0x00000008) != 0); } /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + * @return The rejectInvNotifyMessage. */ public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage getRejectInvNotifyMessage() { - return rejectInvNotifyMessage_; + if (rejectInvNotifyMessageBuilder_ == null) { + return rejectInvNotifyMessage_ == null ? de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance() : rejectInvNotifyMessage_; + } else { + return rejectInvNotifyMessageBuilder_.getMessage(); + } } /** * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; */ public Builder setRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { - if (value == null) { - throw new NullPointerException(); + if (rejectInvNotifyMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rejectInvNotifyMessage_ = value; + onChanged(); + } else { + rejectInvNotifyMessageBuilder_.setMessage(value); } - rejectInvNotifyMessage_ = value; - bitField1_ |= 0x00000008; return this; } @@ -58840,8 +88122,12 @@ public final class ProtoBuf { */ public Builder setRejectInvNotifyMessage( de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder builderForValue) { - rejectInvNotifyMessage_ = builderForValue.build(); - + if (rejectInvNotifyMessageBuilder_ == null) { + rejectInvNotifyMessage_ = builderForValue.build(); + onChanged(); + } else { + rejectInvNotifyMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000008; return this; } @@ -58849,14 +88135,19 @@ public final class ProtoBuf { * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; */ public Builder mergeRejectInvNotifyMessage(de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage value) { - if (((bitField1_ & 0x00000008) == 0x00000008) && - rejectInvNotifyMessage_ != de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) { - rejectInvNotifyMessage_ = - de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder(rejectInvNotifyMessage_).mergeFrom(value).buildPartial(); + if (rejectInvNotifyMessageBuilder_ == null) { + if (((bitField1_ & 0x00000008) != 0) && + rejectInvNotifyMessage_ != null && + rejectInvNotifyMessage_ != de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance()) { + rejectInvNotifyMessage_ = + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.newBuilder(rejectInvNotifyMessage_).mergeFrom(value).buildPartial(); + } else { + rejectInvNotifyMessage_ = value; + } + onChanged(); } else { - rejectInvNotifyMessage_ = value; + rejectInvNotifyMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000008; return this; } @@ -58864,35 +88155,85 @@ public final class ProtoBuf { * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; */ public Builder clearRejectInvNotifyMessage() { - rejectInvNotifyMessage_ = de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance(); - + if (rejectInvNotifyMessageBuilder_ == null) { + rejectInvNotifyMessage_ = null; + onChanged(); + } else { + rejectInvNotifyMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000008); return this; } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder getRejectInvNotifyMessageBuilder() { + bitField1_ |= 0x00000008; + onChanged(); + return getRejectInvNotifyMessageFieldBuilder().getBuilder(); + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ + public de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder getRejectInvNotifyMessageOrBuilder() { + if (rejectInvNotifyMessageBuilder_ != null) { + return rejectInvNotifyMessageBuilder_.getMessageOrBuilder(); + } else { + return rejectInvNotifyMessage_ == null ? + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.getDefaultInstance() : rejectInvNotifyMessage_; + } + } + /** + * optional .RejectInvNotifyMessage rejectInvNotifyMessage = 36; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder> + getRejectInvNotifyMessageFieldBuilder() { + if (rejectInvNotifyMessageBuilder_ == null) { + rejectInvNotifyMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessage.Builder, de.pokerth.protocol.ProtoBuf.RejectInvNotifyMessageOrBuilder>( + getRejectInvNotifyMessage(), + getParentForChildren(), + isClean()); + rejectInvNotifyMessage_ = null; + } + return rejectInvNotifyMessageBuilder_; + } - // optional .StartEventMessage startEventMessage = 37; - private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.StartEventMessage startEventMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartEventMessage, de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder, de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder> startEventMessageBuilder_; /** * optional .StartEventMessage startEventMessage = 37; + * @return Whether the startEventMessage field is set. */ public boolean hasStartEventMessage() { - return ((bitField1_ & 0x00000010) == 0x00000010); + return ((bitField1_ & 0x00000010) != 0); } /** * optional .StartEventMessage startEventMessage = 37; + * @return The startEventMessage. */ public de.pokerth.protocol.ProtoBuf.StartEventMessage getStartEventMessage() { - return startEventMessage_; + if (startEventMessageBuilder_ == null) { + return startEventMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance() : startEventMessage_; + } else { + return startEventMessageBuilder_.getMessage(); + } } /** * optional .StartEventMessage startEventMessage = 37; */ public Builder setStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { - if (value == null) { - throw new NullPointerException(); + if (startEventMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startEventMessage_ = value; + onChanged(); + } else { + startEventMessageBuilder_.setMessage(value); } - startEventMessage_ = value; - bitField1_ |= 0x00000010; return this; } @@ -58901,8 +88242,12 @@ public final class ProtoBuf { */ public Builder setStartEventMessage( de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder builderForValue) { - startEventMessage_ = builderForValue.build(); - + if (startEventMessageBuilder_ == null) { + startEventMessage_ = builderForValue.build(); + onChanged(); + } else { + startEventMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000010; return this; } @@ -58910,14 +88255,19 @@ public final class ProtoBuf { * optional .StartEventMessage startEventMessage = 37; */ public Builder mergeStartEventMessage(de.pokerth.protocol.ProtoBuf.StartEventMessage value) { - if (((bitField1_ & 0x00000010) == 0x00000010) && - startEventMessage_ != de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) { - startEventMessage_ = - de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder(startEventMessage_).mergeFrom(value).buildPartial(); + if (startEventMessageBuilder_ == null) { + if (((bitField1_ & 0x00000010) != 0) && + startEventMessage_ != null && + startEventMessage_ != de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance()) { + startEventMessage_ = + de.pokerth.protocol.ProtoBuf.StartEventMessage.newBuilder(startEventMessage_).mergeFrom(value).buildPartial(); + } else { + startEventMessage_ = value; + } + onChanged(); } else { - startEventMessage_ = value; + startEventMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000010; return this; } @@ -58925,35 +88275,85 @@ public final class ProtoBuf { * optional .StartEventMessage startEventMessage = 37; */ public Builder clearStartEventMessage() { - startEventMessage_ = de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance(); - + if (startEventMessageBuilder_ == null) { + startEventMessage_ = null; + onChanged(); + } else { + startEventMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000010); return this; } + /** + * optional .StartEventMessage startEventMessage = 37; + */ + public de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder getStartEventMessageBuilder() { + bitField1_ |= 0x00000010; + onChanged(); + return getStartEventMessageFieldBuilder().getBuilder(); + } + /** + * optional .StartEventMessage startEventMessage = 37; + */ + public de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder getStartEventMessageOrBuilder() { + if (startEventMessageBuilder_ != null) { + return startEventMessageBuilder_.getMessageOrBuilder(); + } else { + return startEventMessage_ == null ? + de.pokerth.protocol.ProtoBuf.StartEventMessage.getDefaultInstance() : startEventMessage_; + } + } + /** + * optional .StartEventMessage startEventMessage = 37; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartEventMessage, de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder, de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder> + getStartEventMessageFieldBuilder() { + if (startEventMessageBuilder_ == null) { + startEventMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartEventMessage, de.pokerth.protocol.ProtoBuf.StartEventMessage.Builder, de.pokerth.protocol.ProtoBuf.StartEventMessageOrBuilder>( + getStartEventMessage(), + getParentForChildren(), + isClean()); + startEventMessage_ = null; + } + return startEventMessageBuilder_; + } - // optional .StartEventAckMessage startEventAckMessage = 38; - private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.StartEventAckMessage startEventAckMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartEventAckMessage, de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder, de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder> startEventAckMessageBuilder_; /** * optional .StartEventAckMessage startEventAckMessage = 38; + * @return Whether the startEventAckMessage field is set. */ public boolean hasStartEventAckMessage() { - return ((bitField1_ & 0x00000020) == 0x00000020); + return ((bitField1_ & 0x00000020) != 0); } /** * optional .StartEventAckMessage startEventAckMessage = 38; + * @return The startEventAckMessage. */ public de.pokerth.protocol.ProtoBuf.StartEventAckMessage getStartEventAckMessage() { - return startEventAckMessage_; + if (startEventAckMessageBuilder_ == null) { + return startEventAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance() : startEventAckMessage_; + } else { + return startEventAckMessageBuilder_.getMessage(); + } } /** * optional .StartEventAckMessage startEventAckMessage = 38; */ public Builder setStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { - if (value == null) { - throw new NullPointerException(); + if (startEventAckMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startEventAckMessage_ = value; + onChanged(); + } else { + startEventAckMessageBuilder_.setMessage(value); } - startEventAckMessage_ = value; - bitField1_ |= 0x00000020; return this; } @@ -58962,8 +88362,12 @@ public final class ProtoBuf { */ public Builder setStartEventAckMessage( de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder builderForValue) { - startEventAckMessage_ = builderForValue.build(); - + if (startEventAckMessageBuilder_ == null) { + startEventAckMessage_ = builderForValue.build(); + onChanged(); + } else { + startEventAckMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000020; return this; } @@ -58971,14 +88375,19 @@ public final class ProtoBuf { * optional .StartEventAckMessage startEventAckMessage = 38; */ public Builder mergeStartEventAckMessage(de.pokerth.protocol.ProtoBuf.StartEventAckMessage value) { - if (((bitField1_ & 0x00000020) == 0x00000020) && - startEventAckMessage_ != de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) { - startEventAckMessage_ = - de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder(startEventAckMessage_).mergeFrom(value).buildPartial(); + if (startEventAckMessageBuilder_ == null) { + if (((bitField1_ & 0x00000020) != 0) && + startEventAckMessage_ != null && + startEventAckMessage_ != de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance()) { + startEventAckMessage_ = + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.newBuilder(startEventAckMessage_).mergeFrom(value).buildPartial(); + } else { + startEventAckMessage_ = value; + } + onChanged(); } else { - startEventAckMessage_ = value; + startEventAckMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000020; return this; } @@ -58986,35 +88395,85 @@ public final class ProtoBuf { * optional .StartEventAckMessage startEventAckMessage = 38; */ public Builder clearStartEventAckMessage() { - startEventAckMessage_ = de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance(); - + if (startEventAckMessageBuilder_ == null) { + startEventAckMessage_ = null; + onChanged(); + } else { + startEventAckMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000020); return this; } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ + public de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder getStartEventAckMessageBuilder() { + bitField1_ |= 0x00000020; + onChanged(); + return getStartEventAckMessageFieldBuilder().getBuilder(); + } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ + public de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder getStartEventAckMessageOrBuilder() { + if (startEventAckMessageBuilder_ != null) { + return startEventAckMessageBuilder_.getMessageOrBuilder(); + } else { + return startEventAckMessage_ == null ? + de.pokerth.protocol.ProtoBuf.StartEventAckMessage.getDefaultInstance() : startEventAckMessage_; + } + } + /** + * optional .StartEventAckMessage startEventAckMessage = 38; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartEventAckMessage, de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder, de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder> + getStartEventAckMessageFieldBuilder() { + if (startEventAckMessageBuilder_ == null) { + startEventAckMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartEventAckMessage, de.pokerth.protocol.ProtoBuf.StartEventAckMessage.Builder, de.pokerth.protocol.ProtoBuf.StartEventAckMessageOrBuilder>( + getStartEventAckMessage(), + getParentForChildren(), + isClean()); + startEventAckMessage_ = null; + } + return startEventAckMessageBuilder_; + } - // optional .GameStartInitialMessage gameStartInitialMessage = 39; - private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameStartInitialMessage gameStartInitialMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder> gameStartInitialMessageBuilder_; /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; + * @return Whether the gameStartInitialMessage field is set. */ public boolean hasGameStartInitialMessage() { - return ((bitField1_ & 0x00000040) == 0x00000040); + return ((bitField1_ & 0x00000040) != 0); } /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; + * @return The gameStartInitialMessage. */ public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage getGameStartInitialMessage() { - return gameStartInitialMessage_; + if (gameStartInitialMessageBuilder_ == null) { + return gameStartInitialMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance() : gameStartInitialMessage_; + } else { + return gameStartInitialMessageBuilder_.getMessage(); + } } /** * optional .GameStartInitialMessage gameStartInitialMessage = 39; */ public Builder setGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameStartInitialMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameStartInitialMessage_ = value; + onChanged(); + } else { + gameStartInitialMessageBuilder_.setMessage(value); } - gameStartInitialMessage_ = value; - bitField1_ |= 0x00000040; return this; } @@ -59023,8 +88482,12 @@ public final class ProtoBuf { */ public Builder setGameStartInitialMessage( de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder builderForValue) { - gameStartInitialMessage_ = builderForValue.build(); - + if (gameStartInitialMessageBuilder_ == null) { + gameStartInitialMessage_ = builderForValue.build(); + onChanged(); + } else { + gameStartInitialMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000040; return this; } @@ -59032,14 +88495,19 @@ public final class ProtoBuf { * optional .GameStartInitialMessage gameStartInitialMessage = 39; */ public Builder mergeGameStartInitialMessage(de.pokerth.protocol.ProtoBuf.GameStartInitialMessage value) { - if (((bitField1_ & 0x00000040) == 0x00000040) && - gameStartInitialMessage_ != de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) { - gameStartInitialMessage_ = - de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder(gameStartInitialMessage_).mergeFrom(value).buildPartial(); + if (gameStartInitialMessageBuilder_ == null) { + if (((bitField1_ & 0x00000040) != 0) && + gameStartInitialMessage_ != null && + gameStartInitialMessage_ != de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance()) { + gameStartInitialMessage_ = + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.newBuilder(gameStartInitialMessage_).mergeFrom(value).buildPartial(); + } else { + gameStartInitialMessage_ = value; + } + onChanged(); } else { - gameStartInitialMessage_ = value; + gameStartInitialMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000040; return this; } @@ -59047,35 +88515,85 @@ public final class ProtoBuf { * optional .GameStartInitialMessage gameStartInitialMessage = 39; */ public Builder clearGameStartInitialMessage() { - gameStartInitialMessage_ = de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance(); - + if (gameStartInitialMessageBuilder_ == null) { + gameStartInitialMessage_ = null; + onChanged(); + } else { + gameStartInitialMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000040); return this; } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder getGameStartInitialMessageBuilder() { + bitField1_ |= 0x00000040; + onChanged(); + return getGameStartInitialMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ + public de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder getGameStartInitialMessageOrBuilder() { + if (gameStartInitialMessageBuilder_ != null) { + return gameStartInitialMessageBuilder_.getMessageOrBuilder(); + } else { + return gameStartInitialMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.getDefaultInstance() : gameStartInitialMessage_; + } + } + /** + * optional .GameStartInitialMessage gameStartInitialMessage = 39; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder> + getGameStartInitialMessageFieldBuilder() { + if (gameStartInitialMessageBuilder_ == null) { + gameStartInitialMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartInitialMessage, de.pokerth.protocol.ProtoBuf.GameStartInitialMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartInitialMessageOrBuilder>( + getGameStartInitialMessage(), + getParentForChildren(), + isClean()); + gameStartInitialMessage_ = null; + } + return gameStartInitialMessageBuilder_; + } - // optional .GameStartRejoinMessage gameStartRejoinMessage = 40; - private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage gameStartRejoinMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder> gameStartRejoinMessageBuilder_; /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + * @return Whether the gameStartRejoinMessage field is set. */ public boolean hasGameStartRejoinMessage() { - return ((bitField1_ & 0x00000080) == 0x00000080); + return ((bitField1_ & 0x00000080) != 0); } /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + * @return The gameStartRejoinMessage. */ public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage getGameStartRejoinMessage() { - return gameStartRejoinMessage_; + if (gameStartRejoinMessageBuilder_ == null) { + return gameStartRejoinMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance() : gameStartRejoinMessage_; + } else { + return gameStartRejoinMessageBuilder_.getMessage(); + } } /** * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; */ public Builder setGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameStartRejoinMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameStartRejoinMessage_ = value; + onChanged(); + } else { + gameStartRejoinMessageBuilder_.setMessage(value); } - gameStartRejoinMessage_ = value; - bitField1_ |= 0x00000080; return this; } @@ -59084,8 +88602,12 @@ public final class ProtoBuf { */ public Builder setGameStartRejoinMessage( de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder builderForValue) { - gameStartRejoinMessage_ = builderForValue.build(); - + if (gameStartRejoinMessageBuilder_ == null) { + gameStartRejoinMessage_ = builderForValue.build(); + onChanged(); + } else { + gameStartRejoinMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000080; return this; } @@ -59093,14 +88615,19 @@ public final class ProtoBuf { * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; */ public Builder mergeGameStartRejoinMessage(de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage value) { - if (((bitField1_ & 0x00000080) == 0x00000080) && - gameStartRejoinMessage_ != de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) { - gameStartRejoinMessage_ = - de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder(gameStartRejoinMessage_).mergeFrom(value).buildPartial(); + if (gameStartRejoinMessageBuilder_ == null) { + if (((bitField1_ & 0x00000080) != 0) && + gameStartRejoinMessage_ != null && + gameStartRejoinMessage_ != de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance()) { + gameStartRejoinMessage_ = + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.newBuilder(gameStartRejoinMessage_).mergeFrom(value).buildPartial(); + } else { + gameStartRejoinMessage_ = value; + } + onChanged(); } else { - gameStartRejoinMessage_ = value; + gameStartRejoinMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000080; return this; } @@ -59108,35 +88635,85 @@ public final class ProtoBuf { * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; */ public Builder clearGameStartRejoinMessage() { - gameStartRejoinMessage_ = de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance(); - + if (gameStartRejoinMessageBuilder_ == null) { + gameStartRejoinMessage_ = null; + onChanged(); + } else { + gameStartRejoinMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000080); return this; } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder getGameStartRejoinMessageBuilder() { + bitField1_ |= 0x00000080; + onChanged(); + return getGameStartRejoinMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ + public de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder getGameStartRejoinMessageOrBuilder() { + if (gameStartRejoinMessageBuilder_ != null) { + return gameStartRejoinMessageBuilder_.getMessageOrBuilder(); + } else { + return gameStartRejoinMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.getDefaultInstance() : gameStartRejoinMessage_; + } + } + /** + * optional .GameStartRejoinMessage gameStartRejoinMessage = 40; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder> + getGameStartRejoinMessageFieldBuilder() { + if (gameStartRejoinMessageBuilder_ == null) { + gameStartRejoinMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartRejoinMessageOrBuilder>( + getGameStartRejoinMessage(), + getParentForChildren(), + isClean()); + gameStartRejoinMessage_ = null; + } + return gameStartRejoinMessageBuilder_; + } - // optional .HandStartMessage handStartMessage = 41; - private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.HandStartMessage handStartMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.HandStartMessage, de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder, de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder> handStartMessageBuilder_; /** * optional .HandStartMessage handStartMessage = 41; + * @return Whether the handStartMessage field is set. */ public boolean hasHandStartMessage() { - return ((bitField1_ & 0x00000100) == 0x00000100); + return ((bitField1_ & 0x00000100) != 0); } /** * optional .HandStartMessage handStartMessage = 41; + * @return The handStartMessage. */ public de.pokerth.protocol.ProtoBuf.HandStartMessage getHandStartMessage() { - return handStartMessage_; + if (handStartMessageBuilder_ == null) { + return handStartMessage_ == null ? de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance() : handStartMessage_; + } else { + return handStartMessageBuilder_.getMessage(); + } } /** * optional .HandStartMessage handStartMessage = 41; */ public Builder setHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { - if (value == null) { - throw new NullPointerException(); + if (handStartMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + handStartMessage_ = value; + onChanged(); + } else { + handStartMessageBuilder_.setMessage(value); } - handStartMessage_ = value; - bitField1_ |= 0x00000100; return this; } @@ -59145,8 +88722,12 @@ public final class ProtoBuf { */ public Builder setHandStartMessage( de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder builderForValue) { - handStartMessage_ = builderForValue.build(); - + if (handStartMessageBuilder_ == null) { + handStartMessage_ = builderForValue.build(); + onChanged(); + } else { + handStartMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000100; return this; } @@ -59154,14 +88735,19 @@ public final class ProtoBuf { * optional .HandStartMessage handStartMessage = 41; */ public Builder mergeHandStartMessage(de.pokerth.protocol.ProtoBuf.HandStartMessage value) { - if (((bitField1_ & 0x00000100) == 0x00000100) && - handStartMessage_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) { - handStartMessage_ = - de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder(handStartMessage_).mergeFrom(value).buildPartial(); + if (handStartMessageBuilder_ == null) { + if (((bitField1_ & 0x00000100) != 0) && + handStartMessage_ != null && + handStartMessage_ != de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance()) { + handStartMessage_ = + de.pokerth.protocol.ProtoBuf.HandStartMessage.newBuilder(handStartMessage_).mergeFrom(value).buildPartial(); + } else { + handStartMessage_ = value; + } + onChanged(); } else { - handStartMessage_ = value; + handStartMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000100; return this; } @@ -59169,35 +88755,85 @@ public final class ProtoBuf { * optional .HandStartMessage handStartMessage = 41; */ public Builder clearHandStartMessage() { - handStartMessage_ = de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance(); - + if (handStartMessageBuilder_ == null) { + handStartMessage_ = null; + onChanged(); + } else { + handStartMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000100); return this; } + /** + * optional .HandStartMessage handStartMessage = 41; + */ + public de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder getHandStartMessageBuilder() { + bitField1_ |= 0x00000100; + onChanged(); + return getHandStartMessageFieldBuilder().getBuilder(); + } + /** + * optional .HandStartMessage handStartMessage = 41; + */ + public de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder getHandStartMessageOrBuilder() { + if (handStartMessageBuilder_ != null) { + return handStartMessageBuilder_.getMessageOrBuilder(); + } else { + return handStartMessage_ == null ? + de.pokerth.protocol.ProtoBuf.HandStartMessage.getDefaultInstance() : handStartMessage_; + } + } + /** + * optional .HandStartMessage handStartMessage = 41; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.HandStartMessage, de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder, de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder> + getHandStartMessageFieldBuilder() { + if (handStartMessageBuilder_ == null) { + handStartMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.HandStartMessage, de.pokerth.protocol.ProtoBuf.HandStartMessage.Builder, de.pokerth.protocol.ProtoBuf.HandStartMessageOrBuilder>( + getHandStartMessage(), + getParentForChildren(), + isClean()); + handStartMessage_ = null; + } + return handStartMessageBuilder_; + } - // optional .PlayersTurnMessage playersTurnMessage = 42; - private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayersTurnMessage playersTurnMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder> playersTurnMessageBuilder_; /** * optional .PlayersTurnMessage playersTurnMessage = 42; + * @return Whether the playersTurnMessage field is set. */ public boolean hasPlayersTurnMessage() { - return ((bitField1_ & 0x00000200) == 0x00000200); + return ((bitField1_ & 0x00000200) != 0); } /** * optional .PlayersTurnMessage playersTurnMessage = 42; + * @return The playersTurnMessage. */ public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage getPlayersTurnMessage() { - return playersTurnMessage_; + if (playersTurnMessageBuilder_ == null) { + return playersTurnMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance() : playersTurnMessage_; + } else { + return playersTurnMessageBuilder_.getMessage(); + } } /** * optional .PlayersTurnMessage playersTurnMessage = 42; */ public Builder setPlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { - if (value == null) { - throw new NullPointerException(); + if (playersTurnMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playersTurnMessage_ = value; + onChanged(); + } else { + playersTurnMessageBuilder_.setMessage(value); } - playersTurnMessage_ = value; - bitField1_ |= 0x00000200; return this; } @@ -59206,8 +88842,12 @@ public final class ProtoBuf { */ public Builder setPlayersTurnMessage( de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder builderForValue) { - playersTurnMessage_ = builderForValue.build(); - + if (playersTurnMessageBuilder_ == null) { + playersTurnMessage_ = builderForValue.build(); + onChanged(); + } else { + playersTurnMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000200; return this; } @@ -59215,14 +88855,19 @@ public final class ProtoBuf { * optional .PlayersTurnMessage playersTurnMessage = 42; */ public Builder mergePlayersTurnMessage(de.pokerth.protocol.ProtoBuf.PlayersTurnMessage value) { - if (((bitField1_ & 0x00000200) == 0x00000200) && - playersTurnMessage_ != de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) { - playersTurnMessage_ = - de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder(playersTurnMessage_).mergeFrom(value).buildPartial(); + if (playersTurnMessageBuilder_ == null) { + if (((bitField1_ & 0x00000200) != 0) && + playersTurnMessage_ != null && + playersTurnMessage_ != de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance()) { + playersTurnMessage_ = + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.newBuilder(playersTurnMessage_).mergeFrom(value).buildPartial(); + } else { + playersTurnMessage_ = value; + } + onChanged(); } else { - playersTurnMessage_ = value; + playersTurnMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000200; return this; } @@ -59230,35 +88875,85 @@ public final class ProtoBuf { * optional .PlayersTurnMessage playersTurnMessage = 42; */ public Builder clearPlayersTurnMessage() { - playersTurnMessage_ = de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance(); - + if (playersTurnMessageBuilder_ == null) { + playersTurnMessage_ = null; + onChanged(); + } else { + playersTurnMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000200); return this; } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder getPlayersTurnMessageBuilder() { + bitField1_ |= 0x00000200; + onChanged(); + return getPlayersTurnMessageFieldBuilder().getBuilder(); + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ + public de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder getPlayersTurnMessageOrBuilder() { + if (playersTurnMessageBuilder_ != null) { + return playersTurnMessageBuilder_.getMessageOrBuilder(); + } else { + return playersTurnMessage_ == null ? + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.getDefaultInstance() : playersTurnMessage_; + } + } + /** + * optional .PlayersTurnMessage playersTurnMessage = 42; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder> + getPlayersTurnMessageFieldBuilder() { + if (playersTurnMessageBuilder_ == null) { + playersTurnMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayersTurnMessage, de.pokerth.protocol.ProtoBuf.PlayersTurnMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayersTurnMessageOrBuilder>( + getPlayersTurnMessage(), + getParentForChildren(), + isClean()); + playersTurnMessage_ = null; + } + return playersTurnMessageBuilder_; + } - // optional .MyActionRequestMessage myActionRequestMessage = 43; - private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.MyActionRequestMessage myActionRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder> myActionRequestMessageBuilder_; /** * optional .MyActionRequestMessage myActionRequestMessage = 43; + * @return Whether the myActionRequestMessage field is set. */ public boolean hasMyActionRequestMessage() { - return ((bitField1_ & 0x00000400) == 0x00000400); + return ((bitField1_ & 0x00000400) != 0); } /** * optional .MyActionRequestMessage myActionRequestMessage = 43; + * @return The myActionRequestMessage. */ public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage getMyActionRequestMessage() { - return myActionRequestMessage_; + if (myActionRequestMessageBuilder_ == null) { + return myActionRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance() : myActionRequestMessage_; + } else { + return myActionRequestMessageBuilder_.getMessage(); + } } /** * optional .MyActionRequestMessage myActionRequestMessage = 43; */ public Builder setMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (myActionRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + myActionRequestMessage_ = value; + onChanged(); + } else { + myActionRequestMessageBuilder_.setMessage(value); } - myActionRequestMessage_ = value; - bitField1_ |= 0x00000400; return this; } @@ -59267,8 +88962,12 @@ public final class ProtoBuf { */ public Builder setMyActionRequestMessage( de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder builderForValue) { - myActionRequestMessage_ = builderForValue.build(); - + if (myActionRequestMessageBuilder_ == null) { + myActionRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + myActionRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000400; return this; } @@ -59276,14 +88975,19 @@ public final class ProtoBuf { * optional .MyActionRequestMessage myActionRequestMessage = 43; */ public Builder mergeMyActionRequestMessage(de.pokerth.protocol.ProtoBuf.MyActionRequestMessage value) { - if (((bitField1_ & 0x00000400) == 0x00000400) && - myActionRequestMessage_ != de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) { - myActionRequestMessage_ = - de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder(myActionRequestMessage_).mergeFrom(value).buildPartial(); + if (myActionRequestMessageBuilder_ == null) { + if (((bitField1_ & 0x00000400) != 0) && + myActionRequestMessage_ != null && + myActionRequestMessage_ != de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance()) { + myActionRequestMessage_ = + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.newBuilder(myActionRequestMessage_).mergeFrom(value).buildPartial(); + } else { + myActionRequestMessage_ = value; + } + onChanged(); } else { - myActionRequestMessage_ = value; + myActionRequestMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000400; return this; } @@ -59291,35 +88995,85 @@ public final class ProtoBuf { * optional .MyActionRequestMessage myActionRequestMessage = 43; */ public Builder clearMyActionRequestMessage() { - myActionRequestMessage_ = de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance(); - + if (myActionRequestMessageBuilder_ == null) { + myActionRequestMessage_ = null; + onChanged(); + } else { + myActionRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000400); return this; } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder getMyActionRequestMessageBuilder() { + bitField1_ |= 0x00000400; + onChanged(); + return getMyActionRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ + public de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder getMyActionRequestMessageOrBuilder() { + if (myActionRequestMessageBuilder_ != null) { + return myActionRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return myActionRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.getDefaultInstance() : myActionRequestMessage_; + } + } + /** + * optional .MyActionRequestMessage myActionRequestMessage = 43; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder> + getMyActionRequestMessageFieldBuilder() { + if (myActionRequestMessageBuilder_ == null) { + myActionRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.MyActionRequestMessage, de.pokerth.protocol.ProtoBuf.MyActionRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.MyActionRequestMessageOrBuilder>( + getMyActionRequestMessage(), + getParentForChildren(), + isClean()); + myActionRequestMessage_ = null; + } + return myActionRequestMessageBuilder_; + } - // optional .YourActionRejectedMessage yourActionRejectedMessage = 44; - private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage yourActionRejectedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder> yourActionRejectedMessageBuilder_; /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + * @return Whether the yourActionRejectedMessage field is set. */ public boolean hasYourActionRejectedMessage() { - return ((bitField1_ & 0x00000800) == 0x00000800); + return ((bitField1_ & 0x00000800) != 0); } /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + * @return The yourActionRejectedMessage. */ public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage getYourActionRejectedMessage() { - return yourActionRejectedMessage_; + if (yourActionRejectedMessageBuilder_ == null) { + return yourActionRejectedMessage_ == null ? de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance() : yourActionRejectedMessage_; + } else { + return yourActionRejectedMessageBuilder_.getMessage(); + } } /** * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; */ public Builder setYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (yourActionRejectedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + yourActionRejectedMessage_ = value; + onChanged(); + } else { + yourActionRejectedMessageBuilder_.setMessage(value); } - yourActionRejectedMessage_ = value; - bitField1_ |= 0x00000800; return this; } @@ -59328,8 +89082,12 @@ public final class ProtoBuf { */ public Builder setYourActionRejectedMessage( de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder builderForValue) { - yourActionRejectedMessage_ = builderForValue.build(); - + if (yourActionRejectedMessageBuilder_ == null) { + yourActionRejectedMessage_ = builderForValue.build(); + onChanged(); + } else { + yourActionRejectedMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00000800; return this; } @@ -59337,14 +89095,19 @@ public final class ProtoBuf { * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; */ public Builder mergeYourActionRejectedMessage(de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage value) { - if (((bitField1_ & 0x00000800) == 0x00000800) && - yourActionRejectedMessage_ != de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) { - yourActionRejectedMessage_ = - de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder(yourActionRejectedMessage_).mergeFrom(value).buildPartial(); + if (yourActionRejectedMessageBuilder_ == null) { + if (((bitField1_ & 0x00000800) != 0) && + yourActionRejectedMessage_ != null && + yourActionRejectedMessage_ != de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance()) { + yourActionRejectedMessage_ = + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.newBuilder(yourActionRejectedMessage_).mergeFrom(value).buildPartial(); + } else { + yourActionRejectedMessage_ = value; + } + onChanged(); } else { - yourActionRejectedMessage_ = value; + yourActionRejectedMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000800; return this; } @@ -59352,35 +89115,85 @@ public final class ProtoBuf { * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; */ public Builder clearYourActionRejectedMessage() { - yourActionRejectedMessage_ = de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance(); - + if (yourActionRejectedMessageBuilder_ == null) { + yourActionRejectedMessage_ = null; + onChanged(); + } else { + yourActionRejectedMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00000800); return this; } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder getYourActionRejectedMessageBuilder() { + bitField1_ |= 0x00000800; + onChanged(); + return getYourActionRejectedMessageFieldBuilder().getBuilder(); + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ + public de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder getYourActionRejectedMessageOrBuilder() { + if (yourActionRejectedMessageBuilder_ != null) { + return yourActionRejectedMessageBuilder_.getMessageOrBuilder(); + } else { + return yourActionRejectedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.getDefaultInstance() : yourActionRejectedMessage_; + } + } + /** + * optional .YourActionRejectedMessage yourActionRejectedMessage = 44; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder> + getYourActionRejectedMessageFieldBuilder() { + if (yourActionRejectedMessageBuilder_ == null) { + yourActionRejectedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessage.Builder, de.pokerth.protocol.ProtoBuf.YourActionRejectedMessageOrBuilder>( + getYourActionRejectedMessage(), + getParentForChildren(), + isClean()); + yourActionRejectedMessage_ = null; + } + return yourActionRejectedMessageBuilder_; + } - // optional .PlayersActionDoneMessage playersActionDoneMessage = 45; - private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage playersActionDoneMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder> playersActionDoneMessageBuilder_; /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + * @return Whether the playersActionDoneMessage field is set. */ public boolean hasPlayersActionDoneMessage() { - return ((bitField1_ & 0x00001000) == 0x00001000); + return ((bitField1_ & 0x00001000) != 0); } /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + * @return The playersActionDoneMessage. */ public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage getPlayersActionDoneMessage() { - return playersActionDoneMessage_; + if (playersActionDoneMessageBuilder_ == null) { + return playersActionDoneMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance() : playersActionDoneMessage_; + } else { + return playersActionDoneMessageBuilder_.getMessage(); + } } /** * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; */ public Builder setPlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { - if (value == null) { - throw new NullPointerException(); + if (playersActionDoneMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playersActionDoneMessage_ = value; + onChanged(); + } else { + playersActionDoneMessageBuilder_.setMessage(value); } - playersActionDoneMessage_ = value; - bitField1_ |= 0x00001000; return this; } @@ -59389,8 +89202,12 @@ public final class ProtoBuf { */ public Builder setPlayersActionDoneMessage( de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder builderForValue) { - playersActionDoneMessage_ = builderForValue.build(); - + if (playersActionDoneMessageBuilder_ == null) { + playersActionDoneMessage_ = builderForValue.build(); + onChanged(); + } else { + playersActionDoneMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00001000; return this; } @@ -59398,14 +89215,19 @@ public final class ProtoBuf { * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; */ public Builder mergePlayersActionDoneMessage(de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage value) { - if (((bitField1_ & 0x00001000) == 0x00001000) && - playersActionDoneMessage_ != de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) { - playersActionDoneMessage_ = - de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder(playersActionDoneMessage_).mergeFrom(value).buildPartial(); + if (playersActionDoneMessageBuilder_ == null) { + if (((bitField1_ & 0x00001000) != 0) && + playersActionDoneMessage_ != null && + playersActionDoneMessage_ != de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance()) { + playersActionDoneMessage_ = + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.newBuilder(playersActionDoneMessage_).mergeFrom(value).buildPartial(); + } else { + playersActionDoneMessage_ = value; + } + onChanged(); } else { - playersActionDoneMessage_ = value; + playersActionDoneMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00001000; return this; } @@ -59413,35 +89235,85 @@ public final class ProtoBuf { * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; */ public Builder clearPlayersActionDoneMessage() { - playersActionDoneMessage_ = de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance(); - + if (playersActionDoneMessageBuilder_ == null) { + playersActionDoneMessage_ = null; + onChanged(); + } else { + playersActionDoneMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00001000); return this; } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder getPlayersActionDoneMessageBuilder() { + bitField1_ |= 0x00001000; + onChanged(); + return getPlayersActionDoneMessageFieldBuilder().getBuilder(); + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ + public de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder getPlayersActionDoneMessageOrBuilder() { + if (playersActionDoneMessageBuilder_ != null) { + return playersActionDoneMessageBuilder_.getMessageOrBuilder(); + } else { + return playersActionDoneMessage_ == null ? + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.getDefaultInstance() : playersActionDoneMessage_; + } + } + /** + * optional .PlayersActionDoneMessage playersActionDoneMessage = 45; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder> + getPlayersActionDoneMessageFieldBuilder() { + if (playersActionDoneMessageBuilder_ == null) { + playersActionDoneMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayersActionDoneMessageOrBuilder>( + getPlayersActionDoneMessage(), + getParentForChildren(), + isClean()); + playersActionDoneMessage_ = null; + } + return playersActionDoneMessageBuilder_; + } - // optional .DealFlopCardsMessage dealFlopCardsMessage = 46; - private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage dealFlopCardsMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder> dealFlopCardsMessageBuilder_; /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + * @return Whether the dealFlopCardsMessage field is set. */ public boolean hasDealFlopCardsMessage() { - return ((bitField1_ & 0x00002000) == 0x00002000); + return ((bitField1_ & 0x00002000) != 0); } /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + * @return The dealFlopCardsMessage. */ public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage getDealFlopCardsMessage() { - return dealFlopCardsMessage_; + if (dealFlopCardsMessageBuilder_ == null) { + return dealFlopCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance() : dealFlopCardsMessage_; + } else { + return dealFlopCardsMessageBuilder_.getMessage(); + } } /** * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; */ public Builder setDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { - if (value == null) { - throw new NullPointerException(); + if (dealFlopCardsMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dealFlopCardsMessage_ = value; + onChanged(); + } else { + dealFlopCardsMessageBuilder_.setMessage(value); } - dealFlopCardsMessage_ = value; - bitField1_ |= 0x00002000; return this; } @@ -59450,8 +89322,12 @@ public final class ProtoBuf { */ public Builder setDealFlopCardsMessage( de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder builderForValue) { - dealFlopCardsMessage_ = builderForValue.build(); - + if (dealFlopCardsMessageBuilder_ == null) { + dealFlopCardsMessage_ = builderForValue.build(); + onChanged(); + } else { + dealFlopCardsMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00002000; return this; } @@ -59459,14 +89335,19 @@ public final class ProtoBuf { * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; */ public Builder mergeDealFlopCardsMessage(de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage value) { - if (((bitField1_ & 0x00002000) == 0x00002000) && - dealFlopCardsMessage_ != de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) { - dealFlopCardsMessage_ = - de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder(dealFlopCardsMessage_).mergeFrom(value).buildPartial(); + if (dealFlopCardsMessageBuilder_ == null) { + if (((bitField1_ & 0x00002000) != 0) && + dealFlopCardsMessage_ != null && + dealFlopCardsMessage_ != de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance()) { + dealFlopCardsMessage_ = + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.newBuilder(dealFlopCardsMessage_).mergeFrom(value).buildPartial(); + } else { + dealFlopCardsMessage_ = value; + } + onChanged(); } else { - dealFlopCardsMessage_ = value; + dealFlopCardsMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00002000; return this; } @@ -59474,35 +89355,85 @@ public final class ProtoBuf { * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; */ public Builder clearDealFlopCardsMessage() { - dealFlopCardsMessage_ = de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance(); - + if (dealFlopCardsMessageBuilder_ == null) { + dealFlopCardsMessage_ = null; + onChanged(); + } else { + dealFlopCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00002000); return this; } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder getDealFlopCardsMessageBuilder() { + bitField1_ |= 0x00002000; + onChanged(); + return getDealFlopCardsMessageFieldBuilder().getBuilder(); + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ + public de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder getDealFlopCardsMessageOrBuilder() { + if (dealFlopCardsMessageBuilder_ != null) { + return dealFlopCardsMessageBuilder_.getMessageOrBuilder(); + } else { + return dealFlopCardsMessage_ == null ? + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.getDefaultInstance() : dealFlopCardsMessage_; + } + } + /** + * optional .DealFlopCardsMessage dealFlopCardsMessage = 46; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder> + getDealFlopCardsMessageFieldBuilder() { + if (dealFlopCardsMessageBuilder_ == null) { + dealFlopCardsMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.DealFlopCardsMessageOrBuilder>( + getDealFlopCardsMessage(), + getParentForChildren(), + isClean()); + dealFlopCardsMessage_ = null; + } + return dealFlopCardsMessageBuilder_; + } - // optional .DealTurnCardMessage dealTurnCardMessage = 47; - private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.DealTurnCardMessage dealTurnCardMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder, de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder> dealTurnCardMessageBuilder_; /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; + * @return Whether the dealTurnCardMessage field is set. */ public boolean hasDealTurnCardMessage() { - return ((bitField1_ & 0x00004000) == 0x00004000); + return ((bitField1_ & 0x00004000) != 0); } /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; + * @return The dealTurnCardMessage. */ public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage getDealTurnCardMessage() { - return dealTurnCardMessage_; + if (dealTurnCardMessageBuilder_ == null) { + return dealTurnCardMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance() : dealTurnCardMessage_; + } else { + return dealTurnCardMessageBuilder_.getMessage(); + } } /** * optional .DealTurnCardMessage dealTurnCardMessage = 47; */ public Builder setDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { - if (value == null) { - throw new NullPointerException(); + if (dealTurnCardMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dealTurnCardMessage_ = value; + onChanged(); + } else { + dealTurnCardMessageBuilder_.setMessage(value); } - dealTurnCardMessage_ = value; - bitField1_ |= 0x00004000; return this; } @@ -59511,8 +89442,12 @@ public final class ProtoBuf { */ public Builder setDealTurnCardMessage( de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder builderForValue) { - dealTurnCardMessage_ = builderForValue.build(); - + if (dealTurnCardMessageBuilder_ == null) { + dealTurnCardMessage_ = builderForValue.build(); + onChanged(); + } else { + dealTurnCardMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00004000; return this; } @@ -59520,14 +89455,19 @@ public final class ProtoBuf { * optional .DealTurnCardMessage dealTurnCardMessage = 47; */ public Builder mergeDealTurnCardMessage(de.pokerth.protocol.ProtoBuf.DealTurnCardMessage value) { - if (((bitField1_ & 0x00004000) == 0x00004000) && - dealTurnCardMessage_ != de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) { - dealTurnCardMessage_ = - de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder(dealTurnCardMessage_).mergeFrom(value).buildPartial(); + if (dealTurnCardMessageBuilder_ == null) { + if (((bitField1_ & 0x00004000) != 0) && + dealTurnCardMessage_ != null && + dealTurnCardMessage_ != de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance()) { + dealTurnCardMessage_ = + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.newBuilder(dealTurnCardMessage_).mergeFrom(value).buildPartial(); + } else { + dealTurnCardMessage_ = value; + } + onChanged(); } else { - dealTurnCardMessage_ = value; + dealTurnCardMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00004000; return this; } @@ -59535,35 +89475,85 @@ public final class ProtoBuf { * optional .DealTurnCardMessage dealTurnCardMessage = 47; */ public Builder clearDealTurnCardMessage() { - dealTurnCardMessage_ = de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance(); - + if (dealTurnCardMessageBuilder_ == null) { + dealTurnCardMessage_ = null; + onChanged(); + } else { + dealTurnCardMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00004000); return this; } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder getDealTurnCardMessageBuilder() { + bitField1_ |= 0x00004000; + onChanged(); + return getDealTurnCardMessageFieldBuilder().getBuilder(); + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ + public de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder getDealTurnCardMessageOrBuilder() { + if (dealTurnCardMessageBuilder_ != null) { + return dealTurnCardMessageBuilder_.getMessageOrBuilder(); + } else { + return dealTurnCardMessage_ == null ? + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.getDefaultInstance() : dealTurnCardMessage_; + } + } + /** + * optional .DealTurnCardMessage dealTurnCardMessage = 47; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder, de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder> + getDealTurnCardMessageFieldBuilder() { + if (dealTurnCardMessageBuilder_ == null) { + dealTurnCardMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealTurnCardMessage, de.pokerth.protocol.ProtoBuf.DealTurnCardMessage.Builder, de.pokerth.protocol.ProtoBuf.DealTurnCardMessageOrBuilder>( + getDealTurnCardMessage(), + getParentForChildren(), + isClean()); + dealTurnCardMessage_ = null; + } + return dealTurnCardMessageBuilder_; + } - // optional .DealRiverCardMessage dealRiverCardMessage = 48; - private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.DealRiverCardMessage dealRiverCardMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder, de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder> dealRiverCardMessageBuilder_; /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; + * @return Whether the dealRiverCardMessage field is set. */ public boolean hasDealRiverCardMessage() { - return ((bitField1_ & 0x00008000) == 0x00008000); + return ((bitField1_ & 0x00008000) != 0); } /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; + * @return The dealRiverCardMessage. */ public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage getDealRiverCardMessage() { - return dealRiverCardMessage_; + if (dealRiverCardMessageBuilder_ == null) { + return dealRiverCardMessage_ == null ? de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance() : dealRiverCardMessage_; + } else { + return dealRiverCardMessageBuilder_.getMessage(); + } } /** * optional .DealRiverCardMessage dealRiverCardMessage = 48; */ public Builder setDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { - if (value == null) { - throw new NullPointerException(); + if (dealRiverCardMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dealRiverCardMessage_ = value; + onChanged(); + } else { + dealRiverCardMessageBuilder_.setMessage(value); } - dealRiverCardMessage_ = value; - bitField1_ |= 0x00008000; return this; } @@ -59572,8 +89562,12 @@ public final class ProtoBuf { */ public Builder setDealRiverCardMessage( de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder builderForValue) { - dealRiverCardMessage_ = builderForValue.build(); - + if (dealRiverCardMessageBuilder_ == null) { + dealRiverCardMessage_ = builderForValue.build(); + onChanged(); + } else { + dealRiverCardMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00008000; return this; } @@ -59581,14 +89575,19 @@ public final class ProtoBuf { * optional .DealRiverCardMessage dealRiverCardMessage = 48; */ public Builder mergeDealRiverCardMessage(de.pokerth.protocol.ProtoBuf.DealRiverCardMessage value) { - if (((bitField1_ & 0x00008000) == 0x00008000) && - dealRiverCardMessage_ != de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) { - dealRiverCardMessage_ = - de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder(dealRiverCardMessage_).mergeFrom(value).buildPartial(); + if (dealRiverCardMessageBuilder_ == null) { + if (((bitField1_ & 0x00008000) != 0) && + dealRiverCardMessage_ != null && + dealRiverCardMessage_ != de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance()) { + dealRiverCardMessage_ = + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.newBuilder(dealRiverCardMessage_).mergeFrom(value).buildPartial(); + } else { + dealRiverCardMessage_ = value; + } + onChanged(); } else { - dealRiverCardMessage_ = value; + dealRiverCardMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00008000; return this; } @@ -59596,35 +89595,85 @@ public final class ProtoBuf { * optional .DealRiverCardMessage dealRiverCardMessage = 48; */ public Builder clearDealRiverCardMessage() { - dealRiverCardMessage_ = de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance(); - + if (dealRiverCardMessageBuilder_ == null) { + dealRiverCardMessage_ = null; + onChanged(); + } else { + dealRiverCardMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00008000); return this; } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder getDealRiverCardMessageBuilder() { + bitField1_ |= 0x00008000; + onChanged(); + return getDealRiverCardMessageFieldBuilder().getBuilder(); + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ + public de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder getDealRiverCardMessageOrBuilder() { + if (dealRiverCardMessageBuilder_ != null) { + return dealRiverCardMessageBuilder_.getMessageOrBuilder(); + } else { + return dealRiverCardMessage_ == null ? + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.getDefaultInstance() : dealRiverCardMessage_; + } + } + /** + * optional .DealRiverCardMessage dealRiverCardMessage = 48; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder, de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder> + getDealRiverCardMessageFieldBuilder() { + if (dealRiverCardMessageBuilder_ == null) { + dealRiverCardMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DealRiverCardMessage, de.pokerth.protocol.ProtoBuf.DealRiverCardMessage.Builder, de.pokerth.protocol.ProtoBuf.DealRiverCardMessageOrBuilder>( + getDealRiverCardMessage(), + getParentForChildren(), + isClean()); + dealRiverCardMessage_ = null; + } + return dealRiverCardMessageBuilder_; + } - // optional .AllInShowCardsMessage allInShowCardsMessage = 49; - private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage allInShowCardsMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder> allInShowCardsMessageBuilder_; /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + * @return Whether the allInShowCardsMessage field is set. */ public boolean hasAllInShowCardsMessage() { - return ((bitField1_ & 0x00010000) == 0x00010000); + return ((bitField1_ & 0x00010000) != 0); } /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + * @return The allInShowCardsMessage. */ public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage getAllInShowCardsMessage() { - return allInShowCardsMessage_; + if (allInShowCardsMessageBuilder_ == null) { + return allInShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance() : allInShowCardsMessage_; + } else { + return allInShowCardsMessageBuilder_.getMessage(); + } } /** * optional .AllInShowCardsMessage allInShowCardsMessage = 49; */ public Builder setAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { - if (value == null) { - throw new NullPointerException(); + if (allInShowCardsMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + allInShowCardsMessage_ = value; + onChanged(); + } else { + allInShowCardsMessageBuilder_.setMessage(value); } - allInShowCardsMessage_ = value; - bitField1_ |= 0x00010000; return this; } @@ -59633,8 +89682,12 @@ public final class ProtoBuf { */ public Builder setAllInShowCardsMessage( de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder builderForValue) { - allInShowCardsMessage_ = builderForValue.build(); - + if (allInShowCardsMessageBuilder_ == null) { + allInShowCardsMessage_ = builderForValue.build(); + onChanged(); + } else { + allInShowCardsMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00010000; return this; } @@ -59642,14 +89695,19 @@ public final class ProtoBuf { * optional .AllInShowCardsMessage allInShowCardsMessage = 49; */ public Builder mergeAllInShowCardsMessage(de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage value) { - if (((bitField1_ & 0x00010000) == 0x00010000) && - allInShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) { - allInShowCardsMessage_ = - de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder(allInShowCardsMessage_).mergeFrom(value).buildPartial(); + if (allInShowCardsMessageBuilder_ == null) { + if (((bitField1_ & 0x00010000) != 0) && + allInShowCardsMessage_ != null && + allInShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance()) { + allInShowCardsMessage_ = + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.newBuilder(allInShowCardsMessage_).mergeFrom(value).buildPartial(); + } else { + allInShowCardsMessage_ = value; + } + onChanged(); } else { - allInShowCardsMessage_ = value; + allInShowCardsMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00010000; return this; } @@ -59657,35 +89715,85 @@ public final class ProtoBuf { * optional .AllInShowCardsMessage allInShowCardsMessage = 49; */ public Builder clearAllInShowCardsMessage() { - allInShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance(); - + if (allInShowCardsMessageBuilder_ == null) { + allInShowCardsMessage_ = null; + onChanged(); + } else { + allInShowCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00010000); return this; } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder getAllInShowCardsMessageBuilder() { + bitField1_ |= 0x00010000; + onChanged(); + return getAllInShowCardsMessageFieldBuilder().getBuilder(); + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ + public de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder getAllInShowCardsMessageOrBuilder() { + if (allInShowCardsMessageBuilder_ != null) { + return allInShowCardsMessageBuilder_.getMessageOrBuilder(); + } else { + return allInShowCardsMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.getDefaultInstance() : allInShowCardsMessage_; + } + } + /** + * optional .AllInShowCardsMessage allInShowCardsMessage = 49; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder> + getAllInShowCardsMessageFieldBuilder() { + if (allInShowCardsMessageBuilder_ == null) { + allInShowCardsMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.AllInShowCardsMessageOrBuilder>( + getAllInShowCardsMessage(), + getParentForChildren(), + isClean()); + allInShowCardsMessage_ = null; + } + return allInShowCardsMessageBuilder_; + } - // optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; - private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage endOfHandShowCardsMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder> endOfHandShowCardsMessageBuilder_; /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + * @return Whether the endOfHandShowCardsMessage field is set. */ public boolean hasEndOfHandShowCardsMessage() { - return ((bitField1_ & 0x00020000) == 0x00020000); + return ((bitField1_ & 0x00020000) != 0); } /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + * @return The endOfHandShowCardsMessage. */ public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage getEndOfHandShowCardsMessage() { - return endOfHandShowCardsMessage_; + if (endOfHandShowCardsMessageBuilder_ == null) { + return endOfHandShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance() : endOfHandShowCardsMessage_; + } else { + return endOfHandShowCardsMessageBuilder_.getMessage(); + } } /** * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; */ public Builder setEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { - if (value == null) { - throw new NullPointerException(); + if (endOfHandShowCardsMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endOfHandShowCardsMessage_ = value; + onChanged(); + } else { + endOfHandShowCardsMessageBuilder_.setMessage(value); } - endOfHandShowCardsMessage_ = value; - bitField1_ |= 0x00020000; return this; } @@ -59694,8 +89802,12 @@ public final class ProtoBuf { */ public Builder setEndOfHandShowCardsMessage( de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder builderForValue) { - endOfHandShowCardsMessage_ = builderForValue.build(); - + if (endOfHandShowCardsMessageBuilder_ == null) { + endOfHandShowCardsMessage_ = builderForValue.build(); + onChanged(); + } else { + endOfHandShowCardsMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00020000; return this; } @@ -59703,14 +89815,19 @@ public final class ProtoBuf { * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; */ public Builder mergeEndOfHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage value) { - if (((bitField1_ & 0x00020000) == 0x00020000) && - endOfHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) { - endOfHandShowCardsMessage_ = - de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder(endOfHandShowCardsMessage_).mergeFrom(value).buildPartial(); + if (endOfHandShowCardsMessageBuilder_ == null) { + if (((bitField1_ & 0x00020000) != 0) && + endOfHandShowCardsMessage_ != null && + endOfHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance()) { + endOfHandShowCardsMessage_ = + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.newBuilder(endOfHandShowCardsMessage_).mergeFrom(value).buildPartial(); + } else { + endOfHandShowCardsMessage_ = value; + } + onChanged(); } else { - endOfHandShowCardsMessage_ = value; + endOfHandShowCardsMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00020000; return this; } @@ -59718,35 +89835,85 @@ public final class ProtoBuf { * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; */ public Builder clearEndOfHandShowCardsMessage() { - endOfHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance(); - + if (endOfHandShowCardsMessageBuilder_ == null) { + endOfHandShowCardsMessage_ = null; + onChanged(); + } else { + endOfHandShowCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00020000); return this; } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder getEndOfHandShowCardsMessageBuilder() { + bitField1_ |= 0x00020000; + onChanged(); + return getEndOfHandShowCardsMessageFieldBuilder().getBuilder(); + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder getEndOfHandShowCardsMessageOrBuilder() { + if (endOfHandShowCardsMessageBuilder_ != null) { + return endOfHandShowCardsMessageBuilder_.getMessageOrBuilder(); + } else { + return endOfHandShowCardsMessage_ == null ? + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.getDefaultInstance() : endOfHandShowCardsMessage_; + } + } + /** + * optional .EndOfHandShowCardsMessage endOfHandShowCardsMessage = 50; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder> + getEndOfHandShowCardsMessageFieldBuilder() { + if (endOfHandShowCardsMessageBuilder_ == null) { + endOfHandShowCardsMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfHandShowCardsMessageOrBuilder>( + getEndOfHandShowCardsMessage(), + getParentForChildren(), + isClean()); + endOfHandShowCardsMessage_ = null; + } + return endOfHandShowCardsMessageBuilder_; + } - // optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; - private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage endOfHandHideCardsMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder> endOfHandHideCardsMessageBuilder_; /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + * @return Whether the endOfHandHideCardsMessage field is set. */ public boolean hasEndOfHandHideCardsMessage() { - return ((bitField1_ & 0x00040000) == 0x00040000); + return ((bitField1_ & 0x00040000) != 0); } /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + * @return The endOfHandHideCardsMessage. */ public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage getEndOfHandHideCardsMessage() { - return endOfHandHideCardsMessage_; + if (endOfHandHideCardsMessageBuilder_ == null) { + return endOfHandHideCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance() : endOfHandHideCardsMessage_; + } else { + return endOfHandHideCardsMessageBuilder_.getMessage(); + } } /** * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; */ public Builder setEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { - if (value == null) { - throw new NullPointerException(); + if (endOfHandHideCardsMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endOfHandHideCardsMessage_ = value; + onChanged(); + } else { + endOfHandHideCardsMessageBuilder_.setMessage(value); } - endOfHandHideCardsMessage_ = value; - bitField1_ |= 0x00040000; return this; } @@ -59755,8 +89922,12 @@ public final class ProtoBuf { */ public Builder setEndOfHandHideCardsMessage( de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder builderForValue) { - endOfHandHideCardsMessage_ = builderForValue.build(); - + if (endOfHandHideCardsMessageBuilder_ == null) { + endOfHandHideCardsMessage_ = builderForValue.build(); + onChanged(); + } else { + endOfHandHideCardsMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00040000; return this; } @@ -59764,14 +89935,19 @@ public final class ProtoBuf { * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; */ public Builder mergeEndOfHandHideCardsMessage(de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage value) { - if (((bitField1_ & 0x00040000) == 0x00040000) && - endOfHandHideCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) { - endOfHandHideCardsMessage_ = - de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder(endOfHandHideCardsMessage_).mergeFrom(value).buildPartial(); + if (endOfHandHideCardsMessageBuilder_ == null) { + if (((bitField1_ & 0x00040000) != 0) && + endOfHandHideCardsMessage_ != null && + endOfHandHideCardsMessage_ != de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance()) { + endOfHandHideCardsMessage_ = + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.newBuilder(endOfHandHideCardsMessage_).mergeFrom(value).buildPartial(); + } else { + endOfHandHideCardsMessage_ = value; + } + onChanged(); } else { - endOfHandHideCardsMessage_ = value; + endOfHandHideCardsMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00040000; return this; } @@ -59779,35 +89955,85 @@ public final class ProtoBuf { * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; */ public Builder clearEndOfHandHideCardsMessage() { - endOfHandHideCardsMessage_ = de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance(); - + if (endOfHandHideCardsMessageBuilder_ == null) { + endOfHandHideCardsMessage_ = null; + onChanged(); + } else { + endOfHandHideCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00040000); return this; } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder getEndOfHandHideCardsMessageBuilder() { + bitField1_ |= 0x00040000; + onChanged(); + return getEndOfHandHideCardsMessageFieldBuilder().getBuilder(); + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ + public de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder getEndOfHandHideCardsMessageOrBuilder() { + if (endOfHandHideCardsMessageBuilder_ != null) { + return endOfHandHideCardsMessageBuilder_.getMessageOrBuilder(); + } else { + return endOfHandHideCardsMessage_ == null ? + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.getDefaultInstance() : endOfHandHideCardsMessage_; + } + } + /** + * optional .EndOfHandHideCardsMessage endOfHandHideCardsMessage = 51; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder> + getEndOfHandHideCardsMessageFieldBuilder() { + if (endOfHandHideCardsMessageBuilder_ == null) { + endOfHandHideCardsMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfHandHideCardsMessageOrBuilder>( + getEndOfHandHideCardsMessage(), + getParentForChildren(), + isClean()); + endOfHandHideCardsMessage_ = null; + } + return endOfHandHideCardsMessageBuilder_; + } - // optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; - private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage showMyCardsRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder> showMyCardsRequestMessageBuilder_; /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + * @return Whether the showMyCardsRequestMessage field is set. */ public boolean hasShowMyCardsRequestMessage() { - return ((bitField1_ & 0x00080000) == 0x00080000); + return ((bitField1_ & 0x00080000) != 0); } /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + * @return The showMyCardsRequestMessage. */ public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage getShowMyCardsRequestMessage() { - return showMyCardsRequestMessage_; + if (showMyCardsRequestMessageBuilder_ == null) { + return showMyCardsRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance() : showMyCardsRequestMessage_; + } else { + return showMyCardsRequestMessageBuilder_.getMessage(); + } } /** * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; */ public Builder setShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (showMyCardsRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + showMyCardsRequestMessage_ = value; + onChanged(); + } else { + showMyCardsRequestMessageBuilder_.setMessage(value); } - showMyCardsRequestMessage_ = value; - bitField1_ |= 0x00080000; return this; } @@ -59816,8 +90042,12 @@ public final class ProtoBuf { */ public Builder setShowMyCardsRequestMessage( de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder builderForValue) { - showMyCardsRequestMessage_ = builderForValue.build(); - + if (showMyCardsRequestMessageBuilder_ == null) { + showMyCardsRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + showMyCardsRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00080000; return this; } @@ -59825,14 +90055,19 @@ public final class ProtoBuf { * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; */ public Builder mergeShowMyCardsRequestMessage(de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage value) { - if (((bitField1_ & 0x00080000) == 0x00080000) && - showMyCardsRequestMessage_ != de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) { - showMyCardsRequestMessage_ = - de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder(showMyCardsRequestMessage_).mergeFrom(value).buildPartial(); + if (showMyCardsRequestMessageBuilder_ == null) { + if (((bitField1_ & 0x00080000) != 0) && + showMyCardsRequestMessage_ != null && + showMyCardsRequestMessage_ != de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance()) { + showMyCardsRequestMessage_ = + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.newBuilder(showMyCardsRequestMessage_).mergeFrom(value).buildPartial(); + } else { + showMyCardsRequestMessage_ = value; + } + onChanged(); } else { - showMyCardsRequestMessage_ = value; + showMyCardsRequestMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00080000; return this; } @@ -59840,35 +90075,85 @@ public final class ProtoBuf { * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; */ public Builder clearShowMyCardsRequestMessage() { - showMyCardsRequestMessage_ = de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance(); - + if (showMyCardsRequestMessageBuilder_ == null) { + showMyCardsRequestMessage_ = null; + onChanged(); + } else { + showMyCardsRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00080000); return this; } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder getShowMyCardsRequestMessageBuilder() { + bitField1_ |= 0x00080000; + onChanged(); + return getShowMyCardsRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ + public de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder getShowMyCardsRequestMessageOrBuilder() { + if (showMyCardsRequestMessageBuilder_ != null) { + return showMyCardsRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return showMyCardsRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.getDefaultInstance() : showMyCardsRequestMessage_; + } + } + /** + * optional .ShowMyCardsRequestMessage showMyCardsRequestMessage = 52; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder> + getShowMyCardsRequestMessageFieldBuilder() { + if (showMyCardsRequestMessageBuilder_ == null) { + showMyCardsRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.ShowMyCardsRequestMessageOrBuilder>( + getShowMyCardsRequestMessage(), + getParentForChildren(), + isClean()); + showMyCardsRequestMessage_ = null; + } + return showMyCardsRequestMessageBuilder_; + } - // optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; - private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage afterHandShowCardsMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder> afterHandShowCardsMessageBuilder_; /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + * @return Whether the afterHandShowCardsMessage field is set. */ public boolean hasAfterHandShowCardsMessage() { - return ((bitField1_ & 0x00100000) == 0x00100000); + return ((bitField1_ & 0x00100000) != 0); } /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + * @return The afterHandShowCardsMessage. */ public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage getAfterHandShowCardsMessage() { - return afterHandShowCardsMessage_; + if (afterHandShowCardsMessageBuilder_ == null) { + return afterHandShowCardsMessage_ == null ? de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance() : afterHandShowCardsMessage_; + } else { + return afterHandShowCardsMessageBuilder_.getMessage(); + } } /** * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; */ public Builder setAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { - if (value == null) { - throw new NullPointerException(); + if (afterHandShowCardsMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + afterHandShowCardsMessage_ = value; + onChanged(); + } else { + afterHandShowCardsMessageBuilder_.setMessage(value); } - afterHandShowCardsMessage_ = value; - bitField1_ |= 0x00100000; return this; } @@ -59877,8 +90162,12 @@ public final class ProtoBuf { */ public Builder setAfterHandShowCardsMessage( de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder builderForValue) { - afterHandShowCardsMessage_ = builderForValue.build(); - + if (afterHandShowCardsMessageBuilder_ == null) { + afterHandShowCardsMessage_ = builderForValue.build(); + onChanged(); + } else { + afterHandShowCardsMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00100000; return this; } @@ -59886,14 +90175,19 @@ public final class ProtoBuf { * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; */ public Builder mergeAfterHandShowCardsMessage(de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage value) { - if (((bitField1_ & 0x00100000) == 0x00100000) && - afterHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance()) { - afterHandShowCardsMessage_ = - de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder(afterHandShowCardsMessage_).mergeFrom(value).buildPartial(); + if (afterHandShowCardsMessageBuilder_ == null) { + if (((bitField1_ & 0x00100000) != 0) && + afterHandShowCardsMessage_ != null && + afterHandShowCardsMessage_ != de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance()) { + afterHandShowCardsMessage_ = + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.newBuilder(afterHandShowCardsMessage_).mergeFrom(value).buildPartial(); + } else { + afterHandShowCardsMessage_ = value; + } + onChanged(); } else { - afterHandShowCardsMessage_ = value; + afterHandShowCardsMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00100000; return this; } @@ -59901,35 +90195,85 @@ public final class ProtoBuf { * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; */ public Builder clearAfterHandShowCardsMessage() { - afterHandShowCardsMessage_ = de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance(); - + if (afterHandShowCardsMessageBuilder_ == null) { + afterHandShowCardsMessage_ = null; + onChanged(); + } else { + afterHandShowCardsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00100000); return this; } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder getAfterHandShowCardsMessageBuilder() { + bitField1_ |= 0x00100000; + onChanged(); + return getAfterHandShowCardsMessageFieldBuilder().getBuilder(); + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ + public de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder getAfterHandShowCardsMessageOrBuilder() { + if (afterHandShowCardsMessageBuilder_ != null) { + return afterHandShowCardsMessageBuilder_.getMessageOrBuilder(); + } else { + return afterHandShowCardsMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.getDefaultInstance() : afterHandShowCardsMessage_; + } + } + /** + * optional .AfterHandShowCardsMessage afterHandShowCardsMessage = 53; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder> + getAfterHandShowCardsMessageFieldBuilder() { + if (afterHandShowCardsMessageBuilder_ == null) { + afterHandShowCardsMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessage.Builder, de.pokerth.protocol.ProtoBuf.AfterHandShowCardsMessageOrBuilder>( + getAfterHandShowCardsMessage(), + getParentForChildren(), + isClean()); + afterHandShowCardsMessage_ = null; + } + return afterHandShowCardsMessageBuilder_; + } - // optional .EndOfGameMessage endOfGameMessage = 54; - private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.EndOfGameMessage endOfGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfGameMessage, de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder> endOfGameMessageBuilder_; /** * optional .EndOfGameMessage endOfGameMessage = 54; + * @return Whether the endOfGameMessage field is set. */ public boolean hasEndOfGameMessage() { - return ((bitField1_ & 0x00200000) == 0x00200000); + return ((bitField1_ & 0x00200000) != 0); } /** * optional .EndOfGameMessage endOfGameMessage = 54; + * @return The endOfGameMessage. */ public de.pokerth.protocol.ProtoBuf.EndOfGameMessage getEndOfGameMessage() { - return endOfGameMessage_; + if (endOfGameMessageBuilder_ == null) { + return endOfGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance() : endOfGameMessage_; + } else { + return endOfGameMessageBuilder_.getMessage(); + } } /** * optional .EndOfGameMessage endOfGameMessage = 54; */ public Builder setEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (endOfGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endOfGameMessage_ = value; + onChanged(); + } else { + endOfGameMessageBuilder_.setMessage(value); } - endOfGameMessage_ = value; - bitField1_ |= 0x00200000; return this; } @@ -59938,8 +90282,12 @@ public final class ProtoBuf { */ public Builder setEndOfGameMessage( de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder builderForValue) { - endOfGameMessage_ = builderForValue.build(); - + if (endOfGameMessageBuilder_ == null) { + endOfGameMessage_ = builderForValue.build(); + onChanged(); + } else { + endOfGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00200000; return this; } @@ -59947,14 +90295,19 @@ public final class ProtoBuf { * optional .EndOfGameMessage endOfGameMessage = 54; */ public Builder mergeEndOfGameMessage(de.pokerth.protocol.ProtoBuf.EndOfGameMessage value) { - if (((bitField1_ & 0x00200000) == 0x00200000) && - endOfGameMessage_ != de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) { - endOfGameMessage_ = - de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder(endOfGameMessage_).mergeFrom(value).buildPartial(); + if (endOfGameMessageBuilder_ == null) { + if (((bitField1_ & 0x00200000) != 0) && + endOfGameMessage_ != null && + endOfGameMessage_ != de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance()) { + endOfGameMessage_ = + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.newBuilder(endOfGameMessage_).mergeFrom(value).buildPartial(); + } else { + endOfGameMessage_ = value; + } + onChanged(); } else { - endOfGameMessage_ = value; + endOfGameMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00200000; return this; } @@ -59962,35 +90315,85 @@ public final class ProtoBuf { * optional .EndOfGameMessage endOfGameMessage = 54; */ public Builder clearEndOfGameMessage() { - endOfGameMessage_ = de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance(); - + if (endOfGameMessageBuilder_ == null) { + endOfGameMessage_ = null; + onChanged(); + } else { + endOfGameMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00200000); return this; } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ + public de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder getEndOfGameMessageBuilder() { + bitField1_ |= 0x00200000; + onChanged(); + return getEndOfGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ + public de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder getEndOfGameMessageOrBuilder() { + if (endOfGameMessageBuilder_ != null) { + return endOfGameMessageBuilder_.getMessageOrBuilder(); + } else { + return endOfGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.EndOfGameMessage.getDefaultInstance() : endOfGameMessage_; + } + } + /** + * optional .EndOfGameMessage endOfGameMessage = 54; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfGameMessage, de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder> + getEndOfGameMessageFieldBuilder() { + if (endOfGameMessageBuilder_ == null) { + endOfGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndOfGameMessage, de.pokerth.protocol.ProtoBuf.EndOfGameMessage.Builder, de.pokerth.protocol.ProtoBuf.EndOfGameMessageOrBuilder>( + getEndOfGameMessage(), + getParentForChildren(), + isClean()); + endOfGameMessage_ = null; + } + return endOfGameMessageBuilder_; + } - // optional .PlayerIdChangedMessage playerIdChangedMessage = 55; - private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage playerIdChangedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder> playerIdChangedMessageBuilder_; /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + * @return Whether the playerIdChangedMessage field is set. */ public boolean hasPlayerIdChangedMessage() { - return ((bitField1_ & 0x00400000) == 0x00400000); + return ((bitField1_ & 0x00400000) != 0); } /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + * @return The playerIdChangedMessage. */ public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage getPlayerIdChangedMessage() { - return playerIdChangedMessage_; + if (playerIdChangedMessageBuilder_ == null) { + return playerIdChangedMessage_ == null ? de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance() : playerIdChangedMessage_; + } else { + return playerIdChangedMessageBuilder_.getMessage(); + } } /** * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; */ public Builder setPlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (playerIdChangedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + playerIdChangedMessage_ = value; + onChanged(); + } else { + playerIdChangedMessageBuilder_.setMessage(value); } - playerIdChangedMessage_ = value; - bitField1_ |= 0x00400000; return this; } @@ -59999,8 +90402,12 @@ public final class ProtoBuf { */ public Builder setPlayerIdChangedMessage( de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder builderForValue) { - playerIdChangedMessage_ = builderForValue.build(); - + if (playerIdChangedMessageBuilder_ == null) { + playerIdChangedMessage_ = builderForValue.build(); + onChanged(); + } else { + playerIdChangedMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00400000; return this; } @@ -60008,14 +90415,19 @@ public final class ProtoBuf { * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; */ public Builder mergePlayerIdChangedMessage(de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage value) { - if (((bitField1_ & 0x00400000) == 0x00400000) && - playerIdChangedMessage_ != de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) { - playerIdChangedMessage_ = - de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder(playerIdChangedMessage_).mergeFrom(value).buildPartial(); + if (playerIdChangedMessageBuilder_ == null) { + if (((bitField1_ & 0x00400000) != 0) && + playerIdChangedMessage_ != null && + playerIdChangedMessage_ != de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance()) { + playerIdChangedMessage_ = + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.newBuilder(playerIdChangedMessage_).mergeFrom(value).buildPartial(); + } else { + playerIdChangedMessage_ = value; + } + onChanged(); } else { - playerIdChangedMessage_ = value; + playerIdChangedMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00400000; return this; } @@ -60023,35 +90435,85 @@ public final class ProtoBuf { * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; */ public Builder clearPlayerIdChangedMessage() { - playerIdChangedMessage_ = de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance(); - + if (playerIdChangedMessageBuilder_ == null) { + playerIdChangedMessage_ = null; + onChanged(); + } else { + playerIdChangedMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00400000); return this; } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder getPlayerIdChangedMessageBuilder() { + bitField1_ |= 0x00400000; + onChanged(); + return getPlayerIdChangedMessageFieldBuilder().getBuilder(); + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ + public de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder getPlayerIdChangedMessageOrBuilder() { + if (playerIdChangedMessageBuilder_ != null) { + return playerIdChangedMessageBuilder_.getMessageOrBuilder(); + } else { + return playerIdChangedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.getDefaultInstance() : playerIdChangedMessage_; + } + } + /** + * optional .PlayerIdChangedMessage playerIdChangedMessage = 55; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder> + getPlayerIdChangedMessageFieldBuilder() { + if (playerIdChangedMessageBuilder_ == null) { + playerIdChangedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessage.Builder, de.pokerth.protocol.ProtoBuf.PlayerIdChangedMessageOrBuilder>( + getPlayerIdChangedMessage(), + getParentForChildren(), + isClean()); + playerIdChangedMessage_ = null; + } + return playerIdChangedMessageBuilder_; + } - // optional .AskKickPlayerMessage askKickPlayerMessage = 56; - private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage askKickPlayerMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder> askKickPlayerMessageBuilder_; /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + * @return Whether the askKickPlayerMessage field is set. */ public boolean hasAskKickPlayerMessage() { - return ((bitField1_ & 0x00800000) == 0x00800000); + return ((bitField1_ & 0x00800000) != 0); } /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + * @return The askKickPlayerMessage. */ public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage getAskKickPlayerMessage() { - return askKickPlayerMessage_; + if (askKickPlayerMessageBuilder_ == null) { + return askKickPlayerMessage_ == null ? de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance() : askKickPlayerMessage_; + } else { + return askKickPlayerMessageBuilder_.getMessage(); + } } /** * optional .AskKickPlayerMessage askKickPlayerMessage = 56; */ public Builder setAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { - if (value == null) { - throw new NullPointerException(); + if (askKickPlayerMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + askKickPlayerMessage_ = value; + onChanged(); + } else { + askKickPlayerMessageBuilder_.setMessage(value); } - askKickPlayerMessage_ = value; - bitField1_ |= 0x00800000; return this; } @@ -60060,8 +90522,12 @@ public final class ProtoBuf { */ public Builder setAskKickPlayerMessage( de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder builderForValue) { - askKickPlayerMessage_ = builderForValue.build(); - + if (askKickPlayerMessageBuilder_ == null) { + askKickPlayerMessage_ = builderForValue.build(); + onChanged(); + } else { + askKickPlayerMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x00800000; return this; } @@ -60069,14 +90535,19 @@ public final class ProtoBuf { * optional .AskKickPlayerMessage askKickPlayerMessage = 56; */ public Builder mergeAskKickPlayerMessage(de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage value) { - if (((bitField1_ & 0x00800000) == 0x00800000) && - askKickPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) { - askKickPlayerMessage_ = - de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder(askKickPlayerMessage_).mergeFrom(value).buildPartial(); + if (askKickPlayerMessageBuilder_ == null) { + if (((bitField1_ & 0x00800000) != 0) && + askKickPlayerMessage_ != null && + askKickPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance()) { + askKickPlayerMessage_ = + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.newBuilder(askKickPlayerMessage_).mergeFrom(value).buildPartial(); + } else { + askKickPlayerMessage_ = value; + } + onChanged(); } else { - askKickPlayerMessage_ = value; + askKickPlayerMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x00800000; return this; } @@ -60084,35 +90555,85 @@ public final class ProtoBuf { * optional .AskKickPlayerMessage askKickPlayerMessage = 56; */ public Builder clearAskKickPlayerMessage() { - askKickPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance(); - + if (askKickPlayerMessageBuilder_ == null) { + askKickPlayerMessage_ = null; + onChanged(); + } else { + askKickPlayerMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x00800000); return this; } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder getAskKickPlayerMessageBuilder() { + bitField1_ |= 0x00800000; + onChanged(); + return getAskKickPlayerMessageFieldBuilder().getBuilder(); + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ + public de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder getAskKickPlayerMessageOrBuilder() { + if (askKickPlayerMessageBuilder_ != null) { + return askKickPlayerMessageBuilder_.getMessageOrBuilder(); + } else { + return askKickPlayerMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.getDefaultInstance() : askKickPlayerMessage_; + } + } + /** + * optional .AskKickPlayerMessage askKickPlayerMessage = 56; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder> + getAskKickPlayerMessageFieldBuilder() { + if (askKickPlayerMessageBuilder_ == null) { + askKickPlayerMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessage.Builder, de.pokerth.protocol.ProtoBuf.AskKickPlayerMessageOrBuilder>( + getAskKickPlayerMessage(), + getParentForChildren(), + isClean()); + askKickPlayerMessage_ = null; + } + return askKickPlayerMessageBuilder_; + } - // optional .AskKickDeniedMessage askKickDeniedMessage = 57; - private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage askKickDeniedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder> askKickDeniedMessageBuilder_; /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + * @return Whether the askKickDeniedMessage field is set. */ public boolean hasAskKickDeniedMessage() { - return ((bitField1_ & 0x01000000) == 0x01000000); + return ((bitField1_ & 0x01000000) != 0); } /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + * @return The askKickDeniedMessage. */ public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage getAskKickDeniedMessage() { - return askKickDeniedMessage_; + if (askKickDeniedMessageBuilder_ == null) { + return askKickDeniedMessage_ == null ? de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance() : askKickDeniedMessage_; + } else { + return askKickDeniedMessageBuilder_.getMessage(); + } } /** * optional .AskKickDeniedMessage askKickDeniedMessage = 57; */ public Builder setAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (askKickDeniedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + askKickDeniedMessage_ = value; + onChanged(); + } else { + askKickDeniedMessageBuilder_.setMessage(value); } - askKickDeniedMessage_ = value; - bitField1_ |= 0x01000000; return this; } @@ -60121,8 +90642,12 @@ public final class ProtoBuf { */ public Builder setAskKickDeniedMessage( de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder builderForValue) { - askKickDeniedMessage_ = builderForValue.build(); - + if (askKickDeniedMessageBuilder_ == null) { + askKickDeniedMessage_ = builderForValue.build(); + onChanged(); + } else { + askKickDeniedMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x01000000; return this; } @@ -60130,14 +90655,19 @@ public final class ProtoBuf { * optional .AskKickDeniedMessage askKickDeniedMessage = 57; */ public Builder mergeAskKickDeniedMessage(de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage value) { - if (((bitField1_ & 0x01000000) == 0x01000000) && - askKickDeniedMessage_ != de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) { - askKickDeniedMessage_ = - de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder(askKickDeniedMessage_).mergeFrom(value).buildPartial(); + if (askKickDeniedMessageBuilder_ == null) { + if (((bitField1_ & 0x01000000) != 0) && + askKickDeniedMessage_ != null && + askKickDeniedMessage_ != de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance()) { + askKickDeniedMessage_ = + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.newBuilder(askKickDeniedMessage_).mergeFrom(value).buildPartial(); + } else { + askKickDeniedMessage_ = value; + } + onChanged(); } else { - askKickDeniedMessage_ = value; + askKickDeniedMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x01000000; return this; } @@ -60145,35 +90675,85 @@ public final class ProtoBuf { * optional .AskKickDeniedMessage askKickDeniedMessage = 57; */ public Builder clearAskKickDeniedMessage() { - askKickDeniedMessage_ = de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance(); - + if (askKickDeniedMessageBuilder_ == null) { + askKickDeniedMessage_ = null; + onChanged(); + } else { + askKickDeniedMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x01000000); return this; } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder getAskKickDeniedMessageBuilder() { + bitField1_ |= 0x01000000; + onChanged(); + return getAskKickDeniedMessageFieldBuilder().getBuilder(); + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ + public de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder getAskKickDeniedMessageOrBuilder() { + if (askKickDeniedMessageBuilder_ != null) { + return askKickDeniedMessageBuilder_.getMessageOrBuilder(); + } else { + return askKickDeniedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.getDefaultInstance() : askKickDeniedMessage_; + } + } + /** + * optional .AskKickDeniedMessage askKickDeniedMessage = 57; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder> + getAskKickDeniedMessageFieldBuilder() { + if (askKickDeniedMessageBuilder_ == null) { + askKickDeniedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessage.Builder, de.pokerth.protocol.ProtoBuf.AskKickDeniedMessageOrBuilder>( + getAskKickDeniedMessage(), + getParentForChildren(), + isClean()); + askKickDeniedMessage_ = null; + } + return askKickDeniedMessageBuilder_; + } - // optional .StartKickPetitionMessage startKickPetitionMessage = 58; - private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage startKickPetitionMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder> startKickPetitionMessageBuilder_; /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + * @return Whether the startKickPetitionMessage field is set. */ public boolean hasStartKickPetitionMessage() { - return ((bitField1_ & 0x02000000) == 0x02000000); + return ((bitField1_ & 0x02000000) != 0); } /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + * @return The startKickPetitionMessage. */ public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage getStartKickPetitionMessage() { - return startKickPetitionMessage_; + if (startKickPetitionMessageBuilder_ == null) { + return startKickPetitionMessage_ == null ? de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance() : startKickPetitionMessage_; + } else { + return startKickPetitionMessageBuilder_.getMessage(); + } } /** * optional .StartKickPetitionMessage startKickPetitionMessage = 58; */ public Builder setStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { - if (value == null) { - throw new NullPointerException(); + if (startKickPetitionMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startKickPetitionMessage_ = value; + onChanged(); + } else { + startKickPetitionMessageBuilder_.setMessage(value); } - startKickPetitionMessage_ = value; - bitField1_ |= 0x02000000; return this; } @@ -60182,8 +90762,12 @@ public final class ProtoBuf { */ public Builder setStartKickPetitionMessage( de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder builderForValue) { - startKickPetitionMessage_ = builderForValue.build(); - + if (startKickPetitionMessageBuilder_ == null) { + startKickPetitionMessage_ = builderForValue.build(); + onChanged(); + } else { + startKickPetitionMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x02000000; return this; } @@ -60191,14 +90775,19 @@ public final class ProtoBuf { * optional .StartKickPetitionMessage startKickPetitionMessage = 58; */ public Builder mergeStartKickPetitionMessage(de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage value) { - if (((bitField1_ & 0x02000000) == 0x02000000) && - startKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) { - startKickPetitionMessage_ = - de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder(startKickPetitionMessage_).mergeFrom(value).buildPartial(); + if (startKickPetitionMessageBuilder_ == null) { + if (((bitField1_ & 0x02000000) != 0) && + startKickPetitionMessage_ != null && + startKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance()) { + startKickPetitionMessage_ = + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.newBuilder(startKickPetitionMessage_).mergeFrom(value).buildPartial(); + } else { + startKickPetitionMessage_ = value; + } + onChanged(); } else { - startKickPetitionMessage_ = value; + startKickPetitionMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x02000000; return this; } @@ -60206,35 +90795,85 @@ public final class ProtoBuf { * optional .StartKickPetitionMessage startKickPetitionMessage = 58; */ public Builder clearStartKickPetitionMessage() { - startKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance(); - + if (startKickPetitionMessageBuilder_ == null) { + startKickPetitionMessage_ = null; + onChanged(); + } else { + startKickPetitionMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x02000000); return this; } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder getStartKickPetitionMessageBuilder() { + bitField1_ |= 0x02000000; + onChanged(); + return getStartKickPetitionMessageFieldBuilder().getBuilder(); + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ + public de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder getStartKickPetitionMessageOrBuilder() { + if (startKickPetitionMessageBuilder_ != null) { + return startKickPetitionMessageBuilder_.getMessageOrBuilder(); + } else { + return startKickPetitionMessage_ == null ? + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.getDefaultInstance() : startKickPetitionMessage_; + } + } + /** + * optional .StartKickPetitionMessage startKickPetitionMessage = 58; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder> + getStartKickPetitionMessageFieldBuilder() { + if (startKickPetitionMessageBuilder_ == null) { + startKickPetitionMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessage.Builder, de.pokerth.protocol.ProtoBuf.StartKickPetitionMessageOrBuilder>( + getStartKickPetitionMessage(), + getParentForChildren(), + isClean()); + startKickPetitionMessage_ = null; + } + return startKickPetitionMessageBuilder_; + } - // optional .VoteKickRequestMessage voteKickRequestMessage = 59; - private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage voteKickRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder> voteKickRequestMessageBuilder_; /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + * @return Whether the voteKickRequestMessage field is set. */ public boolean hasVoteKickRequestMessage() { - return ((bitField1_ & 0x04000000) == 0x04000000); + return ((bitField1_ & 0x04000000) != 0); } /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + * @return The voteKickRequestMessage. */ public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage getVoteKickRequestMessage() { - return voteKickRequestMessage_; + if (voteKickRequestMessageBuilder_ == null) { + return voteKickRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance() : voteKickRequestMessage_; + } else { + return voteKickRequestMessageBuilder_.getMessage(); + } } /** * optional .VoteKickRequestMessage voteKickRequestMessage = 59; */ public Builder setVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (voteKickRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + voteKickRequestMessage_ = value; + onChanged(); + } else { + voteKickRequestMessageBuilder_.setMessage(value); } - voteKickRequestMessage_ = value; - bitField1_ |= 0x04000000; return this; } @@ -60243,8 +90882,12 @@ public final class ProtoBuf { */ public Builder setVoteKickRequestMessage( de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder builderForValue) { - voteKickRequestMessage_ = builderForValue.build(); - + if (voteKickRequestMessageBuilder_ == null) { + voteKickRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + voteKickRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x04000000; return this; } @@ -60252,14 +90895,19 @@ public final class ProtoBuf { * optional .VoteKickRequestMessage voteKickRequestMessage = 59; */ public Builder mergeVoteKickRequestMessage(de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage value) { - if (((bitField1_ & 0x04000000) == 0x04000000) && - voteKickRequestMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) { - voteKickRequestMessage_ = - de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder(voteKickRequestMessage_).mergeFrom(value).buildPartial(); + if (voteKickRequestMessageBuilder_ == null) { + if (((bitField1_ & 0x04000000) != 0) && + voteKickRequestMessage_ != null && + voteKickRequestMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance()) { + voteKickRequestMessage_ = + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.newBuilder(voteKickRequestMessage_).mergeFrom(value).buildPartial(); + } else { + voteKickRequestMessage_ = value; + } + onChanged(); } else { - voteKickRequestMessage_ = value; + voteKickRequestMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x04000000; return this; } @@ -60267,35 +90915,85 @@ public final class ProtoBuf { * optional .VoteKickRequestMessage voteKickRequestMessage = 59; */ public Builder clearVoteKickRequestMessage() { - voteKickRequestMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance(); - + if (voteKickRequestMessageBuilder_ == null) { + voteKickRequestMessage_ = null; + onChanged(); + } else { + voteKickRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x04000000); return this; } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder getVoteKickRequestMessageBuilder() { + bitField1_ |= 0x04000000; + onChanged(); + return getVoteKickRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder getVoteKickRequestMessageOrBuilder() { + if (voteKickRequestMessageBuilder_ != null) { + return voteKickRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return voteKickRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.getDefaultInstance() : voteKickRequestMessage_; + } + } + /** + * optional .VoteKickRequestMessage voteKickRequestMessage = 59; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder> + getVoteKickRequestMessageFieldBuilder() { + if (voteKickRequestMessageBuilder_ == null) { + voteKickRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.VoteKickRequestMessageOrBuilder>( + getVoteKickRequestMessage(), + getParentForChildren(), + isClean()); + voteKickRequestMessage_ = null; + } + return voteKickRequestMessageBuilder_; + } - // optional .VoteKickReplyMessage voteKickReplyMessage = 60; - private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage voteKickReplyMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder> voteKickReplyMessageBuilder_; /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + * @return Whether the voteKickReplyMessage field is set. */ public boolean hasVoteKickReplyMessage() { - return ((bitField1_ & 0x08000000) == 0x08000000); + return ((bitField1_ & 0x08000000) != 0); } /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + * @return The voteKickReplyMessage. */ public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage getVoteKickReplyMessage() { - return voteKickReplyMessage_; + if (voteKickReplyMessageBuilder_ == null) { + return voteKickReplyMessage_ == null ? de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance() : voteKickReplyMessage_; + } else { + return voteKickReplyMessageBuilder_.getMessage(); + } } /** * optional .VoteKickReplyMessage voteKickReplyMessage = 60; */ public Builder setVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { - if (value == null) { - throw new NullPointerException(); + if (voteKickReplyMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + voteKickReplyMessage_ = value; + onChanged(); + } else { + voteKickReplyMessageBuilder_.setMessage(value); } - voteKickReplyMessage_ = value; - bitField1_ |= 0x08000000; return this; } @@ -60304,8 +91002,12 @@ public final class ProtoBuf { */ public Builder setVoteKickReplyMessage( de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder builderForValue) { - voteKickReplyMessage_ = builderForValue.build(); - + if (voteKickReplyMessageBuilder_ == null) { + voteKickReplyMessage_ = builderForValue.build(); + onChanged(); + } else { + voteKickReplyMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x08000000; return this; } @@ -60313,14 +91015,19 @@ public final class ProtoBuf { * optional .VoteKickReplyMessage voteKickReplyMessage = 60; */ public Builder mergeVoteKickReplyMessage(de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage value) { - if (((bitField1_ & 0x08000000) == 0x08000000) && - voteKickReplyMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) { - voteKickReplyMessage_ = - de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder(voteKickReplyMessage_).mergeFrom(value).buildPartial(); + if (voteKickReplyMessageBuilder_ == null) { + if (((bitField1_ & 0x08000000) != 0) && + voteKickReplyMessage_ != null && + voteKickReplyMessage_ != de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance()) { + voteKickReplyMessage_ = + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.newBuilder(voteKickReplyMessage_).mergeFrom(value).buildPartial(); + } else { + voteKickReplyMessage_ = value; + } + onChanged(); } else { - voteKickReplyMessage_ = value; + voteKickReplyMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x08000000; return this; } @@ -60328,35 +91035,85 @@ public final class ProtoBuf { * optional .VoteKickReplyMessage voteKickReplyMessage = 60; */ public Builder clearVoteKickReplyMessage() { - voteKickReplyMessage_ = de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance(); - + if (voteKickReplyMessageBuilder_ == null) { + voteKickReplyMessage_ = null; + onChanged(); + } else { + voteKickReplyMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x08000000); return this; } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder getVoteKickReplyMessageBuilder() { + bitField1_ |= 0x08000000; + onChanged(); + return getVoteKickReplyMessageFieldBuilder().getBuilder(); + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ + public de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder getVoteKickReplyMessageOrBuilder() { + if (voteKickReplyMessageBuilder_ != null) { + return voteKickReplyMessageBuilder_.getMessageOrBuilder(); + } else { + return voteKickReplyMessage_ == null ? + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.getDefaultInstance() : voteKickReplyMessage_; + } + } + /** + * optional .VoteKickReplyMessage voteKickReplyMessage = 60; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder> + getVoteKickReplyMessageFieldBuilder() { + if (voteKickReplyMessageBuilder_ == null) { + voteKickReplyMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessage.Builder, de.pokerth.protocol.ProtoBuf.VoteKickReplyMessageOrBuilder>( + getVoteKickReplyMessage(), + getParentForChildren(), + isClean()); + voteKickReplyMessage_ = null; + } + return voteKickReplyMessageBuilder_; + } - // optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; - private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage kickPetitionUpdateMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder> kickPetitionUpdateMessageBuilder_; /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + * @return Whether the kickPetitionUpdateMessage field is set. */ public boolean hasKickPetitionUpdateMessage() { - return ((bitField1_ & 0x10000000) == 0x10000000); + return ((bitField1_ & 0x10000000) != 0); } /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + * @return The kickPetitionUpdateMessage. */ public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage getKickPetitionUpdateMessage() { - return kickPetitionUpdateMessage_; + if (kickPetitionUpdateMessageBuilder_ == null) { + return kickPetitionUpdateMessage_ == null ? de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance() : kickPetitionUpdateMessage_; + } else { + return kickPetitionUpdateMessageBuilder_.getMessage(); + } } /** * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; */ public Builder setKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { - if (value == null) { - throw new NullPointerException(); + if (kickPetitionUpdateMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kickPetitionUpdateMessage_ = value; + onChanged(); + } else { + kickPetitionUpdateMessageBuilder_.setMessage(value); } - kickPetitionUpdateMessage_ = value; - bitField1_ |= 0x10000000; return this; } @@ -60365,8 +91122,12 @@ public final class ProtoBuf { */ public Builder setKickPetitionUpdateMessage( de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder builderForValue) { - kickPetitionUpdateMessage_ = builderForValue.build(); - + if (kickPetitionUpdateMessageBuilder_ == null) { + kickPetitionUpdateMessage_ = builderForValue.build(); + onChanged(); + } else { + kickPetitionUpdateMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x10000000; return this; } @@ -60374,14 +91135,19 @@ public final class ProtoBuf { * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; */ public Builder mergeKickPetitionUpdateMessage(de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage value) { - if (((bitField1_ & 0x10000000) == 0x10000000) && - kickPetitionUpdateMessage_ != de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) { - kickPetitionUpdateMessage_ = - de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder(kickPetitionUpdateMessage_).mergeFrom(value).buildPartial(); + if (kickPetitionUpdateMessageBuilder_ == null) { + if (((bitField1_ & 0x10000000) != 0) && + kickPetitionUpdateMessage_ != null && + kickPetitionUpdateMessage_ != de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance()) { + kickPetitionUpdateMessage_ = + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.newBuilder(kickPetitionUpdateMessage_).mergeFrom(value).buildPartial(); + } else { + kickPetitionUpdateMessage_ = value; + } + onChanged(); } else { - kickPetitionUpdateMessage_ = value; + kickPetitionUpdateMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x10000000; return this; } @@ -60389,35 +91155,85 @@ public final class ProtoBuf { * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; */ public Builder clearKickPetitionUpdateMessage() { - kickPetitionUpdateMessage_ = de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance(); - + if (kickPetitionUpdateMessageBuilder_ == null) { + kickPetitionUpdateMessage_ = null; + onChanged(); + } else { + kickPetitionUpdateMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x10000000); return this; } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder getKickPetitionUpdateMessageBuilder() { + bitField1_ |= 0x10000000; + onChanged(); + return getKickPetitionUpdateMessageFieldBuilder().getBuilder(); + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ + public de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder getKickPetitionUpdateMessageOrBuilder() { + if (kickPetitionUpdateMessageBuilder_ != null) { + return kickPetitionUpdateMessageBuilder_.getMessageOrBuilder(); + } else { + return kickPetitionUpdateMessage_ == null ? + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.getDefaultInstance() : kickPetitionUpdateMessage_; + } + } + /** + * optional .KickPetitionUpdateMessage kickPetitionUpdateMessage = 61; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder> + getKickPetitionUpdateMessageFieldBuilder() { + if (kickPetitionUpdateMessageBuilder_ == null) { + kickPetitionUpdateMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessage.Builder, de.pokerth.protocol.ProtoBuf.KickPetitionUpdateMessageOrBuilder>( + getKickPetitionUpdateMessage(), + getParentForChildren(), + isClean()); + kickPetitionUpdateMessage_ = null; + } + return kickPetitionUpdateMessageBuilder_; + } - // optional .EndKickPetitionMessage endKickPetitionMessage = 62; - private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage endKickPetitionMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder> endKickPetitionMessageBuilder_; /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + * @return Whether the endKickPetitionMessage field is set. */ public boolean hasEndKickPetitionMessage() { - return ((bitField1_ & 0x20000000) == 0x20000000); + return ((bitField1_ & 0x20000000) != 0); } /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + * @return The endKickPetitionMessage. */ public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage getEndKickPetitionMessage() { - return endKickPetitionMessage_; + if (endKickPetitionMessageBuilder_ == null) { + return endKickPetitionMessage_ == null ? de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance() : endKickPetitionMessage_; + } else { + return endKickPetitionMessageBuilder_.getMessage(); + } } /** * optional .EndKickPetitionMessage endKickPetitionMessage = 62; */ public Builder setEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { - if (value == null) { - throw new NullPointerException(); + if (endKickPetitionMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endKickPetitionMessage_ = value; + onChanged(); + } else { + endKickPetitionMessageBuilder_.setMessage(value); } - endKickPetitionMessage_ = value; - bitField1_ |= 0x20000000; return this; } @@ -60426,8 +91242,12 @@ public final class ProtoBuf { */ public Builder setEndKickPetitionMessage( de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder builderForValue) { - endKickPetitionMessage_ = builderForValue.build(); - + if (endKickPetitionMessageBuilder_ == null) { + endKickPetitionMessage_ = builderForValue.build(); + onChanged(); + } else { + endKickPetitionMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x20000000; return this; } @@ -60435,14 +91255,19 @@ public final class ProtoBuf { * optional .EndKickPetitionMessage endKickPetitionMessage = 62; */ public Builder mergeEndKickPetitionMessage(de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage value) { - if (((bitField1_ & 0x20000000) == 0x20000000) && - endKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) { - endKickPetitionMessage_ = - de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder(endKickPetitionMessage_).mergeFrom(value).buildPartial(); + if (endKickPetitionMessageBuilder_ == null) { + if (((bitField1_ & 0x20000000) != 0) && + endKickPetitionMessage_ != null && + endKickPetitionMessage_ != de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance()) { + endKickPetitionMessage_ = + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.newBuilder(endKickPetitionMessage_).mergeFrom(value).buildPartial(); + } else { + endKickPetitionMessage_ = value; + } + onChanged(); } else { - endKickPetitionMessage_ = value; + endKickPetitionMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x20000000; return this; } @@ -60450,35 +91275,85 @@ public final class ProtoBuf { * optional .EndKickPetitionMessage endKickPetitionMessage = 62; */ public Builder clearEndKickPetitionMessage() { - endKickPetitionMessage_ = de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance(); - + if (endKickPetitionMessageBuilder_ == null) { + endKickPetitionMessage_ = null; + onChanged(); + } else { + endKickPetitionMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x20000000); return this; } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder getEndKickPetitionMessageBuilder() { + bitField1_ |= 0x20000000; + onChanged(); + return getEndKickPetitionMessageFieldBuilder().getBuilder(); + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ + public de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder getEndKickPetitionMessageOrBuilder() { + if (endKickPetitionMessageBuilder_ != null) { + return endKickPetitionMessageBuilder_.getMessageOrBuilder(); + } else { + return endKickPetitionMessage_ == null ? + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.getDefaultInstance() : endKickPetitionMessage_; + } + } + /** + * optional .EndKickPetitionMessage endKickPetitionMessage = 62; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder> + getEndKickPetitionMessageFieldBuilder() { + if (endKickPetitionMessageBuilder_ == null) { + endKickPetitionMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessage.Builder, de.pokerth.protocol.ProtoBuf.EndKickPetitionMessageOrBuilder>( + getEndKickPetitionMessage(), + getParentForChildren(), + isClean()); + endKickPetitionMessage_ = null; + } + return endKickPetitionMessageBuilder_; + } - // optional .StatisticsMessage statisticsMessage = 63; - private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.StatisticsMessage statisticsMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StatisticsMessage, de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder, de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder> statisticsMessageBuilder_; /** * optional .StatisticsMessage statisticsMessage = 63; + * @return Whether the statisticsMessage field is set. */ public boolean hasStatisticsMessage() { - return ((bitField1_ & 0x40000000) == 0x40000000); + return ((bitField1_ & 0x40000000) != 0); } /** * optional .StatisticsMessage statisticsMessage = 63; + * @return The statisticsMessage. */ public de.pokerth.protocol.ProtoBuf.StatisticsMessage getStatisticsMessage() { - return statisticsMessage_; + if (statisticsMessageBuilder_ == null) { + return statisticsMessage_ == null ? de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance() : statisticsMessage_; + } else { + return statisticsMessageBuilder_.getMessage(); + } } /** * optional .StatisticsMessage statisticsMessage = 63; */ public Builder setStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { - if (value == null) { - throw new NullPointerException(); + if (statisticsMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + statisticsMessage_ = value; + onChanged(); + } else { + statisticsMessageBuilder_.setMessage(value); } - statisticsMessage_ = value; - bitField1_ |= 0x40000000; return this; } @@ -60487,8 +91362,12 @@ public final class ProtoBuf { */ public Builder setStatisticsMessage( de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder builderForValue) { - statisticsMessage_ = builderForValue.build(); - + if (statisticsMessageBuilder_ == null) { + statisticsMessage_ = builderForValue.build(); + onChanged(); + } else { + statisticsMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x40000000; return this; } @@ -60496,14 +91375,19 @@ public final class ProtoBuf { * optional .StatisticsMessage statisticsMessage = 63; */ public Builder mergeStatisticsMessage(de.pokerth.protocol.ProtoBuf.StatisticsMessage value) { - if (((bitField1_ & 0x40000000) == 0x40000000) && - statisticsMessage_ != de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance()) { - statisticsMessage_ = - de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder(statisticsMessage_).mergeFrom(value).buildPartial(); + if (statisticsMessageBuilder_ == null) { + if (((bitField1_ & 0x40000000) != 0) && + statisticsMessage_ != null && + statisticsMessage_ != de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance()) { + statisticsMessage_ = + de.pokerth.protocol.ProtoBuf.StatisticsMessage.newBuilder(statisticsMessage_).mergeFrom(value).buildPartial(); + } else { + statisticsMessage_ = value; + } + onChanged(); } else { - statisticsMessage_ = value; + statisticsMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x40000000; return this; } @@ -60511,35 +91395,85 @@ public final class ProtoBuf { * optional .StatisticsMessage statisticsMessage = 63; */ public Builder clearStatisticsMessage() { - statisticsMessage_ = de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance(); - + if (statisticsMessageBuilder_ == null) { + statisticsMessage_ = null; + onChanged(); + } else { + statisticsMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x40000000); return this; } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder getStatisticsMessageBuilder() { + bitField1_ |= 0x40000000; + onChanged(); + return getStatisticsMessageFieldBuilder().getBuilder(); + } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ + public de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder getStatisticsMessageOrBuilder() { + if (statisticsMessageBuilder_ != null) { + return statisticsMessageBuilder_.getMessageOrBuilder(); + } else { + return statisticsMessage_ == null ? + de.pokerth.protocol.ProtoBuf.StatisticsMessage.getDefaultInstance() : statisticsMessage_; + } + } + /** + * optional .StatisticsMessage statisticsMessage = 63; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StatisticsMessage, de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder, de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder> + getStatisticsMessageFieldBuilder() { + if (statisticsMessageBuilder_ == null) { + statisticsMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.StatisticsMessage, de.pokerth.protocol.ProtoBuf.StatisticsMessage.Builder, de.pokerth.protocol.ProtoBuf.StatisticsMessageOrBuilder>( + getStatisticsMessage(), + getParentForChildren(), + isClean()); + statisticsMessage_ = null; + } + return statisticsMessageBuilder_; + } - // optional .ChatRequestMessage chatRequestMessage = 64; - private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ChatRequestMessage chatRequestMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatRequestMessage, de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder> chatRequestMessageBuilder_; /** * optional .ChatRequestMessage chatRequestMessage = 64; + * @return Whether the chatRequestMessage field is set. */ public boolean hasChatRequestMessage() { - return ((bitField1_ & 0x80000000) == 0x80000000); + return ((bitField1_ & 0x80000000) != 0); } /** * optional .ChatRequestMessage chatRequestMessage = 64; + * @return The chatRequestMessage. */ public de.pokerth.protocol.ProtoBuf.ChatRequestMessage getChatRequestMessage() { - return chatRequestMessage_; + if (chatRequestMessageBuilder_ == null) { + return chatRequestMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance() : chatRequestMessage_; + } else { + return chatRequestMessageBuilder_.getMessage(); + } } /** * optional .ChatRequestMessage chatRequestMessage = 64; */ public Builder setChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { - if (value == null) { - throw new NullPointerException(); + if (chatRequestMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + chatRequestMessage_ = value; + onChanged(); + } else { + chatRequestMessageBuilder_.setMessage(value); } - chatRequestMessage_ = value; - bitField1_ |= 0x80000000; return this; } @@ -60548,8 +91482,12 @@ public final class ProtoBuf { */ public Builder setChatRequestMessage( de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder builderForValue) { - chatRequestMessage_ = builderForValue.build(); - + if (chatRequestMessageBuilder_ == null) { + chatRequestMessage_ = builderForValue.build(); + onChanged(); + } else { + chatRequestMessageBuilder_.setMessage(builderForValue.build()); + } bitField1_ |= 0x80000000; return this; } @@ -60557,14 +91495,19 @@ public final class ProtoBuf { * optional .ChatRequestMessage chatRequestMessage = 64; */ public Builder mergeChatRequestMessage(de.pokerth.protocol.ProtoBuf.ChatRequestMessage value) { - if (((bitField1_ & 0x80000000) == 0x80000000) && - chatRequestMessage_ != de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) { - chatRequestMessage_ = - de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder(chatRequestMessage_).mergeFrom(value).buildPartial(); + if (chatRequestMessageBuilder_ == null) { + if (((bitField1_ & 0x80000000) != 0) && + chatRequestMessage_ != null && + chatRequestMessage_ != de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance()) { + chatRequestMessage_ = + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.newBuilder(chatRequestMessage_).mergeFrom(value).buildPartial(); + } else { + chatRequestMessage_ = value; + } + onChanged(); } else { - chatRequestMessage_ = value; + chatRequestMessageBuilder_.mergeFrom(value); } - bitField1_ |= 0x80000000; return this; } @@ -60572,35 +91515,85 @@ public final class ProtoBuf { * optional .ChatRequestMessage chatRequestMessage = 64; */ public Builder clearChatRequestMessage() { - chatRequestMessage_ = de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance(); - + if (chatRequestMessageBuilder_ == null) { + chatRequestMessage_ = null; + onChanged(); + } else { + chatRequestMessageBuilder_.clear(); + } bitField1_ = (bitField1_ & ~0x80000000); return this; } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ + public de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder getChatRequestMessageBuilder() { + bitField1_ |= 0x80000000; + onChanged(); + return getChatRequestMessageFieldBuilder().getBuilder(); + } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ + public de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder getChatRequestMessageOrBuilder() { + if (chatRequestMessageBuilder_ != null) { + return chatRequestMessageBuilder_.getMessageOrBuilder(); + } else { + return chatRequestMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ChatRequestMessage.getDefaultInstance() : chatRequestMessage_; + } + } + /** + * optional .ChatRequestMessage chatRequestMessage = 64; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatRequestMessage, de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder> + getChatRequestMessageFieldBuilder() { + if (chatRequestMessageBuilder_ == null) { + chatRequestMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatRequestMessage, de.pokerth.protocol.ProtoBuf.ChatRequestMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatRequestMessageOrBuilder>( + getChatRequestMessage(), + getParentForChildren(), + isClean()); + chatRequestMessage_ = null; + } + return chatRequestMessageBuilder_; + } - // optional .ChatMessage chatMessage = 65; - private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ChatMessage chatMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatMessage, de.pokerth.protocol.ProtoBuf.ChatMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder> chatMessageBuilder_; /** * optional .ChatMessage chatMessage = 65; + * @return Whether the chatMessage field is set. */ public boolean hasChatMessage() { - return ((bitField2_ & 0x00000001) == 0x00000001); + return ((bitField2_ & 0x00000001) != 0); } /** * optional .ChatMessage chatMessage = 65; + * @return The chatMessage. */ public de.pokerth.protocol.ProtoBuf.ChatMessage getChatMessage() { - return chatMessage_; + if (chatMessageBuilder_ == null) { + return chatMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance() : chatMessage_; + } else { + return chatMessageBuilder_.getMessage(); + } } /** * optional .ChatMessage chatMessage = 65; */ public Builder setChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { - if (value == null) { - throw new NullPointerException(); + if (chatMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + chatMessage_ = value; + onChanged(); + } else { + chatMessageBuilder_.setMessage(value); } - chatMessage_ = value; - bitField2_ |= 0x00000001; return this; } @@ -60609,8 +91602,12 @@ public final class ProtoBuf { */ public Builder setChatMessage( de.pokerth.protocol.ProtoBuf.ChatMessage.Builder builderForValue) { - chatMessage_ = builderForValue.build(); - + if (chatMessageBuilder_ == null) { + chatMessage_ = builderForValue.build(); + onChanged(); + } else { + chatMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000001; return this; } @@ -60618,14 +91615,19 @@ public final class ProtoBuf { * optional .ChatMessage chatMessage = 65; */ public Builder mergeChatMessage(de.pokerth.protocol.ProtoBuf.ChatMessage value) { - if (((bitField2_ & 0x00000001) == 0x00000001) && - chatMessage_ != de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) { - chatMessage_ = - de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder(chatMessage_).mergeFrom(value).buildPartial(); + if (chatMessageBuilder_ == null) { + if (((bitField2_ & 0x00000001) != 0) && + chatMessage_ != null && + chatMessage_ != de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance()) { + chatMessage_ = + de.pokerth.protocol.ProtoBuf.ChatMessage.newBuilder(chatMessage_).mergeFrom(value).buildPartial(); + } else { + chatMessage_ = value; + } + onChanged(); } else { - chatMessage_ = value; + chatMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000001; return this; } @@ -60633,35 +91635,85 @@ public final class ProtoBuf { * optional .ChatMessage chatMessage = 65; */ public Builder clearChatMessage() { - chatMessage_ = de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance(); - + if (chatMessageBuilder_ == null) { + chatMessage_ = null; + onChanged(); + } else { + chatMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000001); return this; } + /** + * optional .ChatMessage chatMessage = 65; + */ + public de.pokerth.protocol.ProtoBuf.ChatMessage.Builder getChatMessageBuilder() { + bitField2_ |= 0x00000001; + onChanged(); + return getChatMessageFieldBuilder().getBuilder(); + } + /** + * optional .ChatMessage chatMessage = 65; + */ + public de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder getChatMessageOrBuilder() { + if (chatMessageBuilder_ != null) { + return chatMessageBuilder_.getMessageOrBuilder(); + } else { + return chatMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ChatMessage.getDefaultInstance() : chatMessage_; + } + } + /** + * optional .ChatMessage chatMessage = 65; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatMessage, de.pokerth.protocol.ProtoBuf.ChatMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder> + getChatMessageFieldBuilder() { + if (chatMessageBuilder_ == null) { + chatMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatMessage, de.pokerth.protocol.ProtoBuf.ChatMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatMessageOrBuilder>( + getChatMessage(), + getParentForChildren(), + isClean()); + chatMessage_ = null; + } + return chatMessageBuilder_; + } - // optional .ChatRejectMessage chatRejectMessage = 66; - private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ChatRejectMessage chatRejectMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatRejectMessage, de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder> chatRejectMessageBuilder_; /** * optional .ChatRejectMessage chatRejectMessage = 66; + * @return Whether the chatRejectMessage field is set. */ public boolean hasChatRejectMessage() { - return ((bitField2_ & 0x00000002) == 0x00000002); + return ((bitField2_ & 0x00000002) != 0); } /** * optional .ChatRejectMessage chatRejectMessage = 66; + * @return The chatRejectMessage. */ public de.pokerth.protocol.ProtoBuf.ChatRejectMessage getChatRejectMessage() { - return chatRejectMessage_; + if (chatRejectMessageBuilder_ == null) { + return chatRejectMessage_ == null ? de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance() : chatRejectMessage_; + } else { + return chatRejectMessageBuilder_.getMessage(); + } } /** * optional .ChatRejectMessage chatRejectMessage = 66; */ public Builder setChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { - if (value == null) { - throw new NullPointerException(); + if (chatRejectMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + chatRejectMessage_ = value; + onChanged(); + } else { + chatRejectMessageBuilder_.setMessage(value); } - chatRejectMessage_ = value; - bitField2_ |= 0x00000002; return this; } @@ -60670,8 +91722,12 @@ public final class ProtoBuf { */ public Builder setChatRejectMessage( de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder builderForValue) { - chatRejectMessage_ = builderForValue.build(); - + if (chatRejectMessageBuilder_ == null) { + chatRejectMessage_ = builderForValue.build(); + onChanged(); + } else { + chatRejectMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000002; return this; } @@ -60679,14 +91735,19 @@ public final class ProtoBuf { * optional .ChatRejectMessage chatRejectMessage = 66; */ public Builder mergeChatRejectMessage(de.pokerth.protocol.ProtoBuf.ChatRejectMessage value) { - if (((bitField2_ & 0x00000002) == 0x00000002) && - chatRejectMessage_ != de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) { - chatRejectMessage_ = - de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder(chatRejectMessage_).mergeFrom(value).buildPartial(); + if (chatRejectMessageBuilder_ == null) { + if (((bitField2_ & 0x00000002) != 0) && + chatRejectMessage_ != null && + chatRejectMessage_ != de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance()) { + chatRejectMessage_ = + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.newBuilder(chatRejectMessage_).mergeFrom(value).buildPartial(); + } else { + chatRejectMessage_ = value; + } + onChanged(); } else { - chatRejectMessage_ = value; + chatRejectMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000002; return this; } @@ -60694,35 +91755,85 @@ public final class ProtoBuf { * optional .ChatRejectMessage chatRejectMessage = 66; */ public Builder clearChatRejectMessage() { - chatRejectMessage_ = de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance(); - + if (chatRejectMessageBuilder_ == null) { + chatRejectMessage_ = null; + onChanged(); + } else { + chatRejectMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000002); return this; } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ + public de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder getChatRejectMessageBuilder() { + bitField2_ |= 0x00000002; + onChanged(); + return getChatRejectMessageFieldBuilder().getBuilder(); + } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ + public de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder getChatRejectMessageOrBuilder() { + if (chatRejectMessageBuilder_ != null) { + return chatRejectMessageBuilder_.getMessageOrBuilder(); + } else { + return chatRejectMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ChatRejectMessage.getDefaultInstance() : chatRejectMessage_; + } + } + /** + * optional .ChatRejectMessage chatRejectMessage = 66; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatRejectMessage, de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder> + getChatRejectMessageFieldBuilder() { + if (chatRejectMessageBuilder_ == null) { + chatRejectMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ChatRejectMessage, de.pokerth.protocol.ProtoBuf.ChatRejectMessage.Builder, de.pokerth.protocol.ProtoBuf.ChatRejectMessageOrBuilder>( + getChatRejectMessage(), + getParentForChildren(), + isClean()); + chatRejectMessage_ = null; + } + return chatRejectMessageBuilder_; + } - // optional .DialogMessage dialogMessage = 67; - private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.DialogMessage dialogMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DialogMessage, de.pokerth.protocol.ProtoBuf.DialogMessage.Builder, de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder> dialogMessageBuilder_; /** * optional .DialogMessage dialogMessage = 67; + * @return Whether the dialogMessage field is set. */ public boolean hasDialogMessage() { - return ((bitField2_ & 0x00000004) == 0x00000004); + return ((bitField2_ & 0x00000004) != 0); } /** * optional .DialogMessage dialogMessage = 67; + * @return The dialogMessage. */ public de.pokerth.protocol.ProtoBuf.DialogMessage getDialogMessage() { - return dialogMessage_; + if (dialogMessageBuilder_ == null) { + return dialogMessage_ == null ? de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance() : dialogMessage_; + } else { + return dialogMessageBuilder_.getMessage(); + } } /** * optional .DialogMessage dialogMessage = 67; */ public Builder setDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { - if (value == null) { - throw new NullPointerException(); + if (dialogMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + dialogMessage_ = value; + onChanged(); + } else { + dialogMessageBuilder_.setMessage(value); } - dialogMessage_ = value; - bitField2_ |= 0x00000004; return this; } @@ -60731,8 +91842,12 @@ public final class ProtoBuf { */ public Builder setDialogMessage( de.pokerth.protocol.ProtoBuf.DialogMessage.Builder builderForValue) { - dialogMessage_ = builderForValue.build(); - + if (dialogMessageBuilder_ == null) { + dialogMessage_ = builderForValue.build(); + onChanged(); + } else { + dialogMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000004; return this; } @@ -60740,14 +91855,19 @@ public final class ProtoBuf { * optional .DialogMessage dialogMessage = 67; */ public Builder mergeDialogMessage(de.pokerth.protocol.ProtoBuf.DialogMessage value) { - if (((bitField2_ & 0x00000004) == 0x00000004) && - dialogMessage_ != de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance()) { - dialogMessage_ = - de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder(dialogMessage_).mergeFrom(value).buildPartial(); + if (dialogMessageBuilder_ == null) { + if (((bitField2_ & 0x00000004) != 0) && + dialogMessage_ != null && + dialogMessage_ != de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance()) { + dialogMessage_ = + de.pokerth.protocol.ProtoBuf.DialogMessage.newBuilder(dialogMessage_).mergeFrom(value).buildPartial(); + } else { + dialogMessage_ = value; + } + onChanged(); } else { - dialogMessage_ = value; + dialogMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000004; return this; } @@ -60755,35 +91875,85 @@ public final class ProtoBuf { * optional .DialogMessage dialogMessage = 67; */ public Builder clearDialogMessage() { - dialogMessage_ = de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance(); - + if (dialogMessageBuilder_ == null) { + dialogMessage_ = null; + onChanged(); + } else { + dialogMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000004); return this; } + /** + * optional .DialogMessage dialogMessage = 67; + */ + public de.pokerth.protocol.ProtoBuf.DialogMessage.Builder getDialogMessageBuilder() { + bitField2_ |= 0x00000004; + onChanged(); + return getDialogMessageFieldBuilder().getBuilder(); + } + /** + * optional .DialogMessage dialogMessage = 67; + */ + public de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder getDialogMessageOrBuilder() { + if (dialogMessageBuilder_ != null) { + return dialogMessageBuilder_.getMessageOrBuilder(); + } else { + return dialogMessage_ == null ? + de.pokerth.protocol.ProtoBuf.DialogMessage.getDefaultInstance() : dialogMessage_; + } + } + /** + * optional .DialogMessage dialogMessage = 67; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DialogMessage, de.pokerth.protocol.ProtoBuf.DialogMessage.Builder, de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder> + getDialogMessageFieldBuilder() { + if (dialogMessageBuilder_ == null) { + dialogMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.DialogMessage, de.pokerth.protocol.ProtoBuf.DialogMessage.Builder, de.pokerth.protocol.ProtoBuf.DialogMessageOrBuilder>( + getDialogMessage(), + getParentForChildren(), + isClean()); + dialogMessage_ = null; + } + return dialogMessageBuilder_; + } - // optional .TimeoutWarningMessage timeoutWarningMessage = 68; - private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage timeoutWarningMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder> timeoutWarningMessageBuilder_; /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + * @return Whether the timeoutWarningMessage field is set. */ public boolean hasTimeoutWarningMessage() { - return ((bitField2_ & 0x00000008) == 0x00000008); + return ((bitField2_ & 0x00000008) != 0); } /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + * @return The timeoutWarningMessage. */ public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage getTimeoutWarningMessage() { - return timeoutWarningMessage_; + if (timeoutWarningMessageBuilder_ == null) { + return timeoutWarningMessage_ == null ? de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance() : timeoutWarningMessage_; + } else { + return timeoutWarningMessageBuilder_.getMessage(); + } } /** * optional .TimeoutWarningMessage timeoutWarningMessage = 68; */ public Builder setTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { - if (value == null) { - throw new NullPointerException(); + if (timeoutWarningMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timeoutWarningMessage_ = value; + onChanged(); + } else { + timeoutWarningMessageBuilder_.setMessage(value); } - timeoutWarningMessage_ = value; - bitField2_ |= 0x00000008; return this; } @@ -60792,8 +91962,12 @@ public final class ProtoBuf { */ public Builder setTimeoutWarningMessage( de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder builderForValue) { - timeoutWarningMessage_ = builderForValue.build(); - + if (timeoutWarningMessageBuilder_ == null) { + timeoutWarningMessage_ = builderForValue.build(); + onChanged(); + } else { + timeoutWarningMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000008; return this; } @@ -60801,14 +91975,19 @@ public final class ProtoBuf { * optional .TimeoutWarningMessage timeoutWarningMessage = 68; */ public Builder mergeTimeoutWarningMessage(de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage value) { - if (((bitField2_ & 0x00000008) == 0x00000008) && - timeoutWarningMessage_ != de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) { - timeoutWarningMessage_ = - de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder(timeoutWarningMessage_).mergeFrom(value).buildPartial(); + if (timeoutWarningMessageBuilder_ == null) { + if (((bitField2_ & 0x00000008) != 0) && + timeoutWarningMessage_ != null && + timeoutWarningMessage_ != de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance()) { + timeoutWarningMessage_ = + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.newBuilder(timeoutWarningMessage_).mergeFrom(value).buildPartial(); + } else { + timeoutWarningMessage_ = value; + } + onChanged(); } else { - timeoutWarningMessage_ = value; + timeoutWarningMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000008; return this; } @@ -60816,35 +91995,85 @@ public final class ProtoBuf { * optional .TimeoutWarningMessage timeoutWarningMessage = 68; */ public Builder clearTimeoutWarningMessage() { - timeoutWarningMessage_ = de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance(); - + if (timeoutWarningMessageBuilder_ == null) { + timeoutWarningMessage_ = null; + onChanged(); + } else { + timeoutWarningMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000008); return this; } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder getTimeoutWarningMessageBuilder() { + bitField2_ |= 0x00000008; + onChanged(); + return getTimeoutWarningMessageFieldBuilder().getBuilder(); + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ + public de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder getTimeoutWarningMessageOrBuilder() { + if (timeoutWarningMessageBuilder_ != null) { + return timeoutWarningMessageBuilder_.getMessageOrBuilder(); + } else { + return timeoutWarningMessage_ == null ? + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.getDefaultInstance() : timeoutWarningMessage_; + } + } + /** + * optional .TimeoutWarningMessage timeoutWarningMessage = 68; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder> + getTimeoutWarningMessageFieldBuilder() { + if (timeoutWarningMessageBuilder_ == null) { + timeoutWarningMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessage.Builder, de.pokerth.protocol.ProtoBuf.TimeoutWarningMessageOrBuilder>( + getTimeoutWarningMessage(), + getParentForChildren(), + isClean()); + timeoutWarningMessage_ = null; + } + return timeoutWarningMessageBuilder_; + } - // optional .ResetTimeoutMessage resetTimeoutMessage = 69; - private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage resetTimeoutMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder> resetTimeoutMessageBuilder_; /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + * @return Whether the resetTimeoutMessage field is set. */ public boolean hasResetTimeoutMessage() { - return ((bitField2_ & 0x00000010) == 0x00000010); + return ((bitField2_ & 0x00000010) != 0); } /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + * @return The resetTimeoutMessage. */ public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage getResetTimeoutMessage() { - return resetTimeoutMessage_; + if (resetTimeoutMessageBuilder_ == null) { + return resetTimeoutMessage_ == null ? de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance() : resetTimeoutMessage_; + } else { + return resetTimeoutMessageBuilder_.getMessage(); + } } /** * optional .ResetTimeoutMessage resetTimeoutMessage = 69; */ public Builder setResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { - if (value == null) { - throw new NullPointerException(); + if (resetTimeoutMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resetTimeoutMessage_ = value; + onChanged(); + } else { + resetTimeoutMessageBuilder_.setMessage(value); } - resetTimeoutMessage_ = value; - bitField2_ |= 0x00000010; return this; } @@ -60853,8 +92082,12 @@ public final class ProtoBuf { */ public Builder setResetTimeoutMessage( de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder builderForValue) { - resetTimeoutMessage_ = builderForValue.build(); - + if (resetTimeoutMessageBuilder_ == null) { + resetTimeoutMessage_ = builderForValue.build(); + onChanged(); + } else { + resetTimeoutMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000010; return this; } @@ -60862,14 +92095,19 @@ public final class ProtoBuf { * optional .ResetTimeoutMessage resetTimeoutMessage = 69; */ public Builder mergeResetTimeoutMessage(de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage value) { - if (((bitField2_ & 0x00000010) == 0x00000010) && - resetTimeoutMessage_ != de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) { - resetTimeoutMessage_ = - de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder(resetTimeoutMessage_).mergeFrom(value).buildPartial(); + if (resetTimeoutMessageBuilder_ == null) { + if (((bitField2_ & 0x00000010) != 0) && + resetTimeoutMessage_ != null && + resetTimeoutMessage_ != de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance()) { + resetTimeoutMessage_ = + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.newBuilder(resetTimeoutMessage_).mergeFrom(value).buildPartial(); + } else { + resetTimeoutMessage_ = value; + } + onChanged(); } else { - resetTimeoutMessage_ = value; + resetTimeoutMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000010; return this; } @@ -60877,35 +92115,85 @@ public final class ProtoBuf { * optional .ResetTimeoutMessage resetTimeoutMessage = 69; */ public Builder clearResetTimeoutMessage() { - resetTimeoutMessage_ = de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance(); - + if (resetTimeoutMessageBuilder_ == null) { + resetTimeoutMessage_ = null; + onChanged(); + } else { + resetTimeoutMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000010); return this; } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder getResetTimeoutMessageBuilder() { + bitField2_ |= 0x00000010; + onChanged(); + return getResetTimeoutMessageFieldBuilder().getBuilder(); + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ + public de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder getResetTimeoutMessageOrBuilder() { + if (resetTimeoutMessageBuilder_ != null) { + return resetTimeoutMessageBuilder_.getMessageOrBuilder(); + } else { + return resetTimeoutMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.getDefaultInstance() : resetTimeoutMessage_; + } + } + /** + * optional .ResetTimeoutMessage resetTimeoutMessage = 69; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder> + getResetTimeoutMessageFieldBuilder() { + if (resetTimeoutMessageBuilder_ == null) { + resetTimeoutMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessage.Builder, de.pokerth.protocol.ProtoBuf.ResetTimeoutMessageOrBuilder>( + getResetTimeoutMessage(), + getParentForChildren(), + isClean()); + resetTimeoutMessage_ = null; + } + return resetTimeoutMessageBuilder_; + } - // optional .ReportAvatarMessage reportAvatarMessage = 70; - private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ReportAvatarMessage reportAvatarMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder> reportAvatarMessageBuilder_; /** * optional .ReportAvatarMessage reportAvatarMessage = 70; + * @return Whether the reportAvatarMessage field is set. */ public boolean hasReportAvatarMessage() { - return ((bitField2_ & 0x00000020) == 0x00000020); + return ((bitField2_ & 0x00000020) != 0); } /** * optional .ReportAvatarMessage reportAvatarMessage = 70; + * @return The reportAvatarMessage. */ public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage getReportAvatarMessage() { - return reportAvatarMessage_; + if (reportAvatarMessageBuilder_ == null) { + return reportAvatarMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance() : reportAvatarMessage_; + } else { + return reportAvatarMessageBuilder_.getMessage(); + } } /** * optional .ReportAvatarMessage reportAvatarMessage = 70; */ public Builder setReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { - if (value == null) { - throw new NullPointerException(); + if (reportAvatarMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reportAvatarMessage_ = value; + onChanged(); + } else { + reportAvatarMessageBuilder_.setMessage(value); } - reportAvatarMessage_ = value; - bitField2_ |= 0x00000020; return this; } @@ -60914,8 +92202,12 @@ public final class ProtoBuf { */ public Builder setReportAvatarMessage( de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder builderForValue) { - reportAvatarMessage_ = builderForValue.build(); - + if (reportAvatarMessageBuilder_ == null) { + reportAvatarMessage_ = builderForValue.build(); + onChanged(); + } else { + reportAvatarMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000020; return this; } @@ -60923,14 +92215,19 @@ public final class ProtoBuf { * optional .ReportAvatarMessage reportAvatarMessage = 70; */ public Builder mergeReportAvatarMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarMessage value) { - if (((bitField2_ & 0x00000020) == 0x00000020) && - reportAvatarMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) { - reportAvatarMessage_ = - de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder(reportAvatarMessage_).mergeFrom(value).buildPartial(); + if (reportAvatarMessageBuilder_ == null) { + if (((bitField2_ & 0x00000020) != 0) && + reportAvatarMessage_ != null && + reportAvatarMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance()) { + reportAvatarMessage_ = + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.newBuilder(reportAvatarMessage_).mergeFrom(value).buildPartial(); + } else { + reportAvatarMessage_ = value; + } + onChanged(); } else { - reportAvatarMessage_ = value; + reportAvatarMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000020; return this; } @@ -60938,35 +92235,85 @@ public final class ProtoBuf { * optional .ReportAvatarMessage reportAvatarMessage = 70; */ public Builder clearReportAvatarMessage() { - reportAvatarMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance(); - + if (reportAvatarMessageBuilder_ == null) { + reportAvatarMessage_ = null; + onChanged(); + } else { + reportAvatarMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000020); return this; } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder getReportAvatarMessageBuilder() { + bitField2_ |= 0x00000020; + onChanged(); + return getReportAvatarMessageFieldBuilder().getBuilder(); + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder getReportAvatarMessageOrBuilder() { + if (reportAvatarMessageBuilder_ != null) { + return reportAvatarMessageBuilder_.getMessageOrBuilder(); + } else { + return reportAvatarMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.getDefaultInstance() : reportAvatarMessage_; + } + } + /** + * optional .ReportAvatarMessage reportAvatarMessage = 70; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder> + getReportAvatarMessageFieldBuilder() { + if (reportAvatarMessageBuilder_ == null) { + reportAvatarMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportAvatarMessage, de.pokerth.protocol.ProtoBuf.ReportAvatarMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportAvatarMessageOrBuilder>( + getReportAvatarMessage(), + getParentForChildren(), + isClean()); + reportAvatarMessage_ = null; + } + return reportAvatarMessageBuilder_; + } - // optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; - private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage reportAvatarAckMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder> reportAvatarAckMessageBuilder_; /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + * @return Whether the reportAvatarAckMessage field is set. */ public boolean hasReportAvatarAckMessage() { - return ((bitField2_ & 0x00000040) == 0x00000040); + return ((bitField2_ & 0x00000040) != 0); } /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + * @return The reportAvatarAckMessage. */ public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage getReportAvatarAckMessage() { - return reportAvatarAckMessage_; + if (reportAvatarAckMessageBuilder_ == null) { + return reportAvatarAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance() : reportAvatarAckMessage_; + } else { + return reportAvatarAckMessageBuilder_.getMessage(); + } } /** * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; */ public Builder setReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { - if (value == null) { - throw new NullPointerException(); + if (reportAvatarAckMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reportAvatarAckMessage_ = value; + onChanged(); + } else { + reportAvatarAckMessageBuilder_.setMessage(value); } - reportAvatarAckMessage_ = value; - bitField2_ |= 0x00000040; return this; } @@ -60975,8 +92322,12 @@ public final class ProtoBuf { */ public Builder setReportAvatarAckMessage( de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder builderForValue) { - reportAvatarAckMessage_ = builderForValue.build(); - + if (reportAvatarAckMessageBuilder_ == null) { + reportAvatarAckMessage_ = builderForValue.build(); + onChanged(); + } else { + reportAvatarAckMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000040; return this; } @@ -60984,14 +92335,19 @@ public final class ProtoBuf { * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; */ public Builder mergeReportAvatarAckMessage(de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage value) { - if (((bitField2_ & 0x00000040) == 0x00000040) && - reportAvatarAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) { - reportAvatarAckMessage_ = - de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder(reportAvatarAckMessage_).mergeFrom(value).buildPartial(); + if (reportAvatarAckMessageBuilder_ == null) { + if (((bitField2_ & 0x00000040) != 0) && + reportAvatarAckMessage_ != null && + reportAvatarAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance()) { + reportAvatarAckMessage_ = + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.newBuilder(reportAvatarAckMessage_).mergeFrom(value).buildPartial(); + } else { + reportAvatarAckMessage_ = value; + } + onChanged(); } else { - reportAvatarAckMessage_ = value; + reportAvatarAckMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000040; return this; } @@ -60999,35 +92355,85 @@ public final class ProtoBuf { * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; */ public Builder clearReportAvatarAckMessage() { - reportAvatarAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance(); - + if (reportAvatarAckMessageBuilder_ == null) { + reportAvatarAckMessage_ = null; + onChanged(); + } else { + reportAvatarAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000040); return this; } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder getReportAvatarAckMessageBuilder() { + bitField2_ |= 0x00000040; + onChanged(); + return getReportAvatarAckMessageFieldBuilder().getBuilder(); + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ + public de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder getReportAvatarAckMessageOrBuilder() { + if (reportAvatarAckMessageBuilder_ != null) { + return reportAvatarAckMessageBuilder_.getMessageOrBuilder(); + } else { + return reportAvatarAckMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.getDefaultInstance() : reportAvatarAckMessage_; + } + } + /** + * optional .ReportAvatarAckMessage reportAvatarAckMessage = 71; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder> + getReportAvatarAckMessageFieldBuilder() { + if (reportAvatarAckMessageBuilder_ == null) { + reportAvatarAckMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportAvatarAckMessageOrBuilder>( + getReportAvatarAckMessage(), + getParentForChildren(), + isClean()); + reportAvatarAckMessage_ = null; + } + return reportAvatarAckMessageBuilder_; + } - // optional .ReportGameMessage reportGameMessage = 72; - private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ReportGameMessage reportGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportGameMessage, de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder> reportGameMessageBuilder_; /** * optional .ReportGameMessage reportGameMessage = 72; + * @return Whether the reportGameMessage field is set. */ public boolean hasReportGameMessage() { - return ((bitField2_ & 0x00000080) == 0x00000080); + return ((bitField2_ & 0x00000080) != 0); } /** * optional .ReportGameMessage reportGameMessage = 72; + * @return The reportGameMessage. */ public de.pokerth.protocol.ProtoBuf.ReportGameMessage getReportGameMessage() { - return reportGameMessage_; + if (reportGameMessageBuilder_ == null) { + return reportGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance() : reportGameMessage_; + } else { + return reportGameMessageBuilder_.getMessage(); + } } /** * optional .ReportGameMessage reportGameMessage = 72; */ public Builder setReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (reportGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reportGameMessage_ = value; + onChanged(); + } else { + reportGameMessageBuilder_.setMessage(value); } - reportGameMessage_ = value; - bitField2_ |= 0x00000080; return this; } @@ -61036,8 +92442,12 @@ public final class ProtoBuf { */ public Builder setReportGameMessage( de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder builderForValue) { - reportGameMessage_ = builderForValue.build(); - + if (reportGameMessageBuilder_ == null) { + reportGameMessage_ = builderForValue.build(); + onChanged(); + } else { + reportGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000080; return this; } @@ -61045,14 +92455,19 @@ public final class ProtoBuf { * optional .ReportGameMessage reportGameMessage = 72; */ public Builder mergeReportGameMessage(de.pokerth.protocol.ProtoBuf.ReportGameMessage value) { - if (((bitField2_ & 0x00000080) == 0x00000080) && - reportGameMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance()) { - reportGameMessage_ = - de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder(reportGameMessage_).mergeFrom(value).buildPartial(); + if (reportGameMessageBuilder_ == null) { + if (((bitField2_ & 0x00000080) != 0) && + reportGameMessage_ != null && + reportGameMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance()) { + reportGameMessage_ = + de.pokerth.protocol.ProtoBuf.ReportGameMessage.newBuilder(reportGameMessage_).mergeFrom(value).buildPartial(); + } else { + reportGameMessage_ = value; + } + onChanged(); } else { - reportGameMessage_ = value; + reportGameMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000080; return this; } @@ -61060,35 +92475,85 @@ public final class ProtoBuf { * optional .ReportGameMessage reportGameMessage = 72; */ public Builder clearReportGameMessage() { - reportGameMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance(); - + if (reportGameMessageBuilder_ == null) { + reportGameMessage_ = null; + onChanged(); + } else { + reportGameMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000080); return this; } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder getReportGameMessageBuilder() { + bitField2_ |= 0x00000080; + onChanged(); + return getReportGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder getReportGameMessageOrBuilder() { + if (reportGameMessageBuilder_ != null) { + return reportGameMessageBuilder_.getMessageOrBuilder(); + } else { + return reportGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ReportGameMessage.getDefaultInstance() : reportGameMessage_; + } + } + /** + * optional .ReportGameMessage reportGameMessage = 72; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportGameMessage, de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder> + getReportGameMessageFieldBuilder() { + if (reportGameMessageBuilder_ == null) { + reportGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportGameMessage, de.pokerth.protocol.ProtoBuf.ReportGameMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportGameMessageOrBuilder>( + getReportGameMessage(), + getParentForChildren(), + isClean()); + reportGameMessage_ = null; + } + return reportGameMessageBuilder_; + } - // optional .ReportGameAckMessage reportGameAckMessage = 73; - private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ReportGameAckMessage reportGameAckMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder> reportGameAckMessageBuilder_; /** * optional .ReportGameAckMessage reportGameAckMessage = 73; + * @return Whether the reportGameAckMessage field is set. */ public boolean hasReportGameAckMessage() { - return ((bitField2_ & 0x00000100) == 0x00000100); + return ((bitField2_ & 0x00000100) != 0); } /** * optional .ReportGameAckMessage reportGameAckMessage = 73; + * @return The reportGameAckMessage. */ public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage getReportGameAckMessage() { - return reportGameAckMessage_; + if (reportGameAckMessageBuilder_ == null) { + return reportGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance() : reportGameAckMessage_; + } else { + return reportGameAckMessageBuilder_.getMessage(); + } } /** * optional .ReportGameAckMessage reportGameAckMessage = 73; */ public Builder setReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { - if (value == null) { - throw new NullPointerException(); + if (reportGameAckMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + reportGameAckMessage_ = value; + onChanged(); + } else { + reportGameAckMessageBuilder_.setMessage(value); } - reportGameAckMessage_ = value; - bitField2_ |= 0x00000100; return this; } @@ -61097,8 +92562,12 @@ public final class ProtoBuf { */ public Builder setReportGameAckMessage( de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder builderForValue) { - reportGameAckMessage_ = builderForValue.build(); - + if (reportGameAckMessageBuilder_ == null) { + reportGameAckMessage_ = builderForValue.build(); + onChanged(); + } else { + reportGameAckMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000100; return this; } @@ -61106,14 +92575,19 @@ public final class ProtoBuf { * optional .ReportGameAckMessage reportGameAckMessage = 73; */ public Builder mergeReportGameAckMessage(de.pokerth.protocol.ProtoBuf.ReportGameAckMessage value) { - if (((bitField2_ & 0x00000100) == 0x00000100) && - reportGameAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) { - reportGameAckMessage_ = - de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder(reportGameAckMessage_).mergeFrom(value).buildPartial(); + if (reportGameAckMessageBuilder_ == null) { + if (((bitField2_ & 0x00000100) != 0) && + reportGameAckMessage_ != null && + reportGameAckMessage_ != de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance()) { + reportGameAckMessage_ = + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.newBuilder(reportGameAckMessage_).mergeFrom(value).buildPartial(); + } else { + reportGameAckMessage_ = value; + } + onChanged(); } else { - reportGameAckMessage_ = value; + reportGameAckMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000100; return this; } @@ -61121,35 +92595,85 @@ public final class ProtoBuf { * optional .ReportGameAckMessage reportGameAckMessage = 73; */ public Builder clearReportGameAckMessage() { - reportGameAckMessage_ = de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance(); - + if (reportGameAckMessageBuilder_ == null) { + reportGameAckMessage_ = null; + onChanged(); + } else { + reportGameAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000100); return this; } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder getReportGameAckMessageBuilder() { + bitField2_ |= 0x00000100; + onChanged(); + return getReportGameAckMessageFieldBuilder().getBuilder(); + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ + public de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder getReportGameAckMessageOrBuilder() { + if (reportGameAckMessageBuilder_ != null) { + return reportGameAckMessageBuilder_.getMessageOrBuilder(); + } else { + return reportGameAckMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.getDefaultInstance() : reportGameAckMessage_; + } + } + /** + * optional .ReportGameAckMessage reportGameAckMessage = 73; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder> + getReportGameAckMessageFieldBuilder() { + if (reportGameAckMessageBuilder_ == null) { + reportGameAckMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ReportGameAckMessage, de.pokerth.protocol.ProtoBuf.ReportGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.ReportGameAckMessageOrBuilder>( + getReportGameAckMessage(), + getParentForChildren(), + isClean()); + reportGameAckMessage_ = null; + } + return reportGameAckMessageBuilder_; + } - // optional .ErrorMessage errorMessage = 74; - private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.ErrorMessage errorMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ErrorMessage, de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder, de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder> errorMessageBuilder_; /** * optional .ErrorMessage errorMessage = 74; + * @return Whether the errorMessage field is set. */ public boolean hasErrorMessage() { - return ((bitField2_ & 0x00000200) == 0x00000200); + return ((bitField2_ & 0x00000200) != 0); } /** * optional .ErrorMessage errorMessage = 74; + * @return The errorMessage. */ public de.pokerth.protocol.ProtoBuf.ErrorMessage getErrorMessage() { - return errorMessage_; + if (errorMessageBuilder_ == null) { + return errorMessage_ == null ? de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance() : errorMessage_; + } else { + return errorMessageBuilder_.getMessage(); + } } /** * optional .ErrorMessage errorMessage = 74; */ public Builder setErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { - if (value == null) { - throw new NullPointerException(); + if (errorMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + errorMessage_ = value; + onChanged(); + } else { + errorMessageBuilder_.setMessage(value); } - errorMessage_ = value; - bitField2_ |= 0x00000200; return this; } @@ -61158,8 +92682,12 @@ public final class ProtoBuf { */ public Builder setErrorMessage( de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder builderForValue) { - errorMessage_ = builderForValue.build(); - + if (errorMessageBuilder_ == null) { + errorMessage_ = builderForValue.build(); + onChanged(); + } else { + errorMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000200; return this; } @@ -61167,14 +92695,19 @@ public final class ProtoBuf { * optional .ErrorMessage errorMessage = 74; */ public Builder mergeErrorMessage(de.pokerth.protocol.ProtoBuf.ErrorMessage value) { - if (((bitField2_ & 0x00000200) == 0x00000200) && - errorMessage_ != de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) { - errorMessage_ = - de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); + if (errorMessageBuilder_ == null) { + if (((bitField2_ & 0x00000200) != 0) && + errorMessage_ != null && + errorMessage_ != de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance()) { + errorMessage_ = + de.pokerth.protocol.ProtoBuf.ErrorMessage.newBuilder(errorMessage_).mergeFrom(value).buildPartial(); + } else { + errorMessage_ = value; + } + onChanged(); } else { - errorMessage_ = value; + errorMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000200; return this; } @@ -61182,35 +92715,85 @@ public final class ProtoBuf { * optional .ErrorMessage errorMessage = 74; */ public Builder clearErrorMessage() { - errorMessage_ = de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance(); - + if (errorMessageBuilder_ == null) { + errorMessage_ = null; + onChanged(); + } else { + errorMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000200); return this; } + /** + * optional .ErrorMessage errorMessage = 74; + */ + public de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder getErrorMessageBuilder() { + bitField2_ |= 0x00000200; + onChanged(); + return getErrorMessageFieldBuilder().getBuilder(); + } + /** + * optional .ErrorMessage errorMessage = 74; + */ + public de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder getErrorMessageOrBuilder() { + if (errorMessageBuilder_ != null) { + return errorMessageBuilder_.getMessageOrBuilder(); + } else { + return errorMessage_ == null ? + de.pokerth.protocol.ProtoBuf.ErrorMessage.getDefaultInstance() : errorMessage_; + } + } + /** + * optional .ErrorMessage errorMessage = 74; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ErrorMessage, de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder, de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder> + getErrorMessageFieldBuilder() { + if (errorMessageBuilder_ == null) { + errorMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.ErrorMessage, de.pokerth.protocol.ProtoBuf.ErrorMessage.Builder, de.pokerth.protocol.ProtoBuf.ErrorMessageOrBuilder>( + getErrorMessage(), + getParentForChildren(), + isClean()); + errorMessage_ = null; + } + return errorMessageBuilder_; + } - // optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage adminRemoveGameMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder> adminRemoveGameMessageBuilder_; /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + * @return Whether the adminRemoveGameMessage field is set. */ public boolean hasAdminRemoveGameMessage() { - return ((bitField2_ & 0x00000400) == 0x00000400); + return ((bitField2_ & 0x00000400) != 0); } /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + * @return The adminRemoveGameMessage. */ public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage getAdminRemoveGameMessage() { - return adminRemoveGameMessage_; + if (adminRemoveGameMessageBuilder_ == null) { + return adminRemoveGameMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance() : adminRemoveGameMessage_; + } else { + return adminRemoveGameMessageBuilder_.getMessage(); + } } /** * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; */ public Builder setAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { - if (value == null) { - throw new NullPointerException(); + if (adminRemoveGameMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + adminRemoveGameMessage_ = value; + onChanged(); + } else { + adminRemoveGameMessageBuilder_.setMessage(value); } - adminRemoveGameMessage_ = value; - bitField2_ |= 0x00000400; return this; } @@ -61219,8 +92802,12 @@ public final class ProtoBuf { */ public Builder setAdminRemoveGameMessage( de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder builderForValue) { - adminRemoveGameMessage_ = builderForValue.build(); - + if (adminRemoveGameMessageBuilder_ == null) { + adminRemoveGameMessage_ = builderForValue.build(); + onChanged(); + } else { + adminRemoveGameMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000400; return this; } @@ -61228,14 +92815,19 @@ public final class ProtoBuf { * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; */ public Builder mergeAdminRemoveGameMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage value) { - if (((bitField2_ & 0x00000400) == 0x00000400) && - adminRemoveGameMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance()) { - adminRemoveGameMessage_ = - de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder(adminRemoveGameMessage_).mergeFrom(value).buildPartial(); + if (adminRemoveGameMessageBuilder_ == null) { + if (((bitField2_ & 0x00000400) != 0) && + adminRemoveGameMessage_ != null && + adminRemoveGameMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance()) { + adminRemoveGameMessage_ = + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.newBuilder(adminRemoveGameMessage_).mergeFrom(value).buildPartial(); + } else { + adminRemoveGameMessage_ = value; + } + onChanged(); } else { - adminRemoveGameMessage_ = value; + adminRemoveGameMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000400; return this; } @@ -61243,35 +92835,85 @@ public final class ProtoBuf { * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; */ public Builder clearAdminRemoveGameMessage() { - adminRemoveGameMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance(); - + if (adminRemoveGameMessageBuilder_ == null) { + adminRemoveGameMessage_ = null; + onChanged(); + } else { + adminRemoveGameMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000400); return this; } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder getAdminRemoveGameMessageBuilder() { + bitField2_ |= 0x00000400; + onChanged(); + return getAdminRemoveGameMessageFieldBuilder().getBuilder(); + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder getAdminRemoveGameMessageOrBuilder() { + if (adminRemoveGameMessageBuilder_ != null) { + return adminRemoveGameMessageBuilder_.getMessageOrBuilder(); + } else { + return adminRemoveGameMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.getDefaultInstance() : adminRemoveGameMessage_; + } + } + /** + * optional .AdminRemoveGameMessage adminRemoveGameMessage = 75; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder> + getAdminRemoveGameMessageFieldBuilder() { + if (adminRemoveGameMessageBuilder_ == null) { + adminRemoveGameMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminRemoveGameMessageOrBuilder>( + getAdminRemoveGameMessage(), + getParentForChildren(), + isClean()); + adminRemoveGameMessage_ = null; + } + return adminRemoveGameMessageBuilder_; + } - // optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; - private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage adminRemoveGameAckMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder> adminRemoveGameAckMessageBuilder_; /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + * @return Whether the adminRemoveGameAckMessage field is set. */ public boolean hasAdminRemoveGameAckMessage() { - return ((bitField2_ & 0x00000800) == 0x00000800); + return ((bitField2_ & 0x00000800) != 0); } /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + * @return The adminRemoveGameAckMessage. */ public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage getAdminRemoveGameAckMessage() { - return adminRemoveGameAckMessage_; + if (adminRemoveGameAckMessageBuilder_ == null) { + return adminRemoveGameAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance() : adminRemoveGameAckMessage_; + } else { + return adminRemoveGameAckMessageBuilder_.getMessage(); + } } /** * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; */ public Builder setAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { - if (value == null) { - throw new NullPointerException(); + if (adminRemoveGameAckMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + adminRemoveGameAckMessage_ = value; + onChanged(); + } else { + adminRemoveGameAckMessageBuilder_.setMessage(value); } - adminRemoveGameAckMessage_ = value; - bitField2_ |= 0x00000800; return this; } @@ -61280,8 +92922,12 @@ public final class ProtoBuf { */ public Builder setAdminRemoveGameAckMessage( de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder builderForValue) { - adminRemoveGameAckMessage_ = builderForValue.build(); - + if (adminRemoveGameAckMessageBuilder_ == null) { + adminRemoveGameAckMessage_ = builderForValue.build(); + onChanged(); + } else { + adminRemoveGameAckMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00000800; return this; } @@ -61289,14 +92935,19 @@ public final class ProtoBuf { * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; */ public Builder mergeAdminRemoveGameAckMessage(de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage value) { - if (((bitField2_ & 0x00000800) == 0x00000800) && - adminRemoveGameAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) { - adminRemoveGameAckMessage_ = - de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder(adminRemoveGameAckMessage_).mergeFrom(value).buildPartial(); + if (adminRemoveGameAckMessageBuilder_ == null) { + if (((bitField2_ & 0x00000800) != 0) && + adminRemoveGameAckMessage_ != null && + adminRemoveGameAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance()) { + adminRemoveGameAckMessage_ = + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.newBuilder(adminRemoveGameAckMessage_).mergeFrom(value).buildPartial(); + } else { + adminRemoveGameAckMessage_ = value; + } + onChanged(); } else { - adminRemoveGameAckMessage_ = value; + adminRemoveGameAckMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00000800; return this; } @@ -61304,35 +92955,85 @@ public final class ProtoBuf { * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; */ public Builder clearAdminRemoveGameAckMessage() { - adminRemoveGameAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance(); - + if (adminRemoveGameAckMessageBuilder_ == null) { + adminRemoveGameAckMessage_ = null; + onChanged(); + } else { + adminRemoveGameAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00000800); return this; } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder getAdminRemoveGameAckMessageBuilder() { + bitField2_ |= 0x00000800; + onChanged(); + return getAdminRemoveGameAckMessageFieldBuilder().getBuilder(); + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ + public de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder getAdminRemoveGameAckMessageOrBuilder() { + if (adminRemoveGameAckMessageBuilder_ != null) { + return adminRemoveGameAckMessageBuilder_.getMessageOrBuilder(); + } else { + return adminRemoveGameAckMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.getDefaultInstance() : adminRemoveGameAckMessage_; + } + } + /** + * optional .AdminRemoveGameAckMessage adminRemoveGameAckMessage = 76; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder> + getAdminRemoveGameAckMessageFieldBuilder() { + if (adminRemoveGameAckMessageBuilder_ == null) { + adminRemoveGameAckMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminRemoveGameAckMessageOrBuilder>( + getAdminRemoveGameAckMessage(), + getParentForChildren(), + isClean()); + adminRemoveGameAckMessage_ = null; + } + return adminRemoveGameAckMessageBuilder_; + } - // optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage adminBanPlayerMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder> adminBanPlayerMessageBuilder_; /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + * @return Whether the adminBanPlayerMessage field is set. */ public boolean hasAdminBanPlayerMessage() { - return ((bitField2_ & 0x00001000) == 0x00001000); + return ((bitField2_ & 0x00001000) != 0); } /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + * @return The adminBanPlayerMessage. */ public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage getAdminBanPlayerMessage() { - return adminBanPlayerMessage_; + if (adminBanPlayerMessageBuilder_ == null) { + return adminBanPlayerMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance() : adminBanPlayerMessage_; + } else { + return adminBanPlayerMessageBuilder_.getMessage(); + } } /** * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; */ public Builder setAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { - if (value == null) { - throw new NullPointerException(); + if (adminBanPlayerMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + adminBanPlayerMessage_ = value; + onChanged(); + } else { + adminBanPlayerMessageBuilder_.setMessage(value); } - adminBanPlayerMessage_ = value; - bitField2_ |= 0x00001000; return this; } @@ -61341,8 +93042,12 @@ public final class ProtoBuf { */ public Builder setAdminBanPlayerMessage( de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder builderForValue) { - adminBanPlayerMessage_ = builderForValue.build(); - + if (adminBanPlayerMessageBuilder_ == null) { + adminBanPlayerMessage_ = builderForValue.build(); + onChanged(); + } else { + adminBanPlayerMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00001000; return this; } @@ -61350,14 +93055,19 @@ public final class ProtoBuf { * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; */ public Builder mergeAdminBanPlayerMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage value) { - if (((bitField2_ & 0x00001000) == 0x00001000) && - adminBanPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance()) { - adminBanPlayerMessage_ = - de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder(adminBanPlayerMessage_).mergeFrom(value).buildPartial(); + if (adminBanPlayerMessageBuilder_ == null) { + if (((bitField2_ & 0x00001000) != 0) && + adminBanPlayerMessage_ != null && + adminBanPlayerMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance()) { + adminBanPlayerMessage_ = + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.newBuilder(adminBanPlayerMessage_).mergeFrom(value).buildPartial(); + } else { + adminBanPlayerMessage_ = value; + } + onChanged(); } else { - adminBanPlayerMessage_ = value; + adminBanPlayerMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00001000; return this; } @@ -61365,35 +93075,85 @@ public final class ProtoBuf { * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; */ public Builder clearAdminBanPlayerMessage() { - adminBanPlayerMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance(); - + if (adminBanPlayerMessageBuilder_ == null) { + adminBanPlayerMessage_ = null; + onChanged(); + } else { + adminBanPlayerMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00001000); return this; } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder getAdminBanPlayerMessageBuilder() { + bitField2_ |= 0x00001000; + onChanged(); + return getAdminBanPlayerMessageFieldBuilder().getBuilder(); + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder getAdminBanPlayerMessageOrBuilder() { + if (adminBanPlayerMessageBuilder_ != null) { + return adminBanPlayerMessageBuilder_.getMessageOrBuilder(); + } else { + return adminBanPlayerMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.getDefaultInstance() : adminBanPlayerMessage_; + } + } + /** + * optional .AdminBanPlayerMessage adminBanPlayerMessage = 77; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder> + getAdminBanPlayerMessageFieldBuilder() { + if (adminBanPlayerMessageBuilder_ == null) { + adminBanPlayerMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminBanPlayerMessageOrBuilder>( + getAdminBanPlayerMessage(), + getParentForChildren(), + isClean()); + adminBanPlayerMessage_ = null; + } + return adminBanPlayerMessageBuilder_; + } - // optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; - private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage adminBanPlayerAckMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder> adminBanPlayerAckMessageBuilder_; /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + * @return Whether the adminBanPlayerAckMessage field is set. */ public boolean hasAdminBanPlayerAckMessage() { - return ((bitField2_ & 0x00002000) == 0x00002000); + return ((bitField2_ & 0x00002000) != 0); } /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + * @return The adminBanPlayerAckMessage. */ public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage getAdminBanPlayerAckMessage() { - return adminBanPlayerAckMessage_; + if (adminBanPlayerAckMessageBuilder_ == null) { + return adminBanPlayerAckMessage_ == null ? de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance() : adminBanPlayerAckMessage_; + } else { + return adminBanPlayerAckMessageBuilder_.getMessage(); + } } /** * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; */ public Builder setAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { - if (value == null) { - throw new NullPointerException(); + if (adminBanPlayerAckMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + adminBanPlayerAckMessage_ = value; + onChanged(); + } else { + adminBanPlayerAckMessageBuilder_.setMessage(value); } - adminBanPlayerAckMessage_ = value; - bitField2_ |= 0x00002000; return this; } @@ -61402,8 +93162,12 @@ public final class ProtoBuf { */ public Builder setAdminBanPlayerAckMessage( de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder builderForValue) { - adminBanPlayerAckMessage_ = builderForValue.build(); - + if (adminBanPlayerAckMessageBuilder_ == null) { + adminBanPlayerAckMessage_ = builderForValue.build(); + onChanged(); + } else { + adminBanPlayerAckMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00002000; return this; } @@ -61411,14 +93175,19 @@ public final class ProtoBuf { * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; */ public Builder mergeAdminBanPlayerAckMessage(de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage value) { - if (((bitField2_ & 0x00002000) == 0x00002000) && - adminBanPlayerAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) { - adminBanPlayerAckMessage_ = - de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder(adminBanPlayerAckMessage_).mergeFrom(value).buildPartial(); + if (adminBanPlayerAckMessageBuilder_ == null) { + if (((bitField2_ & 0x00002000) != 0) && + adminBanPlayerAckMessage_ != null && + adminBanPlayerAckMessage_ != de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance()) { + adminBanPlayerAckMessage_ = + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.newBuilder(adminBanPlayerAckMessage_).mergeFrom(value).buildPartial(); + } else { + adminBanPlayerAckMessage_ = value; + } + onChanged(); } else { - adminBanPlayerAckMessage_ = value; + adminBanPlayerAckMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00002000; return this; } @@ -61426,35 +93195,85 @@ public final class ProtoBuf { * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; */ public Builder clearAdminBanPlayerAckMessage() { - adminBanPlayerAckMessage_ = de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance(); - + if (adminBanPlayerAckMessageBuilder_ == null) { + adminBanPlayerAckMessage_ = null; + onChanged(); + } else { + adminBanPlayerAckMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00002000); return this; } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder getAdminBanPlayerAckMessageBuilder() { + bitField2_ |= 0x00002000; + onChanged(); + return getAdminBanPlayerAckMessageFieldBuilder().getBuilder(); + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ + public de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder getAdminBanPlayerAckMessageOrBuilder() { + if (adminBanPlayerAckMessageBuilder_ != null) { + return adminBanPlayerAckMessageBuilder_.getMessageOrBuilder(); + } else { + return adminBanPlayerAckMessage_ == null ? + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.getDefaultInstance() : adminBanPlayerAckMessage_; + } + } + /** + * optional .AdminBanPlayerAckMessage adminBanPlayerAckMessage = 78; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder> + getAdminBanPlayerAckMessageFieldBuilder() { + if (adminBanPlayerAckMessageBuilder_ == null) { + adminBanPlayerAckMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessage.Builder, de.pokerth.protocol.ProtoBuf.AdminBanPlayerAckMessageOrBuilder>( + getAdminBanPlayerAckMessage(), + getParentForChildren(), + isClean()); + adminBanPlayerAckMessage_ = null; + } + return adminBanPlayerAckMessageBuilder_; + } - // optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; - private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder> gameListSpectatorJoinedMessageBuilder_; /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + * @return Whether the gameListSpectatorJoinedMessage field is set. */ public boolean hasGameListSpectatorJoinedMessage() { - return ((bitField2_ & 0x00004000) == 0x00004000); + return ((bitField2_ & 0x00004000) != 0); } /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + * @return The gameListSpectatorJoinedMessage. */ public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage getGameListSpectatorJoinedMessage() { - return gameListSpectatorJoinedMessage_; + if (gameListSpectatorJoinedMessageBuilder_ == null) { + return gameListSpectatorJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance() : gameListSpectatorJoinedMessage_; + } else { + return gameListSpectatorJoinedMessageBuilder_.getMessage(); + } } /** * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; */ public Builder setGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameListSpectatorJoinedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameListSpectatorJoinedMessage_ = value; + onChanged(); + } else { + gameListSpectatorJoinedMessageBuilder_.setMessage(value); } - gameListSpectatorJoinedMessage_ = value; - bitField2_ |= 0x00004000; return this; } @@ -61463,8 +93282,12 @@ public final class ProtoBuf { */ public Builder setGameListSpectatorJoinedMessage( de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder builderForValue) { - gameListSpectatorJoinedMessage_ = builderForValue.build(); - + if (gameListSpectatorJoinedMessageBuilder_ == null) { + gameListSpectatorJoinedMessage_ = builderForValue.build(); + onChanged(); + } else { + gameListSpectatorJoinedMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00004000; return this; } @@ -61472,14 +93295,19 @@ public final class ProtoBuf { * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; */ public Builder mergeGameListSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage value) { - if (((bitField2_ & 0x00004000) == 0x00004000) && - gameListSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance()) { - gameListSpectatorJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder(gameListSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); + if (gameListSpectatorJoinedMessageBuilder_ == null) { + if (((bitField2_ & 0x00004000) != 0) && + gameListSpectatorJoinedMessage_ != null && + gameListSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance()) { + gameListSpectatorJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.newBuilder(gameListSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gameListSpectatorJoinedMessage_ = value; + } + onChanged(); } else { - gameListSpectatorJoinedMessage_ = value; + gameListSpectatorJoinedMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00004000; return this; } @@ -61487,35 +93315,85 @@ public final class ProtoBuf { * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; */ public Builder clearGameListSpectatorJoinedMessage() { - gameListSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance(); - + if (gameListSpectatorJoinedMessageBuilder_ == null) { + gameListSpectatorJoinedMessage_ = null; + onChanged(); + } else { + gameListSpectatorJoinedMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00004000); return this; } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder getGameListSpectatorJoinedMessageBuilder() { + bitField2_ |= 0x00004000; + onChanged(); + return getGameListSpectatorJoinedMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder getGameListSpectatorJoinedMessageOrBuilder() { + if (gameListSpectatorJoinedMessageBuilder_ != null) { + return gameListSpectatorJoinedMessageBuilder_.getMessageOrBuilder(); + } else { + return gameListSpectatorJoinedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.getDefaultInstance() : gameListSpectatorJoinedMessage_; + } + } + /** + * optional .GameListSpectatorJoinedMessage gameListSpectatorJoinedMessage = 79; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder> + getGameListSpectatorJoinedMessageFieldBuilder() { + if (gameListSpectatorJoinedMessageBuilder_ == null) { + gameListSpectatorJoinedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListSpectatorJoinedMessageOrBuilder>( + getGameListSpectatorJoinedMessage(), + getParentForChildren(), + isClean()); + gameListSpectatorJoinedMessage_ = null; + } + return gameListSpectatorJoinedMessageBuilder_; + } - // optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; - private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage gameListSpectatorLeftMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder> gameListSpectatorLeftMessageBuilder_; /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + * @return Whether the gameListSpectatorLeftMessage field is set. */ public boolean hasGameListSpectatorLeftMessage() { - return ((bitField2_ & 0x00008000) == 0x00008000); + return ((bitField2_ & 0x00008000) != 0); } /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + * @return The gameListSpectatorLeftMessage. */ public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage getGameListSpectatorLeftMessage() { - return gameListSpectatorLeftMessage_; + if (gameListSpectatorLeftMessageBuilder_ == null) { + return gameListSpectatorLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance() : gameListSpectatorLeftMessage_; + } else { + return gameListSpectatorLeftMessageBuilder_.getMessage(); + } } /** * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; */ public Builder setGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameListSpectatorLeftMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameListSpectatorLeftMessage_ = value; + onChanged(); + } else { + gameListSpectatorLeftMessageBuilder_.setMessage(value); } - gameListSpectatorLeftMessage_ = value; - bitField2_ |= 0x00008000; return this; } @@ -61524,8 +93402,12 @@ public final class ProtoBuf { */ public Builder setGameListSpectatorLeftMessage( de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder builderForValue) { - gameListSpectatorLeftMessage_ = builderForValue.build(); - + if (gameListSpectatorLeftMessageBuilder_ == null) { + gameListSpectatorLeftMessage_ = builderForValue.build(); + onChanged(); + } else { + gameListSpectatorLeftMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00008000; return this; } @@ -61533,14 +93415,19 @@ public final class ProtoBuf { * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; */ public Builder mergeGameListSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage value) { - if (((bitField2_ & 0x00008000) == 0x00008000) && - gameListSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance()) { - gameListSpectatorLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder(gameListSpectatorLeftMessage_).mergeFrom(value).buildPartial(); + if (gameListSpectatorLeftMessageBuilder_ == null) { + if (((bitField2_ & 0x00008000) != 0) && + gameListSpectatorLeftMessage_ != null && + gameListSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance()) { + gameListSpectatorLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.newBuilder(gameListSpectatorLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gameListSpectatorLeftMessage_ = value; + } + onChanged(); } else { - gameListSpectatorLeftMessage_ = value; + gameListSpectatorLeftMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00008000; return this; } @@ -61548,35 +93435,85 @@ public final class ProtoBuf { * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; */ public Builder clearGameListSpectatorLeftMessage() { - gameListSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance(); - + if (gameListSpectatorLeftMessageBuilder_ == null) { + gameListSpectatorLeftMessage_ = null; + onChanged(); + } else { + gameListSpectatorLeftMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00008000); return this; } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder getGameListSpectatorLeftMessageBuilder() { + bitField2_ |= 0x00008000; + onChanged(); + return getGameListSpectatorLeftMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ + public de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder getGameListSpectatorLeftMessageOrBuilder() { + if (gameListSpectatorLeftMessageBuilder_ != null) { + return gameListSpectatorLeftMessageBuilder_.getMessageOrBuilder(); + } else { + return gameListSpectatorLeftMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.getDefaultInstance() : gameListSpectatorLeftMessage_; + } + } + /** + * optional .GameListSpectatorLeftMessage gameListSpectatorLeftMessage = 80; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder> + getGameListSpectatorLeftMessageFieldBuilder() { + if (gameListSpectatorLeftMessageBuilder_ == null) { + gameListSpectatorLeftMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameListSpectatorLeftMessageOrBuilder>( + getGameListSpectatorLeftMessage(), + getParentForChildren(), + isClean()); + gameListSpectatorLeftMessage_ = null; + } + return gameListSpectatorLeftMessageBuilder_; + } - // optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; - private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage gameSpectatorJoinedMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder> gameSpectatorJoinedMessageBuilder_; /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + * @return Whether the gameSpectatorJoinedMessage field is set. */ public boolean hasGameSpectatorJoinedMessage() { - return ((bitField2_ & 0x00010000) == 0x00010000); + return ((bitField2_ & 0x00010000) != 0); } /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + * @return The gameSpectatorJoinedMessage. */ public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage getGameSpectatorJoinedMessage() { - return gameSpectatorJoinedMessage_; + if (gameSpectatorJoinedMessageBuilder_ == null) { + return gameSpectatorJoinedMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance() : gameSpectatorJoinedMessage_; + } else { + return gameSpectatorJoinedMessageBuilder_.getMessage(); + } } /** * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; */ public Builder setGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameSpectatorJoinedMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameSpectatorJoinedMessage_ = value; + onChanged(); + } else { + gameSpectatorJoinedMessageBuilder_.setMessage(value); } - gameSpectatorJoinedMessage_ = value; - bitField2_ |= 0x00010000; return this; } @@ -61585,8 +93522,12 @@ public final class ProtoBuf { */ public Builder setGameSpectatorJoinedMessage( de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder builderForValue) { - gameSpectatorJoinedMessage_ = builderForValue.build(); - + if (gameSpectatorJoinedMessageBuilder_ == null) { + gameSpectatorJoinedMessage_ = builderForValue.build(); + onChanged(); + } else { + gameSpectatorJoinedMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00010000; return this; } @@ -61594,14 +93535,19 @@ public final class ProtoBuf { * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; */ public Builder mergeGameSpectatorJoinedMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage value) { - if (((bitField2_ & 0x00010000) == 0x00010000) && - gameSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) { - gameSpectatorJoinedMessage_ = - de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder(gameSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); + if (gameSpectatorJoinedMessageBuilder_ == null) { + if (((bitField2_ & 0x00010000) != 0) && + gameSpectatorJoinedMessage_ != null && + gameSpectatorJoinedMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance()) { + gameSpectatorJoinedMessage_ = + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.newBuilder(gameSpectatorJoinedMessage_).mergeFrom(value).buildPartial(); + } else { + gameSpectatorJoinedMessage_ = value; + } + onChanged(); } else { - gameSpectatorJoinedMessage_ = value; + gameSpectatorJoinedMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00010000; return this; } @@ -61609,35 +93555,85 @@ public final class ProtoBuf { * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; */ public Builder clearGameSpectatorJoinedMessage() { - gameSpectatorJoinedMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance(); - + if (gameSpectatorJoinedMessageBuilder_ == null) { + gameSpectatorJoinedMessage_ = null; + onChanged(); + } else { + gameSpectatorJoinedMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00010000); return this; } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder getGameSpectatorJoinedMessageBuilder() { + bitField2_ |= 0x00010000; + onChanged(); + return getGameSpectatorJoinedMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder getGameSpectatorJoinedMessageOrBuilder() { + if (gameSpectatorJoinedMessageBuilder_ != null) { + return gameSpectatorJoinedMessageBuilder_.getMessageOrBuilder(); + } else { + return gameSpectatorJoinedMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.getDefaultInstance() : gameSpectatorJoinedMessage_; + } + } + /** + * optional .GameSpectatorJoinedMessage gameSpectatorJoinedMessage = 81; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder> + getGameSpectatorJoinedMessageFieldBuilder() { + if (gameSpectatorJoinedMessageBuilder_ == null) { + gameSpectatorJoinedMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessage.Builder, de.pokerth.protocol.ProtoBuf.GameSpectatorJoinedMessageOrBuilder>( + getGameSpectatorJoinedMessage(), + getParentForChildren(), + isClean()); + gameSpectatorJoinedMessage_ = null; + } + return gameSpectatorJoinedMessageBuilder_; + } - // optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; - private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); + private de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage gameSpectatorLeftMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder> gameSpectatorLeftMessageBuilder_; /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + * @return Whether the gameSpectatorLeftMessage field is set. */ public boolean hasGameSpectatorLeftMessage() { - return ((bitField2_ & 0x00020000) == 0x00020000); + return ((bitField2_ & 0x00020000) != 0); } /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + * @return The gameSpectatorLeftMessage. */ public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage getGameSpectatorLeftMessage() { - return gameSpectatorLeftMessage_; + if (gameSpectatorLeftMessageBuilder_ == null) { + return gameSpectatorLeftMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance() : gameSpectatorLeftMessage_; + } else { + return gameSpectatorLeftMessageBuilder_.getMessage(); + } } /** * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; */ public Builder setGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { - if (value == null) { - throw new NullPointerException(); + if (gameSpectatorLeftMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameSpectatorLeftMessage_ = value; + onChanged(); + } else { + gameSpectatorLeftMessageBuilder_.setMessage(value); } - gameSpectatorLeftMessage_ = value; - bitField2_ |= 0x00020000; return this; } @@ -61646,8 +93642,12 @@ public final class ProtoBuf { */ public Builder setGameSpectatorLeftMessage( de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder builderForValue) { - gameSpectatorLeftMessage_ = builderForValue.build(); - + if (gameSpectatorLeftMessageBuilder_ == null) { + gameSpectatorLeftMessage_ = builderForValue.build(); + onChanged(); + } else { + gameSpectatorLeftMessageBuilder_.setMessage(builderForValue.build()); + } bitField2_ |= 0x00020000; return this; } @@ -61655,14 +93655,19 @@ public final class ProtoBuf { * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; */ public Builder mergeGameSpectatorLeftMessage(de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage value) { - if (((bitField2_ & 0x00020000) == 0x00020000) && - gameSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) { - gameSpectatorLeftMessage_ = - de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder(gameSpectatorLeftMessage_).mergeFrom(value).buildPartial(); + if (gameSpectatorLeftMessageBuilder_ == null) { + if (((bitField2_ & 0x00020000) != 0) && + gameSpectatorLeftMessage_ != null && + gameSpectatorLeftMessage_ != de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance()) { + gameSpectatorLeftMessage_ = + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.newBuilder(gameSpectatorLeftMessage_).mergeFrom(value).buildPartial(); + } else { + gameSpectatorLeftMessage_ = value; + } + onChanged(); } else { - gameSpectatorLeftMessage_ = value; + gameSpectatorLeftMessageBuilder_.mergeFrom(value); } - bitField2_ |= 0x00020000; return this; } @@ -61670,25 +93675,1765 @@ public final class ProtoBuf { * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; */ public Builder clearGameSpectatorLeftMessage() { - gameSpectatorLeftMessage_ = de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance(); - + if (gameSpectatorLeftMessageBuilder_ == null) { + gameSpectatorLeftMessage_ = null; + onChanged(); + } else { + gameSpectatorLeftMessageBuilder_.clear(); + } bitField2_ = (bitField2_ & ~0x00020000); return this; } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder getGameSpectatorLeftMessageBuilder() { + bitField2_ |= 0x00020000; + onChanged(); + return getGameSpectatorLeftMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ + public de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder getGameSpectatorLeftMessageOrBuilder() { + if (gameSpectatorLeftMessageBuilder_ != null) { + return gameSpectatorLeftMessageBuilder_.getMessageOrBuilder(); + } else { + return gameSpectatorLeftMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.getDefaultInstance() : gameSpectatorLeftMessage_; + } + } + /** + * optional .GameSpectatorLeftMessage gameSpectatorLeftMessage = 82; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder> + getGameSpectatorLeftMessageFieldBuilder() { + if (gameSpectatorLeftMessageBuilder_ == null) { + gameSpectatorLeftMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessage.Builder, de.pokerth.protocol.ProtoBuf.GameSpectatorLeftMessageOrBuilder>( + getGameSpectatorLeftMessage(), + getParentForChildren(), + isClean()); + gameSpectatorLeftMessage_ = null; + } + return gameSpectatorLeftMessageBuilder_; + } + + private de.pokerth.protocol.ProtoBuf.GameStartReentryMessage gameStartReentryMessage_; + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartReentryMessageOrBuilder> gameStartReentryMessageBuilder_; + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + * @return Whether the gameStartReentryMessage field is set. + */ + public boolean hasGameStartReentryMessage() { + return ((bitField2_ & 0x00040000) != 0); + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + * @return The gameStartReentryMessage. + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage getGameStartReentryMessage() { + if (gameStartReentryMessageBuilder_ == null) { + return gameStartReentryMessage_ == null ? de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.getDefaultInstance() : gameStartReentryMessage_; + } else { + return gameStartReentryMessageBuilder_.getMessage(); + } + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + public Builder setGameStartReentryMessage(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage value) { + if (gameStartReentryMessageBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gameStartReentryMessage_ = value; + onChanged(); + } else { + gameStartReentryMessageBuilder_.setMessage(value); + } + bitField2_ |= 0x00040000; + return this; + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + public Builder setGameStartReentryMessage( + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder builderForValue) { + if (gameStartReentryMessageBuilder_ == null) { + gameStartReentryMessage_ = builderForValue.build(); + onChanged(); + } else { + gameStartReentryMessageBuilder_.setMessage(builderForValue.build()); + } + bitField2_ |= 0x00040000; + return this; + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + public Builder mergeGameStartReentryMessage(de.pokerth.protocol.ProtoBuf.GameStartReentryMessage value) { + if (gameStartReentryMessageBuilder_ == null) { + if (((bitField2_ & 0x00040000) != 0) && + gameStartReentryMessage_ != null && + gameStartReentryMessage_ != de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.getDefaultInstance()) { + gameStartReentryMessage_ = + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.newBuilder(gameStartReentryMessage_).mergeFrom(value).buildPartial(); + } else { + gameStartReentryMessage_ = value; + } + onChanged(); + } else { + gameStartReentryMessageBuilder_.mergeFrom(value); + } + bitField2_ |= 0x00040000; + return this; + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + public Builder clearGameStartReentryMessage() { + if (gameStartReentryMessageBuilder_ == null) { + gameStartReentryMessage_ = null; + onChanged(); + } else { + gameStartReentryMessageBuilder_.clear(); + } + bitField2_ = (bitField2_ & ~0x00040000); + return this; + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder getGameStartReentryMessageBuilder() { + bitField2_ |= 0x00040000; + onChanged(); + return getGameStartReentryMessageFieldBuilder().getBuilder(); + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + public de.pokerth.protocol.ProtoBuf.GameStartReentryMessageOrBuilder getGameStartReentryMessageOrBuilder() { + if (gameStartReentryMessageBuilder_ != null) { + return gameStartReentryMessageBuilder_.getMessageOrBuilder(); + } else { + return gameStartReentryMessage_ == null ? + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.getDefaultInstance() : gameStartReentryMessage_; + } + } + /** + * optional .GameStartReentryMessage gameStartReentryMessage = 83; + */ + private com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartReentryMessageOrBuilder> + getGameStartReentryMessageFieldBuilder() { + if (gameStartReentryMessageBuilder_ == null) { + gameStartReentryMessageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + de.pokerth.protocol.ProtoBuf.GameStartReentryMessage, de.pokerth.protocol.ProtoBuf.GameStartReentryMessage.Builder, de.pokerth.protocol.ProtoBuf.GameStartReentryMessageOrBuilder>( + getGameStartReentryMessage(), + getParentForChildren(), + isClean()); + gameStartReentryMessage_ = null; + } + return gameStartReentryMessageBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:PokerTHMessage) } + // @@protoc_insertion_point(class_scope:PokerTHMessage) + private static final de.pokerth.protocol.ProtoBuf.PokerTHMessage DEFAULT_INSTANCE; static { - defaultInstance = new PokerTHMessage(true); - defaultInstance.initFields(); + DEFAULT_INSTANCE = new de.pokerth.protocol.ProtoBuf.PokerTHMessage(); + } + + public static de.pokerth.protocol.ProtoBuf.PokerTHMessage getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PokerTHMessage parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PokerTHMessage(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public de.pokerth.protocol.ProtoBuf.PokerTHMessage getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:PokerTHMessage) } + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_NetGameInfo_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_NetGameInfo_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerResult_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerResult_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AnnounceMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AnnounceMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AnnounceMessage_Version_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AnnounceMessage_Version_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_InitMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InitMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AuthServerChallengeMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AuthServerChallengeMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AuthClientResponseMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AuthClientResponseMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AuthServerVerificationMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AuthServerVerificationMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_InitAckMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InitAckMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarHeaderMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarHeaderMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarDataMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarDataMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AvatarEndMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AvatarEndMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_UnknownAvatarMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_UnknownAvatarMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerListMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerListMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameListNewMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameListNewMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameListUpdateMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameListUpdateMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameListPlayerJoinedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameListPlayerJoinedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameListPlayerLeftMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameListPlayerLeftMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameListSpectatorJoinedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameListSpectatorJoinedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameListSpectatorLeftMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameListSpectatorLeftMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameListAdminChangedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameListAdminChangedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerInfoRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerInfoRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerInfoReplyMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerInfoReplyMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerInfoReplyMessage_PlayerInfoData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerInfoReplyMessage_PlayerInfoData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_SubscriptionRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_SubscriptionRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_JoinExistingGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_JoinExistingGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_JoinNewGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_JoinNewGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_RejoinExistingGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RejoinExistingGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_JoinGameAckMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_JoinGameAckMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_JoinGameFailedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_JoinGameFailedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GamePlayerJoinedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GamePlayerJoinedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GamePlayerLeftMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GamePlayerLeftMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameSpectatorJoinedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameSpectatorJoinedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameSpectatorLeftMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameSpectatorLeftMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameAdminChangedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameAdminChangedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_RemovedFromGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RemovedFromGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_KickPlayerRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_KickPlayerRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_LeaveGameRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_LeaveGameRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_InvitePlayerToGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InvitePlayerToGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_InviteNotifyMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_InviteNotifyMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_RejectGameInvitationMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RejectGameInvitationMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_RejectInvNotifyMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_RejectInvNotifyMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_StartEventMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_StartEventMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_StartEventAckMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_StartEventAckMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameStartInitialMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameStartInitialMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameStartRejoinMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameStartRejoinMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameStartRejoinMessage_RejoinPlayerData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameStartRejoinMessage_RejoinPlayerData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameStartReentryMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameStartReentryMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_GameStartReentryMessage_ReentryPlayerData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_GameStartReentryMessage_ReentryPlayerData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_HandStartMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_HandStartMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_HandStartMessage_PlainCards_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_HandStartMessage_PlainCards_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayersTurnMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayersTurnMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_MyActionRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_MyActionRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_YourActionRejectedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_YourActionRejectedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayersActionDoneMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayersActionDoneMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_DealFlopCardsMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_DealFlopCardsMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_DealTurnCardMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_DealTurnCardMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_DealRiverCardMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_DealRiverCardMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AllInShowCardsMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AllInShowCardsMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AllInShowCardsMessage_PlayerAllIn_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AllInShowCardsMessage_PlayerAllIn_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_EndOfHandShowCardsMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_EndOfHandShowCardsMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_EndOfHandHideCardsMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_EndOfHandHideCardsMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ShowMyCardsRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ShowMyCardsRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AfterHandShowCardsMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AfterHandShowCardsMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_EndOfGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_EndOfGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PlayerIdChangedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PlayerIdChangedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AskKickPlayerMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AskKickPlayerMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AskKickDeniedMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AskKickDeniedMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_StartKickPetitionMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_StartKickPetitionMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_VoteKickRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_VoteKickRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_VoteKickReplyMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_VoteKickReplyMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_KickPetitionUpdateMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_KickPetitionUpdateMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_EndKickPetitionMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_EndKickPetitionMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_StatisticsMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_StatisticsMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_StatisticsMessage_StatisticsData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_StatisticsMessage_StatisticsData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ChatRequestMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ChatRequestMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ChatMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ChatMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ChatRejectMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ChatRejectMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_DialogMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_DialogMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_TimeoutWarningMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_TimeoutWarningMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ResetTimeoutMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ResetTimeoutMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ReportAvatarMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ReportAvatarMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ReportAvatarAckMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ReportAvatarAckMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ReportGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ReportGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ReportGameAckMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ReportGameAckMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_ErrorMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_ErrorMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AdminRemoveGameMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AdminRemoveGameMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AdminRemoveGameAckMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AdminRemoveGameAckMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AdminBanPlayerMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AdminBanPlayerMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_AdminBanPlayerAckMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_AdminBanPlayerAckMessage_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_PokerTHMessage_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_PokerTHMessage_fieldAccessorTable; + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; static { + java.lang.String[] descriptorData = { + "\n\rpokerth.proto\"\261\006\n\013NetGameInfo\022\020\n\010gameN" + + "ame\030\001 \002(\t\022-\n\013netGameType\030\002 \002(\0162\030.NetGame" + + "Info.NetGameType\022\025\n\rmaxNumPlayers\030\003 \002(\r\022" + + "9\n\021raiseIntervalMode\030\004 \002(\0162\036.NetGameInfo" + + ".RaiseIntervalMode\022\027\n\017raiseEveryHands\030\005 " + + "\001(\r\022\031\n\021raiseEveryMinutes\030\006 \001(\r\022/\n\014endRai" + + "seMode\030\007 \002(\0162\031.NetGameInfo.EndRaiseMode\022" + + "\037\n\027endRaiseSmallBlindValue\030\010 \001(\r\022\030\n\020prop" + + "osedGuiSpeed\030\t \002(\r\022\031\n\021delayBetweenHands\030" + + "\n \002(\r\022\033\n\023playerActionTimeout\030\013 \002(\r\022\027\n\017fi" + + "rstSmallBlind\030\014 \002(\r\022\022\n\nstartMoney\030\r \002(\r\022" + + "\030\n\014manualBlinds\030\016 \003(\rB\002\020\001\022\035\n\017allowSpecta" + + "tors\030\017 \001(\010:\004true\022\033\n\014allowLateReg\030\020 \001(\010:\005" + + "false\022\035\n\016allowReentries\030\021 \001(\010:\005false\022\027\n\014" + + "numReentries\030\022 \001(\r:\0010\022\031\n\016maxTimeLateReg\030" + + "\023 \001(\r:\0010\"Z\n\013NetGameType\022\016\n\nnormalGame\020\001\022" + + "\026\n\022registeredOnlyGame\020\002\022\022\n\016inviteOnlyGam" + + "e\020\003\022\017\n\013rankingGame\020\004\";\n\021RaiseIntervalMod" + + "e\022\022\n\016raiseOnHandNum\020\001\022\022\n\016raiseOnMinutes\020" + + "\002\"H\n\014EndRaiseMode\022\020\n\014doubleBlinds\020\001\022\023\n\017r" + + "aiseByEndValue\020\002\022\021\n\rkeepLastBlind\020\003\"\243\001\n\014" + + "PlayerResult\022\020\n\010playerId\030\001 \002(\r\022\023\n\013result" + + "Card1\030\002 \002(\r\022\023\n\013resultCard2\030\003 \002(\r\022\034\n\020best" + + "HandPosition\030\004 \003(\rB\002\020\001\022\020\n\010moneyWon\030\005 \002(\r" + + "\022\023\n\013playerMoney\030\006 \002(\r\022\022\n\ncardsValue\030\007 \001(" + + "\r\"\364\002\n\017AnnounceMessage\0221\n\017protocolVersion" + + "\030\001 \002(\0132\030.AnnounceMessage.Version\0223\n\021late" + + "stGameVersion\030\002 \002(\0132\030.AnnounceMessage.Ve" + + "rsion\022\032\n\022latestBetaRevision\030\003 \002(\r\022/\n\nser" + + "verType\030\004 \002(\0162\033.AnnounceMessage.ServerTy" + + "pe\022\032\n\022numPlayersOnServer\030\005 \002(\r\0325\n\007Versio" + + "n\022\024\n\014majorVersion\030\001 \002(\r\022\024\n\014minorVersion\030" + + "\002 \002(\r\"Y\n\nServerType\022\021\n\rserverTypeLAN\020\000\022\034" + + "\n\030serverTypeInternetNoAuth\020\001\022\032\n\026serverTy" + + "peInternetAuth\020\002\"\273\002\n\013InitMessage\0222\n\020requ" + + "estedVersion\030\001 \002(\0132\030.AnnounceMessage.Ver" + + "sion\022\017\n\007buildId\030\002 \002(\r\022\027\n\017myLastSessionId" + + "\030\003 \001(\014\022\032\n\022authServerPassword\030\004 \001(\t\022%\n\005lo" + + "gin\030\005 \002(\0162\026.InitMessage.LoginType\022\020\n\010nic" + + "kName\030\006 \001(\t\022\026\n\016clientUserData\030\007 \001(\014\022\022\n\na" + + "vatarHash\030\010 \001(\014\"M\n\tLoginType\022\016\n\nguestLog" + + "in\020\000\022\026\n\022authenticatedLogin\020\001\022\030\n\024unauthen" + + "ticatedLogin\020\002\"5\n\032AuthServerChallengeMes" + + "sage\022\027\n\017serverChallenge\030\001 \002(\014\"3\n\031AuthCli" + + "entResponseMessage\022\026\n\016clientResponse\030\001 \002" + + "(\014\";\n\035AuthServerVerificationMessage\022\032\n\022s" + + "erverVerification\030\001 \002(\014\"k\n\016InitAckMessag" + + "e\022\025\n\ryourSessionId\030\001 \002(\014\022\024\n\014yourPlayerId" + + "\030\002 \002(\r\022\026\n\016yourAvatarHash\030\003 \001(\014\022\024\n\014rejoin" + + "GameId\030\004 \001(\r\"=\n\024AvatarRequestMessage\022\021\n\t" + + "requestId\030\001 \002(\r\022\022\n\navatarHash\030\002 \002(\014\"`\n\023A" + + "vatarHeaderMessage\022\021\n\trequestId\030\001 \002(\r\022\"\n" + + "\navatarType\030\002 \002(\0162\016.NetAvatarType\022\022\n\nava" + + "tarSize\030\003 \002(\r\";\n\021AvatarDataMessage\022\021\n\tre" + + "questId\030\001 \002(\r\022\023\n\013avatarBlock\030\002 \002(\014\"%\n\020Av" + + "atarEndMessage\022\021\n\trequestId\030\001 \002(\r\")\n\024Unk" + + "nownAvatarMessage\022\021\n\trequestId\030\001 \002(\r\"\261\001\n" + + "\021PlayerListMessage\022\020\n\010playerId\030\001 \002(\r\022I\n\026" + + "playerListNotification\030\002 \002(\0162).PlayerLis" + + "tMessage.PlayerListNotification\"?\n\026Playe" + + "rListNotification\022\021\n\rplayerListNew\020\000\022\022\n\016" + + "playerListLeft\020\001\"\277\001\n\022GameListNewMessage\022" + + "\016\n\006gameId\030\001 \002(\r\022\036\n\010gameMode\030\002 \002(\0162\014.NetG" + + "ameMode\022\021\n\tisPrivate\030\003 \002(\010\022\025\n\tplayerIds\030" + + "\004 \003(\rB\002\020\001\022\025\n\radminPlayerId\030\005 \002(\r\022\036\n\010game" + + "Info\030\006 \002(\0132\014.NetGameInfo\022\030\n\014spectatorIds" + + "\030\007 \003(\rB\002\020\001\"G\n\025GameListUpdateMessage\022\016\n\006g" + + "ameId\030\001 \002(\r\022\036\n\010gameMode\030\002 \002(\0162\014.NetGameM" + + "ode\"?\n\033GameListPlayerJoinedMessage\022\016\n\006ga" + + "meId\030\001 \002(\r\022\020\n\010playerId\030\002 \002(\r\"=\n\031GameList" + + "PlayerLeftMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010pla" + + "yerId\030\002 \002(\r\"B\n\036GameListSpectatorJoinedMe" + + "ssage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010playerId\030\002 \002(\r\"" + + "@\n\034GameListSpectatorLeftMessage\022\016\n\006gameI" + + "d\030\001 \002(\r\022\020\n\010playerId\030\002 \002(\r\"G\n\033GameListAdm" + + "inChangedMessage\022\016\n\006gameId\030\001 \002(\r\022\030\n\020newA" + + "dminPlayerId\030\002 \002(\r\"0\n\030PlayerInfoRequestM" + + "essage\022\024\n\010playerId\030\001 \003(\rB\002\020\001\"\360\002\n\026PlayerI" + + "nfoReplyMessage\022\020\n\010playerId\030\001 \002(\r\022>\n\016pla" + + "yerInfoData\030\002 \001(\0132&.PlayerInfoReplyMessa" + + "ge.PlayerInfoData\032\203\002\n\016PlayerInfoData\022\022\n\n" + + "playerName\030\001 \002(\t\022\017\n\007isHuman\030\002 \002(\010\022*\n\014pla" + + "yerRights\030\003 \002(\0162\024.NetPlayerInfoRights\022\023\n" + + "\013countryCode\030\004 \001(\t\022E\n\navatarData\030\005 \001(\01321" + + ".PlayerInfoReplyMessage.PlayerInfoData.A" + + "vatarData\032D\n\nAvatarData\022\"\n\navatarType\030\001 " + + "\002(\0162\016.NetAvatarType\022\022\n\navatarHash\030\002 \002(\014\"" + + "\260\001\n\032SubscriptionRequestMessage\022J\n\022subscr" + + "iptionAction\030\001 \002(\0162..SubscriptionRequest" + + "Message.SubscriptionAction\"F\n\022Subscripti" + + "onAction\022\027\n\023unsubscribeGameList\020\001\022\027\n\023res" + + "ubscribeGameList\020\002\"r\n\027JoinExistingGameMe" + + "ssage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010password\030\002 \001(\t\022" + + "\030\n\tautoLeave\030\003 \001(\010:\005false\022\033\n\014spectateOnl" + + "y\030\004 \001(\010:\005false\"Y\n\022JoinNewGameMessage\022\036\n\010" + + "gameInfo\030\001 \002(\0132\014.NetGameInfo\022\020\n\010password" + + "\030\002 \001(\t\022\021\n\tautoLeave\030\003 \001(\010\">\n\031RejoinExist" + + "ingGameMessage\022\016\n\006gameId\030\001 \002(\r\022\021\n\tautoLe" + + "ave\030\002 \001(\010\"s\n\022JoinGameAckMessage\022\016\n\006gameI" + + "d\030\001 \002(\r\022\027\n\017areYouGameAdmin\030\002 \002(\010\022\036\n\010game" + + "Info\030\003 \002(\0132\014.NetGameInfo\022\024\n\014spectateOnly" + + "\030\004 \001(\010\"\370\002\n\025JoinGameFailedMessage\022\016\n\006game" + + "Id\030\001 \002(\r\022K\n\025joinGameFailureReason\030\002 \002(\0162" + + ",.JoinGameFailedMessage.JoinGameFailureR" + + "eason\"\201\002\n\025JoinGameFailureReason\022\017\n\013inval" + + "idGame\020\001\022\016\n\ngameIsFull\020\002\022\021\n\rgameIsRunnin" + + "g\020\003\022\023\n\017invalidPassword\020\004\022\025\n\021notAllowedAs" + + "Guest\020\005\022\016\n\nnotInvited\020\006\022\021\n\rgameNameInUse" + + "\020\007\022\017\n\013badGameName\020\010\022\023\n\017invalidSettings\020\t" + + "\022\024\n\020ipAddressBlocked\020\n\022\020\n\014rejoinFailed\020\013" + + "\022\027\n\023noSpectatorsAllowed\020\014\"P\n\027GamePlayerJ" + + "oinedMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010playerId" + + "\030\002 \002(\r\022\023\n\013isGameAdmin\030\003 \002(\010\"\316\001\n\025GamePlay" + + "erLeftMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010playerI" + + "d\030\002 \002(\r\022I\n\024gamePlayerLeftReason\030\003 \002(\0162+." + + "GamePlayerLeftMessage.GamePlayerLeftReas" + + "on\"H\n\024GamePlayerLeftReason\022\021\n\rleftOnRequ" + + "est\020\000\022\016\n\nleftKicked\020\001\022\r\n\tleftError\020\002\">\n\032" + + "GameSpectatorJoinedMessage\022\016\n\006gameId\030\001 \002" + + "(\r\022\020\n\010playerId\030\002 \002(\r\"\212\001\n\030GameSpectatorLe" + + "ftMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010playerId\030\002 " + + "\002(\r\022L\n\027gameSpectatorLeftReason\030\003 \002(\0162+.G" + + "amePlayerLeftMessage.GamePlayerLeftReaso" + + "n\"C\n\027GameAdminChangedMessage\022\016\n\006gameId\030\001" + + " \002(\r\022\030\n\020newAdminPlayerId\030\002 \002(\r\"\226\002\n\026Remov" + + "edFromGameMessage\022\016\n\006gameId\030\001 \002(\r\022L\n\025rem" + + "ovedFromGameReason\030\002 \002(\0162-.RemovedFromGa" + + "meMessage.RemovedFromGameReason\"\235\001\n\025Remo" + + "vedFromGameReason\022\024\n\020removedOnRequest\020\000\022" + + "\022\n\016kickedFromGame\020\001\022\016\n\ngameIsFull\020\002\022\021\n\rg" + + "ameIsRunning\020\003\022\017\n\013gameTimeout\020\004\022\026\n\022remov" + + "edStartFailed\020\005\022\016\n\ngameClosed\020\006\"<\n\030KickP" + + "layerRequestMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010p" + + "layerId\030\002 \002(\r\")\n\027LeaveGameRequestMessage" + + "\022\016\n\006gameId\030\001 \002(\r\"=\n\031InvitePlayerToGameMe" + + "ssage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010playerId\030\002 \002(\r\"" + + "R\n\023InviteNotifyMessage\022\016\n\006gameId\030\001 \002(\r\022\023" + + "\n\013playerIdWho\030\002 \002(\r\022\026\n\016playerIdByWhom\030\003 " + + "\002(\r\"\270\001\n\033RejectGameInvitationMessage\022\016\n\006g" + + "ameId\030\001 \002(\r\022H\n\016myRejectReason\030\002 \002(\01620.Re" + + "jectGameInvitationMessage.RejectGameInvR" + + "eason\"?\n\023RejectGameInvReason\022\022\n\016rejectRe" + + "asonNo\020\000\022\024\n\020rejectReasonBusy\020\001\"\210\001\n\026Rejec" + + "tInvNotifyMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010pla" + + "yerId\030\002 \002(\r\022L\n\022playerRejectReason\030\003 \002(\0162" + + "0.RejectGameInvitationMessage.RejectGame" + + "InvReason\"\304\001\n\021StartEventMessage\022\016\n\006gameI" + + "d\030\001 \002(\r\0229\n\016startEventType\030\002 \002(\0162!.StartE" + + "ventMessage.StartEventType\022\037\n\027fillWithCo" + + "mputerPlayers\030\003 \001(\010\"C\n\016StartEventType\022\016\n" + + "\nstartEvent\020\000\022\017\n\013rejoinEvent\020\001\022\020\n\014reentr" + + "yEvent\020\002\"&\n\024StartEventAckMessage\022\016\n\006game" + + "Id\030\001 \002(\r\"_\n\027GameStartInitialMessage\022\016\n\006g" + + "ameId\030\001 \002(\r\022\033\n\023startDealerPlayerId\030\002 \002(\r" + + "\022\027\n\013playerSeats\030\003 \003(\rB\002\020\001\"\325\001\n\026GameStartR" + + "ejoinMessage\022\016\n\006gameId\030\001 \002(\r\022\033\n\023startDea" + + "lerPlayerId\030\002 \002(\r\022\017\n\007handNum\030\003 \002(\r\022B\n\020re" + + "joinPlayerData\030\004 \003(\0132(.GameStartRejoinMe" + + "ssage.RejoinPlayerData\0329\n\020RejoinPlayerDa" + + "ta\022\020\n\010playerId\030\001 \002(\r\022\023\n\013playerMoney\030\002 \002(" + + "\r\"\332\001\n\027GameStartReentryMessage\022\016\n\006gameId\030" + + "\001 \002(\r\022\033\n\023startDealerPlayerId\030\002 \002(\r\022\017\n\007ha" + + "ndNum\030\003 \002(\r\022E\n\021reentryPlayerData\030\004 \003(\0132*" + + ".GameStartReentryMessage.ReentryPlayerDa" + + "ta\032:\n\021ReentryPlayerData\022\020\n\010playerId\030\001 \002(" + + "\r\022\023\n\013playerMoney\030\002 \002(\r\"\363\001\n\020HandStartMess" + + "age\022\016\n\006gameId\030\001 \002(\r\0220\n\nplainCards\030\002 \001(\0132" + + "\034.HandStartMessage.PlainCards\022\026\n\016encrypt" + + "edCards\030\003 \001(\014\022\022\n\nsmallBlind\030\004 \002(\r\022#\n\nsea" + + "tStates\030\005 \003(\0162\017.NetPlayerState\022\026\n\016dealer" + + "PlayerId\030\006 \001(\r\0324\n\nPlainCards\022\022\n\nplainCar" + + "d1\030\001 \002(\r\022\022\n\nplainCard2\030\002 \002(\r\"X\n\022PlayersT" + + "urnMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010playerId\030\002" + + " \002(\r\022 \n\tgameState\030\003 \002(\0162\r.NetGameState\"\226" + + "\001\n\026MyActionRequestMessage\022\016\n\006gameId\030\001 \002(" + + "\r\022\017\n\007handNum\030\002 \002(\r\022 \n\tgameState\030\003 \002(\0162\r." + + "NetGameState\022\"\n\010myAction\030\004 \002(\0162\020.NetPlay" + + "erAction\022\025\n\rmyRelativeBet\030\005 \002(\r\"\271\002\n\031Your" + + "ActionRejectedMessage\022\016\n\006gameId\030\001 \002(\r\022 \n" + + "\tgameState\030\002 \002(\0162\r.NetGameState\022$\n\nyourA" + + "ction\030\003 \002(\0162\020.NetPlayerAction\022\027\n\017yourRel" + + "ativeBet\030\004 \002(\r\022C\n\017rejectionReason\030\005 \002(\0162" + + "*.YourActionRejectedMessage.RejectionRea" + + "son\"f\n\017RejectionReason\022\034\n\030rejectedInvali" + + "dGameState\020\001\022\027\n\023rejectedNotYourTurn\020\002\022\034\n" + + "\030rejectedActionNotAllowed\020\003\"\335\001\n\030PlayersA" + + "ctionDoneMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010play" + + "erId\030\002 \002(\r\022 \n\tgameState\030\003 \002(\0162\r.NetGameS" + + "tate\022&\n\014playerAction\030\004 \002(\0162\020.NetPlayerAc" + + "tion\022\026\n\016totalPlayerBet\030\005 \002(\r\022\023\n\013playerMo" + + "ney\030\006 \002(\r\022\022\n\nhighestSet\030\007 \002(\r\022\024\n\014minimum" + + "Raise\030\010 \002(\r\"_\n\024DealFlopCardsMessage\022\016\n\006g" + + "ameId\030\001 \002(\r\022\021\n\tflopCard1\030\002 \002(\r\022\021\n\tflopCa" + + "rd2\030\003 \002(\r\022\021\n\tflopCard3\030\004 \002(\r\"7\n\023DealTurn" + + "CardMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010turnCard\030" + + "\002 \002(\r\"9\n\024DealRiverCardMessage\022\016\n\006gameId\030" + + "\001 \002(\r\022\021\n\triverCard\030\002 \002(\r\"\252\001\n\025AllInShowCa" + + "rdsMessage\022\016\n\006gameId\030\001 \002(\r\0228\n\014playersAll" + + "In\030\002 \003(\0132\".AllInShowCardsMessage.PlayerA" + + "llIn\032G\n\013PlayerAllIn\022\020\n\010playerId\030\001 \002(\r\022\022\n" + + "\nallInCard1\030\002 \002(\r\022\022\n\nallInCard2\030\003 \002(\r\"Q\n" + + "\031EndOfHandShowCardsMessage\022\016\n\006gameId\030\001 \002" + + "(\r\022$\n\rplayerResults\030\002 \003(\0132\r.PlayerResult" + + "\"d\n\031EndOfHandHideCardsMessage\022\016\n\006gameId\030" + + "\001 \002(\r\022\020\n\010playerId\030\002 \002(\r\022\020\n\010moneyWon\030\003 \002(" + + "\r\022\023\n\013playerMoney\030\004 \002(\r\"\033\n\031ShowMyCardsReq" + + "uestMessage\"@\n\031AfterHandShowCardsMessage" + + "\022#\n\014playerResult\030\001 \002(\0132\r.PlayerResult\":\n" + + "\020EndOfGameMessage\022\016\n\006gameId\030\001 \002(\r\022\026\n\016win" + + "nerPlayerId\030\002 \002(\r\"B\n\026PlayerIdChangedMess" + + "age\022\023\n\013oldPlayerId\030\001 \002(\r\022\023\n\013newPlayerId\030" + + "\002 \002(\r\"8\n\024AskKickPlayerMessage\022\016\n\006gameId\030" + + "\001 \002(\r\022\020\n\010playerId\030\002 \002(\r\"\247\002\n\024AskKickDenie" + + "dMessage\022\016\n\006gameId\030\001 \002(\r\022\020\n\010playerId\030\002 \002" + + "(\r\022@\n\020kickDeniedReason\030\003 \002(\0162&.AskKickDe" + + "niedMessage.KickDeniedReason\"\252\001\n\020KickDen" + + "iedReason\022\036\n\032kickDeniedInvalidGameState\020" + + "\000\022\031\n\025kickDeniedNotPossible\020\001\022\033\n\027kickDeni" + + "edTryAgainLater\020\002\022\037\n\033kickDeniedAlreadyIn" + + "Progress\020\003\022\035\n\031kickDeniedInvalidPlayerId\020" + + "\004\"\245\001\n\030StartKickPetitionMessage\022\016\n\006gameId" + + "\030\001 \002(\r\022\022\n\npetitionId\030\002 \002(\r\022\031\n\021proposingP" + + "layerId\030\003 \002(\r\022\024\n\014kickPlayerId\030\004 \002(\r\022\026\n\016k" + + "ickTimeoutSec\030\005 \002(\r\022\034\n\024numVotesNeededToK" + + "ick\030\006 \002(\r\"N\n\026VoteKickRequestMessage\022\016\n\006g" + + "ameId\030\001 \002(\r\022\022\n\npetitionId\030\002 \002(\r\022\020\n\010voteK" + + "ick\030\003 \002(\010\"\337\001\n\024VoteKickReplyMessage\022\016\n\006ga" + + "meId\030\001 \002(\r\022\022\n\npetitionId\030\002 \002(\r\022B\n\021voteKi" + + "ckReplyType\030\003 \002(\0162\'.VoteKickReplyMessage" + + ".VoteKickReplyType\"_\n\021VoteKickReplyType\022" + + "\017\n\013voteKickAck\020\000\022\031\n\025voteKickDeniedInvali" + + "d\020\001\022\036\n\032voteKickDeniedAlreadyVoted\020\002\"\240\001\n\031" + + "KickPetitionUpdateMessage\022\016\n\006gameId\030\001 \002(" + + "\r\022\022\n\npetitionId\030\002 \002(\r\022\036\n\026numVotesAgainst" + + "Kicking\030\003 \002(\r\022!\n\031numVotesInFavourOfKicki" + + "ng\030\004 \002(\r\022\034\n\024numVotesNeededToKick\030\005 \002(\r\"\344" + + "\002\n\026EndKickPetitionMessage\022\016\n\006gameId\030\001 \002(" + + "\r\022\022\n\npetitionId\030\002 \002(\r\022\036\n\026numVotesAgainst" + + "Kicking\030\003 \002(\r\022!\n\031numVotesInFavourOfKicki" + + "ng\030\004 \002(\r\022\032\n\022resultPlayerKicked\030\005 \002(\r\022D\n\021" + + "petitionEndReason\030\006 \002(\0162).EndKickPetitio" + + "nMessage.PetitionEndReason\"\200\001\n\021PetitionE" + + "ndReason\022\032\n\026petitionEndEnoughVotes\020\000\022\034\n\030" + + "petitionEndTooFewPlayers\020\001\022\031\n\025petitionEn" + + "dPlayerLeft\020\002\022\026\n\022petitionEndTimeout\020\003\"\357\001" + + "\n\021StatisticsMessage\0229\n\016statisticsData\030\001 " + + "\003(\0132!.StatisticsMessage.StatisticsData\032\236" + + "\001\n\016StatisticsData\022H\n\016statisticsType\030\001 \002(" + + "\01620.StatisticsMessage.StatisticsData.Sta" + + "tisticsType\022\027\n\017statisticsValue\030\002 \002(\r\")\n\016" + + "StatisticsType\022\027\n\023statNumberOfPlayers\020\001\"" + + "T\n\022ChatRequestMessage\022\024\n\014targetGameId\030\001 " + + "\001(\r\022\026\n\016targetPlayerId\030\002 \001(\r\022\020\n\010chatText\030" + + "\003 \002(\t\"\330\001\n\013ChatMessage\022\016\n\006gameId\030\001 \001(\r\022\020\n" + + "\010playerId\030\002 \001(\r\022\'\n\010chatType\030\003 \002(\0162\025.Chat" + + "Message.ChatType\022\020\n\010chatText\030\004 \002(\t\"l\n\010Ch" + + "atType\022\021\n\rchatTypeLobby\020\000\022\020\n\014chatTypeGam" + + "e\020\001\022\017\n\013chatTypeBot\020\002\022\025\n\021chatTypeBroadcas" + + "t\020\003\022\023\n\017chatTypePrivate\020\004\"%\n\021ChatRejectMe" + + "ssage\022\020\n\010chatText\030\001 \002(\t\")\n\rDialogMessage" + + "\022\030\n\020notificationText\030\001 \002(\t\"\321\001\n\025TimeoutWa" + + "rningMessage\022;\n\rtimeoutReason\030\001 \002(\0162$.Ti" + + "meoutWarningMessage.TimeoutReason\022\030\n\020rem" + + "ainingSeconds\030\002 \002(\r\"a\n\rTimeoutReason\022\031\n\025" + + "timeoutNoDataReceived\020\000\022\027\n\023timeoutInacti" + + "veGame\020\001\022\034\n\030timeoutKickAfterAutofold\020\002\"\025" + + "\n\023ResetTimeoutMessage\"K\n\023ReportAvatarMes" + + "sage\022\030\n\020reportedPlayerId\030\001 \002(\r\022\032\n\022report" + + "edAvatarHash\030\002 \002(\014\"\336\001\n\026ReportAvatarAckMe" + + "ssage\022\030\n\020reportedPlayerId\030\001 \002(\r\022F\n\022repor" + + "tAvatarResult\030\002 \002(\0162*.ReportAvatarAckMes" + + "sage.ReportAvatarResult\"b\n\022ReportAvatarR" + + "esult\022\030\n\024avatarReportAccepted\020\000\022\031\n\025avata" + + "rReportDuplicate\020\001\022\027\n\023avatarReportInvali" + + "d\020\002\"+\n\021ReportGameMessage\022\026\n\016reportedGame" + + "Id\030\001 \002(\r\"\314\001\n\024ReportGameAckMessage\022\026\n\016rep" + + "ortedGameId\030\001 \002(\r\022@\n\020reportGameResult\030\002 " + + "\002(\0162&.ReportGameAckMessage.ReportGameRes" + + "ult\"Z\n\020ReportGameResult\022\026\n\022gameReportAcc" + + "epted\020\000\022\027\n\023gameReportDuplicate\020\001\022\025\n\021game" + + "ReportInvalid\020\002\"\224\003\n\014ErrorMessage\022.\n\013erro" + + "rReason\030\001 \002(\0162\031.ErrorMessage.ErrorReason" + + "\"\323\002\n\013ErrorReason\022\020\n\014custReserved\020\000\022\033\n\027in" + + "itVersionNotSupported\020\001\022\022\n\016initServerFul" + + "l\020\002\022\023\n\017initAuthFailure\020\003\022\027\n\023initPlayerNa" + + "meInUse\020\004\022\031\n\025initInvalidPlayerName\020\005\022\031\n\025" + + "initServerMaintenance\020\006\022\017\n\013initBlocked\020\007" + + "\022\022\n\016avatarTooLarge\020\010\022\021\n\rinvalidPacket\020\t\022" + + "\020\n\014invalidState\020\n\022\024\n\020kickedFromServer\020\013\022" + + "\024\n\020bannedFromServer\020\014\022\023\n\017blockedByServer" + + "\020\r\022\022\n\016sessionTimeout\020\016\".\n\026AdminRemoveGam" + + "eMessage\022\024\n\014removeGameId\030\001 \002(\r\"\305\001\n\031Admin" + + "RemoveGameAckMessage\022\024\n\014removeGameId\030\001 \002" + + "(\r\022J\n\020removeGameResult\030\002 \002(\01620.AdminRemo" + + "veGameAckMessage.AdminRemoveGameResult\"F" + + "\n\025AdminRemoveGameResult\022\026\n\022gameRemoveAcc" + + "epted\020\000\022\025\n\021gameRemoveInvalid\020\001\",\n\025AdminB" + + "anPlayerMessage\022\023\n\013banPlayerId\030\001 \002(\r\"\375\001\n" + + "\030AdminBanPlayerAckMessage\022\023\n\013banPlayerId" + + "\030\001 \002(\r\022G\n\017banPlayerResult\030\002 \002(\0162..AdminB" + + "anPlayerAckMessage.AdminBanPlayerResult\"" + + "\202\001\n\024AdminBanPlayerResult\022\025\n\021banPlayerAcc" + + "epted\020\000\022\024\n\020banPlayerPending\020\001\022\021\n\rbanPlay" + + "erNoDB\020\002\022\024\n\020banPlayerDBError\020\003\022\024\n\020banPla" + + "yerInvalid\020\004\"\3648\n\016PokerTHMessage\0227\n\013messa" + + "geType\030\001 \002(\0162\".PokerTHMessage.PokerTHMes" + + "sageType\022)\n\017announceMessage\030\002 \001(\0132\020.Anno" + + "unceMessage\022!\n\013initMessage\030\003 \001(\0132\014.InitM" + + "essage\022?\n\032authServerChallengeMessage\030\004 \001" + + "(\0132\033.AuthServerChallengeMessage\022=\n\031authC" + + "lientResponseMessage\030\005 \001(\0132\032.AuthClientR" + + "esponseMessage\022E\n\035authServerVerification" + + "Message\030\006 \001(\0132\036.AuthServerVerificationMe" + + "ssage\022\'\n\016initAckMessage\030\007 \001(\0132\017.InitAckM" + + "essage\0223\n\024avatarRequestMessage\030\010 \001(\0132\025.A" + + "vatarRequestMessage\0221\n\023avatarHeaderMessa" + + "ge\030\t \001(\0132\024.AvatarHeaderMessage\022-\n\021avatar" + + "DataMessage\030\n \001(\0132\022.AvatarDataMessage\022+\n" + + "\020avatarEndMessage\030\013 \001(\0132\021.AvatarEndMessa" + + "ge\0223\n\024unknownAvatarMessage\030\014 \001(\0132\025.Unkno" + + "wnAvatarMessage\022-\n\021playerListMessage\030\r \001" + + "(\0132\022.PlayerListMessage\022/\n\022gameListNewMes" + + "sage\030\016 \001(\0132\023.GameListNewMessage\0225\n\025gameL" + + "istUpdateMessage\030\017 \001(\0132\026.GameListUpdateM" + + "essage\022A\n\033gameListPlayerJoinedMessage\030\020 " + + "\001(\0132\034.GameListPlayerJoinedMessage\022=\n\031gam" + + "eListPlayerLeftMessage\030\021 \001(\0132\032.GameListP" + + "layerLeftMessage\022A\n\033gameListAdminChanged" + + "Message\030\022 \001(\0132\034.GameListAdminChangedMess" + + "age\022;\n\030playerInfoRequestMessage\030\023 \001(\0132\031." + + "PlayerInfoRequestMessage\0227\n\026playerInfoRe" + + "plyMessage\030\024 \001(\0132\027.PlayerInfoReplyMessag" + + "e\022?\n\032subscriptionRequestMessage\030\025 \001(\0132\033." + + "SubscriptionRequestMessage\0229\n\027joinExisti" + + "ngGameMessage\030\026 \001(\0132\030.JoinExistingGameMe" + + "ssage\022/\n\022joinNewGameMessage\030\027 \001(\0132\023.Join" + + "NewGameMessage\022=\n\031rejoinExistingGameMess" + + "age\030\030 \001(\0132\032.RejoinExistingGameMessage\022/\n" + + "\022joinGameAckMessage\030\031 \001(\0132\023.JoinGameAckM" + + "essage\0225\n\025joinGameFailedMessage\030\032 \001(\0132\026." + + "JoinGameFailedMessage\0229\n\027gamePlayerJoine" + + "dMessage\030\033 \001(\0132\030.GamePlayerJoinedMessage" + + "\0225\n\025gamePlayerLeftMessage\030\034 \001(\0132\026.GamePl" + + "ayerLeftMessage\0229\n\027gameAdminChangedMessa" + + "ge\030\035 \001(\0132\030.GameAdminChangedMessage\0227\n\026re" + + "movedFromGameMessage\030\036 \001(\0132\027.RemovedFrom" + + "GameMessage\022;\n\030kickPlayerRequestMessage\030" + + "\037 \001(\0132\031.KickPlayerRequestMessage\0229\n\027leav" + + "eGameRequestMessage\030 \001(\0132\030.LeaveGameReq" + + "uestMessage\022=\n\031invitePlayerToGameMessage" + + "\030! \001(\0132\032.InvitePlayerToGameMessage\0221\n\023in" + + "viteNotifyMessage\030\" \001(\0132\024.InviteNotifyMe" + + "ssage\022A\n\033rejectGameInvitationMessage\030# \001" + + "(\0132\034.RejectGameInvitationMessage\0227\n\026reje" + + "ctInvNotifyMessage\030$ \001(\0132\027.RejectInvNoti" + + "fyMessage\022-\n\021startEventMessage\030% \001(\0132\022.S" + + "tartEventMessage\0223\n\024startEventAckMessage" + + "\030& \001(\0132\025.StartEventAckMessage\0229\n\027gameSta" + + "rtInitialMessage\030\' \001(\0132\030.GameStartInitia" + + "lMessage\0227\n\026gameStartRejoinMessage\030( \001(\013" + + "2\027.GameStartRejoinMessage\022+\n\020handStartMe" + + "ssage\030) \001(\0132\021.HandStartMessage\022/\n\022player" + + "sTurnMessage\030* \001(\0132\023.PlayersTurnMessage\022" + + "7\n\026myActionRequestMessage\030+ \001(\0132\027.MyActi" + + "onRequestMessage\022=\n\031yourActionRejectedMe" + + "ssage\030, \001(\0132\032.YourActionRejectedMessage\022" + + ";\n\030playersActionDoneMessage\030- \001(\0132\031.Play" + + "ersActionDoneMessage\0223\n\024dealFlopCardsMes" + + "sage\030. \001(\0132\025.DealFlopCardsMessage\0221\n\023dea" + + "lTurnCardMessage\030/ \001(\0132\024.DealTurnCardMes" + + "sage\0223\n\024dealRiverCardMessage\0300 \001(\0132\025.Dea" + + "lRiverCardMessage\0225\n\025allInShowCardsMessa" + + "ge\0301 \001(\0132\026.AllInShowCardsMessage\022=\n\031endO" + + "fHandShowCardsMessage\0302 \001(\0132\032.EndOfHandS" + + "howCardsMessage\022=\n\031endOfHandHideCardsMes" + + "sage\0303 \001(\0132\032.EndOfHandHideCardsMessage\022=" + + "\n\031showMyCardsRequestMessage\0304 \001(\0132\032.Show" + + "MyCardsRequestMessage\022=\n\031afterHandShowCa" + + "rdsMessage\0305 \001(\0132\032.AfterHandShowCardsMes" + + "sage\022+\n\020endOfGameMessage\0306 \001(\0132\021.EndOfGa" + + "meMessage\0227\n\026playerIdChangedMessage\0307 \001(" + + "\0132\027.PlayerIdChangedMessage\0223\n\024askKickPla" + + "yerMessage\0308 \001(\0132\025.AskKickPlayerMessage\022" + + "3\n\024askKickDeniedMessage\0309 \001(\0132\025.AskKickD" + + "eniedMessage\022;\n\030startKickPetitionMessage" + + "\030: \001(\0132\031.StartKickPetitionMessage\0227\n\026vot" + + "eKickRequestMessage\030; \001(\0132\027.VoteKickRequ" + + "estMessage\0223\n\024voteKickReplyMessage\030< \001(\013" + + "2\025.VoteKickReplyMessage\022=\n\031kickPetitionU" + + "pdateMessage\030= \001(\0132\032.KickPetitionUpdateM" + + "essage\0227\n\026endKickPetitionMessage\030> \001(\0132\027" + + ".EndKickPetitionMessage\022-\n\021statisticsMes" + + "sage\030? \001(\0132\022.StatisticsMessage\022/\n\022chatRe" + + "questMessage\030@ \001(\0132\023.ChatRequestMessage\022" + + "!\n\013chatMessage\030A \001(\0132\014.ChatMessage\022-\n\021ch" + + "atRejectMessage\030B \001(\0132\022.ChatRejectMessag" + + "e\022%\n\rdialogMessage\030C \001(\0132\016.DialogMessage" + + "\0225\n\025timeoutWarningMessage\030D \001(\0132\026.Timeou" + + "tWarningMessage\0221\n\023resetTimeoutMessage\030E" + + " \001(\0132\024.ResetTimeoutMessage\0221\n\023reportAvat", + "arMessage\030F \001(\0132\024.ReportAvatarMessage\0227\n" + + "\026reportAvatarAckMessage\030G \001(\0132\027.ReportAv" + + "atarAckMessage\022-\n\021reportGameMessage\030H \001(" + + "\0132\022.ReportGameMessage\0223\n\024reportGameAckMe" + + "ssage\030I \001(\0132\025.ReportGameAckMessage\022#\n\014er" + + "rorMessage\030J \001(\0132\r.ErrorMessage\0227\n\026admin" + + "RemoveGameMessage\030K \001(\0132\027.AdminRemoveGam" + + "eMessage\022=\n\031adminRemoveGameAckMessage\030L " + + "\001(\0132\032.AdminRemoveGameAckMessage\0225\n\025admin" + + "BanPlayerMessage\030M \001(\0132\026.AdminBanPlayerM" + + "essage\022;\n\030adminBanPlayerAckMessage\030N \001(\013" + + "2\031.AdminBanPlayerAckMessage\022G\n\036gameListS" + + "pectatorJoinedMessage\030O \001(\0132\037.GameListSp" + + "ectatorJoinedMessage\022C\n\034gameListSpectato" + + "rLeftMessage\030P \001(\0132\035.GameListSpectatorLe" + + "ftMessage\022?\n\032gameSpectatorJoinedMessage\030" + + "Q \001(\0132\033.GameSpectatorJoinedMessage\022;\n\030ga" + + "meSpectatorLeftMessage\030R \001(\0132\031.GameSpect" + + "atorLeftMessage\0229\n\027gameStartReentryMessa" + + "ge\030S \001(\0132\030.GameStartReentryMessage\"\346\024\n\022P" + + "okerTHMessageType\022\030\n\024Type_AnnounceMessag" + + "e\020\001\022\024\n\020Type_InitMessage\020\002\022#\n\037Type_AuthSe" + + "rverChallengeMessage\020\003\022\"\n\036Type_AuthClien" + + "tResponseMessage\020\004\022&\n\"Type_AuthServerVer" + + "ificationMessage\020\005\022\027\n\023Type_InitAckMessag" + + "e\020\006\022\035\n\031Type_AvatarRequestMessage\020\007\022\034\n\030Ty" + + "pe_AvatarHeaderMessage\020\010\022\032\n\026Type_AvatarD" + + "ataMessage\020\t\022\031\n\025Type_AvatarEndMessage\020\n\022" + + "\035\n\031Type_UnknownAvatarMessage\020\013\022\032\n\026Type_P" + + "layerListMessage\020\014\022\033\n\027Type_GameListNewMe" + + "ssage\020\r\022\036\n\032Type_GameListUpdateMessage\020\016\022" + + "$\n Type_GameListPlayerJoinedMessage\020\017\022\"\n" + + "\036Type_GameListPlayerLeftMessage\020\020\022$\n Typ" + + "e_GameListAdminChangedMessage\020\021\022!\n\035Type_" + + "PlayerInfoRequestMessage\020\022\022\037\n\033Type_Playe" + + "rInfoReplyMessage\020\023\022#\n\037Type_Subscription" + + "RequestMessage\020\024\022 \n\034Type_JoinExistingGam" + + "eMessage\020\025\022\033\n\027Type_JoinNewGameMessage\020\026\022" + + "\"\n\036Type_RejoinExistingGameMessage\020\027\022\033\n\027T" + + "ype_JoinGameAckMessage\020\030\022\036\n\032Type_JoinGam" + + "eFailedMessage\020\031\022 \n\034Type_GamePlayerJoine" + + "dMessage\020\032\022\036\n\032Type_GamePlayerLeftMessage" + + "\020\033\022 \n\034Type_GameAdminChangedMessage\020\034\022\037\n\033" + + "Type_RemovedFromGameMessage\020\035\022!\n\035Type_Ki" + + "ckPlayerRequestMessage\020\036\022 \n\034Type_LeaveGa" + + "meRequestMessage\020\037\022\"\n\036Type_InvitePlayerT" + + "oGameMessage\020 \022\034\n\030Type_InviteNotifyMessa" + + "ge\020!\022$\n Type_RejectGameInvitationMessage" + + "\020\"\022\037\n\033Type_RejectInvNotifyMessage\020#\022\032\n\026T" + + "ype_StartEventMessage\020$\022\035\n\031Type_StartEve" + + "ntAckMessage\020%\022 \n\034Type_GameStartInitialM" + + "essage\020&\022\037\n\033Type_GameStartRejoinMessage\020" + + "\'\022\031\n\025Type_HandStartMessage\020(\022\033\n\027Type_Pla" + + "yersTurnMessage\020)\022\037\n\033Type_MyActionReques" + + "tMessage\020*\022\"\n\036Type_YourActionRejectedMes" + + "sage\020+\022!\n\035Type_PlayersActionDoneMessage\020" + + ",\022\035\n\031Type_DealFlopCardsMessage\020-\022\034\n\030Type" + + "_DealTurnCardMessage\020.\022\035\n\031Type_DealRiver" + + "CardMessage\020/\022\036\n\032Type_AllInShowCardsMess" + + "age\0200\022\"\n\036Type_EndOfHandShowCardsMessage\020" + + "1\022\"\n\036Type_EndOfHandHideCardsMessage\0202\022\"\n" + + "\036Type_ShowMyCardsRequestMessage\0203\022\"\n\036Typ" + + "e_AfterHandShowCardsMessage\0204\022\031\n\025Type_En" + + "dOfGameMessage\0205\022\037\n\033Type_PlayerIdChanged" + + "Message\0206\022\035\n\031Type_AskKickPlayerMessage\0207" + + "\022\035\n\031Type_AskKickDeniedMessage\0208\022!\n\035Type_" + + "StartKickPetitionMessage\0209\022\037\n\033Type_VoteK" + + "ickRequestMessage\020:\022\035\n\031Type_VoteKickRepl" + + "yMessage\020;\022\"\n\036Type_KickPetitionUpdateMes" + + "sage\020<\022\037\n\033Type_EndKickPetitionMessage\020=\022" + + "\032\n\026Type_StatisticsMessage\020>\022\033\n\027Type_Chat" + + "RequestMessage\020?\022\024\n\020Type_ChatMessage\020@\022\032" + + "\n\026Type_ChatRejectMessage\020A\022\026\n\022Type_Dialo" + + "gMessage\020B\022\036\n\032Type_TimeoutWarningMessage" + + "\020C\022\034\n\030Type_ResetTimeoutMessage\020D\022\034\n\030Type" + + "_ReportAvatarMessage\020E\022\037\n\033Type_ReportAva" + + "tarAckMessage\020F\022\032\n\026Type_ReportGameMessag" + + "e\020G\022\035\n\031Type_ReportGameAckMessage\020H\022\025\n\021Ty" + + "pe_ErrorMessage\020I\022\037\n\033Type_AdminRemoveGam" + + "eMessage\020J\022\"\n\036Type_AdminRemoveGameAckMes" + + "sage\020K\022\036\n\032Type_AdminBanPlayerMessage\020L\022!" + + "\n\035Type_AdminBanPlayerAckMessage\020M\022\'\n#Typ" + + "e_GameListSpectatorJoinedMessage\020N\022%\n!Ty" + + "pe_GameListSpectatorLeftMessage\020O\022#\n\037Typ" + + "e_GameSpectatorJoinedMessage\020P\022!\n\035Type_G" + + "ameSpectatorLeftMessage\020Q\022 \n\034Type_GameSt" + + "artReentryMessage\020R*H\n\013NetGameMode\022\022\n\016ne" + + "tGameCreated\020\001\022\022\n\016netGameStarted\020\002\022\021\n\rne" + + "tGameClosed\020\003*\226\001\n\014NetGameState\022\023\n\017netSta" + + "tePreflop\020\000\022\020\n\014netStateFlop\020\001\022\020\n\014netStat" + + "eTurn\020\002\022\021\n\rnetStateRiver\020\003\022\035\n\031netStatePr" + + "eflopSmallBlind\020\004\022\033\n\027netStatePreflopBigB" + + "lind\020\005*\230\001\n\017NetPlayerAction\022\021\n\rnetActionN" + + "one\020\000\022\021\n\rnetActionFold\020\001\022\022\n\016netActionChe" + + "ck\020\002\022\021\n\rnetActionCall\020\003\022\020\n\014netActionBet\020" + + "\004\022\022\n\016netActionRaise\020\005\022\022\n\016netActionAllIn\020" + + "\006*h\n\016NetPlayerState\022\030\n\024netPlayerStateNor" + + "mal\020\000\022!\n\035netPlayerStateSessionInactive\020\001" + + "\022\031\n\025netPlayerStateNoMoney\020\002*d\n\023NetPlayer" + + "InfoRights\022\030\n\024netPlayerRightsGuest\020\001\022\031\n\025" + + "netPlayerRightsNormal\020\002\022\030\n\024netPlayerRigh" + + "tsAdmin\020\003*T\n\rNetAvatarType\022\025\n\021netAvatarI" + + "magePng\020\001\022\025\n\021netAvatarImageJpg\020\002\022\025\n\021netA" + + "vatarImageGif\020\003B!\n\023de.pokerth.protocolB\010" + + "ProtoBufH\003" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_NetGameInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_NetGameInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_NetGameInfo_descriptor, + new java.lang.String[] { "GameName", "NetGameType", "MaxNumPlayers", "RaiseIntervalMode", "RaiseEveryHands", "RaiseEveryMinutes", "EndRaiseMode", "EndRaiseSmallBlindValue", "ProposedGuiSpeed", "DelayBetweenHands", "PlayerActionTimeout", "FirstSmallBlind", "StartMoney", "ManualBlinds", "AllowSpectators", "AllowLateReg", "AllowReentries", "NumReentries", "MaxTimeLateReg", }); + internal_static_PlayerResult_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_PlayerResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerResult_descriptor, + new java.lang.String[] { "PlayerId", "ResultCard1", "ResultCard2", "BestHandPosition", "MoneyWon", "PlayerMoney", "CardsValue", }); + internal_static_AnnounceMessage_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_AnnounceMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AnnounceMessage_descriptor, + new java.lang.String[] { "ProtocolVersion", "LatestGameVersion", "LatestBetaRevision", "ServerType", "NumPlayersOnServer", }); + internal_static_AnnounceMessage_Version_descriptor = + internal_static_AnnounceMessage_descriptor.getNestedTypes().get(0); + internal_static_AnnounceMessage_Version_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AnnounceMessage_Version_descriptor, + new java.lang.String[] { "MajorVersion", "MinorVersion", }); + internal_static_InitMessage_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_InitMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InitMessage_descriptor, + new java.lang.String[] { "RequestedVersion", "BuildId", "MyLastSessionId", "AuthServerPassword", "Login", "NickName", "ClientUserData", "AvatarHash", }); + internal_static_AuthServerChallengeMessage_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_AuthServerChallengeMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AuthServerChallengeMessage_descriptor, + new java.lang.String[] { "ServerChallenge", }); + internal_static_AuthClientResponseMessage_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_AuthClientResponseMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AuthClientResponseMessage_descriptor, + new java.lang.String[] { "ClientResponse", }); + internal_static_AuthServerVerificationMessage_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_AuthServerVerificationMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AuthServerVerificationMessage_descriptor, + new java.lang.String[] { "ServerVerification", }); + internal_static_InitAckMessage_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_InitAckMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InitAckMessage_descriptor, + new java.lang.String[] { "YourSessionId", "YourPlayerId", "YourAvatarHash", "RejoinGameId", }); + internal_static_AvatarRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_AvatarRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarRequestMessage_descriptor, + new java.lang.String[] { "RequestId", "AvatarHash", }); + internal_static_AvatarHeaderMessage_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_AvatarHeaderMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarHeaderMessage_descriptor, + new java.lang.String[] { "RequestId", "AvatarType", "AvatarSize", }); + internal_static_AvatarDataMessage_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_AvatarDataMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarDataMessage_descriptor, + new java.lang.String[] { "RequestId", "AvatarBlock", }); + internal_static_AvatarEndMessage_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_AvatarEndMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AvatarEndMessage_descriptor, + new java.lang.String[] { "RequestId", }); + internal_static_UnknownAvatarMessage_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_UnknownAvatarMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_UnknownAvatarMessage_descriptor, + new java.lang.String[] { "RequestId", }); + internal_static_PlayerListMessage_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_PlayerListMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerListMessage_descriptor, + new java.lang.String[] { "PlayerId", "PlayerListNotification", }); + internal_static_GameListNewMessage_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_GameListNewMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameListNewMessage_descriptor, + new java.lang.String[] { "GameId", "GameMode", "IsPrivate", "PlayerIds", "AdminPlayerId", "GameInfo", "SpectatorIds", }); + internal_static_GameListUpdateMessage_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_GameListUpdateMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameListUpdateMessage_descriptor, + new java.lang.String[] { "GameId", "GameMode", }); + internal_static_GameListPlayerJoinedMessage_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_GameListPlayerJoinedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameListPlayerJoinedMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_GameListPlayerLeftMessage_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_GameListPlayerLeftMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameListPlayerLeftMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_GameListSpectatorJoinedMessage_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_GameListSpectatorJoinedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameListSpectatorJoinedMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_GameListSpectatorLeftMessage_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_GameListSpectatorLeftMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameListSpectatorLeftMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_GameListAdminChangedMessage_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_GameListAdminChangedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameListAdminChangedMessage_descriptor, + new java.lang.String[] { "GameId", "NewAdminPlayerId", }); + internal_static_PlayerInfoRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_PlayerInfoRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerInfoRequestMessage_descriptor, + new java.lang.String[] { "PlayerId", }); + internal_static_PlayerInfoReplyMessage_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_PlayerInfoReplyMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerInfoReplyMessage_descriptor, + new java.lang.String[] { "PlayerId", "PlayerInfoData", }); + internal_static_PlayerInfoReplyMessage_PlayerInfoData_descriptor = + internal_static_PlayerInfoReplyMessage_descriptor.getNestedTypes().get(0); + internal_static_PlayerInfoReplyMessage_PlayerInfoData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerInfoReplyMessage_PlayerInfoData_descriptor, + new java.lang.String[] { "PlayerName", "IsHuman", "PlayerRights", "CountryCode", "AvatarData", }); + internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_descriptor = + internal_static_PlayerInfoReplyMessage_PlayerInfoData_descriptor.getNestedTypes().get(0); + internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerInfoReplyMessage_PlayerInfoData_AvatarData_descriptor, + new java.lang.String[] { "AvatarType", "AvatarHash", }); + internal_static_SubscriptionRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_SubscriptionRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_SubscriptionRequestMessage_descriptor, + new java.lang.String[] { "SubscriptionAction", }); + internal_static_JoinExistingGameMessage_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_JoinExistingGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_JoinExistingGameMessage_descriptor, + new java.lang.String[] { "GameId", "Password", "AutoLeave", "SpectateOnly", }); + internal_static_JoinNewGameMessage_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_JoinNewGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_JoinNewGameMessage_descriptor, + new java.lang.String[] { "GameInfo", "Password", "AutoLeave", }); + internal_static_RejoinExistingGameMessage_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_RejoinExistingGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RejoinExistingGameMessage_descriptor, + new java.lang.String[] { "GameId", "AutoLeave", }); + internal_static_JoinGameAckMessage_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_JoinGameAckMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_JoinGameAckMessage_descriptor, + new java.lang.String[] { "GameId", "AreYouGameAdmin", "GameInfo", "SpectateOnly", }); + internal_static_JoinGameFailedMessage_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_JoinGameFailedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_JoinGameFailedMessage_descriptor, + new java.lang.String[] { "GameId", "JoinGameFailureReason", }); + internal_static_GamePlayerJoinedMessage_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_GamePlayerJoinedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GamePlayerJoinedMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "IsGameAdmin", }); + internal_static_GamePlayerLeftMessage_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_GamePlayerLeftMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GamePlayerLeftMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "GamePlayerLeftReason", }); + internal_static_GameSpectatorJoinedMessage_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_GameSpectatorJoinedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameSpectatorJoinedMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_GameSpectatorLeftMessage_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_GameSpectatorLeftMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameSpectatorLeftMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "GameSpectatorLeftReason", }); + internal_static_GameAdminChangedMessage_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_GameAdminChangedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameAdminChangedMessage_descriptor, + new java.lang.String[] { "GameId", "NewAdminPlayerId", }); + internal_static_RemovedFromGameMessage_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_RemovedFromGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RemovedFromGameMessage_descriptor, + new java.lang.String[] { "GameId", "RemovedFromGameReason", }); + internal_static_KickPlayerRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_KickPlayerRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_KickPlayerRequestMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_LeaveGameRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_LeaveGameRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_LeaveGameRequestMessage_descriptor, + new java.lang.String[] { "GameId", }); + internal_static_InvitePlayerToGameMessage_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_InvitePlayerToGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InvitePlayerToGameMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_InviteNotifyMessage_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_InviteNotifyMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_InviteNotifyMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerIdWho", "PlayerIdByWhom", }); + internal_static_RejectGameInvitationMessage_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_RejectGameInvitationMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RejectGameInvitationMessage_descriptor, + new java.lang.String[] { "GameId", "MyRejectReason", }); + internal_static_RejectInvNotifyMessage_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_RejectInvNotifyMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_RejectInvNotifyMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "PlayerRejectReason", }); + internal_static_StartEventMessage_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_StartEventMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_StartEventMessage_descriptor, + new java.lang.String[] { "GameId", "StartEventType", "FillWithComputerPlayers", }); + internal_static_StartEventAckMessage_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_StartEventAckMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_StartEventAckMessage_descriptor, + new java.lang.String[] { "GameId", }); + internal_static_GameStartInitialMessage_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_GameStartInitialMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameStartInitialMessage_descriptor, + new java.lang.String[] { "GameId", "StartDealerPlayerId", "PlayerSeats", }); + internal_static_GameStartRejoinMessage_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_GameStartRejoinMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameStartRejoinMessage_descriptor, + new java.lang.String[] { "GameId", "StartDealerPlayerId", "HandNum", "RejoinPlayerData", }); + internal_static_GameStartRejoinMessage_RejoinPlayerData_descriptor = + internal_static_GameStartRejoinMessage_descriptor.getNestedTypes().get(0); + internal_static_GameStartRejoinMessage_RejoinPlayerData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameStartRejoinMessage_RejoinPlayerData_descriptor, + new java.lang.String[] { "PlayerId", "PlayerMoney", }); + internal_static_GameStartReentryMessage_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_GameStartReentryMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameStartReentryMessage_descriptor, + new java.lang.String[] { "GameId", "StartDealerPlayerId", "HandNum", "ReentryPlayerData", }); + internal_static_GameStartReentryMessage_ReentryPlayerData_descriptor = + internal_static_GameStartReentryMessage_descriptor.getNestedTypes().get(0); + internal_static_GameStartReentryMessage_ReentryPlayerData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_GameStartReentryMessage_ReentryPlayerData_descriptor, + new java.lang.String[] { "PlayerId", "PlayerMoney", }); + internal_static_HandStartMessage_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_HandStartMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_HandStartMessage_descriptor, + new java.lang.String[] { "GameId", "PlainCards", "EncryptedCards", "SmallBlind", "SeatStates", "DealerPlayerId", }); + internal_static_HandStartMessage_PlainCards_descriptor = + internal_static_HandStartMessage_descriptor.getNestedTypes().get(0); + internal_static_HandStartMessage_PlainCards_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_HandStartMessage_PlainCards_descriptor, + new java.lang.String[] { "PlainCard1", "PlainCard2", }); + internal_static_PlayersTurnMessage_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_PlayersTurnMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayersTurnMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "GameState", }); + internal_static_MyActionRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_MyActionRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_MyActionRequestMessage_descriptor, + new java.lang.String[] { "GameId", "HandNum", "GameState", "MyAction", "MyRelativeBet", }); + internal_static_YourActionRejectedMessage_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_YourActionRejectedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_YourActionRejectedMessage_descriptor, + new java.lang.String[] { "GameId", "GameState", "YourAction", "YourRelativeBet", "RejectionReason", }); + internal_static_PlayersActionDoneMessage_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_PlayersActionDoneMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayersActionDoneMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "GameState", "PlayerAction", "TotalPlayerBet", "PlayerMoney", "HighestSet", "MinimumRaise", }); + internal_static_DealFlopCardsMessage_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_DealFlopCardsMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_DealFlopCardsMessage_descriptor, + new java.lang.String[] { "GameId", "FlopCard1", "FlopCard2", "FlopCard3", }); + internal_static_DealTurnCardMessage_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_DealTurnCardMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_DealTurnCardMessage_descriptor, + new java.lang.String[] { "GameId", "TurnCard", }); + internal_static_DealRiverCardMessage_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_DealRiverCardMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_DealRiverCardMessage_descriptor, + new java.lang.String[] { "GameId", "RiverCard", }); + internal_static_AllInShowCardsMessage_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_AllInShowCardsMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AllInShowCardsMessage_descriptor, + new java.lang.String[] { "GameId", "PlayersAllIn", }); + internal_static_AllInShowCardsMessage_PlayerAllIn_descriptor = + internal_static_AllInShowCardsMessage_descriptor.getNestedTypes().get(0); + internal_static_AllInShowCardsMessage_PlayerAllIn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AllInShowCardsMessage_PlayerAllIn_descriptor, + new java.lang.String[] { "PlayerId", "AllInCard1", "AllInCard2", }); + internal_static_EndOfHandShowCardsMessage_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_EndOfHandShowCardsMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_EndOfHandShowCardsMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerResults", }); + internal_static_EndOfHandHideCardsMessage_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_EndOfHandHideCardsMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_EndOfHandHideCardsMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "MoneyWon", "PlayerMoney", }); + internal_static_ShowMyCardsRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_ShowMyCardsRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ShowMyCardsRequestMessage_descriptor, + new java.lang.String[] { }); + internal_static_AfterHandShowCardsMessage_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_AfterHandShowCardsMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AfterHandShowCardsMessage_descriptor, + new java.lang.String[] { "PlayerResult", }); + internal_static_EndOfGameMessage_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_EndOfGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_EndOfGameMessage_descriptor, + new java.lang.String[] { "GameId", "WinnerPlayerId", }); + internal_static_PlayerIdChangedMessage_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_PlayerIdChangedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PlayerIdChangedMessage_descriptor, + new java.lang.String[] { "OldPlayerId", "NewPlayerId", }); + internal_static_AskKickPlayerMessage_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_AskKickPlayerMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AskKickPlayerMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", }); + internal_static_AskKickDeniedMessage_descriptor = + getDescriptor().getMessageTypes().get(62); + internal_static_AskKickDeniedMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AskKickDeniedMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "KickDeniedReason", }); + internal_static_StartKickPetitionMessage_descriptor = + getDescriptor().getMessageTypes().get(63); + internal_static_StartKickPetitionMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_StartKickPetitionMessage_descriptor, + new java.lang.String[] { "GameId", "PetitionId", "ProposingPlayerId", "KickPlayerId", "KickTimeoutSec", "NumVotesNeededToKick", }); + internal_static_VoteKickRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(64); + internal_static_VoteKickRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_VoteKickRequestMessage_descriptor, + new java.lang.String[] { "GameId", "PetitionId", "VoteKick", }); + internal_static_VoteKickReplyMessage_descriptor = + getDescriptor().getMessageTypes().get(65); + internal_static_VoteKickReplyMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_VoteKickReplyMessage_descriptor, + new java.lang.String[] { "GameId", "PetitionId", "VoteKickReplyType", }); + internal_static_KickPetitionUpdateMessage_descriptor = + getDescriptor().getMessageTypes().get(66); + internal_static_KickPetitionUpdateMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_KickPetitionUpdateMessage_descriptor, + new java.lang.String[] { "GameId", "PetitionId", "NumVotesAgainstKicking", "NumVotesInFavourOfKicking", "NumVotesNeededToKick", }); + internal_static_EndKickPetitionMessage_descriptor = + getDescriptor().getMessageTypes().get(67); + internal_static_EndKickPetitionMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_EndKickPetitionMessage_descriptor, + new java.lang.String[] { "GameId", "PetitionId", "NumVotesAgainstKicking", "NumVotesInFavourOfKicking", "ResultPlayerKicked", "PetitionEndReason", }); + internal_static_StatisticsMessage_descriptor = + getDescriptor().getMessageTypes().get(68); + internal_static_StatisticsMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_StatisticsMessage_descriptor, + new java.lang.String[] { "StatisticsData", }); + internal_static_StatisticsMessage_StatisticsData_descriptor = + internal_static_StatisticsMessage_descriptor.getNestedTypes().get(0); + internal_static_StatisticsMessage_StatisticsData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_StatisticsMessage_StatisticsData_descriptor, + new java.lang.String[] { "StatisticsType", "StatisticsValue", }); + internal_static_ChatRequestMessage_descriptor = + getDescriptor().getMessageTypes().get(69); + internal_static_ChatRequestMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ChatRequestMessage_descriptor, + new java.lang.String[] { "TargetGameId", "TargetPlayerId", "ChatText", }); + internal_static_ChatMessage_descriptor = + getDescriptor().getMessageTypes().get(70); + internal_static_ChatMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ChatMessage_descriptor, + new java.lang.String[] { "GameId", "PlayerId", "ChatType", "ChatText", }); + internal_static_ChatRejectMessage_descriptor = + getDescriptor().getMessageTypes().get(71); + internal_static_ChatRejectMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ChatRejectMessage_descriptor, + new java.lang.String[] { "ChatText", }); + internal_static_DialogMessage_descriptor = + getDescriptor().getMessageTypes().get(72); + internal_static_DialogMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_DialogMessage_descriptor, + new java.lang.String[] { "NotificationText", }); + internal_static_TimeoutWarningMessage_descriptor = + getDescriptor().getMessageTypes().get(73); + internal_static_TimeoutWarningMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_TimeoutWarningMessage_descriptor, + new java.lang.String[] { "TimeoutReason", "RemainingSeconds", }); + internal_static_ResetTimeoutMessage_descriptor = + getDescriptor().getMessageTypes().get(74); + internal_static_ResetTimeoutMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ResetTimeoutMessage_descriptor, + new java.lang.String[] { }); + internal_static_ReportAvatarMessage_descriptor = + getDescriptor().getMessageTypes().get(75); + internal_static_ReportAvatarMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ReportAvatarMessage_descriptor, + new java.lang.String[] { "ReportedPlayerId", "ReportedAvatarHash", }); + internal_static_ReportAvatarAckMessage_descriptor = + getDescriptor().getMessageTypes().get(76); + internal_static_ReportAvatarAckMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ReportAvatarAckMessage_descriptor, + new java.lang.String[] { "ReportedPlayerId", "ReportAvatarResult", }); + internal_static_ReportGameMessage_descriptor = + getDescriptor().getMessageTypes().get(77); + internal_static_ReportGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ReportGameMessage_descriptor, + new java.lang.String[] { "ReportedGameId", }); + internal_static_ReportGameAckMessage_descriptor = + getDescriptor().getMessageTypes().get(78); + internal_static_ReportGameAckMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ReportGameAckMessage_descriptor, + new java.lang.String[] { "ReportedGameId", "ReportGameResult", }); + internal_static_ErrorMessage_descriptor = + getDescriptor().getMessageTypes().get(79); + internal_static_ErrorMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_ErrorMessage_descriptor, + new java.lang.String[] { "ErrorReason", }); + internal_static_AdminRemoveGameMessage_descriptor = + getDescriptor().getMessageTypes().get(80); + internal_static_AdminRemoveGameMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AdminRemoveGameMessage_descriptor, + new java.lang.String[] { "RemoveGameId", }); + internal_static_AdminRemoveGameAckMessage_descriptor = + getDescriptor().getMessageTypes().get(81); + internal_static_AdminRemoveGameAckMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AdminRemoveGameAckMessage_descriptor, + new java.lang.String[] { "RemoveGameId", "RemoveGameResult", }); + internal_static_AdminBanPlayerMessage_descriptor = + getDescriptor().getMessageTypes().get(82); + internal_static_AdminBanPlayerMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AdminBanPlayerMessage_descriptor, + new java.lang.String[] { "BanPlayerId", }); + internal_static_AdminBanPlayerAckMessage_descriptor = + getDescriptor().getMessageTypes().get(83); + internal_static_AdminBanPlayerAckMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_AdminBanPlayerAckMessage_descriptor, + new java.lang.String[] { "BanPlayerId", "BanPlayerResult", }); + internal_static_PokerTHMessage_descriptor = + getDescriptor().getMessageTypes().get(84); + internal_static_PokerTHMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_PokerTHMessage_descriptor, + new java.lang.String[] { "MessageType", "AnnounceMessage", "InitMessage", "AuthServerChallengeMessage", "AuthClientResponseMessage", "AuthServerVerificationMessage", "InitAckMessage", "AvatarRequestMessage", "AvatarHeaderMessage", "AvatarDataMessage", "AvatarEndMessage", "UnknownAvatarMessage", "PlayerListMessage", "GameListNewMessage", "GameListUpdateMessage", "GameListPlayerJoinedMessage", "GameListPlayerLeftMessage", "GameListAdminChangedMessage", "PlayerInfoRequestMessage", "PlayerInfoReplyMessage", "SubscriptionRequestMessage", "JoinExistingGameMessage", "JoinNewGameMessage", "RejoinExistingGameMessage", "JoinGameAckMessage", "JoinGameFailedMessage", "GamePlayerJoinedMessage", "GamePlayerLeftMessage", "GameAdminChangedMessage", "RemovedFromGameMessage", "KickPlayerRequestMessage", "LeaveGameRequestMessage", "InvitePlayerToGameMessage", "InviteNotifyMessage", "RejectGameInvitationMessage", "RejectInvNotifyMessage", "StartEventMessage", "StartEventAckMessage", "GameStartInitialMessage", "GameStartRejoinMessage", "HandStartMessage", "PlayersTurnMessage", "MyActionRequestMessage", "YourActionRejectedMessage", "PlayersActionDoneMessage", "DealFlopCardsMessage", "DealTurnCardMessage", "DealRiverCardMessage", "AllInShowCardsMessage", "EndOfHandShowCardsMessage", "EndOfHandHideCardsMessage", "ShowMyCardsRequestMessage", "AfterHandShowCardsMessage", "EndOfGameMessage", "PlayerIdChangedMessage", "AskKickPlayerMessage", "AskKickDeniedMessage", "StartKickPetitionMessage", "VoteKickRequestMessage", "VoteKickReplyMessage", "KickPetitionUpdateMessage", "EndKickPetitionMessage", "StatisticsMessage", "ChatRequestMessage", "ChatMessage", "ChatRejectMessage", "DialogMessage", "TimeoutWarningMessage", "ResetTimeoutMessage", "ReportAvatarMessage", "ReportAvatarAckMessage", "ReportGameMessage", "ReportGameAckMessage", "ErrorMessage", "AdminRemoveGameMessage", "AdminRemoveGameAckMessage", "AdminBanPlayerMessage", "AdminBanPlayerAckMessage", "GameListSpectatorJoinedMessage", "GameListSpectatorLeftMessage", "GameSpectatorJoinedMessage", "GameSpectatorLeftMessage", "GameStartReentryMessage", }); } // @@protoc_insertion_point(outer_class_scope)